/* ==== 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;
  vertical-align: baseline;
  font-size: 100%;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #FCF6F0;
  color: #32404c;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #32516A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #b99136;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}
:is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #32516A;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
p { font-size: 1.125rem; margin-bottom: 16px; }

/* ==== BRAND COLORS ==== */
:root {
  --color-primary: #32516A;
  --color-secondary: #FCCB6F;
  --color-accent: #FCF6F0;
  --color-text: #32404c;
  --color-footer-bg: #f7e7ca;
  --color-card-bg: #fffdfa;
  --color-shadow: rgba(50, 81, 106, 0.09);
  --color-shadow-hover: rgba(50, 81, 106, 0.18);
  --color-button: #32516A;
  --color-button-text: #fff;
  --color-button-hover: #FCCB6F;
  --color-button-hover-text: #32516A;
  --cookie-banner-bg: #fffdfa;
  --cookie-banner-shadow: rgb(200 170 70 / 15%);
}

/* ==== LAYOUT STRUCTURE ==== */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 40px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 24px 0 0 0;
  margin-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-2px) 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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffefa;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  color: #32404c;
  font-style: italic;
  line-height: 1.5;
  font-size: 1.15rem;
}
.testimonial-card strong {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--color-primary);
  font-size: 1rem;
}

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

/* ======== NAVIGATION ======== */
header {
  width: 100%;
  background: var(--color-primary);
  padding: 0;
  box-shadow: 0 4px 18px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  height: 70px;
  min-height: 70px;
  max-width: 1120px;
  margin: 0 auto;
}
.main-nav > a {
  color: var(--color-button-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav > a img {
  vertical-align: middle;
  width: 47px;
  height: auto;
  margin-right: 12px;
  border-radius: 10px;
  background: #fffdfa;
  padding: 2px;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.header-logo {
  margin-right: 18px;
}

/* =================== CTA =================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 13px 38px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(187,142,57,0.10);
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 8px;
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.15s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-button-text);
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  transform: translateY(-2px) scale(1.04);
}

nav ul, nav a {
  font-size: 1rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  color: var(--color-primary);
  border-radius: 7px;
  padding: 6px 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: flex;
  position: absolute;
  right: 22px;
  top: 18px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 41;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(-110vw);
  transition: transform 0.44s cubic-bezier(0.74,0.18,0.27,0.99);
  z-index: 100;
  box-shadow: 0 0 36px #0002;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  margin: 6px 22px 10px 0;
  border-radius: 12px;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 13px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5b858;
  color: #fffdfa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
  gap: 4px;
}
.mobile-nav a {
  color: var(--color-button-text);
  padding: 18px 36px;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 0 24px 24px 0;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (min-width: 990px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 989px) {
  .main-nav {
    display: none !important;
  }
}

/* ==== FOOTER ===== */
footer {
  background: var(--color-footer-bg);
  color: #2e3b49;
  padding: 30px 0 18px 0;
  border-top: 1px solid #ecd49f;
  box-shadow: 0 -2px 16px var(--color-shadow);
}
footer .content-wrapper {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 24px;
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 23px;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
address {
  font-style: normal;
  color: #2e3b49;
  font-size: 1.08rem;
  margin: 0 auto 12px auto;
  line-height: 1.7;
}
address img {
  width: 1.15em;
  margin-bottom: -3px;
  margin-right: 3px;
  margin-left: 4px;
  vertical-align: text-bottom;
  filter: grayscale(55%) opacity(0.8);
}
footer p {
  font-size: 0.98rem;
  margin-top: 10px;
  color: #556173;
}

/* ==== LISTS & ICON LISTS ==== */
ul, ol {
  margin-left: 0;
  margin-bottom: 14px;
  padding-left: 0;
}
ul li, ol li {
  font-size: 1.05rem;
  margin-bottom: 9px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  width: 27px;
  height: 27px;
  margin-right: 10px;
  border-radius: 7px;
}

/* ==== MARKED CHECKLISTS (for main landing) ==== */
section ul li:before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-secondary);
  margin-right: 10px;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(251,203,111,0.07);
  vertical-align: middle;
}
section ul li img {
  margin-right: 6px;
  background: #fcf7ec;
  padding: 3px;
  box-shadow: none;
}

/* Remove custom bullet when icon exists */
section ul li img + span, .text-section ul li img + span {
  margin-left: 0;
}

/* ==== ADDRESS/CONTACT INFO ==== */
address a {
  color: #32516A;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 4px;
  transition: color 0.16s;
}
address a:hover, address a:focus {
  color: #b99136;
}

/* === MISC ELEMENTS === */
hr {
  border: none;
  border-top: 1px solid #f3d9a2;
  margin: 26px 0 18px 0;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 120;
  background: var(--cookie-banner-bg);
  box-shadow: 0 -6px 36px var(--cookie-banner-shadow);
  padding: 22px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieBannerIn 0.8s cubic-bezier(0.73,0.12,0.51,1) both;
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(187,142,57,0.07);
}
.cookie-banner .cookie-reject {
  background: #f2f5f7;
  color: #b08c44;
  border: 1px solid #e7d9bb;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #e2d2b7;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 3px 16px var(--color-shadow-hover);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 160;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(50, 81, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-card-bg);
  padding: 34px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 40px var(--color-shadow-hover),0 1px 4px #e9e4cb;
  width: 96%;
  max-width: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.65s cubic-bezier(0.44,0.16,0.21,1.02) both;
}
@keyframes cookieModalIn {
  from { transform: translateY(55px) scale(0.98); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.34rem;
  text-align: left;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 14px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 1.35rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookies-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
  border-radius: 4px;
}
.cookie-category .category-label {
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-category .always-on {
  color: #b08c44;
  font-size: 0.99em;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 9px 21px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--color-primary);
  color: #fff;
}

/* ==== RESPONSIVE DESIGN (MOBILE-FIRST) ==== */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .content-wrapper, .section {
    padding: 19px 7px;
    border-radius: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    font-size: 1rem;
    padding: 16px 10px;
    border-radius: 14px;
  }
  .content-grid, .card-container, .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .main-nav {
    padding: 0 8px;
    gap: 8px;
    min-height: 56px;
    height: 56px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 38px;
    padding: 19px 7px;
  }
}

@media (max-width: 520px) {
  .main-nav, footer nav {
    gap: 6px;
  }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.13rem; }
  .cookie-modal { padding: 22px 6px 14px 9px; }
}

/* ===== MICRO-INTERACTIONS / TRANSITIONS ===== */
section, .content-wrapper, .card, .testimonial-card, .cta-button, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, border-radius 0.2s, transform 0.14s;
}

/* ====== HELPER CLASSES ====== */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-24 { margin-bottom: 24px!important; }
.py-0 { padding-top: 0!important; padding-bottom: 0!important; }
.py-10 { padding-top: 10px!important; padding-bottom: 10px!important; }
.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }

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

/* == Hide visually but keep for screen readers == */
.sr-only {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* == Hide menu overlay scroll == */
body.menu-open {
  overflow: hidden;
}
