/* 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { background: #FFFBEA; color: #151951; font-family: 'Lato', Arial, sans-serif; font-size: 16px; min-height: 100vh; }
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; border: none; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }

/* FONT IMPORTS & FALLBACKS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Lato:wght@400;700&display=swap');

:root {
  --primary: #151951;
  --secondary: #32CFC8;
  --accent: #FFE766;
  --vintage-red: #D9534F;
  --vintage-cream: #FFFBEA;
  --vintage-brown: #957C5A;
  --vintage-green: #75B39B;
  --vintage-blue: #7AB5DD;
  --vintage-orange: #F9A94A;
  --display-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Lato', Arial, sans-serif;
  --radius: 14px;
  --shadow1: 0 3px 14px rgba(21, 25, 81, 0.08);
  --shadow2: 0 1.5px 5px rgba(60, 48, 0, 0.09);
  --section-spacing: 60px;
}

body {
  background: var(--vintage-cream);
  color: var(--primary);
  font-family: var(--body-font);
  letter-spacing: 0.01em;
  line-height: 1.65;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--display-font);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}
h1 { font-size: 2.8rem; line-height: 1.08; color: var(--secondary); margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; color: var(--primary); }
h3 { font-size: 1.25rem; margin-bottom: 14px; color: var(--vintage-red); }
h4 { font-size: 1rem; margin-bottom: 12px; font-weight: 700; color: var(--primary); }
p, li, address { font-family: var(--body-font); font-size: 1rem; margin-bottom: 12px; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* CONTAINER & GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: var(--section-spacing);
  padding: 40px 20px;
  background: #FFF9DB;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 30px 8px; }
}

/* HEADER STYLES */
header {
  background: #FFFBEA;
  border-bottom: 4px double var(--accent);
  position: relative;
  z-index: 100;
  width: 100%;
  box-shadow: 0 1.5px 0 var(--accent);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 84px;
}
header img[alt="Neon Breeze Inglese"] { max-height: 58px; margin-right: 18px; }
header nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
header nav.main-nav a {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  transition: color 0.22s;
  position: relative;
  padding: 8px 2px;
}
header nav.main-nav a:hover, header nav.main-nav a:focus {
  color: var(--vintage-red);
}
/* CTA BUTTON */
.cta-button {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: 0.07em;
  padding: 13px 28px;
  border-radius: 28px;
  border: 3px solid var(--secondary);
  box-shadow: 0 4px 0 var(--secondary);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  margin-left: 15px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.22s;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 0 var(--primary);
  transform: translateY(-2px) scale(1.05) rotate(-1deg);
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 1.8rem;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  box-shadow: 0 2px 0 var(--secondary);
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1002;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--vintage-red);
}

@media (max-width: 920px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE SLIDE-IN MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 247, 217, 0.99);
  z-index: 2001;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.83,.03,.22,1.11);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 26px 0 26px;
  box-shadow: -2px 0 22px rgba(21,25,81,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--vintage-red);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 2.1rem;
  box-shadow: 0 2px 6px rgba(217,83,79,0.16);
  border: 2px solid var(--accent);
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: var(--vintage-brown); color: var(--accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 1.5px dashed var(--secondary);
  background: none;
  text-align: left;
  border-radius: 0;
  transition: color 0.18s, background 0.14s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vintage-red);
  background: var(--accent);
}

@media (min-width: 921px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO STYLES */
.hero {
  background: repeating-linear-gradient(-45deg, #FFE766 0 30px, #FFD655 30px 60px);
  box-shadow: 0 8px 0 var(--secondary), 0 1.5px 0 var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: var(--section-spacing);
  padding-top: 36px;
  padding-bottom: 28px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  text-shadow: 1.2px 1.2px 0 #fffde2, 0 4px 9px rgba(49,88,85,0.04);
  margin-bottom: 13px;
  letter-spacing: 0.06em;
}
.hero p {
  font-size: 1.13rem;
  color: var(--vintage-brown);
  margin-bottom: 24px;
  max-width: 700px;
}
@media (max-width: 900px) {
  .hero { padding: 26px 0 22px 0; }
  .hero h1 { font-size: 1.6rem; }
}

/* FLEX SPACING & PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffbe7;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 22px 20px 20px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
  min-width: 250px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 20px #FFE76644, 0 2px 7px #32CFC811;
  transform: translateY(-2px) scale(1.015) rotate(-1.1deg);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 30px #7AB5DD22, 0 3px 12px #15195111;
  margin-bottom: 22px;
  border-left: 7px solid var(--secondary);
  color: var(--primary);
  font-size: 1.04rem;
  min-width: 250px;
  max-width: 680px;
}
.testimonial-card p {
  font-style: italic;
  color: #321c1d;
}
.testimonial-card span {
  align-self: flex-end;
  font-size: 1rem;
  color: var(--vintage-brown);
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 15px 8px;
    font-size: 1em;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.features-grid li {
  background: #FFFFFFBD;
  border-radius: var(--radius);
  border: 2.5px dashed var(--accent);
  box-shadow: 0 2px 10px #32CFC84D;
  padding: 26px 20px;
  min-width: 220px;
  max-width: 250px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
  margin-bottom: 20px;
}
.features-grid li:hover, .features-grid li:focus-within {
  box-shadow: 0 7px 20px #FFE76644, 0 2px 7px #32CFC811;
  border-color: var(--vintage-red);
  transform: translateY(-4px) scale(1.025) rotate(-2deg);
}
.features-grid img {
  margin-bottom: 10px;
  width: 52px; height: 52px;
}
.features-grid h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.11rem;
}
.features-grid p {
  color: var(--vintage-brown);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .features-grid { gap: 16px; }
  .features-grid li { min-width: 160px; max-width: 100%; }
}
@media (max-width: 600px) {
  .features-grid {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid li {
    width: 100%;
    align-items: flex-start;
  }
}

/* TIMELINE (chi-siamo) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 18px 0;
  border-left: 4px solid var(--vintage-orange);
  padding-left: 18px;
}
.timeline li {
  position: relative;
  color: var(--vintage-brown);
  font-size: 1rem;
  line-height: 1.4;
}
.timeline li:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--vintage-red);
  border-radius: 50%;
  position: absolute;
  left: -24px;
  top: 4px;
}

/* TEAM SECTION */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.team-member {
  background: #FCF5DA;
  box-shadow: 0 4px 18px #957C5A22;
  border-radius: var(--radius);
  padding: 21px 22px 14px 22px;
  min-width: 180px;
  max-width: 210px;
  flex: 1 1 180px;
  font-size: 0.99rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.team-trust { font-style: italic; color: var(--vintage-green); font-size: 1rem; margin-top: 8px; }
@media(max-width: 800px) {
  .team-grid { gap: 12px; }
  .team-member { min-width: 120px; }
}
@media(max-width: 500px) {
  .team-grid { flex-direction: column; gap: 14px; }
  .team-member { width: 100%; }
}

/* VALUES LIST */
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.values-list li {
  background: #fffbe7;
  border-left: 6px solid var(--vintage-green);
  border-radius: var(--radius);
  padding: 18px 18px 17px 22px;
  min-width: 180px;
  max-width: 290px;
  flex: 1 1 180px;
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.values-list img { width: 30px; height: 30px; margin-right: 9px; margin-top: 3px; }
@media(max-width: 600px) {
  .values-list { flex-direction: column; gap: 13px; }
}

/* COURSES PAGE */
.courses-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 13px;
}
.courses-list li {
  background: #FFFFFFFD;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px #7AB5DD24;
  border: 2px solid var(--accent);
  flex: 1 1 180px;
  min-width: 180px; max-width: 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 16px 16px 16px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}
.courses-list li:hover, .courses-list li:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 7px 20px #32CFC822;
  transform: translateY(-4px) scale(1.025) rotate(-1deg);
}
.courses-list h3 { color: var(--vintage-red); margin-bottom: 8px; }
.courses-list p { color: var(--vintage-brown); font-size: 0.99rem; }

@media (max-width: 800px) {
  .courses-list { gap: 9px; }
  .courses-list li { min-width: 130px; max-width: 98%; }
}
@media (max-width: 500px) {
  .courses-list { flex-direction: column; gap: 10px; }
  .courses-list li { width: 100%; }
}

.course-highlights {
  border-radius: var(--radius);
  background: #FFF3D9;
  margin-top: 14px; margin-bottom: 14px;
  box-shadow: 0 2px 7px #FFE76666;
  padding: 18px 18px 7px 18px;
}
.course-highlights h4 { margin-bottom: 8px; }
.course-highlights ul { padding-left: 18px; margin-bottom: 8px; }
.course-highlights ul li {
  margin-bottom: 7px;
  color: var(--vintage-brown);
  list-style-type: disc;
  font-size: 0.99rem;
}
@media(max-width: 640px) {
  .course-highlights { padding-left: 7px; }
}

/* TABLE (COMPARISON) */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 10px;
  background: #fffbe2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1.5px 7px #957C5A18;
}
.comparison-table th, .comparison-table td {
  border: 1.5px solid var(--accent);
  padding: 12px 9px;
  text-align: center;
}
.comparison-table thead th {
  background: #FFD655;
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 1.02rem;
}
.comparison-table tbody td {
  color: var(--vintage-brown);
  font-size: 0.99rem;
  background: #fffbe2;
}
@media(max-width:700px){
  .comparison-table th, .comparison-table td { padding: 7px 2px; }
}
@media(max-width:500px){
  .comparison-table th, .comparison-table td { font-size: 0.98em; min-width: 54px; }
}

/* PROCESS STEPS (metodo) */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 18px 0;
  counter-reset: step;
}
.process-steps li {
  flex: 1 1 200px;
  background: #fffbe7;
  border: 2.5px dashed var(--vintage-blue);
  border-radius: var(--radius);
  padding: 21px 20px 14px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  min-width: 210px; max-width: 270px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.14s;
}
.process-steps li:hover, .process-steps li:focus-within {
  box-shadow: 0 7px 20px #7AB5DD44, 0 2px 7px #32CFC811;
  border-color: var(--vintage-red);
  transform: translateY(-3px) scale(1.008) rotate(-0.5deg);
}
.process-steps img { width: 32px; height: 32px; margin-top: 4px; }
.process-steps strong { color: var(--vintage-red); font-size: 1.08rem; }
@media(max-width: 640px) { .process-steps { flex-direction: column; gap: 14px; } }

.infographic {
  background: #FCF5DA;
  border-radius: var(--radius);
  padding: 21px 18px 16px 18px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 1.5px 7px #957C5A19;
}
.infographic img { width: 38px; height: 38px; }
@media(max-width:500px){ .infographic { flex-direction: column; align-items: flex-start; } }

/* BENEFIT LIST */
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px; margin-bottom: 12px;
}
.benefit-list li {
  background: #FFFFFFBD;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px #75B39B1A;
  padding: 13px 12px;
  flex: 1 1 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  min-width: 160px; max-width: 240px;
  font-size: 1rem;
}
.benefit-list img { width: 28px; height: 28px; }
@media(max-width:600px){.benefit-list{flex-direction:column;gap:7px;}}

/* RESOURCE SECTION (risorse) */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 20px;
}
.category-filters span {
  font-weight: 600;
  color: var(--primary);
  margin-right: 6px;
}
.category-filters button {
  background: var(--secondary);
  color: #fff;
  font-family: var(--display-font);
  border-radius: 16px;
  padding: 7px 15px;
  font-size: 1em;
  border: 2px solid var(--accent);
  font-weight: 700;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, border-color 0.16s;
}
.category-filters button:hover, .category-filters button:focus {
  background: var(--accent);
  color: var(--primary);
}
.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.resource-list li {
  background: #FFFFFFFD;
  border-left: 7px solid var(--vintage-blue);
  border-radius: var(--radius);
  padding: 15px 18px 14px 22px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 300px;
  box-shadow: 0 2px 10px #7AB5DD24;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.resource-list img { width: 32px; height: 32px; }
.resource-list a {
  margin-top: 4px;
  color: var(--secondary);
  font-weight: 700;
  transition: color 0.18s;
}
.resource-list a:hover, .resource-list a:focus {
  color: var(--vintage-red);
  text-decoration: underline;
}
@media(max-width: 700px){ .resource-list { flex-direction: column; gap: 11px; } }

/* QUICK GUIDES */
.quick-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 9px;
}
.quick-guides a {
  background: #FFE766;
  color: var(--primary);
  border-radius: 30px;
  font-family: var(--display-font);
  padding: 7px 18px;
  box-shadow: 0 1.5px 6px #FFD65544;
  font-size: 0.97rem;
  font-weight: 700;
  transition: background 0.17s, color 0.14s;
  margin-bottom: 7px;
}
.quick-guides a:hover, .quick-guides a:focus {
  background: var(--primary);
  color: #fff;
}

/* TIPS */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 9px 0 16px 0;
}
.tip-list li {
  color: var(--vintage-brown);
  background: #fcf3e7;
  border-left: 6px solid var(--vintage-orange);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 1.01rem;
  margin-bottom: 4px;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fffbe7;
  border-left: 7px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 1.5px 7px #7AB5DD18;
  padding: 19px 20px 15px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.17s, transform 0.12s;
  cursor: pointer;
}
.faq-item:hover, .faq-item:focus-within {
  border-color: var(--vintage-red);
  box-shadow: 0 7px 20px #32CFC822, 0 2px 7px #7AB5DD11;
  transform: translateY(-3px) scale(1.005) rotate(-1deg);
}
.faq-item h3 {
  color: var(--primary);
  font-family: var(--display-font);
  margin-bottom: 8px;
  font-size: 1.13rem;
}
.faq-item p {
  color: var(--vintage-brown);
}

/* THANK YOU PAGE */
.thank-you-message {
  margin: 70px 0 90px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.thank-you-message .content-wrapper {
  align-items: center;
  text-align: center;
}
.thank-you-message h1 {
  color: var(--primary);
}
.thank-you-message .cta-button {
  margin: 12px 6px 0 6px;
}

/* ADDRESS (contatti & footer) */
address {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 13px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
address a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline dotted var(--accent);
  transition: color 0.16s;
}
address a:hover, address a:focus {
  color: var(--vintage-red);
  text-decoration: underline solid var(--accent);
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 11px;
}
.social-links span { color: var(--primary); font-weight: 600; letter-spacing: 0.02em; }
.social-links a img {
  width: 28px;
  height: 28px;
  transition: filter 0.16s, transform 0.15s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.3) drop-shadow(0 2px 1px #FFD655);
  transform: scale(1.16) rotate(-8deg);
}

/* FOOTER SECTION */
footer {
  background: #151951;
  color: #fff;
  padding: 32px 0 0 0;
  border-top: 7px double var(--accent);
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
footer nav.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
footer nav.footer-nav a {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--display-font);
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.06em;
  transition: color 0.16s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
}
.footer-contact img { width: 52px; height: 52px; margin-right: 14px; }
.footer-contact address {
  color: #FFD655;
  font-size: 1.01rem;
  gap: 4px;
}
.footer-bottom {
  background: var(--primary);
  color: var(--accent);
  text-align: center;
  padding: 18px 10px 12px 10px;
  font-size: 0.99em;
  letter-spacing: 0.03em;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -1.5px 6px #fffbe211;
  margin-top: 18px;
}
@media(max-width: 700px) {
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* RESPONSIVE FLEX ADJUSTMENTS */
@media (max-width: 825px) {
  .container, .content-wrapper {
    flex-direction: column !important;
    gap: 0 !important;
  }
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

/* HOVER TRANSITIONS FOR INTERACTIVES */
a, .cta-button, button, .faq-item, .card, .features-grid li, .courses-list li, .resource-list a {
  transition: background .2s, color .18s, border-color .18s, box-shadow .21s, transform .18s;
}

/* VINTAGE RETRO NOSTALGIC ELEMENTS */
.section {
  background: repeating-linear-gradient(-45deg,#fffbe7 0 34px,#FFE766 34px 68px);
  border: 2.5px solid #FFD655;
  box-shadow: 0 2px 22px #FFE76619, var(--shadow2);
}
main section:nth-child(odd) .section {
  background: #fffbe7;
  border: 2.5px solid #FFE766;
}

.hero, .section, .card, .faq-item {
  position: relative;
}
.hero:after, .section:after {
  content: '';
  position: absolute;
  bottom: 10px; right: 14px;
  width: 60px; height: 60px;
  background: url('../assets/pattern-dots.svg');
  opacity: 0.13;
  pointer-events: none;
  z-index: 1;
  display: block;
}
@media(max-width: 480px) {
  .hero:after, .section:after { display: none; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FCF5DA;
  color: var(--primary);
  box-shadow: 0 -3px 16px #FFD65533, 0 -1.5px 0 #FFE766;
  border-top: 3.5px solid var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  width: 100%;
  z-index: 4000;
  padding: 18px 20px 16px 20px;
  font-size: 1.01em;
  transition: transform 0.30s;
}
.cookie-banner .cookie-message {
  flex-grow: 1;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-banner button {
  font-family: var(--display-font);
  font-weight: 700;
  border-radius: 22px;
  padding: 9px 18px;
  border: 2px solid var(--accent);
  margin-left: 7px;
  box-shadow: 0 1.5px 6px #FFD65544;
  transition: background 0.17s, color 0.17s, border-color 0.16s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #fffbe7;
  color: var(--vintage-red);
  border-color: var(--vintage-red);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--vintage-red);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--vintage-blue);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 13px 7px 13px 9px; }
  .cookie-banner button { margin-left: 0; margin-top: 6px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,45,21,0.42);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-bg .34s cubic-bezier(.68,-0.06,.39,1.21);
}
@keyframes cookie-modal-bg {
  from { background: rgba(60,45,21,0); }
  to { background: rgba(60,45,21,0.42); }
}
.cookie-modal {
  background: #FFFBEA;
  border-radius: 19px;
  box-shadow: 0 4px 31px #FFD65533, 0 6px 22px #15195122;
  border: 2.5px solid var(--accent);
  padding: 38px 32px 28px 32px;
  width: 92vw;
  max-width: 350px;
  color: var(--primary);
  font-size: 1.06em;
  position: relative;
  animation: cookie-modal-bounce .32s cubic-bezier(.6,-0.37,.62,1.48);
}
@keyframes cookie-modal-bounce {
  0% { transform: scale(0.85); opacity: 0; }
  67% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1.00); opacity: 1; }
}
.cookie-modal-close {
  position: absolute; top: 10px; right: 12px;
  background: var(--vintage-red);
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  z-index: 5030;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
}
.cookie-modal h3 {
  font-size: 1.24rem; margin-bottom: 15px; text-transform: none; color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 23px; height: 23px;
}
.cookie-modal .cookie-category {
  font-weight: 600;
  color: var(--primary);
  margin-right: 8px;
}
.cookie-modal .cookie-explanation {
  color: var(--vintage-brown);
  font-size: 0.98em;
  margin-left: 32px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-actions {
  display: flex; gap: 10px; margin-top: 16px;
}
.cookie-modal .cookie-actions button {
  padding: 9px 15px;
}

/* Hide by default; controlled by JS */
.cookie-banner, .cookie-modal-overlay {
  display: none;
}
.cookie-banner.active { display: flex; }
.cookie-modal-overlay.active { display: flex; }

/* FORMS (for future extension) */
input, textarea, select {
  border-radius: 8px;
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--primary);
  font-size: 1em;
  padding: 8px 10px;
  margin-bottom: 13px;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* SCROLLBAR (retro tiny style) */
::-webkit-scrollbar {
  width: 9px; background: #fffbe7;
}
::-webkit-scrollbar-thumb {
  background: #FFF7C6; border-radius: 5px;
  border: 2px solid #FFE766;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* SELECTION COLOR */
::selection {
  background: #FFE766; color: var(--primary);
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .features-grid li, .courses-list li, .benefit-list li, .values-list li, .faq-item, .resource-list li {
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover, .features-grid li:hover, .courses-list li:hover, .benefit-list li:hover, .values-list li:hover, .faq-item:hover, .resource-list li:hover {
  box-shadow: 0 4px 30px #FFE76644, 0 3px 12px #32CFC811;
  border-color: var(--vintage-red);
  transform: translateY(-2px) scale(1.01) rotate(-1deg);
}

/* BADGE/RETRO ICON (optional for expansions) */
.vintage-badge {
  background: var(--vintage-blue);
  color: #fff;
  font-family: var(--display-font);
  border-radius: 8px;
  padding: 3px 11px;
  font-size: 0.98em;
  font-weight: 700;
  display: inline-block;
  margin-right: 6px;
}

/* END */
