/* ===== CSS RESET & BASE ===== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #302c23;
  background: #FFF7EB;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #17486A;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 6px;
}
a:hover, a:focus {
  color: #E99624;
  outline: none;
  background: #FFEFCC;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 24px;
}
li + li {
  margin-top: 12px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #17486A;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #e28c1a;
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-style: italic;
  font-size: 1.08rem;
  color: #523e18;
  margin-left: 0;
}
label {
  font-weight: 500;
}
hr {
  border: 0;
  border-top: 1px solid #EBE2D7;
  margin: 40px 0;
}

/* ===== BRAND COLORS ===== */
:root {
  --primary: #17486A;
  --secondary: #F9C846;
  --accent: #FFFFFF;
  --warm-bg: #FFF7EB;
  --shadow: 0 4px 16px 0 rgba(216, 167, 53, 0.08);
  --shadow-card: 0 2px 8px 0 rgba(23, 72, 106, 0.08);
  --border-radius: 18px;
  --radius-btn: 28px;
}

/* ===== LAYOUT STRUCTURE ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
main .section, main section {
  background: #FFF7EB;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(23, 72, 106, 0.06);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 100;
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.logo img {
  height: 44px;
  border-radius: 0;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #3D2D00;
  padding: 8px 16px;
  border-radius: 12px;
  transition: background 0.25s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFE7B2;
  color: var(--primary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 8px 0 rgba(249, 200, 70, 0.10);
  padding: 10px 28px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  margin-left: 10px;
}
.cta-btn.primary {
  background: var(--secondary);
  color: var(--primary);
  border: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #FFDA74;
  color: #1a1c22;
  transform: scale(1.045);
}
.cta-btn.secondary {
  background: var(--primary);
  color: #fff;
  margin-top: 20px;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #265c89;
  color: var(--secondary);
  transform: scale(1.045);
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(249,200,70,.10);
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe498;
  color: #1b2533;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(23, 72, 106, 0.16);
  z-index: 201;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}
.mobile-menu.active {
  display: flex;
  animation: menu-slide-in 0.28s cubic-bezier(.48,.02,.57,1.51);
}
@keyframes menu-slide-in {
  0% { opacity: 0; transform: translateX(100%); }
  100% { opacity: 1; transform: translateX(0); }
}
.mobile-menu nav.mobile-nav {
  background: #fffdfa;
  width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0 24px 28px;
  box-shadow: -2px 0 12px 0 rgba(23,72,106,0.09);
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  align-items: flex-start;
  position: relative;
  z-index: 205;
}
.mobile-menu-close {
  position: absolute;
  right: 25px;
  top: 22px;
  background: #FFE3AB;
  color: #17486A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 210;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD56D;
  color: #ce7000;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.15rem;
  color: #17486A;
  border-radius: 10px;
  width: 92%;
  padding-left: 10px;
  margin-right: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background 0.18s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF4DD;
  color: #E99624;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1360px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}

/* ===== HERO & SECTION STYLES ===== */
.hero {
  background: linear-gradient(99deg, #FFF7EB 60%, #F9C846 150%);
  padding: 58px 0 44px 0;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 1px 16px 0 rgba(249,200,70,0.08);
  margin-bottom: 38px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.hero h1 {
  font-size: 2.3rem;
  text-align: center;
  color: #17486A;
}
.hero p {
  font-size: 1.15rem;
  color: #5B4632;
  text-align: center;
  max-width: 520px;
}
.hero .cta-btn {
  margin: 20px 0 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 38px 0 28px 0;
    border-radius: 0 0 26px 26px;
  }
}

/* ==== FLEX LAYOUT PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffdfa;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 100%;
}
.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;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFAF2;
  color: #1d1b17;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 1.03rem;
  box-shadow: 0 3px 14px 0 rgba(239,207,108,0.11);
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card blockquote {
  color: #316A17;
  font-size: 1.11rem;
  font-style: italic;
  margin: 0 0 0 0;
}
.testimonial-card span {
  color: #7B6239;
  font-size: 0.97rem;
  margin-left: auto;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(249,200,70,0.14);
  transform: scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffdfa;
  border-radius: 11px;
  padding: 18px 18px;
  box-shadow: 0 1px 7px 0 rgba(23,72,106,0.05);
  margin-bottom: 20px;
}

/* ===== LISTS ===== */
ul {
  list-style-type: disc;
  padding-left: 18px;
  margin-bottom: 16px;
}
ul li {
  font-size: 1.00rem;
  color: #4a3722;
  line-height: 1.6;
  padding-bottom: 4px;
}

/* ==== BADGES and SMALL ELEMENTS */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 14px 0 6px 0;
}
.trust-badges span {
  background: #FCE793;
  color: #8f6c07;
  font-size: 0.98rem;
  border-radius: 13px;
  padding: 8px 16px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 5px #fbce4e17;
}

/* ==== SEARCH BAR ==== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 16px 0 0 0;
  background: #FFF8E2;
  border: 1.5px solid #F9C846;
  border-radius: 16px;
  padding: 10px 14px;
}
.search-bar label {
  font-size: 1.02rem;
  color: #17486A;
}
.search-bar input {
  border: none;
  background: transparent;
  padding: 8px 6px;
  font-size: 1.07rem;
  font-family: Roboto, Arial, sans-serif;
  color: #234263;
  outline: none;
  width: 170px;
}

/* ====== FOOTER ====== */
footer {
  background: #fffdfa;
  border-top: 2.5px solid #F9C84633;
  box-shadow: 0 -2px 12px 0 rgba(249,200,70,0.06);
  padding: 0;
  margin-top: 34px;
}
footer .container {
  padding: 22px 20px 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 44px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 170px;
}
.footer-nav a {
  color: #48504B;
  font-size: 1rem;
  border-radius: 8px;
  padding: 4px 9px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFF2C7;
  color: #17486A;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 250px;
}
.brand-info img {
  width: 44px;
  border-radius: 9px;
}
.brand-info p {
  color: #5a4318;
  font-size: 0.98rem;
  margin: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.97rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info img {
  width: 19px;
  margin-top: -2px;
}
.footer-bottom {
  font-size: 0.97rem;
  color: #aa9276;
  padding: 16px 0 22px 0;
  text-align: center;
  background: none;
}
@media (max-width: 992px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* ==== RESPONSIVE STYLES == */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 5px;
  }
  header .container {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 64px;
    gap: 5px;
  }
  .logo img {
    height: 34px;
  }
  main .section, main section {
    padding: 24px 5px;
    border-radius: 17px;
  }
  .card {
    padding: 14px 10px 10px 10px;
    font-size: 0.98rem;
    margin-bottom: 12px;
    border-radius: 13px;
  }
  .feature-item {
    border-radius: 10px;
  }
  .testimonial-card {
    font-size: 0.98rem;
    padding: 13px;
    border-radius: 10px;
  }
  .footer-bottom {
    font-size: 0.93rem;
    padding: 10px 0 13px 0;
  }
  .footer-nav nav {
    min-width: 110px;
    font-size: 0.93rem;
  }
}

/* ===== MICROLEVEL ===== */
button, input[type=submit], input[type=button], .cta-btn {
  cursor: pointer;
  outline: none;
  border: none;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* INPUTS & FORMS */
input, textarea {
  border-radius: 9px;
  border: 1px solid #ecd997;
  padding: 8px 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 1rem;
  background: #fffdfa;
  color: #32301b;
  margin-bottom: 12px;
  transition: border 0.19s;
}
input:focus, textarea:focus {
  border-color: #F9C846;
  background: #fff7eb;
}

/* PLACEHOLDER STYLE */
::-webkit-input-placeholder { color: #a59e80; opacity: 1; }
::-moz-placeholder          { color: #a59e80; opacity: 1; }
:-ms-input-placeholder      { color: #a59e80; opacity: 1; }
::placeholder              { color: #a59e80; opacity: 1; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff8e6;
  border-top: 2px solid #F9C84677;
  box-shadow: 0 -3px 28px 0 rgba(249,200,70,0.10);
  z-index: 3004;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin: 0;
  font-size: 1.07rem;
  opacity: 1;
  transition: opacity 0.34s, bottom 0.34s;
  border-radius: 32px 32px 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -200px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-banner .cookie-btn {
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.00rem;
  padding: 7px 22px;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
  border: none;
  margin: 2px 0;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(249,200,70,0.07);
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #FFDD87;
}
.cookie-banner .cookie-reject {
  background: #fffdfa;
  color: #be3937;
  border: 1px solid #ECA6A6;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #FFD5B7;
  color: #983F1E;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #17486A;
  border: 1px solid #17486A66;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #FFF5D9;
  color: #e28c1a;
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23, 72, 106, 0.17);
  z-index: 4002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 7px 36px 0 rgba(249,200,70,0.13);
  max-width: 420px;
  width: 98vw;
  padding: 34px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #FFE3AB;
  color: #17486A;
  font-size: 1.3rem;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover {
  background: #FFD689;
  color: #be3937;
}
.cookie-modal h3 {
  margin-top: 0;
  color: #17486A;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FFF7EB;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 1.01rem;
}
.cookie-modal .category-toggle {
  accent-color: var(--secondary);
  transform: scale(1.18);
  width: 20px; height: 20px;
}
.cookie-modal .category-essential {
  font-weight: 700;
  color: #364462;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 19px;
  justify-content: flex-end;
}

@media (max-width: 500px) {
  .cookie-modal .modal-content {
    padding: 15px 5px 10px 10px;
    border-radius: 13px;
  }
  .cookie-modal h3 {
    font-size: 1.13rem;
  }
}

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 18px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 18px !important; }
.pt-1 { padding-top: 8px !important; }
.pt-2 { padding-top: 18px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 18px !important; }

/* ===== VISUAL MINI-EFFECTS ===== */
.card, .feature-item, .testimonial-card, .cookie-banner, .modal-content, .cta-btn, .search-bar, input, textarea {
  transition: box-shadow 0.18s, background 0.15s, transform 0.14s;
}

.card:hover, .feature-item:hover {
  box-shadow: 0 7px 29px 0 rgba(23, 72, 106, 0.12);
  transform: scale(1.015);
  background: #FFF3D7;
}

hr {
  border: 0;
  border-top: 1.5px solid #f9c84633;
  margin: 30px 0;
}

/* ===== FIXED SPACING between CARDS/SECTIONS ===== */
.card + .card,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.section + .section {
  margin-top: 32px;
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #f9c846;
  outline-offset: 2px;
  z-index: 2000;
}

/* ==== DARK MODE PREP (optional/future proofing) ==== */
@media (prefers-color-scheme: dark) {
  body.dark-mode {
    background: #2c353e;
    color: #faf3e7;
  }
}

/* ===== END ===== */
