/* ========================
   CSS RESET & NORMALIZE
   ======================== */
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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #F8FAFB;
  color: #1A2E3B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #6C8DA6;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F6C659;
  outline-offset: 2px;
}

/* ========================
   COLOR PALETTE & VARIABLES
   ======================== */
:root {
  --color-bg: #F8FAFB;
  --color-primary: #1A2E3B;
  --color-primary-hover: #26455A;
  --color-secondary: #6C8DA6;
  --color-accent: #F6C659;
  --color-accent-hover: #ffd900;
  --color-white: #FFFFFF;
  --color-grey: #e8ecf1;
  --color-grey-dark: #bfcadb;
  --shadow-1: 0 2px 8px 0 rgba(26,46,59,0.10);
  --shadow-card: 0 6px 32px -4px rgba(26,46,59,0.14);
  --shadow-btn: 0 2px 6px 0 rgba(108,141,166,0.16);
}

/* ========================
   TYPOGRAPHY
   ======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 {
  font-size: 2.625rem;
  margin-bottom: 22px;
  text-shadow: 0 3px 15px rgba(246,198,89,0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 18px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ============ VISUALS ============ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
}
.text-section {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 36px 28px;
  gap: 16px;
}
.legal-section {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 36px 28px;
}

/* ===== FLEXBOX UTILS ===== */
.card-container, .feature-grid, .service-list, .trend-highlights, .step-list, .footer-links, .social-media-links, .footer-meta, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 10px 30px -2px rgba(246,198,89,0.18), var(--shadow-card);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 24px 18px;
  margin-bottom: 24px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0;
  box-shadow: 0 2px 8px 0 rgba(26,46,59,.07);
  z-index: 1001;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 16px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: var(--color-white);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

.cta-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 100px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.145rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .21s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(246,198,89,.19);
}
button.cta-primary {
  cursor: pointer;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .19s;
  box-shadow: var(--shadow-btn);
  margin-left: 10px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-accent-hover);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,46,59, 0.96);
  color: var(--color-white);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.60,0,0.23,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-accent);
  font-size: 2.1rem;
  border: none;
  padding: 25px 34px 18px 22px;
  align-self: flex-end;
  cursor: pointer;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 12px 38px;
  font-size: 1.28rem;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 4px;
  transition: background .14s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===============
   MAIN LAYOUT
   =============== */
main {
  min-height: 480px;
  width: 100%;
  margin-bottom: 70px;
}

/* ===============
   FEATURE/GRID LAYOUTS
   =============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 28px 20px;
  flex: 1 1 235px;
  min-width: 215px;
  max-width: 300px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .18s, background .18s;
}
.feature-grid > div:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 8px 24px 0 rgba(246,198,89,0.16);
}
.feature-grid img {
  width: 46px;
  height: 46px;
}

.service-list,
.trend-highlights,
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-highlight {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 28px 24px;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.085rem;
}
.service-highlight h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--color-white);
  color: #23272C;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 22px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  position: relative;
  transition: transform .18s, box-shadow .18s;
}
.testimonial-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 14px 42px 0 rgba(246,198,89,0.18);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.testimonial-card div strong {
  font-size: 1rem;
  color: var(--color-secondary);
}
.testimonial-card img {
  height: 21px;
  width: 21px;
  display: inline-block;
  margin-right: 3px;
}

/* ===============
   FOOTER
   =============== */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 48px 0 24px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 22px;
}
.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .13s;
}
.footer-links a:hover {
  color: var(--color-white);
}
.brand-logo img {
  width: 54px;
  height: auto;
  margin-bottom: 4px;
}
.footer-meta {
  font-size: 0.97rem;
  color: var(--color-grey-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.footer-meta img {
  width: 15px; height: 15px; vertical-align: sub; margin-right: 4px;
}
.social-media-links {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}
.social-media-links a img {
  width: 32px; height: 32px;
  border-radius: 6px;
  transition: box-shadow .17s, background .15s;
}
.social-media-links a:hover img {
  background: var(--color-accent);
  box-shadow: 0 2px 8px 0 rgba(246,198,89,.20);
}
.footer-disclaimer {
  font-size: 0.91rem;
  color: var(--color-grey-dark);
  margin-top: 7px;
}

/* ===============
   CONTACT DETAILS
   =============== */
.contact-details {
  background: var(--color-grey);
  border-radius: 11px;
  padding: 22px 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: sub;
}

.google-map-embed {
  background: var(--color-white);
  border-radius: 11px;
  padding: 18px 13px;
  margin-top: 11px;
  font-size: 1rem;
}

/* ===============
   BUTTONS & CONTROLS
   =============== */
button, .cta-primary {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
button:focus {
  outline: 2px solid var(--color-accent);
}

/* === DETAILS/SUMMARY FAQ === */
details {
  margin-bottom: 15px;
  background: var(--color-grey);
  border-radius: 7px;
  padding: 8px 13px;
  transition: box-shadow .15s;
}
details[open] {
  box-shadow: 0 2px 8px 0 rgba(246,198,89,.10);
}
details summary {
  font-weight: 700;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.07rem;
}

/* ===============
   COOKIE CONSENT BANNER
   =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 12px 0 rgba(26,46,59,.11);
  z-index: 8888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform .35s, opacity .3s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-message {
  font-size: 1.075rem;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 19px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-banner-buttons button {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 90px;
  padding: 8px 20px;
  font-size: 1rem;
  margin: 0 0 0 0;
  transition: background .16s, box-shadow .18s, color .16s;
  box-shadow: var(--shadow-btn);
}
.cookie-banner-buttons button:hover, .cookie-banner-buttons button:focus {
  background: var(--color-accent-hover);
}
.cookie-banner-buttons .cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-banner-buttons .cookie-settings-btn:hover {
  background: #5a738b;
  color: var(--color-white);
}

/* COOKIE MODAL STYLES */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(26,46,59, 0.78);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .35s;
  transition: opacity .22s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 36px 34px 28px 34px;
  border-radius: 20px;
  box-shadow: 0 6px 36px 0 rgba(26,46,59,0.16);
  width: 92vw;
  max-width: 415px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-weight: 700;
  gap: 8px;
}
.cookie-modal .cookie-toggle {
  width: 41px; height: 24px;
  background: var(--color-grey);
  border-radius: 24px;
  margin-left: 7px;
  position: relative;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .cookie-toggle[data-active="true"] {
  background: var(--color-accent);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--color-white);
  transition: left .18s;
  box-shadow: 0 1px 5px rgba(26,46,59,0.09);
}
.cookie-modal .cookie-toggle[data-active="true"]::before {
  left: 20px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 19px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-accent);
}

/* ===============
   RESPONSIVENESS
   =============== */
@media (max-width: 1100px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
  }
  .feature-grid > div {
    flex-basis: 42%;
    min-width: 180px;
    max-width: none;
  }
}
@media (max-width: 768px) {
  /* Make nav hamburger, reduce paddings */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .cta-primary {
    display: none;
  }
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
  section {
    padding: 28px 6px 34px 6px;
    margin-bottom: 44px;
  }
  .text-section, .legal-section {
    padding: 22px 9px;
  }
  h1 {
    font-size: 2.1rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.34rem;
    margin-bottom: 15px;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: 13px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 95vw;
    min-width: 0;
  }
  .trend-highlights, .service-list {
    gap: 11px;
  }
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 17px 7px 16px 7px;
    border-radius: 12px;
    max-width: 97vw;
  }
  .footer-meta {
    flex-direction: column;
    gap: 8px;
    font-size: 0.91rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .social-media-links {
    gap: 13px;
  }
  .card {
    padding: 16px 9px;
    border-radius: 9px;
  }
}
@media (max-width: 680px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ============================
   Vibrant/Energetic Touches
   ============================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card {
  border-left: 5px solid var(--color-accent);
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 32px -4px rgba(252, 220, 74, 0.18), var(--shadow-card);
  transform: translateY(-3px) scale(1.022);
}
.cta-primary {
  background: linear-gradient(90deg, var(--color-accent), #ffe072 70%);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(246,198,89,.19);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.main-nav a.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

/* ============================
   MICRO-INTERACTIONS, TRANSITIONS
   ============================ */
a, button, .cta-primary {
  transition: color .16s, background .17s, box-shadow .19s, transform .15s;
}
details[open] summary:after {
  content: '▲';
  font-size: .7em;
  margin-left: 7px;
  color: var(--color-accent);
}
details summary:after {
  content: '▼';
  font-size: .7em;
  margin-left: 7px;
  color: var(--color-accent);
}

/* ===============
   OVERRIDES FOR UL, OL
   =============== */
ul, ol { margin-bottom: 16px; }
ol li, ul li { margin-bottom: 8px; }

/* ===============
   Z-INDEX
   =============== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1005;
}

/* Hide visually for accessibility only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
