/* ===== 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFF8EF;
  color: #242212;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
/* ===== VARIABLE DECLARATIONS (w/fallbacks) ===== */
:root {
  --primary: #155343;
  --secondary: #FFD600;
  --accent: #F1F1F1;
  --retro-green: #155343;
  --retro-yellow: #FFD600;
  --retro-cream: #FAF3DF;
  --retro-orange: #E86A33;
  --retro-red: #B94E48;
  --retro-brown: #7c5b38;
  --vintage-blue: #71A6D2;
  --vintage-beige: #FFF5E1;
  --vintage-shadow: rgba(44,29,13,0.09);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===== FONTS (Retro & Vintage) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;700;400&family=Roboto:wght@400;700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--retro-cream, #FAF3DF);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #ffd60033;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
strong, b {
  font-weight: bold;
  color: var(--retro-brown);
}
p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #373028;
}
blockquote {
  font-style: italic;
  background: var(--vintage-beige);
  border-left: 6px solid var(--retro-orange);
  padding: 18px 24px;
  margin-bottom: 18px;
  border-radius: 8px 32px 32px 8px;
  color: #52351e;
  box-shadow: 2px 3px 8px var(--vintage-shadow);
}

/* ===== PRIMARY CONTAINER & LAYOUT ===== */
.container {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffaf6;
  border-radius: 32px;
  box-shadow: 0 6px 32px var(--vintage-shadow);
}

/* ===== RETRO PATTERNS (subtle) ===== */
body::before {
  /* Simple retro dotted background for subtle texturing */
  content: '';
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
  background: repeating-linear-gradient(45deg, #f9eed2 0px, #f9eed2 4px, transparent 4px, transparent 16px);
}
main, header, footer, .container {
  position: relative;
  z-index: 1;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--primary);
  box-shadow: 0 4px 16px var(--vintage-shadow);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  background: none;
  padding: 7px 12px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
/* Hide nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

/* CTA Button in header */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.10rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 24px;
  border: 3px solid #F8D97C;
  padding: 11px 32px;
  box-shadow: 0 4px 16px #E1BC0030, 1px 1px 0 #FFF inset;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer;
  margin-left: 12px;
  letter-spacing: 1px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe44c;
  box-shadow: 0 4px 24px #E1BC0066;
  transform: translateY(-1px) scale(1.03);
  color: #943f04;
}
@media (max-width: 600px) {
  .cta-btn {
    font-size: 0.98rem;
    padding: 10px 18px;
    margin-left: 0;
  }
}

header img {
  height: 40px;
  width: auto;
}
@media (max-width: 650px) {
  header img {
    height: 32px;
  }
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--secondary);
  font-size: 2.15rem;
  border: none;
  cursor: pointer;
  z-index: 200;
  margin-left: auto;
  margin-right: 4px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000002a;
  transition: background .12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffd60044;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg,#FEFAE0 70%,#E1A722 100%);
  z-index: 300;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.61,.15,.4,1);
  opacity: 0.97;
  box-shadow: 8px 0 24px #efb20055;
  padding-top: 32px;
  padding-bottom: 32px;
  gap: 36px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 14px;
  border: 2px solid #ffc107bb;
  box-shadow: 0 2px 12px #e2bf1a22;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-left: 38px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 10px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--retro-red);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none;}
}


/* ===== MAIN SECTIONS, FLEX PATTERNS, CARDS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent, #F1F1F1);
  border-radius: 18px;
  box-shadow: 0 4px 16px var(--vintage-shadow);
  padding: 32px 24px 24px 24px;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vintage-beige);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 13px var(--vintage-shadow);
}

/* ========== FEATURE GRID ON HOMEPAGE ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 10px;
  margin-bottom: 6px;
}
.feature-grid > div {
  background: linear-gradient(98deg,#FFF5E1 80%,#FFD60033 100%);
  border-radius: 24px;
  box-shadow: 0 3px 12px #E3B26222;
  padding: 24px 20px 18px 20px;
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 210px;
  max-width: 355px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 2px solid #F8D97C66;
}
.feature-grid img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
@media (max-width: 1100px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    max-width: 100%;
    flex-basis: 48%;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff6e1;
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 2px 10px #F7D18155;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.testimonial-card h3 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.testimonial-card blockquote {
  background: #FFFBF0;
  border-left: 6px solid var(--retro-orange);
  color: #3d2a18;
  margin-bottom: 0;
  font-size: 1.05rem;
  box-shadow: none;
}
.testimonial-details {
  font-size: 0.93rem;
  font-style: normal;
  color: #744427;
  margin-left: 7px;
}
.testimonial-card strong {
  color: var(--retro-brown);
}
@media (max-width: 600px) {
  .testimonial-card,
  .testimonial-card blockquote {
    font-size: 0.97rem;
  }
}

/* ===== TEXT SECTIONS ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul,
.text-section ol {
  padding-left: 22px;
  margin-bottom: 8px;
}
.text-section ul li,
.text-section ol li {
  list-style-type: disc;
  font-size: 1rem;
  color: #5b401b;
  margin-bottom: 8px;
  padding-left: 3px;
}
.text-section ol li {
  margin-bottom: 12px;
  font-weight: 500;
}
.text-section ul li b,
.text-section ul li strong,
.text-section ol li b,
.text-section ol li strong {
  color: var(--retro-red);
}
.text-section a {
  color: var(--retro-orange);
  text-decoration: underline dotted #E86A33 2px;
  transition: color .13s;
}
.text-section a:hover {
  color: var(--retro-red);
}

/* ===== HERO / CTA BANNER ===== */
section:first-child .container .content-wrapper h1 {
  font-size: 2.4rem;
  color: var(--retro-orange);
  text-shadow: 2px 3px 0 #FFD60022;
}
section:first-child {
  background: linear-gradient(120deg,#FFF8DF 55%,#FFD600 100%);
  border-radius: 0 0 44px 44px;
  margin-bottom: 40px;
  box-shadow: 0 6px 28px #F8CF7199;
}
section .cta-btn {
  margin-top: 8px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 38px 0 12px 0;
  margin-top: 44px;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -6px 24px #2b322333;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 4px;
}
.footer-brand span {
  font-size: 0.97rem;
  color: #ffe98b;
  opacity: .87;
  font-family: var(--font-display);
  letter-spacing: 0.8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #FFE98B;
  padding: 3px 0;
  font-size: 1.01rem;
  font-family: var(--font-body);
  border-bottom: 1.5px dotted #FFD60044;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-yellow);
  border-bottom: 2px solid var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #FFD600;
  font-size: 0.99rem;
}
.footer-contact img {
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
  filter: grayscale(56%) brightness(1.5);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}

/* ===== BUTTONS (ALL) ===== */
button, .cta-btn {
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .17s, transform .09s;
  border: none;
  font-family: var(--font-display);
}
button:focus-visible,
.cta-btn:focus-visible {
  outline: 2px solid var(--retro-green);
  outline-offset: 2px;
}

/* ===== FORM CONTROLS & INPUTS (if any) ===== */
input, textarea, select {
  font-family: var(--font-body);
  background: #FFF8DF;
  border: 1.5px solid #FFD600;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 1.08rem;
  transition: border .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  background: #fffde6;
}

/* ===== MICRO-INTERACTIONS & EFFECTS ===== */
a, .cta-btn, button, .main-nav a, .mobile-nav a {
  transition: background .19s, color .12s, box-shadow .13s, border .12s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper, .footer-brand, .footer-contact {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.45rem;}
  h3 {font-size: 1.08rem;}
  .container {padding: 0 4px;}
  section {
    padding: 22px 3px;
    margin-bottom: 30px;
  }
  .card, .feature-grid > div, .feature-item {
    padding: 18px 10px;
    min-width: 0;
    font-size: 0.96rem;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 10000;
  background: linear-gradient(90deg, #FFF8E2 80%, #FFD600 100%);
  color: #392A12;
  box-shadow: 0 -2px 14px #a38a2640;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px 6vw 22px 6vw;
  font-size: 1.09rem;
  font-family: var(--font-body);
  border-radius: 30px 30px 0 0;
  opacity: 0.98;
  animation: cookieBannerAppear .8s cubic-bezier(.61,1,.23,1) 0s 1;
}
@keyframes cookieBannerAppear {
  from {transform: translateY(100%); opacity: 0;}
  to   {transform: translateY(0); opacity: 0.98;}
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1.02rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 16px;
  padding: 7px 21px;
  margin-left: 16px;
  margin-right: 2px;
  border: 2px solid #F5DF7E;
  min-width: 100px;
  font-weight: 700;
  box-shadow: 0 2px 10px #ECBC1455;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--retro-orange);
  border-color: #FFD60099;
}
.cookie-banner button.rejected {
  background: var(--retro-red);
  color: #fff2cc;
  border-color: #FFD600;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fffbe5;
  color: var(--retro-red);
  border-color: var(--retro-red);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 2vw 20px 2vw;
    font-size: 0.98rem;
  }
  .cookie-banner button {
    margin: 0 7px 3px 0;
    width: 90%;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #155343D0;
  z-index: 16000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #FFF8EF;
  border-radius: 28px;
  box-shadow: 0 8px 30px #222D1B44;
  padding: 36px 32px;
  max-width: 420px;
  width: 94vw;
  font-family: var(--font-body);
  color: #252012;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.30rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
  margin-right: 5px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 20px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  border: 1px solid #ffd600bb;
  padding: 5px 12px;
  font-size: 1.20rem;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 16px 5vw;
  }
}


/* ===== MISC: ACCESSIBILITY, UTILITIES ===== */
.visually-hidden {
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);border:0;
}

::-webkit-scrollbar { width: 7px; background: #f5e7c4; }
::-webkit-scrollbar-thumb { background: #f6d276; border-radius: 11px; }

/* Micro patterns - retro underlines & highlight */
h2, h3 {
  background: linear-gradient(90deg,#FFD600 30%,transparent 100%);
  display: inline-block;
  padding-left: 5px;
  padding-right: 17px;
  border-radius: 6px 24px 0 0;
  box-decoration-break: clone;
  box-shadow: 0 0 0 0 #FFD60000;
}
h2 {
  border-bottom: 3px double #FFD600;
  margin-bottom: 19px;
}

/* Subtle transition for nav/focus */
a:focus-visible {
  outline: 2.5px solid #C97F21;
  outline-offset: 2px;
}

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