/* ==========================================================================
   MasterYou — Stylesheet
   Design system: navy/green/blue B2B sales-training brand
   Font: Montserrat (Google Fonts)
   Author: build for MasterYou website
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-green: #25c998;
  --color-green-dark: #1cab81;
  --color-blue: #2391ff;
  --color-blue-dark: #1476e0;
  --color-navy: #1a1d53;
  --color-navy-light: #262a6e;

  /* Neutrals */
  --color-ink: #131538;
  --color-text: #3d4160;
  --color-text-muted: #1a1d53;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f7fb;
  --color-bg-soft-2: #f1f2f8;
  --color-border: #e4e5f1;
  --color-white: #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
  --grad-navy: linear-gradient(160deg, #1a1d53 0%, #10122f 100%);

  /* Typography */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-h1: clamp(1.95rem, 3.6vw + 0.9rem, 3.1rem);
  --fs-h2: clamp(1.7rem, 2.4vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.15rem, 1vw + 0.9rem, 1.4rem);
  --fs-lead: clamp(1.05rem, 0.6vw + 0.9rem, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Layout */
  --container-w: 1320px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(19, 21, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(19, 21, 56, 0.1);
  --shadow-lg: 0 24px 60px rgba(19, 21, 56, 0.16);
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

svg {
  display: block;
}

/* Visible focus ring for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition-fast);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: clamp(40px, 5vw, 72px) 0;
}

.section--tight {
  padding: clamp(32px, 4vw, 56px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-head p {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  margin-top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), color var(--transition-fast);
  border: 2px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(35, 145, 255, 0.28);
}

.btn--primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(35, 145, 255, 0.36);
}

.btn--accent {
  background: var(--color-green);
  color: var(--color-navy);
  box-shadow: 0 10px 24px rgba(37, 201, 152, 0.3);
}

.btn--accent:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 201, 152, 0.38);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

.btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 17px 34px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-top: 14px;
}

.site-header__inner {
  width: min(100% - 32px, 1300px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.site-header.is-scrolled .site-header__inner {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-green);
  flex-shrink: 0;
}

.brand__icon {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}

.brand__text {
  color: var(--color-green);
}

.brand__text span {
  color: var(--color-green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-text);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--color-navy);
  background: var(--color-bg-soft);
}

.nav__link.is-active {
  color: var(--color-green-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-soft);
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--color-ink);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Mobile nav panel is hidden by default; only shown below the 960px
   breakpoint (see responsive section) once JS adds the is-open class */
.site-nav-panel {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 90px;
  background: var(--color-white);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 7px 16px 7px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 22px;
}

.hero__eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-block;
}

.hero h1 {
  font-size: var(--fs-h1);
  color: var(--color-green);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-navy);
}

.hero__body {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-navy);
  max-width: 48ch;
  margin-bottom: 34px;
}

.hero__body strong {
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Photo panel: contained card with a pull-quote caption anchored to
   the bottom via a solid dark bar for guaranteed readability. */
.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.6;
  background: var(--grad-navy);
  display: flex;
  align-items: flex-end;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__pullquote {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  padding: 18px 24px 20px;
  margin: 0;
  background: rgba(16, 18, 47, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__pullquote .accent {
  color: var(--color-green);
}

.hero__ring {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  opacity: 0.5;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   7. Clients strip
   -------------------------------------------------------------------------- */
.clients {
  background: var(--color-bg-soft);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.clients__label {
  text-align: center;
  font-weight: 700;
  color: var(--color-green-dark);
  font-size: clamp(1.35rem, 1rem + 1.8vw, 2rem);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.clients__logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients__logos img {
  max-width: 960px;
  width: 100%;
  filter: grayscale(1) opacity(0.75);
  transition: filter var(--transition-fast);
}

.clients:hover .clients__logos img {
  filter: grayscale(0) opacity(1);
}

.clients__credencial {
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
  font-style: normal;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Provocative questions section
   -------------------------------------------------------------------------- */
.provoke__heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-blue);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.provoke__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.provoke-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: linear-gradient(180deg, rgba(26, 29, 83, 0.05) 0%, rgba(26, 29, 83, 0.35) 70%), var(--card-bg);
  background-size: cover;
  background-position: top center;
  transition: transform var(--transition-med);
}

.provoke-card:hover {
  transform: translateY(-4px);
}

/* Solid light-blue bar (matching the primary button color) behind the
   question text — kept as thin as possible while staying readable, so
   more of the photo above stays visible. */
.provoke-card__bar {
  background: var(--color-blue);
  padding: 12px 18px;
}

.provoke-card p {
  color: var(--color-white);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.provoke-card p strong {
  font-weight: 800;
}

.provoke__close {
  background: var(--color-navy);
  border: none;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 1.11rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  text-align: center;
}

.provoke__close strong {
  font-weight: 800;
}

/* Mobile: simple stacked list, no background photos (per spec) */
@media (max-width: 760px) {
  .provoke__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .provoke-card {
    min-height: 0;
    background-image: none !important;
    background: var(--color-bg-soft);
  }

  .provoke-card__bar {
    background: transparent;
    backdrop-filter: none;
    padding: 16px 18px;
  }

  .provoke-card p {
    color: var(--color-navy);
  }
}

/* --------------------------------------------------------------------------
   9. Services section
   -------------------------------------------------------------------------- */
.services__title {
  font-size: 2.2rem;
  color: var(--color-blue);
}

.services__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  width: 72px;
  height: 72px;
}

.service-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card p strong {
  color: var(--color-ink);
  font-weight: 800;
}

.service-card__temas-label {
  display: block;
  text-align: center;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 18px 0 8px;
}

.service-card__temas {
  font-size: 0.88rem;
  text-align: justify;
}

.services__cta {
  text-align: center;
}

.services__cta-text {
  color: var(--color-green);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 22px;
}

.services__cta-text .accent-navy {
  color: var(--color-navy);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   9b. Método (stepper)
   -------------------------------------------------------------------------- */
.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: stretch;
  width: 100%;
}

.method__col-text {
  display: flex;
  flex-direction: column;
  padding-left: max(24px, calc((100vw - var(--container-w)) / 2));
  padding-right: 24px;
}

.method__title {
  font-size: 2.2rem;
  text-align: center;
  color: var(--color-blue);
  margin-bottom: 22px;
}

.method__media {
  position: relative;
  /* Only the left corners are rounded — the top/bottom-right corners
     sit flush against the true edge of the browser window, matching
     the hero photo treatment. */
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
}

.method__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method__headline {
  font-size: clamp(1.4rem, 1.6vw + 0.9rem, 1.9rem);
  margin-bottom: 48px;
}

.stepper {
  position: relative;
  padding-left: 56px;
}

.stepper::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--color-border);
}

.step-item {
  position: relative;
  padding-bottom: 40px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item__circle {
  position: absolute;
  left: -56px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

.method__pull {
  margin: 8px 0 40px;
  padding: 22px 26px;
  background: var(--color-navy);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
}
/* --------------------------------------------------------------------------
   11. Founder story section
   -------------------------------------------------------------------------- */
.founder {
  background: var(--color-white);
}

.founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.founder__media {
  display: flex;
  flex-direction: column;
}

.founder__media img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}

.founder__quote-mark {
  width: 48px;
  height: 36px;
  color: var(--color-blue);
  margin-bottom: 18px;
}

.founder__text p {
  margin-bottom: 20px;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.founder__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.founder__stats .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}

.founder__stats .stat-label {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.82rem;
}

/* Name + LinkedIn link sit directly below the photo, in the media
   column — no border needed here since it isn't separating from
   preceding text (that's the .founder__stats separator's job now). */
.founder__signature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.founder__name {
  display: block;
  font-weight: 800;
  color: var(--color-ink);
  font-size: 1.1rem;
}

.founder__linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--color-blue);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.founder__linkedin-icon:hover {
  color: var(--color-blue-dark);
}

.founder__linkedin-icon svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   12. Resultados (case studies)
   -------------------------------------------------------------------------- */
.cases .section-head {
  max-width: none;
  margin-bottom: 28px;
}

.cases__title {
  font-size: 2.2rem;
  color: var(--color-blue);
}

.case-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  margin-bottom: 24px;
}

.case-card:last-child {
  margin-bottom: 0;
}

.case-card__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.case-card__tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}

.case-card h3 {
  font-size: 1.4rem;
  margin: 8px 0 18px;
}

.case-card p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.case-card p:last-of-type {
  margin-bottom: 0;
}

.case-card__text .case-card__result {
  color: var(--color-green-dark);
  font-weight: 800;
}

.case-card__quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.case-card__quotes--split {
  grid-template-columns: 1fr 1fr;
}

.case-card__quotes--stacked {
  grid-template-columns: 1fr;
}

.case-quote {
  background: var(--color-white);
  border-left: 3px solid var(--color-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
}

.case-quote p {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.case-quote p:last-of-type {
  margin-bottom: 0;
}

.case-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.case-card__video-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-navy);
}

.case-card__video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med), opacity var(--transition-fast);
  opacity: 0.92;
}

.case-card__video-preview:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.case-card__video-preview .play-badge__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast);
}

.case-card__video-preview:hover .play-badge__circle {
  transform: translate(-50%, -50%) scale(1.08);
}

@media (max-width: 900px) {
  .case-card__grid {
    grid-template-columns: 1fr;
  }

  .case-card__video-preview {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

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

/* Shared play-button badge, reused by the Resultados video links and the
   Recursos (ABM) promo card. */
.play-badge__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.play-badge__circle svg {
  width: 24px;
  height: 24px;
  color: var(--color-blue);
  margin-left: 3px;
}

.play-badge__circle--sm {
  width: 30px;
  height: 30px;
  background: var(--color-navy);
}

.play-badge__circle--sm svg {
  width: 13px;
  height: 13px;
  color: var(--color-white);
  margin-left: 1px;
}

/* --------------------------------------------------------------------------
   13. FAQ section
   -------------------------------------------------------------------------- */
.faq {
  background: var(--color-bg-soft);
}

.faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-ink);
}

.faq-item__q .icon-plus {
  width: 22px;
  height: 22px;
  color: var(--color-blue);
  flex-shrink: 0;
  transition: transform var(--transition-med);
}

.faq-item[data-open='true'] .icon-plus {
  transform: rotate(135deg);
  color: var(--color-green);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-med);
}

.faq-item[data-open='true'] .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
}

.faq-item__a-content {
  padding: 0 26px 26px;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.faq-item__a-content p {
  margin-bottom: 12px;
}

.faq-item__a-content p:last-child {
  margin-bottom: 0;
}

.faq-item__a-content strong {
  color: var(--color-ink);
}

/* --------------------------------------------------------------------------
   14. Podcast / video promo section
   -------------------------------------------------------------------------- */
.promo {
  background: var(--grad-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(35, 145, 255, 0.28), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(37, 201, 152, 0.25), transparent 45%);
  pointer-events: none;
}

.promo__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.promo__text {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green);
  margin-bottom: 14px;
}

.promo__text h2 {
  color: var(--color-white);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  margin-bottom: 22px;
}

.promo__play-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.promo__play-link .play-badge__circle {
  width: 52px;
  height: 52px;
}

.promo__media {
  position: relative;
  min-height: 280px;
}

.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.promo__media button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(16, 18, 47, 0.1), rgba(16, 18, 47, 0.55));
}

.promo__media .play-badge__circle {
  width: 72px;
  height: 72px;
  transition: transform var(--transition-fast);
}

.promo__media button:hover .play-badge__circle {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   15. CTA final + contact form
   -------------------------------------------------------------------------- */
.cta__card {
  position: relative;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 15%, rgba(35, 145, 255, 0.25), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(37, 201, 152, 0.22), transparent 45%);
  pointer-events: none;
}

.cta__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cta__text h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 18px;
}

.cta__text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  line-height: 1.7;
}

.cta__form-wrap {
  position: relative;
  z-index: 1;
}

.cta .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.cta .form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cta .form-field input,
.cta .form-field select,
.cta .form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.94rem;
}

.cta .form-field select option {
  color: var(--color-ink);
}

.cta .form-field input::placeholder,
.cta .form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta .form-field input:focus,
.cta .form-field select:focus,
.cta .form-field textarea:focus {
  border-color: var(--color-green);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.cta .form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.cta .form-field.has-error input,
.cta .form-field.has-error select,
.cta .form-field.has-error textarea {
  border-color: #ff8a8a;
}

.cta .form-field__error {
  font-size: 0.78rem;
  color: #ff8a8a;
  display: none;
}

.cta .form-field.has-error .form-field__error {
  display: block;
}

.cta .form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}

.cta .form-status.is-visible {
  display: block;
}

.cta .form-status.is-success {
  background: rgba(37, 201, 152, 0.16);
  color: var(--color-green);
  border: 1px solid rgba(37, 201, 152, 0.35);
}

.cta .form-status.is-error {
  background: rgba(255, 138, 138, 0.14);
  color: #ff8a8a;
  border: 1px solid rgba(255, 138, 138, 0.35);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-white);
  padding: 36px 0 60px;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

.footer__copy a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.footer__copy a:hover {
  color: var(--color-navy);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-navy);
  text-decoration: underline;
}

.footer__links span {
  color: var(--color-border);
}

/* --------------------------------------------------------------------------
   17. Video modal
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 30, 0.85);
  backdrop-filter: blur(6px);
}

.video-modal.is-open {
  display: flex;
}

.video-modal__inner {
  /* Positioning context for the close button. Deliberately has no
     overflow clipping so the button (offset above the box via negative
     top) stays visible and clickable — only .video-modal__box itself
     clips content, for the iframe's rounded corners. */
  position: relative;
  width: min(100%, 960px);
}

.video-modal__box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* The iframe is injected into #video-modal-content by main.js. That wrapper
   has no intrinsic height of its own, so it (and the iframe inside it) are
   pinned to fill the box absolutely rather than relying on height: 100%
   against an auto-height parent. */
#video-modal-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-modal__box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.video-modal__close svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   18. Scroll-reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid,
  .founder__grid,
  .method__grid {
    grid-template-columns: 1fr;
  }

  .method__col-text {
    padding-left: 24px;
    padding-right: 24px;
  }

  .method__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    order: -1;
    border-radius: var(--radius-lg);
    margin-inline: 24px;
    width: calc(100% - 48px);
  }

  .hero__photo {
    max-width: 480px;
    margin-inline: auto;
  }

  .founder__media {
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
  }

  .promo__card {
    grid-template-columns: 1fr;
  }

  .promo__media {
    min-height: 240px;
    order: -1;
  }

  .cta__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav,
  .header-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__inner {
    padding: 8px 8px 8px 18px;
  }

  .site-nav-panel {
    position: fixed;
    inset: 96px 16px auto 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
  }

  .site-nav-panel.is-open {
    display: flex;
  }

  .site-nav-panel .nav__link {
    padding: 14px 16px;
    width: 100%;
  }

  .site-nav-panel .btn {
    margin-top: 10px;
    width: 100%;
  }

  .services__cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: calc(var(--header-h) + 30px);
  }

  .stepper {
    padding-left: 46px;
  }

  .step-item__circle {
    left: -46px;
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .founder__stats {
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.9rem;
  }
}
