/* ----------------------
   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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8F4F1;
  color: #314143;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #314143;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #95B5A2;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
}

/* ---------------------
   BRAND VARIABLES
----------------------*/
:root {
  --color-primary: #314143;
  --color-secondary: #95B5A2;
  --color-accent: #F8F4F1;
  --color-white: #fff;
  --color-black: #202728;
  --transition: all 0.22s cubic-bezier(.77,0,.175,1);
  --shadow-1: 0 2px 8px rgba(49,65,67,0.10);
  --shadow-2: 0 6px 24px rgba(49,65,67,0.13);
  --border-radius: 18px;
  --border-radius-large: 30px;
}

/* ---------------------
   TYPOGRAPHY
----------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong, b {
  font-weight: bold;
}

/* Display font fallback */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;700&display=swap');
  font-display: swap;
}

body, input, textarea, select, button {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ---------------------
   CONTAINER | LAYOUTS
----------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-large);
  background: var(--color-accent);
  box-shadow: var(--shadow-1);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
}

/* -------------------
   HEADER / NAV
--------------------*/
header {
  background: var(--color-white);
  box-shadow: var(--shadow-1);
  width: 100%;
  z-index: 99;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 70px;
}
header img {
  width: 120px;
  height: auto;
  border-radius: 0;
  margin-right: 18px;
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.24s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 11px 30px 11px 18px;
  font-weight: 700;
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: var(--shadow-1);
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
}
.cta.primary::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: 8px;
  background: var(--color-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-2);
}
.cta.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  padding: 10px 28px;
  margin-top: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-1);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}

/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 360px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -6px 0 40px rgba(49,65,67,0.19);
  z-index: 1200;
  transform: translateX(110%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 8px 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.2s;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 30px 30px 30px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0 10px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.19s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 920px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 6px;
    font-size: 0.98rem;
    margin-right: 6px;
  }
  .cta.primary, .cta.secondary {
    font-size: 1rem;
    padding: 8px 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  header .container {
    gap: 0;
    padding-bottom: 9px;
    padding-top: 9px;
  }
}

/* -----------------------
   HERO SECTION
-------------------------*/
.hero {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--border-radius-large);
  margin: 32px 0 50px 0;
  box-shadow: var(--shadow-2);
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  max-width: 560px;
}
.hero h1 {
  color: var(--color-primary);
  letter-spacing: -1px;
  font-size: 2.55rem;
}
.hero p {
  font-size: 1.22rem;
  line-height: 1.5;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .hero .content-wrapper {
    max-width: 96vw;
  }
}
@media (max-width: 540px) {
  .hero {
    min-height: 150px;
    margin: 16px 0 20px 0;
    border-radius: var(--border-radius);
    padding: 0;
  }
  .hero .container {
    min-height: 90px;
    padding: 8px 0;
  }
  .hero h1 {
    font-size: 1.36rem;
    line-height: 1.23;
  }
}

/* ----------------------
   SECTION / ABOUT / LEGAL / THANK YOU
-----------------------*/
.about, .legal, .thank-you, .contact-info, .service-detail, .cta {
  background: var(--color-accent);
  border-radius: var(--border-radius-large);
  margin-bottom: 60px;
  box-shadow: var(--shadow-1);
}

.content-wrapper > h2, .content-wrapper > h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about, .legal, .thank-you, .contact-info, .service-detail, .cta {
    margin-bottom: 38px;
    border-radius: var(--border-radius);
  }
  .content-wrapper > h1, .content-wrapper > h2 {
    font-size: 1.25rem;
  }
}

/* ------------------------
   FEATURE GRIDS/FLEX ONLY
--------------------------*/
.features {
  margin-bottom: 60px;
}
.features .content-wrapper {
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 10px;
}
.feature-column {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 32px 20px 26px 20px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
}
.feature-column img {
  width: 45px;
  height: 45px;
  margin-bottom: 6px;
}
.feature-column h3 {
  color: var(--color-secondary);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-column {
    min-width: 180px;
    max-width: 100%;
    padding: 20px 14px 18px 14px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-column {
    width: 100%;
    min-width: unset;
    padding: 13px 7px 14px 11px;
  }
}

/* ---------------------
   SERVICES LISTS
---------------------*/
.services, .service-detail {
  margin-bottom: 60px;
}
.services ul, .service-detail ul {
  margin-top: 10px;
  margin-bottom: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.services ul li, .service-detail ul li {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  padding: 18px 20px 12px 16px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.03rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0px;
}
.services ul li span {
  color: var(--color-secondary);
  font-weight: 700;
  margin-left: 8px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .services ul li, .service-detail ul li {
    padding: 9px 6px 7px 7px;
    font-size: 0.97rem;
    flex-direction: column;
    gap: 2px;
  }
}

/* ---------------------
   TESTIMONIALS
---------------------*/
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 32px rgba(49,65,67,0.09); /* slightly bolder */
  padding: 24px 22px 20px 22px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  font-weight: 500;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px rgba(49,65,67,0.14);
  transform: translateY(-3px) scale(1.016);
  z-index: 2;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--color-black);
}
.testimonial-meta {
  font-size: 0.97rem;
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
}
.testimonial-meta span {
  color: #f5c443;
  font-size: 1.01rem;
  margin-left: 4px;
}

@media (max-width: 980px) {
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    padding: 16px 12px 14px 11px;
  }
}

/* ---------------------
   CONTACT INFO
---------------------*/
.contact-info .content-wrapper {
  gap: 18px;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0 0 20px 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.09rem;
  background: var(--color-white);
  padding: 10px 12px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
  color: var(--color-primary);
}
.contact-list li img {
  width: 22px;
  height: 22px;
}
.map-placeholder {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  padding: 16px 14px;
  font-size: 1rem;
  box-shadow: var(--shadow-1);
}

/* -------------------------
   FOOTER
--------------------------*/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 30px 0 17px 0;
  border-top-left-radius: var(--border-radius-large);
  border-top-right-radius: var(--border-radius-large);
  box-shadow: 0 -2px 34px rgba(49,65,67,0.15);
  margin-top: 45px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 7px;
}
.footer-nav nav {
  display: flex;
  gap: 33px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05rem;
  opacity: 0.96;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.13s, border-color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 1.5px solid var(--color-secondary);
}
.footer-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  font-size: 0.99rem;
  color: #fff;
}
.footer-info div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 400;
  line-height: 1.5;
}
.footer-info strong {
  font-weight: 700;
}
footer a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .footer-nav nav {
    gap: 18px;
  }
}
@media (max-width: 520px) {
  footer {
    padding: 18px 0 9px 0;
    border-radius: 0;
  }
  .footer-info {
    font-size: 0.92rem;
  }
}

/* ----------------------
   THANK YOU PAGE
-----------------------*/
.thank-you .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.thank-you a.cta.primary {
  margin-top: 10px;
}

/* ----------------------
   CARD-LIKE SECTIONS
-----------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  box-shadow: var(--shadow-1);
  border-radius: var(--border-radius);
  padding: 24px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
@media (max-width: 550px) {
  .card {
    padding: 11px 6px;
    min-width: unset;
  }
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------
   SPACING
------------- */
.section, .about, .legal, .thank-you, .contact-info, .service-detail, .cta, .features, .testimonials, .services {
  margin-bottom: 60px;
}

@media (max-width: 700px) {
  .section, .about, .legal, .thank-you, .contact-info, .service-detail, .cta, .features, .testimonials, .services {
    margin-bottom: 32px;
  }
}

/* --------------
   RESPONSIVE
-------------- */
@media (max-width: 640px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .container { padding-left: 6px; padding-right: 6px; }
}

/* -------------
   UTILITY
------------- */
.bg-primary {
  background: var(--color-primary);
  color: #fff;
}
.bg-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.bg-accent {
  background: var(--color-accent);
}
.text-center {
  text-align: center;
}
.rounded {
  border-radius: var(--border-radius);
}

/* -----------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: #fff;
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 23px 14px 19px 14px;
  box-shadow: 0 -5px 32px rgba(49,65,67,0.17);
  border-top-left-radius: var(--border-radius-large);
  border-top-right-radius: var(--border-radius-large);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieIn 0.36s cubic-bezier(.77,0,.175,1);
}
@keyframes cookieIn {
  from {transform: translateY(70px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.cookie-button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 26px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: var(--transition);
  margin-right: 2px;
  box-shadow: var(--shadow-1);
}
.cookie-button.accept {
  background: #52B54A;
  color: #fff;
}
.cookie-button.reject {
  background: #F1485B;
  color: #fff;
}
.cookie-button.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-button:hover, .cookie-button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 650px) {
  .cookie-banner__buttons {
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1920;
  top:0; left:0; right:0; bottom:0;
  background: rgba(3,6,7,0.56);
  animation: modalFadeIn 0.36s cubic-bezier(.77,0,.175,1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
@keyframes modalFadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--border-radius-large);
  padding: 40px 30px 32px 30px;
  box-shadow: 0 8px 44px rgba(49,65,67,0.29);
  max-width: 98vw;
  width: 410px;
  margin: 0 auto 38px auto;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalPopIn 0.41s cubic-bezier(.77,0,.175,1);
  position: relative;
}
@keyframes modalPopIn {
  from {transform: translateY(40px) scale(.98); opacity:0;}
  to {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.5rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
  border-radius: 50%;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--color-primary);
  background: #f6faf5;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-category-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 1px;
}
.cookie-toggle {
  margin-left: auto;
}
.toggle-switch {
  width: 46px;
  height: 24px;
  border-radius: 12px;
  background: #eee;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch[data-checked="true"] {
  background: var(--color-secondary);
}
.toggle-switch.disabled {
  opacity: 0.44;
  pointer-events: none;
}
.toggle-knob {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  box-shadow: 0 0 3px rgba(0,0,0,0.13);
  transition: left 0.19s cubic-bezier(.77,0,.175,1), background 0.18s;
}
.toggle-switch[data-checked="true"] .toggle-knob {
  left: 23px;
  background: var(--color-primary);
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 24px 7px 18px 7px;
    width: 96vw;
    border-radius: 19px;
  }
}

/* --------------------
   ACCESSIBILITY
----------------------*/
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------
   OVERRIDES
-------------- */
@media (max-width: 350px) {
  .footer-nav nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-info {
    font-size: 0.8em;
  }
  header img {
    width: 80px;
    margin-right: 4px;
  }
}

/* End of CSS */
