/* ===== Variables ===== */
:root {
  --primary: #1a1a1a;
  --primary-dark: #0d0d0d;
  --primary-light: #f3efe9;
  --accent: #d4ab86;
  --accent-dark: #8f6544;
  --coral: #8a8a8a;
  --sage: #b98a64;
  --text: #1c1c1c;
  --muted: #5f5f5f;
  --bg: #ffffff;
  --bg-alt: #f7f5f2;
  --border: #e7e3de;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; color: var(--primary-dark); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2.5rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ===== Encabezado ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--primary-dark); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.2rem; letter-spacing: 0.04em; }
.brand small { font-size: 0.72rem; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.brand img { border-radius: 50%; background: #fff; flex-shrink: 0; }
.brand-light img { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
.brand-light { color: #fff; }
.brand-light small { color: #bdb7b0; }

.nav-links { display: flex; align-items: center; gap: 1.4rem; white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links .btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Evento destacado (flyer) ===== */
.featured {
  padding: 3.5rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.featured-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 3.5rem; align-items: center; }
.flyer-frame { position: relative; }
.flyer-button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18); }
.flyer-img { width: 100%; height: auto; }
.flyer-zoom { position: absolute; right: 0.8rem; bottom: 0.8rem; background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 999px; opacity: 0; transition: opacity 0.2s; }
.flyer-button:hover .flyer-zoom, .flyer-button:focus-visible .flyer-zoom { opacity: 1; }
.flyer-placeholder {
  aspect-ratio: 4 / 5;
  border: 2px dashed #c9c1b8;
  border-radius: var(--radius);
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--muted);
}
.flyer-placeholder[hidden], .flyer-button[hidden] { display: none; }
.flyer-placeholder img { border-radius: 50%; margin-bottom: 1rem; opacity: 0.85; }
.flyer-placeholder p { margin: 0.2rem 0; }
.flyer-placeholder code { background: var(--primary-light); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.85rem; }
.featured-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.event-facts { list-style: none; padding: 0; margin: 1.4rem 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.event-facts li { display: flex; gap: 0.7rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0.8rem 1rem; line-height: 1.35; }
.event-facts li > span { font-size: 1.2rem; }
.event-facts small { color: var(--muted); }
.facilitator { color: var(--muted); margin-bottom: 0; }
.pay-inline { margin: 0 0 0.4rem; font-size: 0.95rem; }
.btn-whatsapp { background: #1f8f4e; border-color: #1f8f4e; }
.btn-whatsapp:hover { background: #18723e; border-color: #18723e; }
@media (max-width: 620px) { .event-facts { grid-template-columns: 1fr; } }

.flyer-dialog { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.flyer-dialog::backdrop { background: rgba(0, 0, 0, 0.85); }
.flyer-dialog img { max-width: 100%; max-height: 92vh; width: auto; margin: 0 auto; border-radius: 8px; }
.flyer-close { position: absolute; top: -0.6rem; right: -0.6rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 171, 134, 0.16), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.04), transparent 40%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 em { font-style: normal; color: var(--primary); background: linear-gradient(transparent 62%, rgba(212, 171, 134, 0.45) 62%); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.93rem; }

.hero-visual { position: relative; min-height: 380px; }
.code-card, .network-card { background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); border: 1px solid var(--border); }
.code-card { padding: 1.4rem; width: 90%; font-size: 0.98rem; }
.code-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 1rem; }
.code-card-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.code-card-head p { margin: 0 0 0 0.6rem; font-size: 0.8rem; color: var(--muted); }
mark { padding: 0 0.2em; border-radius: 4px; }
mark.c1 { background: rgba(212, 171, 134, 0.4); }
mark.c2 { background: rgba(0, 0, 0, 0.1); }
.code-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; }
.tag.c1 { background: rgba(212, 171, 134, 0.3); color: #6e4a2e; }
.tag.c2 { background: rgba(0, 0, 0, 0.08); color: #333; }
.tag.c3 { background: #1a1a1a; color: #fff; }
.network-card { position: absolute; right: 0; bottom: 0; width: 58%; padding: 1rem 1rem 0.4rem; }
.network-card svg { height: 130px; }
.network-card p { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 0.3rem 0 0.4rem; }

/* ===== Secciones ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary-dark); color: #e2ded9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark a:not(.btn) { color: var(--accent); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child { color: #bdb7b0; }

/* Tarjetas de servicios */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-featured { border: 2px solid var(--primary); position: relative; }
.card-icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--primary-light); border-radius: 14px; margin-bottom: 1.2rem; }
.card p { color: var(--muted); }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.45rem; font-size: 0.95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* Cursos grabados */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.course { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-icon { font-size: 1.7rem; width: 54px; height: 54px; display: grid; place-items: center; background: var(--primary-light); border-radius: 14px; margin-bottom: 1rem; }
.course-tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); background: rgba(212, 171, 134, 0.2); padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.7rem; }
.course h3 { color: var(--primary-dark); font-size: 1.12rem; }
.course > p { color: var(--muted); font-size: 0.95rem; }
.course-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.course-price { margin: 0; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.course-price span { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; color: var(--muted); vertical-align: middle; }

.pay-strip { margin-top: 2.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.pay-methods { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pay-chip { font-weight: 700; font-size: 0.9rem; padding: 0.45rem 0.95rem; border-radius: 8px; color: #fff; }
.pay-paypal { background: #003087; }
.pay-yape { background: #742284; }
.pay-bcp { background: #002a8d; border-bottom: 3px solid #ff7800; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; counter-reset: paso; font-size: 0.93rem; color: var(--muted); }
.pay-steps li { counter-increment: paso; display: flex; align-items: center; gap: 0.45rem; }
.pay-steps li::before { content: counter(paso); width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); color: var(--primary-dark); font-weight: 700; font-size: 0.78rem; display: grid; place-items: center; }
.pay-steps strong { color: var(--text); }

.pay-dialog { width: min(480px, 100% - 2rem); border: 0; border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); color: var(--text); }
.pay-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.pay-dialog h3 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--primary-dark); margin-bottom: 0.3rem; padding-right: 1.5rem; }
.pay-amount { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.2rem; }
.pay-close { position: absolute; top: 0.8rem; right: 0.9rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-alt); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; background: var(--bg-alt); padding: 0.3rem; border-radius: 12px; margin-bottom: 1.1rem; }
.pay-tab { border: 0; background: transparent; padding: 0.6rem 0.4rem; border-radius: 9px; font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--muted); }
.pay-tab small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.8; margin-top: 1px; }
.pay-chip small { font-weight: 500; opacity: 0.85; }
.pay-tab.active { background: #fff; color: var(--primary-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.pay-panel { min-height: 120px; }
.pay-panel > p { color: var(--muted); font-size: 0.95rem; }
.pay-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.pay-row span { color: var(--muted); min-width: 120px; }
.pay-row strong { flex: 1; word-break: break-all; }
.pay-copy { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 0.25rem 0.7rem; font: inherit; font-size: 0.8rem; cursor: pointer; }
.pay-note { font-size: 0.88rem; color: var(--muted); margin: 0.8rem 0 0; }
.pay-qr { width: 180px; margin: 0 auto 0.8rem; border-radius: 10px; border: 1px solid var(--border); }
.btn-paypal { background: #ffc439; border-color: #ffc439; color: #003087; }
.btn-paypal:hover { background: #f2b52e; border-color: #f2b52e; color: #003087; }
.pay-confirm { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--border); }
.pay-confirm p { font-size: 0.92rem; color: var(--muted); }

/* Temas */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.topic { background: var(--bg-alt); border-radius: var(--radius); padding: 1.6rem; border-left: 4px solid var(--accent); }
.topic span { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--accent-dark); }
.topic h3 { margin-top: 0.4rem; color: var(--primary-dark); }
.topic p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ATLAS.ti */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 0.9rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}
.levels { display: grid; gap: 1rem; }
.level { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 1px solid var(--border); position: relative; overflow: hidden; }
.level::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.level:nth-child(1)::after { background: var(--sage); }
.level:nth-child(2)::after { background: var(--accent); }
.level:nth-child(3)::after { background: var(--coral); }
.level h3 { color: var(--primary-dark); margin-bottom: 0.3rem; }
.level p { margin: 0; color: var(--muted); }

/* Eventos */
.events { display: grid; gap: 1.2rem; }
.event {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.8rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.event-date { background: var(--accent); color: var(--primary-dark); border-radius: 12px; text-align: center; padding: 0.9rem 0.5rem; }
.event-date .day { display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; }
.pill { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; background: rgba(212, 171, 134, 0.18); color: #e6cdb5; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem; }
.event h3 { margin-bottom: 0.3rem; }
.event p { margin-bottom: 0.6rem; }
.event-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.9rem; color: #bdb7b0; }
.events-note { text-align: center; margin-top: 2rem; }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit { text-align: center; padding: 1.5rem 1rem; }
.benefit-icon { font-size: 2rem; width: 70px; height: 70px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--primary-light); }
.benefit p { color: var(--muted); font-size: 0.95rem; }

/* Proceso */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process li { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; border: 1px solid var(--border); }
.process span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--primary-dark); font-weight: 700; margin-bottom: 1rem; }
.process h3 { color: var(--primary-dark); }
.process p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.8rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.1rem; margin: 0; color: var(--muted); }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 0.6rem; }
.contact-form { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.field input.invalid { border-color: var(--coral); outline: 2px solid var(--coral); }
.form-status { margin: 0.8rem 0 0; font-size: 0.9rem; min-height: 1.2em; color: var(--accent); }

/* Pie de página */
.footer { background: #000; color: #bdb7b0; padding: 3.5rem 0 1.5rem; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; margin-bottom: 0.8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.4rem; }
.footer a { color: #bdb7b0; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .brand { margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2.5rem; padding-top: 1.3rem; text-align: center; }
.footer-bottom p { margin: 0.2rem 0; }
.disclaimer { font-size: 0.78rem; opacity: 0.7; }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .featured-grid { grid-template-columns: 1fr; gap: 2rem; }
  .flyer-frame { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 340px; max-width: 520px; }
  .cards-3, .topics, .courses { grid-template-columns: 1fr 1fr; }
  .benefits, .process { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 90px 1fr; }
  .event-cta { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.2rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 0.8rem; text-align: center; display: block; }
}

@media (max-width: 620px) {
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0; }
  .cards-3, .topics, .courses, .benefits, .process, .footer-grid { grid-template-columns: 1fr; }
  .pay-row { flex-wrap: wrap; }
  .pay-row span { min-width: 100%; }
  .event { grid-template-columns: 1fr; text-align: left; }
  .event-date { display: inline-flex; gap: 0.5rem; align-items: baseline; justify-self: start; padding: 0.5rem 0.9rem; }
  .event-date .day { font-size: 1.3rem; }
  .event-cta .btn { width: 100%; text-align: center; }
  .hero-visual { min-height: 0; display: grid; gap: 1rem; }
  .code-card { width: 100%; }
  .network-card { position: static; width: 80%; justify-self: end; }
}
