/* --- 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, main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background-color: #f6f2e8;
  color: #312c1f;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #23426c;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #81a441;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
}

/* --- RETRO FONT & VINTAGE FLAVOUR --- */
h1, h2, h3, h4, h5, h6, .brand, .logo {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #23426c;
  font-weight: bold;
  text-shadow: 1px 1.5px 0 #e8c07f;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #312c1f;
  font-weight: 600;
  text-shadow: 1px 1.5px 0 #f5e6c9;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: #81a441;
  font-weight: 600;
  letter-spacing: 1px;
}

p, li, ul, ol {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3e341c;
}
.subheadline {
  font-size: 1.25rem;
  font-style: italic;
  color: #5d4f34;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* ------ GLOBAL CONTAINER ------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}

/* --- RETRO COLOR PALETTE --- */
:root {
  --primary: #23426c;
  --secondary: #e1e9f6;
  --accent: #81a441;
  --vintage-yellow: #f5e6c9;
  --vintage-orange: #e8c07f;
  --vintage-brown: #a9987e;
  --paper: #f6f2e8;
  --border: #d8cdbc;
}

/* ------------ RETRO BACKGROUND PATTERNS & SHADOWS ------------- */
body {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(135deg, #f5e6c955 0 2px, transparent 2px 40px),
    repeating-linear-gradient(225deg, #efe5cf55 0 2px, transparent 2px 40px);
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff9ed;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(170, 155, 125, 0.10);
  border: 1.5px solid var(--border);
  position: relative;
}

/* Cards */
.card, .feature, .guide-summary, .testimonial-card, .service-list li, .benefits ul li, .text-section ul li, .course-grid ul li, .language-list ul li {
  background: #fdf6e3;
  border-radius: 14px;
  border: 1px solid #e8c07f;
  margin-bottom: 20px;
  padding: 22px 24px 18px 24px;
  box-shadow: 0 2px 10px 0 rgba(170, 153, 125, 0.07);
  position: relative;
  transition: transform 0.18s cubic-bezier(0.43, 0.13, 0.23, 0.96), box-shadow 0.18s;
}
.card:hover, .feature:hover, .guide-summary:hover, .testimonial-card:hover {
  transform: scale(1.025) translateY(-2px);
  box-shadow: 0 8px 28px 0 rgba(170, 153, 125, 0.22);
}

.card-container, .feature-grid, .guide-grid, .testimonial-slider, .footer-main, .footer-nav, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container, .feature-grid, .guide-grid {
  justify-content: space-between;
  margin-bottom: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 20px 24px;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 280px;
  border: 2px dashed #e8c07f;
  background: #fffbe0;
  box-shadow: 0 2px 10px 0 rgba(170, 153, 125, 0.07);
  margin-bottom: 20px;
}

.testimonial-card p {
  color: #2a220d;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
}
.testimonial-meta {
  color: #7f5b0b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-style: italic;
}
.star-rating {
  font-size: 1.25rem;
  color: #e8c07f;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 #f5e6c9;
}

.guide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.guide-summary {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 300px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 15px;
}
.feature img {
  margin-bottom: 8px;
  max-width: 48px;
  filter: sepia(0.4) hue-rotate(-10deg) brightness(0.89);
}

.service-list, .text-section ul, .benefits ul, .course-grid ul, .language-list ul {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 0;
}
.service-list li, .text-section ul li, .benefits ul li, .course-grid ul li, .language-list ul li {
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}
.service-list li strong, .language-list ul li strong {
  font-weight: 700;
  color: #23426c;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background-color: var(--secondary);
  border-bottom: 3px solid var(--vintage-yellow);
  padding: 0;
}
.logo img {
  height: 56px;
  margin-top: 8px;
  filter: drop-shadow(2px 2px 0 #f5e6c9);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #23426c;
  padding: 9px 17px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: #f5e6c9;
  color: var(--accent);
}
.main-nav .primary {
  background: var(--accent);
  color: #fffbe0;
  font-weight: bold;
  font-size: 1.05rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px #abc67030;
  margin-left: 5px;
  border: 2px solid var(--vintage-yellow);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
}
.main-nav .primary:hover {
  background: #23426c;
  color: #fffbe0;
  box-shadow: 0 3px 16px #23426c40;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: var(--accent);
  color: #fffbe0;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px #b7c4a230;
  position: relative;
  z-index: 2200;
  transition: background .2s, color .2s, transform .18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #c0da9f;
  color: #23426c;
  outline: none;
  transform: scale(1.09);
}

/* --- MOBILE NAV --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e1e9f6f2;
  z-index: 2210;
  padding-top: 48px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.63,0,.07,1);
  box-shadow: -4px 0 30px #23426c22;
}
body.menu-open .mobile-menu {
  display: flex;
  flex-direction: column;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--vintage-orange);
  border: none;
  color: #23426c;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 2220;
  box-shadow: 0 2px 8px #f5e6c9ba;
  transition: background 0.2s, color 0.2s, transform .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff7df;
  color: var(--accent);
  transform: scale(1.10);
  outline: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-top: 26px;
}
.mobile-nav a {
  padding: 16px 32px;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23426c;
  border-radius: 10px;
  margin-bottom: 6px;
  background: #f5e6c9;
  width: 80%;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 1px 6px #e8c07f30;
  transition: background 0.19s, color 0.18s, transform .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fafaea;
  transform: scale(1.06);
}


/* --- HERO --- */
.hero {
  background: #e1e9f6;
  border-radius: 0 0 28px 28px;
  border-bottom: 4px solid #e8c07f;
  margin-bottom: 60px;
  padding: 60px 20px 40px 20px;
  box-shadow: 0 5px 32px #e8c07f22;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
}
.hero .subheadline {
  color: #766242;
}
.hero .cta.primary {
  margin-top: 24px;
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  background: var(--accent);
  color: #fffbe0;
  font-weight: 700;
  border: 2px solid var(--vintage-yellow);
  letter-spacing: 0.5px;
  margin-top: 10px;
  box-shadow: 0 2px 12px #abc67027;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.30s;
}
.cta:hover, .cta:focus {
  background: #23426c;
  color: #fffbe0;
  box-shadow: 0 5px 22px #23426c31;
  outline: none;
}
.cta.primary {
  background: var(--accent);
  color: #fffbea;
  border: 2px solid var(--vintage-yellow);
}

/* --- FOOTER --- */
footer {
  background: #23426c;
  color: #fffbe0;
  padding: 0 0 0 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 32px #e8c07f11;
  margin-top: 60px;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: #f5e6c9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 10px;
  transition: color 0.17s, background 0.17s;
  border-radius: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e8c07f;
  color: #23426c;
}
.footer-main .cta {
  background: #81a441;
  color: #fffbe0;
  border-radius: 15px;
  font-size: 1rem;
  padding: 12px 22px;
}
footer .footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand img {
  width: 60px;
  margin-right: 12px;
  filter: drop-shadow(0 3px 7px #f5e6c9aa);
}
.brand-contact p, .brand-contact a {
  color: #fffbe0;
  font-size: 1rem;
  margin-bottom: 5px;
}
.brand-contact img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- SECTIONS (ABOUT, TEAM, BENEFITS, GUIDES, ETC) --- */
.text-section {
  margin-bottom: 12px;
}
.text-section ul {
  margin-top: 6px;
}
.text-section ul li::before {
  content: '◆';
  color: #e8c07f;
  margin-right: 7px;
  font-size: 1em;
}

.guides ul li::before {
  content: '▸';
  color: #81a441;
  margin-right: 8px;
}
.course-grid ul li::before {
  content: '✦';
  color: #81a441;
  margin-right: 7px;
}

.benefits ul li::before {
  content: '✿';
  color: #e8c07f;
  margin-right: 7px;
  font-size: 1em;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f6f2e8;
  border: 1px dashed #e8c07f;
  border-radius: 14px;
  padding: 20px 12px 16px 12px;
  margin-top: 15px;
}
.map-placeholder img {
  width: 38px;
  margin-bottom: 8px;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #312c1f;
  color: #fffbe0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px;
  z-index: 3120;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  box-shadow: 0 -2px 22px #312c1f33;
  animation: bannerSlideUp 0.5s cubic-bezier(.72,.05,.53,.99);
}
@keyframes bannerSlideUp {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner button {
  padding: 8px 15px;
  border-radius: 14px;
  border: none;
  margin-right: 6px;
  margin-left: 0;
  background: #e8c07f;
  color: #23426c;
  font-weight: 700;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 6px #e8c07f37;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform .10s;
}
.cookie-banner .cookie-settings {background: #f5e6c9; color: #23426c;}
.cookie-banner .cookie-accept {background: #81a441; color: #fffbe0;}
.cookie-banner .cookie-reject {background: #e8c07f; color: #23426c;}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #23426c;
  color: #fffbe0;
  transform: scale(1.08);
}

.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 85px;
  transform: translateX(-50%) scale(1);
  background: #fffbe0;
  color: #23426c;
  padding: 34px 34px 26px 34px;
  z-index: 3130;
  border-radius: 18px;
  box-shadow: 0 8px 32px #23426c55;
  display: none;
  min-width: 320px;
  max-width: 90vw;
  animation: cookiePopupOpen .4s cubic-bezier(.72,.05,.53,.99);
}
body.cookie-modal-open .cookie-modal {
  display: block;
}
@keyframes cookiePopupOpen {
  from {transform: translateX(-50%) scale(0.85); opacity: 0;}
  to   {transform: translateX(-50%) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  margin-bottom: 12px;
  color: #23426c;
}
.cookie-modal ul {
  margin-bottom: 12px;
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: inherit;
  margin-right: 11px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #81a441;
  margin-right: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  background: #e8c07f;
  color: #23426c;
  border-radius: 10px;
  font-size: 1rem;
  padding: 7px 12px;
  border: none;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform .09s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #23426c;
  color: #fffbe0;
  transform: scale(1.05);
}

/* --- FAQ, LEGAL --- */
.legal {
  background: #f5e6c9;
  border-radius: 18px;
  border: 1.5px solid var(--border);
}
.legal h2 {
  color: #23426c;
}
.legal a {
  color: #81a441;
  text-decoration: underline;
}
.legal a:hover {
  color: #23426c;
  text-decoration: none;
}

.faq ul li strong {
  color: #23426c;
}

/* --- THANK YOU SECTION --- */
.thank-you h1 {
  color: #81a441;
}
.thank-you {
  text-align: center;
  border: 2px dashed #e8c07f;
  background: #e1e9f6;
  border-radius: 19px;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 50px 22px 30px 22px;
}
.thank-you .cta {
  margin-top: 34px;
}

/* -- UTILITIES -- */
.text-center {
  text-align: center;
}
.mt-20 { margin-top: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }


/* --- MEDIA QUERIES: RESPONSIVE & FLEX PIVOTS --- */
@media (max-width: 1220px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 1000px) {
  .feature-grid, .guide-grid, .testimonial-slider, .footer-main, .footer-nav, .content-grid {
    gap: 16px;
  }
  .feature {
    min-width: 130px;
    max-width: 48vw;
  }
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 11px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .feature-grid, .guide-grid, .testimonial-slider, .footer-main, .footer-nav, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials, .hero, .section, section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .thank-you {
    padding: 30px 10px 20px 10px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .hero, section, .section {
    padding: 18px 2px;
  }
  .cookie-modal {
    padding: 20px 6vw 15px 6vw;
    min-width: 0;
  }
  h1 {
    font-size: 1.28rem;
  }
  h2 {
    font-size: 1.08rem;
  }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
input, button, a, .cta, .feature, .guide-summary, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow .17s, background .16s, color .13s, transform .15s;
}

/* --- Z-INDEX STANDARDS --- */
header, .mobile-menu, .mobile-menu-toggle {
  position: relative;
  z-index: 2000;
}

/* --- FOCUS STYLES, A11Y --- */
a:focus, button:focus, .cta:focus {
  outline: 3px dashed var(--accent);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 13px;
  background: #efe5cf;
}
::-webkit-scrollbar-thumb {
  background: #e8c07f;
  border-radius: 7px;
}

/* --- PRINT OPTIMIZATION --- */
@media print { .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; } }

/* --- END --- */
