/* -----------------------------
   CSS RESET & BASELINE
----------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #1A1F2B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1A1F2B;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
*:focus {
  outline: 2px solid #F4C542;
  outline-offset: 2px;
}

/* Font loading (self-hosted or from Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Roboto:wght@400;700&display=swap');

/* -----------------------------
   COLOR VARIABLES / THEME
----------------------------- */
:root {
  --primary: #1A1F2B;       /* dark blue */
  --secondary: #F4C542;     /* bright yellow */
  --accent: #E9EEF2;        /* light grey/blue */
  --black: #181818;
  --white: #fff;
  --shadow-1: 0 2px 16px 0 rgba(18,24,38,0.10);
  --shadow-2: 0 4px 24px 0 rgba(18,24,38,0.14);
}

/* -----------------------------
   TYPOGRAPHY
----------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.325rem; /* 21px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
h5, h6 {
  font-size: 1rem; /* 16px */
}

p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.015em;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 28px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
}
/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
ul > li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--secondary);
}

/* -----------------------------
   LAYOUT
----------------------------- */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--primary);
  color: var(--white);
  padding: 40px 24px 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  color: var(--accent);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-snippet {
  background: var(--accent);
  padding: 18px 20px;
  border-radius: 10px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-1);
}

/* -----------------------------
   NAVIGATION
----------------------------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(18,24,38,0.09);
  z-index: 100;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
  padding: 0 16px;
}
.logo img {
  height: 42px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 14px;
  color: var(--primary);
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.main-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav .cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 1rem;
  border-radius: 7px;
  padding: 11px 22px;
  margin-left: 12px;
  transition: background .2s, color .2s, box-shadow .2s;
  box-shadow: var(--shadow-1);
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: var(--shadow-2);
}
/* Hide burger toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* -----------------------------
   BUTTONS & CTA
----------------------------- */
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 13px 32px;
  margin-top: 10px;
  font-weight: 700;
  border-radius: 11px;
  letter-spacing: 0.06em;
  border: none;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  text-transform: uppercase;
  transition: background .18s, color .18s, transform .13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: var(--shadow-2);
  text-decoration: none;
}
.cta-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1em;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 0.03em;
  box-shadow: none;
  margin-top: 8px;
  transition: background .18s, color .18s, border .18s;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* -----------------------------
   FEATURE GRID & SERVICE LISTS
----------------------------- */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 15px;
  box-shadow: var(--shadow-1);
  padding: 24px 22px 22px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 234px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .13s, background .18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 7px;
}
.feature-item .service-price {
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  margin-left: 8px;
  font-size: 1rem;
}
.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px) scale(1.03);
}

/* -----------------------------
   TESTIMONIALS
----------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 13px;
  min-width: 240px;
  max-width: 440px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(18,24,38,0.11);
  border-left: 6px solid var(--secondary);
  font-size: 1.10rem;
}
.testimonial-card .testimonial-author {
  margin-top: 6px;
  color: var(--secondary);
  font-size: 1.01rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card .testimonial-stars {
  font-size: 1.25rem;
  color: #F4C542;
  margin-bottom: -8px;
  letter-spacing: 2px;
  line-height: 1;
  font-family: 'Oswald', Arial, sans-serif;
}

/* -----------------------------
   CARDS
----------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* -----------------------------
   MOBILE NAVIGATION
----------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  font-size: 2em;
  cursor: pointer;
  z-index: 120;
  transition: background .18s;
  box-shadow: 0 1px 5px rgba(20,20,25,0.08);
}
.mobile-menu-toggle:active {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 130;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.57,.13,.24,1.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  opacity: 0.98;
  box-shadow: 0 0 32px 0 #0003;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: mobile-slide-in 0.35s cubic-bezier(.32,1.01,.55,1.07);
}
@keyframes mobile-slide-in {
  from { transform: translateX(-100vw); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 135;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .16s;
}
.mobile-menu-close:active {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 60px 28px 16px 32px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244,197,66,0.15);
  transition: color .15s, background .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(244,197,66,0.04);
}

/* Hide main nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -----------------------------
   RESPONSIVENESS
----------------------------- */
@media (max-width: 900px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 21px;
    align-items: stretch;
    padding: 36px 12px 24px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.04rem; }
  .container { max-width: 100%; }
  .content-wrapper, .text-section, .content-grid, .feature-grid, .card-container, .service-list {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .feature-item, .testimonial-card, .card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-wrapper {
    gap: 18px;
  }
}

/* -----------------------------
   COOKIE CONSENT BANNER
----------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  padding: 30px 18px 20px 22px;
  box-shadow: 0 -2px 24px 0 #18181833;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  transition: transform 0.25s, opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner-text {
  font-size: 1.02rem;
  color: var(--white);
  margin-right: 18px;
  flex: 1 1 200px;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1 1 220px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 10px 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 700;
  margin-left: 0;
  letter-spacing: 0.03em;
  transition: background .16s, color .14s, transform .16s;
  cursor: pointer;
  text-transform: uppercase;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--white);
  color: var(--secondary);
  transform: scale(1.07);
}
.cookie-btn.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-left: 0;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 23px 8px 17px 10px;
    font-size: 0.97rem;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 96vw;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 32px 8px rgba(0,0,0,0.25), var(--shadow-2);
  z-index: 2300;
  padding: 30px 28px 20px 30px;
  transform: translate(-50%, -50%) scale(1.03);
  opacity: 1;
  transition: opacity 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.96);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 20px;
}
.cookie-modal-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.32rem;
  color: var(--primary);
}
.cookie-modal-close {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.cookie-modal-close:active {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 1.04rem;
}
.cookie-category .status {
  margin-left: 14px;
  font-size: 0.98rem;
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #d1d7df;
  position: relative;
  outline: none;
  transition: background .13s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: left .17s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-category.essential .cookie-toggle {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 95vw;
    padding: 13px 7px 10px 12px;
  }
  .cookie-modal-title {
    font-size: 1.12rem;
  }
}

/* -----------------------------
   ANIMATIONS & MICROINTERACTIONS
----------------------------- */
.cta-primary, .cta-secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .18s, box-shadow .15s, transform .11s;
}
.feature-item, .card, .testimonial-card {
  transition: box-shadow .18s, transform .13s, background .21s;
}
.section, .feature-item, .testimonial-card {
  will-change: transform, box-shadow;
}

/* -----------------------------
   MISCELLANEOUS
----------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Accessibility for visually impaired */
@media (prefers-contrast: more) {
  body {
    background: #fff;
    color: var(--black);
  }
}

/* 404 & Thank You page adjustments */
.text-section a.cta-primary {
  margin-top: 22px;
}

/* Prevent unintended card/content overlap */
.card-container > *, .feature-grid > *, .service-list > *, .testimonial-card, .feature-item {
  min-width: 0 !important;
  margin-bottom: 20px !important;
}

/* Ensure gap between all major sections and cards */
section + section {
  margin-top: 34px;
}

/* Ensure high contrast text inside testimonials/review cards */
.testimonial-card, .feature-item {
  color: var(--primary);
  background: var(--accent);
}

/* GEOMETRIC/Modern Shapes as Decorative */
.feature-item:after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  background: rgba(244,197,66,0.11);
  border-radius: 8px 50% 16px 50%;
  z-index: 1;
  pointer-events: none;
}

/* Hide after effect on mobile to avoid overlap */
@media (max-width: 600px) {
  .feature-item:after {
    display: none;
  }
}
