/* --- 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FFF8F3;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2F354A;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

/* --- FONT FACES ------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #1E375A;
  --secondary: #DE974B;
  --warm-accent: #FFCB81;
  --soft-bg: #FFF8F3;
  --card-bg: #FFFFFF;
  --accent: #F8F8F2;
  --success: #22b07d;
  --danger: #DF3C42;
  --shadow: 0 2px 12px rgba(30, 55, 90, 0.09);
  --shadow-lg: 0 4px 32px rgba(222, 151, 75, 0.10);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- GLOBAL TYPOGRAPHY ---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; margin-top: 24px; }
h3 { font-size: 1.25rem; line-height: 1.35; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, blockquote, cite { font-family: var(--font-body); font-size: 1rem; }
blockquote {
  background: var(--warm-accent);
  border-left: 5px solid var(--secondary);
  color: #774310;
  padding: 20px 32px;
  font-style: italic;
  margin: 0 0 8px 0;
  border-radius: 18px;
}
cite { display: block; color: #ae8e62; font-size: 0.98rem; margin-top: 4px; font-style: normal; }
small { font-size: 0.95em; color: #877152; }

/* --- CONTAINER & LAYOUT --------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding-top: 12px;
}
.section {
  background: var(--soft-bg);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEXBOX LAYOUTS ------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 340px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 26px rgba(222, 151, 75, 0.15);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  gap: 12px;
}
.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: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: box-shadow 0.22s;
  border: 1px solid #f9e4c5;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(222, 151, 75, 0.20);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION ----------------------------------------- */
header {
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(30,55,90,0.035);
  border-radius: 0 0 24px 24px;
  position: sticky;
  top: 0; z-index: 99;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  font-family: var(--font-body);
  padding: 18px 0 12px 0;
}
.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 10px 15px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.primary-btn {
  background-color: var(--secondary);
  color: #fff;
  padding: 10px 22px;
  font-family: var(--font-display);
  border-radius: 20px;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 2px 10px rgba(222, 151, 75, 0.10);
  transition: filter 0.2s, background 0.18s;
}
.main-nav a.primary-btn:hover, .main-nav a.primary-btn:focus {
  background: #E89629;
  filter: brightness(1.09);
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFEDDA;
  color: #CC6B0A;
}
.main-nav img {
  height: 38px; width: auto;
  padding-right: 10px;
}

/* --- MOBILE MENU ---------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 201;
  border: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(222,151,75,0.12);
  transition: background .18s, box-shadow .22s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E89629;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--primary);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.87, .17, .68, .88);
  box-shadow: 0 8px 40px rgba(30,55,90,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2210;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--warm-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 84px;
  gap: 12px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  padding: 18px 34px;
  border-radius: 18px;
  line-height: 1.3;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DE974B;
  color: #1E375A;
}

/* --- HERO, FEATURE, SECTION STYLES ---------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
ul {
  list-style: none;
  margin-top: 16px;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #473D23;
  border-radius: 14px;
  background: #FFFAF6;
  padding: 12px 18px;
  transition: box-shadow .13s;
}
ul li img {
  width: 32px; height: 32px; flex-shrink: 0;
  margin-right: 6px;
}
ul li strong {
  color: var(--primary);
}

/* --- BUTTONS -------------------------------------------- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 26px;
  font-size: 1.15rem;
  margin: 18px 0;
  cursor: pointer;
  box-shadow: 0 1px 9px rgba(222,151,75,0.13);
  transition: background 0.18s, transform 0.18s, box-shadow 0.25s;
}
.primary-btn:hover, .primary-btn:focus {
  background: #FFB95A;
  color: #1E375A;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 2px 24px rgba(222,151,75,0.18);
}

/* --- FAQ STYLES ----------------------------------------- */
.faq {
  margin: 28px 0;
  background: #FFFBF3;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq h3 {
  font-size: 1.08rem;
  font-family: var(--font-display);
  color: #DE974B;
  margin-bottom: 4px;
  margin-top: 0;
}
.faq p {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* --- TEXT SECTION --------------------------------------- */
.text-section {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  margin-left: 0;
}
.text-section li {
  background: #FFF9F3;
  margin-bottom: 9px;
  border-radius: 12px;
  padding: 9px 15px;
}

/* --- FOOTER --------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  border-radius: 20px 20px 0 0;
  margin-top: 36px;
  padding-top: 32px;
  padding-bottom: 18px;
  box-shadow: 0 -2px 20px rgba(30,55,90,0.04);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFF;
  opacity: 0.97;
  font-size: 1.01rem;
  padding: 2px 6px;
  border-radius: 8px;
  transition: background 0.15s color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFCB81;
  color: var(--primary);
}
.footer-contact {
  margin: 10px 0 18px 0;
}
.footer-contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: flex-start;
  justify-content: center;
}
.footer-contact li {
  color: #FFEDDA;
  font-size: 0.98rem;
  background: none;
  border-radius: 0;
  padding: 0;
  align-items: center;
  gap: 10px;
}
.footer-contact li img {
  width: 22px; height: 22px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-bottom: 13px;
}
.footer-social img {
  width: 30px; height: 30px;
  filter: drop-shadow(0 2px 2px rgba(255,203,129,0.10));
  transition: filter .20s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.12) drop-shadow(0 2px 6px rgba(255,203,129,0.16));
}
.copyright {
  text-align: center;
  font-size: 0.99rem;
  color: #EEC35A;
  opacity: 0.91;
  margin-top: 10px;
}

/* --- UTILITY SPACING ------------------------------------ */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* --- RESPONSIVE ADAPTATION ------------------------------ */
@media (max-width: 1000px) {
  .container {
    max-width: 92vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  section { padding: 32px 0; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact ul {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .content-grid,
  .card-container,
  .features,
  .footer-social {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .section { padding: 18px 7px; }
}
@media (max-width: 560px) {
  .container { padding: 0 2px; }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.07rem; }
  footer { border-radius: 0; }
}

/* --- COOKIE CONSENT BANNER ------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFF7ED;
  box-shadow: 0 -2px 16px rgba(30,55,90,0.09);
  border-top: 3px solid #FFCB81;
  color: #533D18;
  padding: 22px 14px 18px 14px;
  z-index: 22240;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  opacity: 1;
  transition: opacity .32s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-content {
  font-size: 1rem;
  max-width: 750px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  margin-right: 2px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(222,151,75,0.07);
  transition: background 0.15s, color 0.15s, transform 0.17s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #E89629;
  color: #F8F8F2;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.reject {
  background: #fff2e7;
  color: #bc5300;
  border: 1px solid #DE974B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fde7cc;
}
.cookie-btn.settings {
  background: #FFCB81;
  color: #1E375A;
  border: 1px solid #EEC35A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFEDDA;
}

/* --- COOKIE MODAL --------------------------------------- */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,55,90, 0.51);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .26s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal {
  background: #FFF;
  padding: 36px 26px 24px 26px;
  border-radius: 24px;
  box-shadow: 0 12px 44px rgba(222,151,75,0.16);
  max-width: 420px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 30010;
  align-items: stretch;
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-modal-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-modal-cat label {
  font-size: 1rem;
  color: #965d18;
}
.cookie-modal .cookie-toggle {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal .always-enabled {
  color: #C17017;
  font-weight: bold;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  background: transparent;
  border: none;
  color: #bc5300;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 0 4px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff2e7;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    font-size: 0.97em;
  }
  .cookie-modal {
    max-width: 98vw;
  }
}

/* --- ANIMATIONS ----------------------------------------- */
@keyframes slideInNav {
  from { transform: translateX(-100%); opacity: 0.7; } to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-menu.open {
  animation: slideInNav 0.32s cubic-bezier(.7,.1,.32,.93);
}

/* --- SCROLLBAR STYLES (friendly!) ----------------------- */
html::-webkit-scrollbar {
  width: 10px; background: #fae2b9;
}
html::-webkit-scrollbar-thumb {
  background: #FFD192;
  border-radius: 20px;
}

/* --- ACCESSIBILITY FOCUS STATES ------------------------- */
a, button, .primary-btn, .cookie-btn {
  outline: none;
  transition: box-shadow 0.08s;
}
a:focus-visible, button:focus-visible, .primary-btn:focus-visible, .cookie-btn:focus-visible {
  box-shadow: 0 0 0 3px #FFCB81, 0 4px 20px #FFCB81;
  outline: none;
}

/* --- OTHER: FORM & INPUTS (if present) ------------------ */
input, textarea {
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid #FFE0B3;
  margin-bottom: 12px;
  font-size: 1.03rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
}

/* --- END OF CSS ----------------------------------------- */
