/* =========================================================
   STELLYSTAR THE AFFILIATE COACH — PRODUCTION STYLES
   Mobile-first, accessible, privacy-friendly, dependency-free.
   ========================================================= */

:root {
  --navy-950: #061326;
  --navy-900: #0b1d3a;
  --navy-800: #122b50;
  --navy-700: #1c3c68;
  --navy-100: #e9eff8;
  --gold-700: #a98316;
  --gold-600: #b99322;
  --gold-500: #d4af37;
  --gold-300: #ecd47d;
  --gold-100: #fbf5dc;
  --white: #ffffff;
  --ink: #0a1730;
  --text: #34445d;
  --muted: #66758b;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-warm: #fffdf6;
  --border: #dce4ef;
  --border-strong: #bdc9d9;
  --success: #157f55;
  --success-soft: #e8f7ef;
  --warning: #9b5c00;
  --warning-soft: #fff4d6;
  --error: #b42318;
  --error-soft: #fff0ee;
  --whatsapp: #128c55;
  --whatsapp-dark: #0b6e42;
  --shadow-sm: 0 8px 24px rgba(6, 19, 38, 0.08);
  --shadow-md: 0 20px 55px rgba(6, 19, 38, 0.13);
  --shadow-lg: 0 36px 90px rgba(6, 19, 38, 0.2);
  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-xl: 2rem;
  --container: 1160px;
  --header-height: 74px;
  --focus: 0 0 0 4px rgba(212, 175, 55, 0.33);
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--navy-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-700);
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container,
.section-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-soft {
  background: var(--surface-soft);
}

.section-warm {
  background: var(--surface-warm);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.16), transparent 28rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900));
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-dark .section-label {
  color: var(--gold-300);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.45rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

p {
  margin: 0;
}

.lead {
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.section-dark .lead,
.section-dark p {
  color: #cdd8e8;
}

.gold-text {
  color: var(--gold-500);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.24);
}

.btn-primary:hover {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f3df8f, #c9a22f);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.32);
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  color: var(--navy-950);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.section-dark .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--gold-300);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 12px 26px rgba(18, 140, 85, 0.24);
}

.btn-whatsapp:hover {
  color: var(--white);
  background: var(--whatsapp-dark);
}

.btn-small {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.btn[disabled],
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: rgba(6, 19, 38, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(6, 19, 38, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 1.5rem, var(--container));
  height: 100%;
  margin-inline: auto;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.logo:hover {
  color: var(--gold-300);
}

.logo img {
  width: 42px;
  height: 42px;
}

.logo-copy {
  display: grid;
  line-height: 1.05;
}

.logo-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-copy span {
  margin-top: 0.2rem;
  color: #aebbd0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav,
.header-actions {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(2, 9, 20, 0.72);
  backdrop-filter: blur(4px);
}

.mobile-menu {
  position: fixed;
  z-index: 1002;
  inset: 0 0 0 auto;
  width: min(88vw, 390px);
  padding: 1rem;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  min-height: 52px;
  padding: 0.85rem 0.6rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 750;
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 1.25rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
  transition: transform var(--transition), color var(--transition), background-color var(--transition);
}

.social-link:hover {
  color: var(--navy-950);
  background: var(--gold-300);
  transform: translateY(-2px);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

.mobile-socials {
  margin-top: 1.7rem;
}

/* Hero */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 4rem;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 30%, rgba(212, 175, 55, 0.2), transparent 31rem),
    radial-gradient(circle at 10% 86%, rgba(28, 60, 104, 0.55), transparent 32rem),
    linear-gradient(145deg, #051125, #0b1d3a 62%, #102b51);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  max-width: 730px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--gold-500);
}

.hero h1 {
  max-width: 780px;
  color: var(--white);
}

.hero-intro {
  max-width: 670px;
  margin-top: 1.45rem;
  color: #d3deed;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-actions .text-link {
  justify-content: center;
  color: #dce6f3;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin-top: 1.6rem;
  color: #b8c6da;
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold-300);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-photo-frame {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(84%, 440px);
  aspect-ratio: 4 / 5.35;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(5, 17, 37, 0.72), transparent);
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.course-float {
  position: absolute;
  z-index: 2;
  width: clamp(132px, 29vw, 190px);
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 1.1rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}

.course-float img {
  width: 100%;
  border-radius: 0.7rem;
}

.course-float-beginner {
  left: 0;
  bottom: 1rem;
  transform: rotate(-4deg);
}

.course-float-amss {
  right: -0.2rem;
  bottom: -0.4rem;
  transform: rotate(4deg);
}

.hero-caption {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  bottom: 11.5rem;
  max-width: 230px;
  padding: 0.75rem 0.9rem;
  color: #dce6f4;
  background: rgba(6, 19, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.8rem;
  font-size: 0.75rem;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

/* Disclosure */
.disclosure-strip {
  padding-block: 1rem;
  color: var(--navy-900);
  background: var(--gold-100);
  border-bottom: 1px solid #eadb9d;
}

.disclosure-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.disclosure-inner svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  margin-top: 0.18rem;
  color: var(--gold-700);
}

.disclosure-inner p {
  font-size: 0.92rem;
}

/* Trust cards */
.trust-layout {
  display: grid;
  gap: 2.25rem;
}

.trust-intro {
  max-width: 720px;
}

.trust-intro .lead {
  margin-top: 1.25rem;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-card {
  position: relative;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold-500);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  color: var(--navy-900);
  background: var(--gold-100);
  border-radius: 0.8rem;
}

.icon-chip svg {
  width: 1.35rem;
  height: 1.35rem;
}

.trust-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.trust-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Course cards */
.course-grid {
  display: grid;
  gap: 1.35rem;
}

.course-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.course-media {
  min-height: 340px;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.16), transparent 16rem),
    linear-gradient(145deg, #eff3f9, #ffffff);
}

.course-media picture,
.course-media img {
  width: 100%;
  height: 100%;
}

.course-media img {
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(6, 19, 38, 0.16));
}

.course-content {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.course-audience {
  margin-top: 0.9rem;
  color: var(--navy-700);
  font-weight: 750;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
}

.check-list svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  color: var(--success);
}

.course-meta {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  margin-top: auto;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.course-meta strong {
  color: var(--ink);
}

.course-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.mini-disclosure {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.comparison-wrap {
  margin-top: 2.3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.comparison-title {
  padding: 1.25rem 1.3rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  color: var(--ink);
  background: #f0f4fa;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

/* Skills */
.skills-grid {
  display: grid;
  gap: 1rem;
}

.skill-card {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.skill-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.skill-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold-700);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.skill-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.skill-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 0.8rem;
  max-width: 900px;
  margin-inline: auto;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: clip;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 58px;
  padding: 1rem 1.1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-align: left;
}

.accordion-trigger:hover {
  background: var(--surface-soft);
}

.accordion-trigger svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  color: var(--gold-700);
  transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 1.1rem 1.1rem;
  color: var(--text);
}

.accordion-panel p + p {
  margin-top: 0.85rem;
}

.overview-notice {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  padding: 0.9rem 1rem;
  color: var(--navy-800);
  background: var(--gold-100);
  border: 1px solid #ead78b;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
}

.educator-card,
.coach-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.educator-card {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: var(--navy-900);
  color: #d5deeb;
}

.educator-card h3 {
  color: var(--white);
}

.educator-card p {
  margin-top: 1rem;
}

.placeholder-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.65rem;
  color: #8f5e00;
  background: #fff2c5;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.coach-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.coach-photo {
  min-height: 420px;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.coach-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.coach-content > p {
  margin-top: 1rem;
}

.coach-quote {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  color: var(--navy-900);
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 700;
}

.coach-socials {
  margin-top: 1.3rem;
  color: var(--navy-700);
}

.social-handles {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.eeat-panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.eeat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.eeat-row strong {
  color: var(--ink);
}

/* Contact */
.contact-shell {
  display: grid;
  gap: 2rem;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.2), transparent 23rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  margin-top: 1rem;
  color: #d1dbea;
}

.contact-points {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.contact-points svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  color: var(--gold-300);
}

.lead-form {
  padding: 1.2rem;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label,
.form-label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-weight: 600;
}

.phone-grid {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 0.6rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 0.7rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--gold-600);
  box-shadow: var(--focus);
}

[aria-invalid="true"] {
  border-color: var(--error) !important;
}

.field-help {
  color: var(--muted);
  font-size: 0.78rem;
}

.field-error {
  color: var(--error);
  font-size: 0.8rem;
  font-weight: 700;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.checkbox-row input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
  margin-top: 0.2rem;
  accent-color: var(--navy-900);
}

.checkbox-row label {
  color: var(--text);
  font-size: 0.86rem;
}

.form-privacy {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-warning {
  color: var(--warning);
}

.form-status.is-error {
  color: var(--error);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Temu */
.temu-shell {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid #ff6a00;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.temu-shell p {
  margin-top: 0.85rem;
}

.temu-action {
  display: grid;
  gap: 0.7rem;
}

/* Final CTA */
.final-cta {
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.24), transparent 28rem),
    linear-gradient(145deg, var(--navy-900), var(--navy-950));
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: #ccd7e6;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
  margin: 1.6rem auto 0;
}

.final-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1.5rem;
  color: #bfcadc;
  font-size: 0.8rem;
}

.final-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.final-cta-trust svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold-300);
}

/* Footer */
.site-footer {
  padding: 4rem 0 calc(7rem + env(safe-area-inset-bottom));
  color: #b8c5d8;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 1rem;
}

.footer-social {
  margin-top: 1.3rem;
  color: var(--gold-300);
}

.footer-links h3 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 1rem;
}

.footer-links ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: #c3cedd;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: grid;
  gap: 0.9rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-bottom strong {
  color: var(--white);
}

.footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.footer-utility button {
  min-height: 44px;
  padding: 0;
  color: var(--gold-300);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--whatsapp);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(5, 75, 43, 0.36);
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition);
}

.floating-whatsapp:hover {
  color: var(--white);
  background: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  width: max-content;
  max-width: 220px;
  padding: 0.55rem 0.7rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.floating-whatsapp:hover .floating-tooltip,
.floating-whatsapp:focus-visible .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  z-index: 850;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(6, 19, 38, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  transform: translateY(110%);
  transition: transform 240ms ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  z-index: 1200;
  inset: auto 0 0;
  padding: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 48px rgba(6, 19, 38, 0.16);
}

.cookie-inner {
  display: grid;
  gap: 0.85rem;
  width: min(100%, var(--container));
  margin-inline: auto;
}

.cookie-inner p {
  font-size: 0.84rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-manage {
  min-height: 44px;
  padding: 0.4rem;
  color: var(--navy-700);
  background: transparent;
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.modal-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 9, 20, 0.75);
  backdrop-filter: blur(6px);
}

.cookie-modal {
  width: min(100%, 590px);
  max-height: min(88svh, 760px);
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.modal-header h2 {
  font-size: 1.55rem;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.preference-list {
  display: grid;
  gap: 0.8rem;
  margin-block: 1.1rem;
}

.preference-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.preference-row h3 {
  font-size: 1rem;
}

.preference-row p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.switch {
  position: relative;
  width: 50px;
  height: 28px;
  flex: none;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  background: #aab6c7;
  border-radius: 999px;
  transition: background-color var(--transition);
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition);
}

.switch input:checked + span {
  background: var(--success);
}

.switch input:checked + span::after {
  transform: translateX(22px);
}

.switch input:focus-visible + span {
  box-shadow: var(--focus);
}

.switch input:disabled + span {
  background: var(--success);
  opacity: 0.65;
}

/* Policy pages */
.policy-page-body {
  min-height: 100svh;
  color: var(--text);
  background: var(--surface-soft);
}

.policy-header {
  padding-block: 1rem;
  color: var(--white);
  background: var(--navy-950);
}

.policy-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.policy-main {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.policy-card {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
  padding: clamp(1.3rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.policy-card h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.policy-card h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
}

.policy-card h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
}

.policy-card p + p {
  margin-top: 0.9rem;
}

.policy-card ul,
.policy-card ol {
  margin: 0.8rem 0 0;
  padding-left: 1.35rem;
}

.policy-card li + li {
  margin-top: 0.4rem;
}

.policy-note {
  margin-top: 1rem;
  padding: 1rem;
  color: var(--navy-800);
  background: var(--gold-100);
  border: 1px solid #ead78b;
  border-radius: var(--radius-md);
}

.policy-actions {
  margin-top: 2.2rem;
}

/* Error page */
.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1.5rem;
  color: var(--white);
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.2), transparent 24rem), var(--navy-950);
}

.error-page-inner {
  max-width: 650px;
}

.error-code {
  color: var(--gold-500);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(5rem, 22vw, 10rem);
  font-weight: 850;
  line-height: 0.9;
}

.error-page h1 {
  margin-top: 1rem;
  color: var(--white);
}

.error-page p {
  margin: 1rem auto 1.5rem;
  color: #c7d2e2;
}

/* Progressive reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 560px) {
  .hero-actions,
  .final-cta-buttons {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .text-link {
    justify-content: flex-start;
  }

  .course-actions,
  .temu-action {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 700px) {
  .container,
  .section-inner {
    width: min(100% - 3rem, var(--container));
  }

  .trust-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  }

  .course-card:nth-child(even) .course-media {
    order: 2;
  }

  .course-card:nth-child(even) .course-content {
    order: 1;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
  }

  .coach-card {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  }

  .temu-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 0.8fr);
  }

  .site-footer {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 699px) {
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: minmax(105px, 0.5fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.5rem 0;
    border: 0;
  }

  .comparison-table td::before {
    content: attr(data-label);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .comparison-table td:first-child {
    display: block;
    padding-bottom: 0.75rem;
    color: var(--gold-700);
  }

  .comparison-table td:first-child::before {
    display: none;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.62rem;
    color: #dce5f2;
    border-radius: 0.55rem;
    font-size: 0.84rem;
    font-weight: 730;
    text-decoration: none;
  }

  .desktop-nav a:hover {
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.07);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header-socials {
    display: flex;
    gap: 0.35rem;
    color: #c8d3e1;
  }

  .header-socials .social-link {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero-visual {
    min-height: 620px;
  }

  .trust-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 4rem;
  }

  .trust-grid {
    margin-top: 0.4rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .lead-form {
    padding: 1.5rem;
  }

  .floating-whatsapp {
    bottom: max(1.2rem, env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1120px) {
  .desktop-nav a {
    padding-inline: 0.8rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .skill-card {
    min-height: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .floating-whatsapp,
  .mobile-sticky-cta,
  .cookie-banner,
  .modal-backdrop,
  .final-cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .policy-main {
    padding-block: 1rem;
  }

  a {
    color: #000;
  }
}
