/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #1f7a8c;        /* Mediterráneo · principal */
  --red-dark: #155f6e;   /* hover (principal más oscuro) */
  --gold: #bfdbf7;       /* Mediterráneo · acento (azul claro) */
  --ink: #1b263b;        /* texto y pie de página */
  --muted: #586a7a;      /* texto secundario */
  --bg: #ffffff;
  --bg-alt: #e8eef5;     /* fondo suave */
  --line: #d6dfe8;
  --star: #f4b740;       /* estrellas de las opiniones (legibles) */
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 36, 48, 0.08);
  --maxw: 1120px;
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; cursor: pointer; transition: all 0.18s ease;
  border: 2px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.logo-mark {
  display: block; width: 38px; height: 38px; border-radius: 12px;
  overflow: hidden; flex: 0 0 auto;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-weight: 600; color: var(--muted); font-size: 0.97rem;
  padding: 0.5rem 1.1rem; border-radius: 999px; background-color: transparent;
  transition: background-color 0.28s ease, color 0.28s ease;
}
.nav-links a:hover { background-color: var(--red); color: #fff; }
.nav-links a.nav-cta { background-color: var(--red); color: #fff !important; padding: 0.5rem 1.1rem; border-radius: 999px; }
.nav-links a.nav-cta:hover { background-color: var(--red-dark); }

/* language switcher */
.lang { position: relative; display: flex; align-items: center; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; cursor: pointer;
  transition: border-color 0.15s;
}
.lang-btn:hover { border-color: var(--red); }
.flag {
  width: 24px; height: 16px; border-radius: 3px; overflow: hidden; display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto;
}
.flag svg { display: block; width: 100%; height: 100%; }
.lang-caret { font-size: 0.7rem; color: var(--muted); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; min-width: 130px; list-style: none; display: none; z-index: 60;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%;
  background: none; border: none; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font-weight: 700; color: var(--ink); font-family: inherit;
}
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu .lang-code { font-size: 0.9rem; color: var(--muted); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== HERO ===== */
.hero { background: linear-gradient(180deg, #9fcad9 0%, #c5e0ea 35%, #e8f1f6 70%, #ffffff 100%); padding: 72px 0 80px; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem;
  font-weight: 700; color: var(--red); margin-bottom: 1rem;
}
.hero-sub { color: var(--muted); font-size: 1.12rem; margin: 1.2rem auto 1.8rem; max-width: 52ch; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-badges { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; font-size: 0.92rem; color: var(--muted); font-weight: 600; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-blob {
  position: absolute; inset: 0; margin: auto; width: 340px; height: 340px;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--red));
  border-radius: 42% 58% 63% 37% / 43% 38% 62% 57%; opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
.hero-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; max-width: 300px; text-align: center;
}
.hero-card-flag { font-size: 2.4rem; }
.hero-card p { font-style: italic; font-size: 1.1rem; font-weight: 600; margin: 12px 0; }
.hero-card small { color: var(--muted); letter-spacing: 0.04em; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-lead { color: var(--muted); margin-top: 0.6rem; font-size: 1.05rem; }

/* presentación */
.pres-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas:
    ".     eyebrow"
    "media core"
    ".     button";
  column-gap: 56px;
  align-items: stretch;
}
.pres-media { grid-area: media; display: flex; align-items: center; justify-content: center; }
.pres-eyebrow { grid-area: eyebrow; margin-bottom: 0.5rem; }
.pres-core { grid-area: core; }
.pres-btn { grid-area: button; justify-self: center; margin-top: 0.8rem; }
.pres-core h2 { margin-bottom: 1rem; }
.pres-core p { color: var(--muted); margin-bottom: 1.1rem; text-align: justify; font-size: 1.08rem; line-height: 1.75; }
.pres-core p:last-child { margin-bottom: 0; }

.photo-frame {
  width: 100%; max-width: 340px; aspect-ratio: 1 / 1; position: relative;
  border-radius: 50%; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--gold), var(--red));
}
.photo-placeholder {
  position: absolute; inset: 8px; border-radius: 50%; overflow: hidden; background: #fff;
  display: grid; place-content: center; text-align: center; color: var(--muted); gap: 6px;
}
.photo-placeholder span { font-weight: 700; color: var(--ink); }
.photo-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

/* booking calendar */
.booking { margin: 40px auto 0; max-width: 420px; }
.booking[hidden] { display: none; }
.booking-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; text-align: center;
}
.booking-title { font-size: 1.15rem; margin-bottom: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-weight: 800; font-size: 1.02rem; }
.cal-nav {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px;
  width: 34px; height: 34px; cursor: pointer; font-size: 1.2rem; color: var(--ink);
  transition: all 0.15s;
}
.cal-nav:hover { border-color: var(--red); color: var(--red); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { font-size: 0.72rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1 / 1; border: 1px solid transparent; border-radius: 8px;
  background: var(--bg-alt); cursor: pointer; font-weight: 600; color: var(--ink);
  font-family: inherit; transition: background-color 0.15s, color 0.15s;
}
.cal-day:hover { background: #cfe3ea; }
.cal-day.sel { background: var(--red); color: #fff; }
.cal-day.past { opacity: 0.3; cursor: not-allowed; background: transparent; }
.cal-day.blocked { background: #f5c2c0; color: #b02a24; cursor: not-allowed; text-decoration: line-through; }
.cal-day.blocked:hover { background: #f5c2c0; }
.cal-legend { margin-top: 12px; font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.cal-legend .dot { width: 12px; height: 12px; border-radius: 3px; background: #f5c2c0; display: inline-block; }
.slots { margin-top: 18px; }
.slots-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.slots-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.slot {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem;
  background: #fff; cursor: pointer; font-weight: 600; font-family: inherit; color: var(--ink);
  transition: all 0.15s;
}
.slot:hover { border-color: var(--red); color: var(--red); }
.slot.sel { background: var(--red); color: #fff; border-color: var(--red); }
.booking-confirm { margin-top: 16px; font-weight: 600; color: var(--red); min-height: 1.2em; }

/* request: calendario + formulario */
.request { margin: 48px auto 0; max-width: 960px; }
.request[hidden] { display: none; }
.request-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.request-cal { text-align: center; }
.request-form { text-align: left; border-left: 1px solid var(--line); padding-left: 24px; }
.request-form .booking-title { text-align: left; }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.form-head .booking-title { margin-bottom: 0; }
.form-close {
  background: none; border: none; cursor: pointer; font-size: 1.7rem; line-height: 1;
  color: var(--muted); width: 36px; height: 36px; border-radius: 8px; flex: 0 0 auto;
  transition: background 0.15s, color 0.15s;
}
.form-close:hover { background: var(--bg-alt); color: var(--red); }
.request-form form { display: flex; flex-direction: column; }
.request-form label { font-weight: 700; font-size: 0.9rem; margin: 12px 0 5px; }
.request-form input, .request-form textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem;
  background: var(--bg-alt); transition: border-color 0.15s, background 0.15s;
  width: 100%; resize: vertical;
}
.request-form input:focus, .request-form textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.request-form .btn { margin-top: 18px; align-self: center; }
.form-confirm { margin-top: 14px; font-weight: 600; color: var(--red); }
.form-confirm.error { color: #c0392b; }

/* icono de información con tooltip */
.cal-title { display: flex; align-items: center; justify-content: center; gap: 8px; }
.info-i {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; font-style: italic;
  font-family: Georgia, "Times New Roman", serif; cursor: help; position: relative; flex: 0 0 auto;
}
.info-i::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 230px; background: var(--ink); color: #fff; padding: 9px 11px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 500; font-style: normal; line-height: 1.4; text-align: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 40;
}
.info-i:hover::after, .info-i:focus::after { opacity: 1; }

/* desplegable de selección múltiple (Formato) */
.ms { position: relative; }
.ms-summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem;
  background: var(--bg-alt); font-size: 0.95rem; color: var(--ink); transition: border-color 0.15s, background 0.15s;
}
.ms-summary::-webkit-details-marker { display: none; }
.ms[open] .ms-summary, .ms-summary:hover { border-color: var(--red); background: #fff; }
.ms-summary-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-caret { font-size: 0.7rem; color: var(--muted); transition: transform 0.2s; }
.ms[open] .ms-caret { transform: rotate(180deg); }
.ms-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: 6px;
}
.ms-opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  cursor: pointer; font-weight: 600 !important; font-size: 0.95rem; margin: 0 !important;
}
.ms-opt:hover { background: var(--bg-alt); }
.ms-opt input { width: auto !important; accent-color: var(--red); }

/* sección de empresas (texto + formulario) */
.company-info { text-align: left; align-self: center; }
.company-info .booking-title { text-align: left; margin-bottom: 12px; }
.company-info p { color: var(--muted); line-height: 1.65; }

/* sección de corrección (formulario a 2 columnas) */
.quote-grid { grid-template-columns: 1fr; }
.quote-form { border-left: none; padding-left: 0; }
.quote-form form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.q-col { display: flex; flex-direction: column; }
.q-col textarea { flex: 1; min-height: 120px; }
.q-actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > div { display: flex; flex-direction: column; }
.drop-zone {
  border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center;
  background: var(--bg-alt); cursor: pointer; transition: border-color 0.18s, background 0.18s; margin-top: 5px;
}
.drop-zone:hover, .drop-zone.drag { border-color: var(--red); background: #fff; }
.drop-main { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.drop-hint { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.drop-file { margin-top: 8px; font-weight: 700; color: var(--red); font-size: 0.9rem; }

@media (max-width: 760px) {
  .request-grid { grid-template-columns: 1fr; }
  .request-form { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .quote-form { border-top: none; padding-top: 0; }
  .quote-form form { grid-template-columns: 1fr; }
}

/* card grids */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature, .service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.18s, box-shadow 0.18s;
}
.feature:hover, .service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature h3, .service h3 { margin-bottom: 8px; font-size: 1.2rem; }
.feature p, .service p { color: var(--muted); }

/* levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.level {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #fff; transition: border-color 0.18s, transform 0.18s;
}
.level:hover { border-color: var(--red); transform: translateY(-3px); }
.level-tag {
  display: inline-block; background: var(--red); color: #fff; font-weight: 800;
  padding: 2px 12px; border-radius: 999px; font-size: 0.85rem; margin-bottom: 12px;
}
.level h3 { font-size: 1.15rem; margin-bottom: 6px; }
.level p { color: var(--muted); font-size: 0.95rem; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; background: #fff; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-8px); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--red); }
.price-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.price-card ul { list-style: none; text-align: left; margin: 0 auto 20px; display: inline-block; }
.price-card li { color: var(--muted); font-size: 0.92rem; padding: 4px 0 4px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.price-card .btn { margin-top: auto; }

/* courses */
.courses { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.course {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s;
  flex: 0 1 calc((100% - 24px) / 2);
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course.featured { border-color: var(--red); box-shadow: var(--shadow); }
.course-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
}
.course-icon { font-size: 2.2rem; margin-bottom: 12px; }
.course h3 { font-size: 1.25rem; margin-bottom: 4px; }
.course-meta { color: var(--red); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.course p { color: var(--muted); margin-bottom: 16px; }
.course-schedule { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.course .btn { margin-top: auto; }
.course-btns { margin-top: auto; display: flex; gap: 10px; }
.course-btns .btn { margin-top: 0; flex: 1 1 0; text-align: center; padding-left: 0.6rem; padding-right: 0.6rem; }

/* panel "Más información" de corrección */
.quoteinfo-grid { grid-template-columns: 1fr; }
.quoteinfo { text-align: left; }
.quoteinfo p { color: var(--muted); margin-bottom: 10px; line-height: 1.65; }
.quoteinfo .corr-list { margin: 6px 0 14px; padding-left: 22px; }
.quoteinfo .corr-list li { color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.quoteinfo-actions { text-align: center; margin-top: 18px; }
.quoteinfo h4 { margin: 16px 0 6px; color: var(--ink); font-size: 1.05rem; }
.quoteinfo h4:first-of-type { margin-top: 8px; }

/* pestañas del panel de conversación */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tab {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.1rem; cursor: pointer; font-weight: 700; font-family: inherit;
  color: var(--ink); font-size: 0.9rem; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab:hover { border-color: var(--red); }
.tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.flex-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .flex-two { grid-template-columns: 1fr; gap: 8px; } }
.clases-note { text-align: center; color: var(--muted); margin-top: 40px; font-size: 1.02rem; }

/* blog */
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-tag {
  align-self: flex-start; background: var(--bg-alt); color: var(--red); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.post h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post p { color: var(--muted); margin-bottom: 16px; }
.post-link { margin-top: auto; color: var(--red); font-weight: 700; font-size: 0.92rem; cursor: pointer; }

/* reviews */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.stars { color: var(--star); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-style: italic; margin-bottom: 14px; }
.review footer { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.review footer a { color: var(--red); text-decoration: none; }
.review footer a:hover { text-decoration: underline; }

/* quote */
.quote { background: var(--red); color: #fff; padding: 64px 0; text-align: center; }
.quote blockquote { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; max-width: 22ch; margin: 0 auto; line-height: 1.3; }

/* cta */
.cta { padding: 80px 0; text-align: center; background: var(--bg-alt); }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta p { color: var(--muted); margin: 1rem 0 1.8rem; font-size: 1.08rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact { font-weight: 600; color: var(--ink); margin-top: 1.4rem; }

/* footer */
.footer { background: var(--ink); color: #c9ccd4; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.95rem; max-width: 26ch; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 0.95rem; }
.footer-col a { display: block; color: #c9ccd4; font-size: 0.92rem; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }
.footer-bottom a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .course { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform 0.25s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .hero-badges { margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-badges { justify-content: center; }
  .hero-art { order: -1; }
  .pres-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "eyebrow" "core" "button";
    gap: 24px;
  }
  .photo-frame { position: relative; top: auto; bottom: auto; left: auto; transform: none; height: auto; width: 100%; max-width: 300px; margin: 0 auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .course { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards-4, .pricing, .levels { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
}
