/* ==========================================================================
   CESA Itaipu — Design System
   ========================================================================== */

:root {
  --green-900: #0a3322;
  --green-800: #0f4c33;
  --green-700: #146040;
  --green-600: #1a7a4f;
  --green-500: #229159;
  --mint-400: #4fd583;
  --mint-100: #e4f7ec;
  --gold-500: #eab308;
  --gold-400: #f4c430;
  --cream-50: #f7faf7;
  --cream-100: #eef5f0;
  --ink-900: #0f2018;
  --ink-800: #16281f;
  --ink-700: #33473d;
  --ink-500: #5b6f64;
  --white: #ffffff;
  --border: #e1ebe4;
  --shadow-sm: 0 2px 10px rgba(15, 45, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 45, 30, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 45, 30, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-800);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--green-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--ink-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--green-600), var(--mint-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--mint-100);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: 'Poppins', sans-serif;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(120deg, var(--green-600), var(--green-800));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn-whatsapp {
  background: linear-gradient(120deg, #25d366, #128c4a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 140, 74, 0.32);
}
.btn-whatsapp:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(18, 140, 74, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green-600); background: var(--mint-100); }
.filter-chip.active { background: linear-gradient(120deg, var(--green-600), var(--green-800)); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(247, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Poppins', sans-serif; }
.brand-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 4px 14px rgba(10,51,34,0.22);
  flex-shrink: 0; transition: padding .3s ease, transform .3s ease;
}
.brand-logo-wrap img { height: 40px; width: auto; display: block; transition: height .3s ease; }
.site-header.scrolled .brand-logo-wrap { padding: 4px; box-shadow: 0 2px 8px rgba(10,51,34,0.14); }
.site-header.scrolled .brand-logo-wrap img { height: 34px; }
.mobile-nav-top .brand-logo-wrap img { height: 32px; }
.footer-brand .brand-logo-wrap { margin-bottom: 18px; }
.footer-brand .brand-logo-wrap img { height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; color: #fff; transition: color .3s ease; }
.brand-text span { font-size: 0.7rem; color: rgba(255,255,255,0.78); letter-spacing: 0.05em; transition: color .3s ease; }
.site-header.scrolled .brand-text strong { color: var(--green-900); }
.site-header.scrolled .brand-text span { color: var(--ink-500); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.92);
  transition: all .25s ease;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.18); color: #fff; }
.site-header.scrolled .main-nav a { color: var(--ink-800); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { background: var(--mint-100); color: var(--green-700); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: #fff; transition: color .3s ease; }
.nav-phone svg { width: 18px; height: 18px; color: rgba(255,255,255,0.85); transition: color .3s ease; }
.site-header.scrolled .nav-phone { color: var(--green-800); }
.site-header.scrolled .nav-phone svg { color: var(--green-600); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--green-800);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== Mobile nav ===== */
.mobile-nav {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  z-index: 999;
  display: flex; flex-direction: column;
  padding: 26px 26px 40px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-top img { height: 44px; }
.mobile-nav-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); border-radius: 12px; color: #fff; }
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 600;
  padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.mobile-nav a svg { width: 18px; height: 18px; opacity: 0.6; }
.mobile-nav-cta { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-contact { margin-top: auto; padding-top: 30px; color: rgba(255,255,255,0.85); font-size: 0.92rem; line-height: 1.8; }
.mobile-nav-contact a { color: #fff; font-weight: 600; }

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--green-900) 0%, var(--green-700) 52%, var(--green-500) 100%);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(79,213,131,0.35), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(234,179,8,0.18), transparent 40%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--mint-400); }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.9rem; color: #fff; }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.88); }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 6px solid rgba(255,255,255,0.16);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .floating-card {
  position: absolute; bottom: -26px; left: -26px;
  background: #fff; border-radius: var(--radius-md); padding: 18px 22px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  max-width: 250px;
}
.hero-media .floating-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--mint-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-media .floating-card .ic svg { width: 24px; height: 24px; }
.hero-media .floating-card strong { display: block; color: var(--ink-900); font-family: 'Poppins',sans-serif; font-size: 1rem; }
.hero-media .floating-card span { font-size: 0.82rem; color: var(--ink-500); }
.hero-media .floating-badge {
  position: absolute; top: -20px; right: -14px;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  color: var(--ink-900); border-radius: 100px; padding: 12px 20px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:8px;
}
.hero-media .floating-badge svg { width: 18px; height: 18px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 54px) 0 68px;
  background: linear-gradient(150deg, var(--green-900), var(--green-700) 60%, var(--green-600));
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(79,213,131,0.3), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 620px; margin-top: 16px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.meta-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  padding: 9px 16px; border-radius: 100px; font-size: 0.86rem; font-weight: 500; backdrop-filter: blur(6px);
}
.meta-chip svg { width: 16px; height: 16px; color: var(--mint-400); }

/* ===== Sections ===== */
section { padding: 90px 0; }
.section-head { max-width: 660px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-top: 16px; }
.bg-alt { background: var(--cream-100); }
.bg-dark {
  background: linear-gradient(150deg, var(--green-900), var(--green-700));
  color: #fff;
}
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.82); }

/* ===== Course cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card .card-media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card .card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10,51,34,0.78); color: #fff; backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 100px; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.card .card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .card-body h3 { font-size: 1.2rem; }
.card .card-body p { font-size: 0.95rem; flex: 1; }
.card .card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-500); font-weight: 500; }
.card .card-meta span { display: flex; align-items: center; gap: 6px; }
.card .card-meta svg { width: 15px; height: 15px; color: var(--green-600); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 600; font-size: 0.94rem; margin-top: 4px; transition: gap .25s ease; }
.card-link svg { width: 17px; height: 17px; transition: transform .25s ease; }
.card:hover .card-link svg { transform: translateX(5px); }

/* ===== Course visual (gradient + icon, used when no original photo exists) ===== */
.course-visual {
  position: relative; width: 100%; height: 100%; min-height: 200px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600) 55%, var(--mint-400));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.course-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 20%, rgba(255,255,255,0.22), transparent 42%),
                     radial-gradient(circle at 88% 85%, rgba(234,179,8,0.28), transparent 46%);
}
.course-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.course-visual svg {
  width: 22%; max-width: 74px; min-width: 44px;
  color: rgba(255,255,255,0.95); position: relative; z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(6,30,20,0.25));
}
.course-visual-lg svg { max-width: 110px; }
.course-visual .cv-label {
  position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2;
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.92rem;
  opacity: 0.92; text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.course-visual-lg .cv-label { font-size: 1.1rem; bottom: 22px; left: 26px; right: 26px; }

/* ===== Icon feature list ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-item .ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--mint-100), var(--cream-100));
  color: var(--green-700); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-item .ic svg { width: 28px; height: 28px; }
.feature-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.92rem; }

/* ===== About split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow-md); }
.split-media .badge-float {
  position: absolute; bottom: -24px; right: -20px; background: #fff;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
}
.split-media .badge-float strong { font-family: 'Poppins',sans-serif; font-size: 1.6rem; color: var(--green-700); display:block; }
.split-media .badge-float span { font-size: 0.8rem; color: var(--ink-500); }
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--ink-700); }
.checklist svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; margin-top: 1px; }

/* ===== Stats strip ===== */
.stats-strip {
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-lg); padding: 46px 40px; color: #fff;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.stats-strip div strong { display: block; font-family: 'Poppins',sans-serif; font-size: 2.3rem; }
.stats-strip div span { font-size: 0.86rem; color: rgba(255,255,255,0.82); }

/* ===== Testimonials ===== */
.rating-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.rating-summary .num { font-family: 'Poppins',sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--green-800); }
.stars { display: flex; gap: 3px; color: var(--gold-500); }
.stars svg { width: 18px; height: 18px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-md); padding: 30px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; gap: 16px;
}
.testimonial-card .stars { margin-bottom: 4px; }
.testimonial-card p.quote { font-size: 1rem; color: var(--ink-800); font-style: italic; flex: 1; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--mint-400));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1rem;
}
.testimonial-card .author strong { display: block; font-size: 0.94rem; color: var(--ink-900); }
.testimonial-card .author span { font-size: 0.8rem; color: var(--ink-500); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; text-align: left; font-family: 'Poppins',sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink-900);
}
.faq-question .chev { width: 20px; height: 20px; color: var(--green-600); transition: transform .3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .chev { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 26px 22px; font-size: 0.95rem; color: var(--ink-700); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ===== Course detail layout ===== */
.course-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.course-content > * + * { margin-top: 26px; }
.course-content h2 { margin-top: 44px; margin-bottom: 4px; }
.course-content h2:first-child { margin-top: 0; }
.course-content ul.plain { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.course-content ul.plain li { display: flex; gap: 10px; font-size: 0.98rem; color: var(--ink-700); }
.course-content ul.plain svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.info-card {
  background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding: 30px; position: sticky; top: 110px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--green-600); }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: none; }
.info-row svg { width: 19px; height: 19px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.info-row strong { display: block; font-size: 0.82rem; color: var(--ink-500); font-weight: 500; }
.info-row span { font-size: 0.96rem; color: var(--ink-900); font-weight: 600; }
.info-card .btn { margin-top: 22px; }
.related-courses { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.related-courses a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 16px; border-radius: 12px; background: var(--cream-100); font-size: 0.9rem; font-weight: 600; color: var(--green-800);
  transition: background .2s ease;
}
.related-courses a:hover { background: var(--mint-100); }
.related-courses a svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== Form ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--cream-50); transition: border .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: 14px; }

.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin: 30px 0; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ic {
  width: 50px; height: 50px; border-radius: 14px; background: var(--mint-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .ic svg { width: 24px; height: 24px; }
.contact-info-item strong { display: block; font-size: 0.98rem; color: var(--ink-900); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 0.93rem; color: var(--ink-700); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); margin-top: 20px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Blog ===== */
.blog-card .card-media { aspect-ratio: 16/10; }
.blog-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--ink-500); }

.post-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin: -40px auto 50px; max-width: 900px; aspect-ratio: 16/8; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 40px; margin-bottom: 14px; }
.post-body h3 { margin-top: 28px; margin-bottom: 10px; }
.post-body p { margin-bottom: 18px; font-size: 1.04rem; }
.post-body ul.plain { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.post-body ul.plain li { display: flex; gap: 10px; font-size: 1rem; color: var(--ink-700); }
.post-body ul.plain svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 3px; }
.post-cta { background: var(--mint-100); border-radius: var(--radius-md); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0; flex-wrap: wrap; }
.post-cta h4 { font-size: 1.1rem; margin-bottom: 4px; }
.post-cta p { font-size: 0.92rem; margin: 0; }
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.post-tags span { background: var(--cream-100); color: var(--ink-700); padding: 7px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 500; }

/* ===== CTA band ===== */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-800), var(--green-600) 60%, var(--mint-400));
  border-radius: var(--radius-lg); padding: 64px 60px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 10px; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.85); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { color: rgba(255,255,255,0.78); font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover { background: var(--green-600); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; font-family: 'Poppins',sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.82); transition: color .2s ease; }
.footer-col a:hover { color: var(--mint-400); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.82); }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--mint-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.82rem; color: rgba(255,255,255,0.7); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.85); }
.footer-credits { font-size: 0.72rem; color: rgba(255,255,255,0.55); padding-bottom: 20px; line-height: 1.7; }
.footer-credits a { color: rgba(255,255,255,0.62); }

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 800;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(18,140,74,0.45);
  animation: pulse-wa 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes pulse-wa {
  0% { box-shadow: 0 10px 30px rgba(18,140,74,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 30px rgba(18,140,74,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(18,140,74,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Scroll reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ===== 404 ===== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #fff; }
.error-page .code { font-family: 'Poppins',sans-serif; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, #fff, var(--mint-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { color: #fff; margin: 10px 0 16px; }
.error-page p { color: rgba(255,255,255,0.8); margin-bottom: 34px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .course-layout { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .main-nav, .header-actions .nav-phone, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero p.lead { max-width: 100%; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .feature-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 34px 24px; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; flex-direction: column; text-align: center; }
  .cta-band h2, .cta-band p { max-width: 100%; }
  .cta-band-actions { justify-content: center; width: 100%; }
  .cta-band-actions .btn { flex: 1; justify-content: center; }
  .form-card { padding: 26px; }
  .hero-media .floating-card { max-width: 200px; padding: 14px 16px; left: -10px; }
  .hero-media .floating-badge { right: -6px; }
  .whatsapp-float { width: 56px; height: 56px; bottom: 18px; right: 18px; }
}
