:root {
  --bg:        #04050d;
  --bg-soft:   #090b14;
  --surface:   #0d1020;
  --surface-2: #121728;
  --text:      #ffffff;
  --muted:     #a0acbf;
  --line:          #1a2035;
  --line-strong:   #252e47;
  --accent:        #1463ff;
  --accent-2:      #4d8bff;
  --accent-glow:   rgba(20, 99, 255, 0.35);
  --accent-glow-soft: rgba(20, 99, 255, 0.12);
  --danger:   #ff5f5f;
  --success:  #4dffc3;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 25px 60px rgba(0, 0, 0, 0.55);
  --hero-parallax-y: 0px;
  /* 8pt spacing scale (px) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 72px;
  --space-10: 80px;
  --space-11: 88px;
  --space-12: 96px;
  --font-display: "Barlow Condensed", "Public Sans", system-ui, sans-serif;
  --font-body:    "Public Sans", system-ui, -apple-system, sans-serif;
  /* Premium accent palette */
  --gold:          #D4AF37;
  --gold-soft:     rgba(212, 175, 55, 0.15);
  --gold-glow:     rgba(212, 175, 55, 0.3);
  --violet:        #7C3AED;
  --violet-soft:   rgba(124, 58, 237, 0.15);
  --violet-glow:   rgba(124, 58, 237, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(20, 99, 255, 0.10), transparent 26%),
    radial-gradient(circle at 92% -5%, rgba(77, 139, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #03040b 0%, #060810 36%, #04050d 100%);
  line-height: 1.7;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #101319;
  padding: 0.55rem 0.82rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1600;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--violet));
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: var(--space-12) 0;
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(6, 8, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  left: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
  padding-top: 0;
  padding-bottom: 0;
  /* Full-width nav — override .container max-width */
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(1.2rem, 4vw, 3rem);
}

.logo {
  margin: 0;
  text-decoration: none;
  color: var(--text);
  font-family: "Public Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.logo:hover,
.logo:focus-visible {
  color: var(--text);
}

.nav-links a.is-active {
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
  order: 4;
}
.nav-hamburger:hover { border-color: var(--gold); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section-heading {
  max-width: 740px;
  margin-bottom: var(--space-5);
}

.section-heading--center {
  text-align: center;
}

.mb-space-4 {
  margin-bottom: var(--space-4) !important;
}

.fw-normal {
  font-weight: 400;
}

.studios-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.eyebrow {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.85rem;
  font-weight: 700;
}

h4 {
  margin: 0 0 0.4rem;
  font-family: "Public Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  max-width: 14ch;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 99, 255, 0.22);
  background: rgba(4, 5, 13, 0.85);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -35% -15%;
  background:
    radial-gradient(circle at 18% 22%, rgba(20, 99, 255, 0.22), transparent 35%),
    radial-gradient(circle at 78% 34%, rgba(77, 139, 255, 0.18), transparent 36%);
  transform: translate3d(0, var(--hero-parallax-y), 0);
  will-change: transform;
  pointer-events: none;
}

.hero > *:not(.hero-bg-wrap) {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  max-width: 56ch;
  font-size: 1.06rem;
}

.hero-highlights {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.64rem;
  flex-wrap: wrap;
}

.hero-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(12, 16, 25, 0.5);
  border-radius: 999px;
  padding: 0.45rem 0.84rem;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* .hero-visual removed — replaced by full-bleed .hero-bg-wrap */

.hero-stack {
  width: min(92%, 420px);
  margin: 0 auto;
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 17, 0.74);
  backdrop-filter: blur(4px);
}

.hero-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-stack h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin-bottom: 0.7rem;
}

.hero-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.hero-metrics li {
  font-size: 0.9rem;
  color: #d4dbeb;
}

.hero-metrics strong {
  color: #fff;
  font-weight: 700;
}

.cta-row {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.82rem 1.32rem;
  background: linear-gradient(135deg, var(--accent), #0d51d4);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 99, 255, 0.31);
  filter: saturate(107%);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
  filter: none;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.64rem 1rem;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(10, 14, 22, 0.22);
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carousel-block + .carousel-block {
  margin-top: 1.4rem;
}

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

.carousel-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 19, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--accent);
  background: rgba(19, 26, 39, 0.95);
  transform: translateY(-1px);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.45rem;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(77, 139, 255, 0.35);
  border-radius: 999px;
}

.media-slide {
  scroll-snap-align: start;
  min-height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.js-result-slide {
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.js-result-slide:hover,
.js-result-slide:focus-visible,
.js-result-slide.is-active {
  border-color: rgba(20, 99, 255, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.results-detail-panel {
  margin-top: 1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}

.results-detail-panel.is-open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.results-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.results-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.results-meta li {
  color: #d9e2f3;
}

.results-meta strong {
  color: #f7faff;
}

.photo-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-slide p {
  padding: 0.9rem 1rem 1rem;
}

.video-slide {
  padding: 0.95rem;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-size: cover;
  background-position: center;
  margin-bottom: 0.9rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.2), rgba(6, 8, 12, 0.7));
}

.video-frame::after {
  content: "▶";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #111723;
  background: var(--accent);
}

.video-frame span {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dfe7f8;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(13, 16, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 99, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(20, 99, 255, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(20, 99, 255, 0.1);
}

.card:focus-within {
  border-color: rgba(77, 139, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(77, 139, 255, 0.14);
}

.bullets-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  position: relative;
  border-left: 2px solid rgba(20, 99, 255, 0.6);
  padding-left: 1.1rem;
}

.workflow-stepper {
  padding: 1rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.workflow-step {
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 24, 0.78);
  border-radius: 999px;
  color: #d4deef;
  padding: 0.56rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.workflow-step:hover,
.workflow-step:focus-visible,
.workflow-step.is-active {
  border-color: var(--accent);
  background: rgba(20, 99, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.workflow-panel {
  margin-top: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 16, 24, 0.75);
  padding: 1rem;
}

.workflow-panel h3 {
  margin-bottom: 0.4rem;
}

.cta-panel {
  margin-top: 1.5rem;
  background:
    linear-gradient(100deg, rgba(20, 99, 255, 0.16), rgba(77, 139, 255, 0.09)),
    url("assets/card-gradient.svg") center/cover no-repeat,
    var(--surface-2);
}

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.location-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.map-placeholder {
  min-height: 270px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(77, 139, 255, 0.16), rgba(20, 99, 255, 0.18)),
    url("assets/map-placeholder.svg") center/cover no-repeat,
    var(--surface);
}

.map-embed {
  padding: 0.4rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 270px;
  border: 0;
  border-radius: calc(var(--radius) - 6px);
}

.pricing-card {
  border: 1px solid rgba(20, 99, 255, 0.72);
  background:
    linear-gradient(160deg, rgba(20, 99, 255, 0.17), rgba(77, 139, 255, 0.06)),
    var(--surface);
}

.group-reduced {
  grid-column: 1 / -1;
  border-color: rgba(77, 139, 255, 0.45);
  background:
    linear-gradient(160deg, rgba(77, 139, 255, 0.13), rgba(77, 139, 255, 0.02)),
    var(--surface);
}

.faculty-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.faculty-photo {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(20, 99, 255, 0.18), rgba(77, 139, 255, 0.14)),
    url("assets/faculty-placeholder.svg") center/cover no-repeat,
    #101624;
  min-height: 340px;
}

.faculty-content p + p {
  margin-top: 0.65rem;
}

.faculty-credentials {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d8e1f3;
  display: grid;
  gap: 0.5rem;
}

.counter-placeholder {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #91a2be;
  opacity: 0.8;
}

.price-note {
  font-size: 1.03rem;
  color: var(--text);
  font-weight: 700;
}

.certification {
  max-width: 760px;
}

.certification-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: center;
}

.certificate-placeholder {
  min-height: 220px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(140deg, rgba(20, 99, 255, 0.19), rgba(77, 139, 255, 0.12)),
    url("assets/certificate-placeholder.svg") center/cover no-repeat,
    #101624;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.certificate-placeholder span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #eef2fc;
}

.faq-list {
  display: grid;
  gap: 0.78rem;
}

.fit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-list {
  display: grid;
  gap: 0.5rem;
}

.fit-commitment {
  margin-top: 1rem;
  border: 1px solid rgba(20, 99, 255, 0.38);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: rgba(18, 26, 40, 0.58);
  color: #eef4ff;
  font-weight: 600;
}

.fit-commitment span {
  font-size: 1.04rem;
  margin-right: 0.5rem;
}

details > summary {
  cursor: pointer;
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  font-weight: 700;
}

details > p {
  margin-top: 0.7rem;
}

.interest-form {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(14, 20, 32, 0.85);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-intro {
  margin-bottom: 1.1rem;
  color: #d1d9e8;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.field-label {
  color: #f7f8fb;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.field-help {
  color: #90a0bb;
  font-size: 0.77rem;
  line-height: 1.4;
}

.field-error {
  min-height: 1.1rem;
  color: var(--danger);
  font-size: 0.78rem;
  line-height: 1.35;
}

fieldset.form-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 0.95rem;
}

legend {
  padding: 0 0.3rem;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.inline-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.91rem;
  color: #d7deec;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #0c121d;
  color: var(--text);
  padding: 0.76rem 0.82rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8899b5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(77, 139, 255, 0.14);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
#turnoField.has-error,
#consentimientoField.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 145, 145, 0.12);
}

.form-field.has-error .field-label,
#turnoField.has-error legend {
  color: #ffd7d7;
}

.full-width {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 14, 23, 0.66);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.consent input {
  width: auto;
}

/* ——— Form wizard ——— */
.form-wizard-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.form-wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.15s ease;
}

.form-wizard-dot.is-active {
  background: var(--accent-2);
}

.form-wizard-dot[aria-current="step"] {
  box-shadow: 0 0 0 3px rgba(77, 139, 255, 0.35);
}

.form-wizard-steps {
  position: relative;
  min-height: 12rem;
}

.form-wizard-step {
  display: none;
}

.form-wizard-step.is-active {
  display: block;
  animation: form-wizard-fade-in 0.15s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-wizard-step.is-active {
    animation: none;
  }
}

@keyframes form-wizard-fade-in {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.form-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.form-wizard-actions .form-message {
  flex: 1;
  min-width: 100%;
  margin-top: 0.25rem;
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-message {
  min-height: 1.3rem;
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-message.error {
  color: var(--danger);
}

.final-cta {
  margin-top: 1.2rem;
}

.anchor-alias {
  display: block;
  position: relative;
  height: 0;
  top: -96px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 18px);
  width: min(960px, calc(100vw - 1.4rem));
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.68rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 99, 255, 0.48);
  background:
    linear-gradient(130deg, rgba(20, 99, 255, 0.16), rgba(77, 139, 255, 0.12)),
    rgba(8, 12, 20, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta p {
  margin: 0;
  font-size: 0.84rem;
  color: #edf3ff;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.sticky-cta-visible {
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.exit-modal[hidden] {
  display: none;
}

.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.74);
  backdrop-filter: blur(3px);
}

.exit-modal-dialog {
  position: relative;
  width: min(520px, 94vw);
  border-radius: 18px;
  border: 1px solid rgba(20, 99, 255, 0.45);
  background:
    linear-gradient(145deg, rgba(20, 99, 255, 0.14), rgba(77, 139, 255, 0.08)),
    var(--surface);
  padding: 1.3rem 1.2rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 20, 0.8);
  color: var(--text);
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #06080d;
  padding: 2.3rem 0;
}

.footer-layout {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.reveal.reveal-ready,
[data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}

.reveal.reveal-ready.is-visible,
[data-reveal].reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal.reveal-ready,
  [data-reveal].reveal-ready {
    opacity: 1;
    transform: none;
  }

  .scroll-progress-bar {
    transition: none;
  }

  .hero::after {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .workflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .certification-layout {
    grid-template-columns: 1fr;
  }

  .faculty-layout,
  .results-detail-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
    min-height: 70px;
  }

  .nav-hamburger { display: flex; }

  .nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
  }

  .nav-links.is-open {
    max-height: 360px;
    padding: 0.5rem 0 0.75rem;
  }

  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.55rem 1rem; font-size: 1rem; }
  .nav-links a.js-cta-access {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--violet));
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
  }

  .section {
    padding: 4.1rem 0;
  }

  .card-grid,
  .two-cols,
  .location-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .results-detail-panel.is-open {
    max-height: 620px;
  }

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

  .sticky-cta {
    width: calc(100vw - 1rem);
    padding: 0.58rem;
    gap: 0.55rem;
  }

  .sticky-cta p {
    font-size: 0.77rem;
  }

  .hero-highlights {
    gap: 0.45rem;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .cta-row,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── STUDIOS LOGOS TICKER ─────────────────────────────────── */

.studios-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.studios-section .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logos-ticker-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.logos-ticker {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.logos-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  min-width: 160px;
  height: 58px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.logo-item:hover {
  border-color: rgba(20, 99, 255, 0.35);
  background: rgba(20, 99, 255, 0.06);
}

.logo-item span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.logo-item:hover span {
  color: rgba(20, 99, 255, 0.85);
}

/* ── WHATSAPP POST-FORM BUTTON ─────────────────────────────── */

.whatsapp-cta {
  display: none;
  margin-top: 1.2rem;
  padding: 1.4rem;
  background: rgba(37, 211, 102, 0.07);
  border: 1px solid rgba(37, 211, 102, 0.22);
  border-radius: 12px;
  text-align: center;
}

.whatsapp-cta.is-visible {
  display: block;
  animation: fadeInUp 0.45s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.whatsapp-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.02em;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TURNO CARDS ───────────────────────────────────────────── */

.turno-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.turno-fieldset legend.field-label {
  margin-bottom: 0.7rem;
  float: left;
  width: 100%;
}

.turno-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.turno-card {
  cursor: pointer;
  display: block;
}

/* hide native radio */
.turno-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.turno-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.1rem 0.8rem;
  border: 1px solid var(--line-strong, rgba(255,255,255,0.1));
  border-radius: 12px;
  background: #0c121d;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.turno-card:hover .turno-card-inner {
  border-color: rgba(20, 99, 255, 0.4);
  background: rgba(20, 99, 255, 0.05);
  transform: translateY(-1px);
}

/* selected state */
.turno-card input[type="radio"]:checked + .turno-card-inner {
  border-color: var(--accent);
  background: rgba(20, 99, 255, 0.10);
  box-shadow: 0 0 0 3px rgba(20, 99, 255, 0.18), inset 0 0 20px rgba(20, 99, 255, 0.04);
}

/* focus-visible accessibility ring */
.turno-card input[type="radio"]:focus-visible + .turno-card-inner {
  outline: 2px solid var(--accent-2, #77d3cf);
  outline-offset: 2px;
}

.turno-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.turno-time {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text, #edeaf0);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.turno-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #8a8fa3);
  transition: color 0.2s ease;
}

.turno-card input[type="radio"]:checked + .turno-card-inner .turno-label {
  color: var(--accent);
}

/* error state */
#turnoField.has-error .turno-card-inner {
  border-color: var(--danger, #dc4a4a);
}

@media (max-width: 480px) {
  .turno-cards {
    grid-template-columns: 1fr;
  }
}

/* ── SECTION HEADING GRADIENT TEXT ────────────────────────── */

.section-heading h2:not([data-word-reveal]) {
  background: linear-gradient(135deg, #ffffff 40%, #4d8bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CINEMATIC GRAIN + SCANLINES OVERLAY ───────────────────── */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.025) 2px,
    rgba(0, 0, 0, 0.025) 4px
  );
  opacity: 0.5;
}

html::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.5s steps(2) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1%, 1%); }
  50%  { transform: translate(1%, -1%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(1%, 1%); }
}

/* ── HERO REDESIGN ─────────────────────────────────────────── */

.hero {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  min-height: calc(100vh - 78px);
  box-shadow: none;
}

.hero::before {
  opacity: 0.04;
}

.hero::after {
  background:
    radial-gradient(circle at 20% 40%, rgba(20, 99, 255, 0.18), transparent 40%),
    radial-gradient(circle at 75% 30%, rgba(77, 139, 255, 0.10), transparent 35%);
  animation: gradient-drift 12s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
  0%   { transform: translate3d(-3%, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.04); }
  100% { transform: translate3d(0, 2%, 0) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  max-width: 660px;
}

.hero-eyebrow {
  color: var(--accent-2);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 1.2rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1.8rem;
  overflow: hidden;
  max-width: none;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.hero-line {
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transform: translateY(20px);
  opacity: 0;
  will-change: clip-path, transform;
  line-height: 0.95;
}

.hero-line--accent {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero.hero-revealed .hero-line {
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
  opacity: 1;
  transition:
    clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity    0.4s ease;
}

.hero.hero-revealed [data-reveal-line="1"] { transition-delay: 0.05s; }
.hero.hero-revealed [data-reveal-line="2"] { transition-delay: 0.18s; }
.hero.hero-revealed [data-reveal-line="3"] { transition-delay: 0.32s; }

/* ── HERO FULL-BLEED VIDEO BACKGROUND ─────────────────────── */

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.hero-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: luminosity;
  filter: saturate(0.45) brightness(0.7);
  z-index: 1;
}

/* Canvas node graph above the video */
.hero-bg-wrap .hero-node-canvas {
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg,
      rgba(4, 5, 13, 0.96) 0%,
      rgba(4, 5, 13, 0.78) 38%,
      rgba(4, 5, 13, 0.40) 65%,
      rgba(4, 5, 13, 0.10) 100%
    ),
    linear-gradient(180deg, transparent 55%, rgba(4, 5, 13, 0.88) 100%);
  pointer-events: none;
}


.hero-stack,
.hero-kicker,
.hero-metrics {
  display: none;
}

/* ── CURSOR SPOTLIGHT ──────────────────────────────────────── */

.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 99, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  will-change: transform;
}

/* ── NAV MORPHING INDICATOR ────────────────────────────────── */

.nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

/* ── DOT NAVIGATION SIDEBAR ────────────────────────────────── */

.nav-dot-indicator {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.nav-dot.is-active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 8px var(--accent-glow);
}

@media (max-width: 1080px) {
  .nav-dot-indicator {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(4, 5, 13, 0.55) 0%, rgba(4, 5, 13, 0.90) 100%),
      linear-gradient(90deg, rgba(4, 5, 13, 0.85) 0%, rgba(4, 5, 13, 0.25) 100%);
  }
}

/* ── PREFERS-REDUCED-MOTION ADDITIONS ──────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-line {
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .cursor-spotlight {
    display: none;
  }

  html::after {
    animation: none;
  }

  .hero::after {
    animation: none;
  }
}

/* ── STAGGERED GRID REVEAL ─────────────────────────────────── */

.card-grid .card,
.four-cols .card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.card-grid.is-stagger-visible .card,
.four-cols.is-stagger-visible .card {
  opacity: 1;
  transform: translateY(0);
}
.card-grid .card:nth-child(1), .four-cols .card:nth-child(1) { transition-delay: 0s; }
.card-grid .card:nth-child(2), .four-cols .card:nth-child(2) { transition-delay: 0.07s; }
.card-grid .card:nth-child(3), .four-cols .card:nth-child(3) { transition-delay: 0.14s; }
.card-grid .card:nth-child(4), .four-cols .card:nth-child(4) { transition-delay: 0.21s; }
.card-grid .card:nth-child(5), .four-cols .card:nth-child(5) { transition-delay: 0.28s; }
.card-grid .card:nth-child(6), .four-cols .card:nth-child(6) { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .card-grid .card, .four-cols .card { opacity: 1; transform: none; transition: none; }
}

/* ── DIRECTIONAL REVEALS ───────────────────────────────────── */

[data-reveal-from="left"].reveal-ready  { transform: translateX(-20px); }
[data-reveal-from="right"].reveal-ready { transform: translateX(20px); }
[data-reveal-from="left"].reveal-ready.is-visible,
[data-reveal-from="right"].reveal-ready.is-visible { transform: translateX(0); }

/* ── URGENCY BAR ───────────────────────────────────────────── */

.urgency-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
  padding: 0.55rem 0.9rem;
  background: rgba(20, 99, 255, 0.1);
  border: 1px solid rgba(20, 99, 255, 0.3);
  border-radius: 999px;
  width: fit-content;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.urgency-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(20, 99, 255, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(20, 99, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 99, 255, 0); }
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
  line-height: 1.65;
  position: relative;
  padding-top: 1.2rem;
  margin: 0;
}

.testimonial-text::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: -0.3rem;
  font-size: 3.5rem;
  font-family: var(--font-display);
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.9rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0d51d4);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.72rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── SOCIAL PROOF STATS ────────────────────────────────────── */

.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: rgba(20, 99, 255, 0.06);
  border: 1px solid rgba(20, 99, 255, 0.15);
  border-radius: var(--radius);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .social-proof-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── COUNTDOWN BANNER ──────────────────────────────────────── */

.countdown-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(90deg, rgba(20, 99, 255, 0.15), rgba(77, 139, 255, 0.08));
  border: 1px solid rgba(20, 99, 255, 0.3);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.countdown-unit { text-align: center; }

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  min-width: 2.5ch;
}

.countdown-unit-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.countdown-sep {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.4rem;
  align-self: flex-start;
  padding-top: 0.1rem;
}

/* ── PHOTO GALLERY ─────────────────────────────────────────── */

.photo-gallery { position: relative; margin-top: 1.5rem; }

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 380px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }

.gallery-slide {
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  position: relative;
}

.gallery-slide:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(20, 99, 255, 0.3);
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.3s ease;
}

.gallery-slide:hover img { filter: brightness(1) saturate(1.1); }

.gallery-slide figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.7rem 1rem;
  background: linear-gradient(transparent, rgba(4, 5, 13, 0.9));
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-slide:hover figcaption { transform: translateY(0); }
@media (hover: none) {
  .gallery-slide figcaption { transform: translateY(0); }
}

.gallery-slide::after {
  content: '\229E';
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px;
  background: rgba(20, 99, 255, 0.7);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-slide:hover::after { opacity: 1; }

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-dots { display: flex; gap: 0.4rem; align-items: center; }

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, width 0.3s ease;
  padding: 0;
}

.gallery-dot.is-active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* ── LIGHTBOX ──────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 9, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: lightbox-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(20, 99, 255, 0.5); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 99, 255, 0.3);
  border: 1px solid rgba(20, 99, 255, 0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }

.lightbox-nav:hover {
  background: rgba(20, 99, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 760px) {
  .lightbox-prev { left: -2.5rem; }
  .lightbox-next { right: -2.5rem; }
}
/* ================================================================
   THEME SWITCH
   ================================================================ */

.theme-light {
  --bg:        #f0f2f8;
  --bg-soft:   #e8ebf5;
  --surface:   #ffffff;
  --surface-2: #f4f6fc;
  --text:      #0a0d1a;
  --muted:     #5a6480;
  --line:          #d0d8ee;
  --line-strong:   #b8c4df;
  --accent:        #1055e0;
  --accent-2:      #0d44b8;
  --accent-glow:   rgba(16,85,224,0.2);
  --accent-glow-soft: rgba(16,85,224,0.07);
}
.theme-light .site-header {
  background: rgba(240,242,248,0.92);
  border-bottom: 1px solid var(--line);
}
.theme-light .hero { background: none; }
.theme-light .hero-bg-video {
  filter: saturate(0.4) brightness(0.8) !important;
  mix-blend-mode: multiply !important;
}
.theme-light .hero-grain { opacity: 0.01; }
.theme-light .card { background: rgba(255,255,255,0.9); }
.theme-light .partner-pill-logo--invert { filter: none; }

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); transform: scale(1.1); }
.icon-sun { display: none; }
.theme-light .icon-moon { display: none; }
.theme-light .icon-sun { display: block; }

/* ================================================================
   ACCESSIBILITY WIDGET
   ================================================================ */

.a11y-high-contrast {
  --bg: #000000 !important;
  --bg-soft: #0a0a0a !important;
  --surface: #111111 !important;
  --surface-2: #1a1a1a !important;
  --text: #ffffff !important;
  --muted: #cccccc !important;
  --line: #444444 !important;
  --line-strong: #666666 !important;
  --accent: #ffff00 !important;
  --accent-2: #ffff55 !important;
  --accent-glow: rgba(255,255,0,0.3) !important;
}
.a11y-large-text { font-size: 112%; }
.a11y-deuteranopia {
  --accent: #f5a623;
  --accent-2: #f7c36a;
  --accent-glow: rgba(245,166,35,0.3);
  --accent-glow-soft: rgba(245,166,35,0.12);
  --danger: #0077ff;
  --success: #ff8c00;
}
.a11y-protanopia {
  --accent: #1e90ff;
  --accent-2: #74b9ff;
  --accent-glow: rgba(30,144,255,0.3);
  --accent-glow-soft: rgba(30,144,255,0.12);
  --danger: #ffa500;
  --success: #ffd700;
}
.a11y-reduce-motion *,
.a11y-reduce-motion *::before,
.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
}

.a11y-widget {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1500;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.5rem;
}
.a11y-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a11y-trigger:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.a11y-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 1rem;
  min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.65rem;
}
.a11y-options {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.a11y-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  font-family: var(--font-body);
}
.a11y-option:hover {
  background: rgba(20,99,255,0.1);
  border-color: rgba(20,99,255,0.3);
}
.a11y-option.is-active {
  background: rgba(20,99,255,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.a11y-option--reset {
  color: var(--muted);
  font-size: 0.76rem;
}

/* ================================================================
   PARTNERS / AVALES SECTION
   ================================================================ */

.partners-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 0.5rem;
}
.partner-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.partner-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.partner-pill-logo {
  height: 30px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.88;
}
.partner-pill-logo--invert {
  filter: invert(1) brightness(1.1);
}
.theme-light .partner-pill-logo--invert { filter: none; }
.partner-pill-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.partner-pill-info strong {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.partner-pill-info span {
  font-size: 0.68rem;
  color: var(--muted);
}

.partners-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .partners-detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .partners-detail-grid { grid-template-columns: 1fr; }
  .partners-pills-row { gap: 0.6rem; }
  .partner-pill { border-radius: 14px; }
}
.partner-detail-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem;
}
.partner-detail-badge {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.partner-badge-img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.partner-detail-badge--text {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), #0d51d4);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 0.05em;
}
.partner-detail-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.partner-detail-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   TOOL CARDS WITH LOGOS
   ================================================================ */

.tool-card {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.tool-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(20,99,255,0.08);
  border: 1px solid rgba(20,99,255,0.18);
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tool-card:hover .tool-logo-wrap {
  background: rgba(20,99,255,0.16);
  border-color: rgba(20,99,255,0.5);
  box-shadow: 0 8px 24px rgba(20,99,255,0.2);
}
.tool-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
/* Inline SVG overrides for WAAPI animations */
.tool-logo-wrap svg.tool-logo {
  overflow: visible;
  transform-origin: center;
}
.tool-logo-wrap svg .tl-dot,
.tool-logo-wrap svg .tl-ring,
.tool-logo-wrap svg .tl-outer,
.tool-logo-wrap svg .tl-inner,
.tool-logo-wrap svg .tl-letter,
.tool-logo-wrap svg circle,
.tool-logo-wrap svg path {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
.tool-logo-wrap svg .tl-lines {
  will-change: transform, opacity;
}

/* ================================================================
   MODULE TIMELINE ICON ANIMATIONS
   ================================================================ */

.module-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  color: var(--accent);
  overflow: visible;
}
.module-icon circle,
.module-icon path,
.module-icon line,
.module-icon polyline {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, stroke-dashoffset;
}
@keyframes mi-draw-stroke {
  to { stroke-dashoffset: 0; }
}
@keyframes mi-fade-in {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes mi-spoke-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.timeline-item.is-animated .mi-ring {
  animation: mi-draw-stroke 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.timeline-item.is-animated .mi-core {
  animation: mi-fade-in 0.4s ease-out 0.45s forwards;
}
.timeline-item.is-animated .mi-s1 { animation: mi-spoke-appear 0.2s ease forwards 0.55s; }
.timeline-item.is-animated .mi-s2 { animation: mi-spoke-appear 0.2s ease forwards 0.62s; }
.timeline-item.is-animated .mi-s3 { animation: mi-spoke-appear 0.2s ease forwards 0.69s; }
.timeline-item.is-animated .mi-s4 { animation: mi-spoke-appear 0.2s ease forwards 0.76s; }
.timeline-item.is-animated .mi-path {
  animation: mi-draw-stroke 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.timeline-item.is-animated .mi-path2 {
  animation: mi-draw-stroke 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.timeline-item.is-animated .mi-path3 {
  animation: mi-draw-stroke 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .module-icon .mi-ring,
  .module-icon .mi-core,
  .module-icon .mi-path,
  .module-icon .mi-path2,
  .module-icon .mi-path3,
  .module-icon [class^="mi-s"] {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================
   HERO CANVAS NODE GRAPH
   ================================================================ */

.hero-node-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
  border-radius: inherit;
}
.hero-node-canvas.is-ready {
  opacity: 0.35;
}
.hero-node-canvas.is-interactive {
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero-node-canvas { display: none; }
}

/* ================================================================
   CAROUSEL PREMIUM UI
   ================================================================ */

.carousel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.carousel-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 120px;
}
.carousel-progress-track {
  flex: 1;
  height: 3px;
  background: var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.carousel-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 25%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-counter {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.carousel-btn {
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ================================================================
   MOBILE FAB BAR
   ================================================================ */

.fab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(6,8,16,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  z-index: 900;
  gap: 0.75rem;
}
@media (max-width: 760px) {
  .fab-bar { display: flex; }
  .fab-bar .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
    justify-content: center;
  }
  main { padding-bottom: 80px; }
}
.theme-light .fab-bar { background: rgba(240,242,248,0.97); }

/* ================================================================
   UI/UX — EYEBROW ACCENT LINE
   ================================================================ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}
.hero-eyebrow::before { display: none; }

/* ================================================================
   PREMIUM UPGRADE — GOLD + VIOLET SYSTEM
   ================================================================ */

/* --- Buttons: gold→violet gradient --- */
.btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--violet) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 20px var(--violet-glow);
}
.btn:hover, .btn:focus-visible {
  background: linear-gradient(135deg, #e8c84a 0%, #9b59f5 100%);
  box-shadow: 0 4px 40px var(--violet-glow), 0 0 16px var(--gold-glow);
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-ghost, .btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover, .btn-ghost:focus-visible,
.btn-outline:hover, .btn-outline:focus-visible {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
  transform: none;
}
.btn-small {
  background: linear-gradient(135deg, var(--gold), var(--violet));
  box-shadow: 0 0 14px var(--violet-glow);
  color: #ffffff;
}

/* --- Cards: gold border-top + hover gold glow --- */
.card {
  border-top: 2px solid var(--gold);
}
.card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.12), 0 0 24px var(--gold-glow);
}

/* --- Section heading h2: gold underline --- */
.section-heading h2:not([data-word-reveal])::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 0.6rem;
  border-radius: 1px;
}

/* --- Hero MASTER line: gold --- */
.hero-line--accent {
  color: var(--gold) !important;
}

/* --- Hero tagline: gold italic --- */
.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: -0.5rem 0 0.75rem;
  opacity: 0.92;
}

/* --- Urgency bar: violet bg, gold border --- */
.urgency-bar {
  background: var(--violet-soft);
  border-color: rgba(124,58,237,0.4);
}
.urgency-pulse {
  background: var(--gold);
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* --- Social proof stats: gold numbers --- */
.stat-number { color: var(--gold); }

/* --- Eyebrow line: gold --- */
.eyebrow::before { background: var(--gold); }

/* --- Carousel progress fill: gold --- */
.carousel-progress-fill { background: var(--gold); }

/* --- Gallery dots active: gold --- */
.gallery-dot.is-active {
  background: var(--gold);
}

/* --- Testimonial quote: gold --- */
.testimonial-text::before { color: var(--gold); }

/* --- Countdown value: gold --- */
.countdown-value { color: var(--gold); }
.countdown-sep { color: var(--gold); }

/* --- Partner pills hover: gold --- */
.partner-pill:hover { border-color: var(--gold); box-shadow: 0 8px 24px var(--gold-glow); }

/* --- Theme light adjustments for gold --- */
.theme-light .hero-line--accent { color: #b8930f !important; }
.theme-light .hero-tagline { color: #b8930f; }
.theme-light .stat-number { color: #b8930f; }

/* ================================================================
   DIFFERENTIATORS SECTION — #por-que-max
   ================================================================ */

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .three-cols { grid-template-columns: 1fr; }
}

.diff-card {
  position: relative;
  border-top: 2px solid var(--gold);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.diff-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 12px 40px var(--gold-glow), 0 0 0 1px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}
.diff-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(212,175,55,0.3);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.diff-badge--epic {
  background: rgba(20,99,255,0.06);
  border-color: rgba(20,99,255,0.2);
}
.diff-badge-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.diff-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  user-select: none;
}
.diff-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.diff-card > p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.diff-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  background: var(--gold-soft);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: auto;
  width: fit-content;
}

/* ================================================================
   FOOTER PREMIUM — 3 COLUMNS
   ================================================================ */

.footer-layout-new {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 1.5rem;
  align-items: start;
}
@media (max-width: 760px) {
  .footer-layout-new {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-social { justify-content: center; }
  .footer-cert { display: flex; justify-content: center; }
  .footer-links-list { align-items: center; }
}
.footer-brand > p:first-child { /* logo */
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--text);
}
.footer-brand > p:nth-child(2) {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.footer-cert { margin-top: 1.25rem; }
.footer-cert-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-cert-img:hover { opacity: 1; }
.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--gold); }
.footer-contact-email {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  display: block;
}
.footer-contact-email:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: var(--muted);
  margin: 0;
}

/* ================================================================
   LOGO ACADEMIA — NAV + FOOTER
   ================================================================ */

.logo-img-wrap {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 6px;
}
.footer-logo-link { display: inline-block; }
.footer-logo-img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 0.85; }

/* ================================================================
   COHORT HERO BAR — post-hero strip
   ================================================================ */

.cohort-hero-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.9rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  margin-bottom: 0;
  margin-top: -1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  border-top: 2px solid var(--gold);
}
.cohort-hero-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}
.cohort-hero-item svg { opacity: 0.6; flex-shrink: 0; }
.cohort-hero-label {
  font-size: 0.78rem;
  color: var(--muted);
}
.cohort-hero-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}
.cohort-hero-value--alert { color: var(--gold); }
.cohort-hero-sep {
  color: var(--line-strong);
  font-size: 1.2rem;
  line-height: 1;
  user-select: none;
}
.cohort-hero-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 16px var(--violet-glow);
}
.cohort-hero-cta:hover { opacity: 0.88; transform: translateY(-1px); }
@media (max-width: 760px) {
  .cohort-hero-bar { gap: 0.4rem 1rem; padding: 0.75rem 1rem; }
  .cohort-hero-sep--hide { display: none; }
  .cohort-hero-cta { margin-left: 0; width: 100%; justify-content: center; margin-top: 0.25rem; }
}

/* ================================================================
   COHORT INFO BANNER
   ================================================================ */

.cohort-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.cohort-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 2rem;
  text-align: center;
}
.cohort-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--line-strong);
  flex-shrink: 0;
}
.cohort-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cohort-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.cohort-value--alert {
  color: var(--gold);
}
@media (max-width: 760px) {
  .cohort-banner { flex-direction: column; padding: 1.25rem 1rem; }
  .cohort-divider { width: 40px; height: 1px; }
  .cohort-item { padding: 0.4rem 1rem; }
}

/* ================================================================
   FORM SUBMIT SPINNER
   ================================================================ */

.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.8;
  gap: 0.55rem;
}
.btn[aria-busy="true"]::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Form success / error message enhanced */
.form-message {
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}
.form-message:not(.is-error) {
  background: rgba(77,255,195,0.1);
  border: 1px solid rgba(77,255,195,0.3);
  color: #4dffc3;
}
.form-message.is-error {
  background: rgba(255,95,95,0.1);
  border: 1px solid rgba(255,95,95,0.3);
  color: var(--danger);
}
