/* -------------------------------------------------------------
   RESET & BASE
------------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F7F4;
  color: #2e2e2e;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
ul {
  margin: 0 0 1.5em 1.3em;
  padding: 0;
}
ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}
one, ul li {
  margin-bottom: 0.4em;
}
a {
  color: #204B71;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C47C2B;
  text-decoration: underline;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  line-height: 1.2;
  color: #204B71;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 { font-size: 1.1rem; }
p {
  margin-bottom: 1.1em;
}
strong, b {
  font-weight: 700;
  color: #204B71;
}

/* -------------------------------------------------------------
   COLOR PALETTE (Branding)
------------------------------------------------------------- */
:root {
  --color-primary: #204B71;
  --color-secondary: #66A0CE;
  --color-accent: #F8F7F4;
  --color-warm1: #FFE7CB;
  --color-warm2: #FFD6A1;
  --color-warm3: #F9B282;
  --color-warm4: #C47C2B;
  --color-dark: #1b2330;
  --color-text: #2e2e2e;
  --color-light: #ffffff;
  --shadow: 0 2px 12px 0 rgba(80, 70, 52, 0.11);
}

/* -------------------------------------------------------------
   CONTAINER & LAYOUT HELPERS
------------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* -------------------------------------------------------------
   HEADER NAVIGATION
------------------------------------------------------------- */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 2px 8px 0 rgba(32,75,113,0.04);
  position: sticky;
  top: 0;
  z-index: 101;
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 46px;
  width: auto;
  border-radius: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 8px;
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-warm1);
  color: var(--color-dark);
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: linear-gradient(90deg, var(--color-warm2) 80%, var(--color-warm4) 100%);
  color: #204B71;
  border: none;
  border-radius: 22px;
  padding: 14px 28px;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px 0 rgba(196, 124, 43, 0.09);
  cursor: pointer;
  transition: background 0.24s, box-shadow 0.24s, transform 0.15s;
  margin-left: 20px;
  margin-bottom: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--color-warm4) 80%, var(--color-warm3) 100%); 
  color: var(--color-light);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px 0 rgba(196,124,43,0.12);
}
.cta-secondary {
  display: inline-block;
  background: var(--color-warm3);
  color: var(--color-dark);
  border: none;
  border-radius: 20px;
  padding: 12px 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  margin-top: 10px;
  transition: background 0.22s, color 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px 0 rgba(249,178,130,0.10);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-warm2);
  color: var(--color-primary);
  transform: scale(1.04) translateY(-2px);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  margin-right: 6px;
  margin-left: 14px;
  cursor: pointer;
  z-index: 140;
  line-height: 1;
}
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: var(--color-light);
    box-shadow: 0 8px 24px 0 rgba(32,75,113,0.14);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.56,1.37,.27,1);
    padding: 0;
    overflow-y: auto;
  }
  .mobile-menu.active {
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(.56,1.37,.27,1);
    box-shadow: 0 8px 38px 0 rgba(32,75,113,0.15);
  }
  .mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: var(--color-primary);
    margin: 22px 24px 10px 0;
    cursor: pointer;
    padding: 6px 7px;
    border-radius: 8px;
    transition: background 0.15s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--color-warm1);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0 0 0;
    align-items: flex-start;
    padding: 0 36px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-size: 1.2rem;
    padding: 14px 0 9px 6px;
    border-radius: 8px;
    color: var(--color-primary);
    transition: background 0.18s, color 0.18s;
    width: 100%;
    display: block;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-warm2);
    color: var(--color-dark);
  }
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Overlay prevents scroll on mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* -------------------------------------------------------------
   HERO SECTIONS
------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 340px;
  background: linear-gradient(87deg, var(--color-warm1) 80%, #FFF5E7 100%);
  border-radius: 0 0 36px 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}
.hero .container,
.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: inherit;
  justify-content: center;
}
.hero .content-wrapper,
.page-hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.18rem;
  color: #663e09;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .hero {
    min-height: 220px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 28px;
  }
}
@media (max-width: 600px) {
  .hero .container, .page-hero .container {
    padding-left: 0;
    padding-right: 0;
  }
  .hero .content-wrapper, .page-hero .content-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

.page-hero, .page-header {
  background: linear-gradient(92deg, var(--color-accent) 60%, var(--color-warm2) 100%);
  border-radius: 0 0 32px 32px;
  padding: 48px 0 18px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.page-hero .content-wrapper, .page-header .content-wrapper {
  align-items: flex-start;
  justify-content: center;
}

.breadcrumb {
  font-size: 0.95rem;
  color: #8c7e5b;
  margin-top: 6px;
}
.breadcrumb a {
  color: #8c7e5b;
  text-decoration: underline;
  font-weight: 600;
}

/* -------------------------------------------------------------
   FLEX PATTERN CLASSES
------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 calc(330px - 24px);
}
.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;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Features grid pattern (sections with features or values) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.features-grid > div {
  flex: 1 1 230px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 210px;
  max-width: 310px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.features-grid > div img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-warm1);
  padding: 5px;
  box-shadow: 0 2px 5px 0 rgba(228,174,79,0.08);
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 6px 24px 0 rgba(196,124,43,0.13);
  transform: translateY(-3px) scale(1.025);
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div {
    min-width: 0;
    max-width: 100%;
  }
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-warm1);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(32,75,113,0.09);
  padding: 22px 28px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 370px;
  flex: 1 1 320px;
  transition: box-shadow 0.15s, background 0.22s;
}
.testimonial-card p {
  color: #41360F;
  font-size: 1.08rem;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.98rem;
  font-weight: 500;
  color: #926e11;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: var(--color-warm2);
  box-shadow: 0 4px 18px 0 rgba(32,75,113,0.12);
}
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* TEXT-SECTION BLOCKS (For About text, list, and Contact infos) */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
}
.text-section ul {
  padding-left: 24px;
  margin-bottom: 10px;
}
.text-section ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.text-section ul li img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

.contact-quick {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* -------------------------------------------------------------
   THANK YOU / SUCCESS PAGES
------------------------------------------------------------- */
.thankyou {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  align-content: center;
}
.thankyou .content-wrapper {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 22px;
  background: var(--color-warm1);
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(196,124,43,0.088);
  padding: 40px 24px;
}
.thankyou h1 {
  color: var(--color-dark);
  font-size: 2.3rem;
  margin-bottom: 12px;
}
@media (max-width: 650px) {
  .thankyou .content-wrapper { padding: 22px 5px; }
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
footer {
  padding: 42px 0 24px 0;
  background: var(--color-accent);
  border-radius: 36px 36px 0 0;
  margin-top: 52px;
  box-shadow: 0 -2px 20px 0 rgba(32,75,113,0.03);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
.footer-content img {
  height: 38px;
  width: auto;
  border-radius: 0;
}
.footer-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-nav a {
  color: #88825d;
  font-size: 0.98rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.20s;
}
.footer-nav a:hover {
  background: var(--color-warm1);
  color: var(--color-primary);
}
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* -------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-warm3);
  color: var(--color-dark);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 -2px 12px 0 rgba(32,75,113,0.16);
  z-index: 4000;
  padding: 26px 24px 22px 24px;
  font-size: 1rem;
  border-radius: 20px 20px 0 0;
  animation: cookieslide 0.38s ease-in;
}
@keyframes cookieslide {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 10px 20px;
  border-radius: 18px;
  border: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.18s;
  box-shadow: 0 2px 4px rgba(196,124,43,0.07);
}
.cookie-consent-banner .accept {
  background: var(--color-warm2);
  color: var(--color-dark);
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: var(--color-warm4);
  color: var(--color-light);
}
.cookie-consent-banner .reject {
  background: #fff6ed;
  color: #926e11;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #fbe6d1;
  color: #C47C2B;
}
.cookie-consent-banner .settings {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #4880a4;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px 14px 8px;
    font-size: 0.96rem;
  }
  .cookie-consent-banner .cookie-actions { gap: 8px; }
}

/* Cookie modal popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4040;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,27,9,0.34);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 22px;
  box-shadow: 0 6px 28px 0 rgba(32,75,113,0.13);
  padding: 36px 30px 34px 30px;
  max-width: 440px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookiemodal-popup 0.36s cubic-bezier(.5,2,.6,1);
}
@keyframes cookiemodal-popup {
  from { transform: scale(0.92) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: var(--color-dark);
  font-weight: 500;
  margin-right: 5px;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-warm4);
  outline: 1.5px solid var(--color-warm3);
  margin-right: 7px;
  border-radius: 7px;
}
/* Essential is always enabled and grayed out */
.cookie-category.essential label {
  color: #8b8c97;
}
.cookie-category.essential input[type="checkbox"] {
  background-color: #eee0cc !important;
  pointer-events: none;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-buttons button {
  min-width: 84px;
}

/* -------------------------------------------------------------
   UTILITIES
------------------------------------------------------------- */
::-webkit-input-placeholder { color: #8e8d81; }
::-moz-placeholder { color: #8e8d81; }
:-ms-input-placeholder { color: #8e8d81; }
::placeholder { color: #8e8d81; }

hr {
  border: none;
  border-top: 2px solid #f0e2ce;
  margin: 32px 0 28px;
}

/* Spacing helpers */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }

/* Scrollbar styling */
body, .container, .mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--color-warm2) var(--color-accent);
}
body::-webkit-scrollbar, .container::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar {
  width: 10px; height: 10px;
}
body::-webkit-scrollbar-thumb { background: var(--color-warm2); border-radius: 6px; }
body::-webkit-scrollbar-track { background: var(--color-accent); }

/* -------------------------------------------------------------
   ANIMATIONS & INTERACTIONS
------------------------------------------------------------- */
button, .cta-primary, .cta-secondary, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.1s;
}
@media (hover: hover) {
  .main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover, .cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px) scale(1.03);
  }
}

/* -------------------------------------------------------------
   RESPONSIVE (Mobile First, Common Patterns)
------------------------------------------------------------- */
@media (max-width: 1050px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .hero, .page-hero, .page-header { border-radius: 0 0 16px 16px; }
  .features-grid > div, .testimonial-card { padding-left: 14px; padding-right: 11px; }
  .footer-content { gap: 10px; }
}

/* -------------------------------------------------------------
   PRINT (optional for better print results)
------------------------------------------------------------- */
@media print {
  header, footer, .hero, .page-hero, .cookie-consent-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}
