/* =========================================================
   CSS RESET & BASE STYLES
   ========================================================= */
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  color: #22334D;
  background: #f7f5f3;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #8d5a28;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #c97f37;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

/*
=========================================================
  BRAND & WARM FRIENDLY THEME COLORS
========================================================= */
:root {
  --clr-primary: #22334D;
  --clr-secondary: #ADC3D7;
  --clr-accent: #F7F9FB;
  --clr-warm-1: #FFDABB;
  --clr-warm-2: #FFF5EC;
  --clr-warm-3: #FFE7C6;
  --clr-friendly: #FFD7A3;
  --clr-positive: #388e3c;
  --clr-negative: #c62828;
}

/*
=========================================================
 FONTS
========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1b283b;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #384157;
  font-size: 1rem;
}
p {
  margin-bottom: 14px;
}
strong, b {
  font-weight: bold;
  color: #22334D;
}

/*
=========================================================
 LAYOUT CONTAINERS & SPACING
========================================================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF5EC;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(205, 152, 84, 0.07);
}
@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Card Containers and Features */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(205, 152, 84, 0.07), 0 0.5px 1px rgba(90,60,10,.04);
  padding: 24px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 20px rgba(205, 152, 84, 0.12), 0 2px 8px rgba(34,51,77,0.07);
  transform: translateY(-3px) scale(1.03);
  background: #FFE7C6;
}
.feature-item img {
  width: 48px;
  height: 48px;
  background: #FFDABB;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(255, 185, 82, 0.11);
}

/*
=========================================================
 CARDS & GRID
========================================================= */
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(205, 152, 84, 0.07);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 18px rgba(205, 152, 84, 0.13);
  transform: translateY(-3px) scale(1.02);
}

.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
}

/*
=========================================================
 HEADER & NAVIGATION
========================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(34, 51, 77, 0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 14px;
}
header img[alt*="Glimmer"] {
  height: 48px;
  border-radius: 12px;
  background: #FFF5EC;
  padding: 4px 8px;
  box-shadow: 0 1px 3px rgba(255,160,70,0.05);
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #22334D;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #FFDABB;
  color: #c97f37;
}

.cta.primary {
  background: #FFDABB;
  color: #312313;
  border-radius: 34px;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  margin-left: 20px;
  box-shadow: 0 2px 8px rgba(205, 152, 84, 0.17);
  transition: background 0.23s, color 0.23s, box-shadow 0.23s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFE7C6;
  color: #cd8e3d;
  box-shadow: 0 4px 22px rgba(205, 152, 84, 0.23);
}

/*
=========================================================
   MOBILE MENU
========================================================= */
.mobile-menu-toggle {
  display: none;
  background: #FFDABB;
  border: none;
  border-radius: 13px;
  padding: 9px 13px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  color: #954203;
  box-shadow: 0 2px 10px rgba(205, 152, 84, 0.09);
  transition: background 0.17s, color 0.17s;
  z-index: 1201;
}
.mobile-menu-toggle:hover {
  background: #FFE7C6;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(253, 237, 225, 0.99);
  box-shadow: 0 10px 32px rgba(90, 60, 10, 0.17);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.60, 0.3, 0.3, 1.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1200;
  padding: 32px 24px 24px 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFE7C6;
  color: #22334D;
  font-size: 2rem;
  border: none;
  border-radius: 16px;
  padding: 8px 17px 10px 17px;
  align-self: flex-end;
  margin-bottom: 22px;
  margin-right: 9px;
  cursor: pointer;
  box-shadow: 0 0.5px 4px rgba(205,152,84,0.11);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover {
  background: #FFDABB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  background: transparent;
  color: #22334D;
  font-height: 600;
  padding: 14px 2px 14px 8px;
  border-radius: 12px;
  font-size: 1.09rem;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #FFDABB;
  color: #A25D06;
}

@media (max-width: 995px) {
  nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 996px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Ensure menu overlay covers everything */
.mobile-menu {
  pointer-events: all;
}

/*
=========================================================
 FOOTER
========================================================= */
footer {
  width: 100%;
  background: #22334D;
  color: #fff;
  border-radius: 22px 22px 0 0;
  padding: 32px 0 22px 0;
  box-shadow: 0 -1px 10px rgba(34,51,77,0.08);
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
footer nav {
  gap: 24px;
}
footer nav a {
  color: #ffd7a3;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9px;
  padding: 4px 9px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #ffdabb;
  color: #22334D;
}
.footer-info {
  font-size: 0.95rem;
  color: #FFDABB;
  text-align: right;
}
.footer-info p{
  color:#FFDABB;
}
@media (max-width: 680px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-info {
    text-align: left;
    margin-top: 6px;
  }
}

/*
=========================================================
 TESTIMONIALS
========================================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 2px 10px rgba(205, 152, 84, 0.07);
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.testimonial-card blockquote {
  border-left: 5px solid #FFDABB;
  padding-left: 14px;
  font-size: 1.1rem;
  color: #22334D;
  font-style: italic;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #71410d;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 18px;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #FFE7C6;
  box-shadow: 0 5px 16px rgba(205, 152, 84, 0.17);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/*
=========================================================
 FAQ ACCORDION
========================================================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 1.5px 7px rgba(205,152,84,0.10);
  padding: 20px;
  transition: box-shadow 0.17s, transform 0.2s, background 0.15s;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
  color: #ad6c29;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item p {
  color: #384157;
  font-size: 1rem;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 7px 20px rgba(205,152,84,0.13);
  background: #FFF2DF;
  transform: translateY(-2px);
}

/*
=========================================================
 LISTS, CONTACT INFO, ICONS
========================================================= */
.text-section ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  color: #69552d;
}
.text-section ul li img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #FFDABB;
  padding: 4px;
  margin-right: 4px;
}
.text-section ul li strong {
  margin-right: 2px;
}

/*
=========================================================
 MAP PLACEHOLDER
========================================================= */
[role="map"], .map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  width: 100%;
  background: #fce6c2;
  color: #ad6c29;
  font-size: 1.12rem;
  border-radius: 15px;
  box-shadow: 0 1.5px 7px rgba(255, 209, 133, 0.13);
  margin-top: 12px;
}

/*
=========================================================
 BUTTONS & INTERACTIONS
========================================================= */
button, .button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  background: #FFDABB;
  padding: 12px 28px;
  color: #312313;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  box-shadow: 0 2px 7px rgba(205,152,84,0.11);
}
button:hover, .button:hover, input[type="submit"]:hover,
button:focus, .button:focus, input[type="submit"]:focus {
  background: #FFE7C6;
  color: #b57423;
}

/*
=========================================================
 COOKIE CONSENT BANNER
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: #FFF5EC;
  color: #312313;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  border-top: 3px solid #FFDABB;
  box-shadow: 0 -2px 22px rgba(205,152,84,0.13);
  padding: 22px 20px 18px 20px;
  min-height: 80px;
  transition: opacity 0.34s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(70px);
}
.cookie-banner .cookie-text {
  font-size: 0.99rem;
  max-width: 470px;
  line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  min-width: 125px;
  padding: 12px 18px;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  outline: none;
  transition: background 0.17s, color 0.13s;
  border: none;
}
.cookie-banner .accept {
  background: #388e3c;
  color: #fff;
}
.cookie-banner .accept:hover { background: #27732a; }
.cookie-banner .reject {
  background: #c62828;
  color: #fff;
}
.cookie-banner .reject:hover { background: #a01e1e; }
.cookie-banner .settings {
  background: #FFDABB;
  color: #22334D;
}
.cookie-banner .settings:hover {
  background: #FFE7C6;
  color: #ad6c29;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 6px 14px 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1700;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32, 27, 18, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 7px 23px rgba(205, 152, 84, 0.18);
  max-width: 375px;
  width: 95vw;
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideDownFade 0.32s cubic-bezier(.6,.15,.25,.95);
}
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  color: #22334D;
  margin-bottom: 12px;
}
.cookie-modal section {
  background: #FFF5EC;
  border-radius: 14px;
  box-shadow: 0 0.5px 4px rgba(255,209,133,0.10);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #69552d;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #FFDABB;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #FFDABB;
  margin: 0 6px 0 0;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 17px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  color: #c62828;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal .close-modal:hover { opacity: 0.77; }

/*
=========================================================
 MEDIA QUERIES RESPONSIVENESS
========================================================= */
@media (max-width: 950px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 680px) {
  h1 {font-size: 1.38rem;}
  h2 {font-size: 1.18rem;}
  .feature-item, .card {
    min-width: unset;
    padding: 20px 10px;
  }
  .testimonial-card {
    padding: 16px 9px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 16px 3px;
  }
  .feature-item, .card {
    padding: 14px 6px;
    font-size: 0.97rem;
  }
}

/*
=========================================================
 MICRO-INTERACTIONS & ANIMATIONS
========================================================= */
.cta.primary, button, .feature-item, .testimonial-card, .card, .faq-item, .cookie-banner, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.18s;
}

/*
=========================================================
 ACCESSIBILITY, FOCUS STATES
========================================================= */
a, button, .cta.primary, input[type="submit"] {
  outline: none;
}
a:focus, button:focus, .cta.primary:focus {
  outline: 2px dashed #FFDABB;
  outline-offset: 1.5px;
}

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

/*
=========================================================
 MISC: UTILITIES, OVERFLOW
========================================================= */
body {overflow-x: hidden;}

/* Add bottom padding so banners can't overlap footer on mobile */
@media (max-width: 650px) {
  body {padding-bottom: 120px;}
}

/* Hide scroll on open menu/modal */
body.menu-open, body.modal-open {
  overflow: hidden !important;
}
