/* ==========================================================
   MediaStar Press — Design v3 (Titan-inspired)
   Dark + bright pop, modern editorial fitness vibe
   Palette: MediaStar (navy / coral / amber / star yellow / cream)
   ========================================================== */

:root {
  /* MediaStar palette — darkened, green accent */
  --bg:        #05070D;        /* near-black */
  --bg-2:      #0A0E18;
  --bg-elev:   #11161F;        /* card on dark */
  --bg-elev-2: #181E2A;        /* lifted card */
  --rule-dk:   rgba(255,255,255,0.07);
  --rule-dk-2: rgba(255,255,255,0.12);

  --paper:     #F4EFE3;        /* cream paper for light sections */
  --paper-2:   #ECE5D2;
  --rule-lt:   rgba(5,7,13,0.10);
  --rule-lt-2: rgba(5,7,13,0.18);

  --ink:       #05070D;
  --ink-soft:  #4a536b;

  --pop:       #97E302;        /* signature green */
  --pop-2:     #82C300;
  --pop-dim:   rgba(151,227,2,0.16);
  --coral:     #E63946;
  --orange:    #FF6B1A;
  --star:      #97E302;

  --txt-on-dark:        #F4EFE3;
  --txt-on-dark-mute:   rgba(244,239,227,0.55);

  /* Type */
  --sans: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1400px;
  --pad: clamp(14px, 4vw, 36px);
  --pad-inner: clamp(20px, 4vw, 40px);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--txt-on-dark);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout shell ---------- */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 6.8vw, 96px); font-weight: 800; }
h2 { font-size: clamp(38px, 5vw, 68px); font-weight: 700; }
h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; }
h4 { font-size: clamp(20px, 2vw, 28px); font-weight: 700; }
p  { text-wrap: pretty; margin: 0; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
em { font-style: normal; color: var(--pop); font-weight: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 18px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--pop {
  background: var(--pop);
  color: var(--ink);
  padding-right: 8px;
}
.btn--pop:hover { background: var(--pop-2); }
.btn--pop .btn__arrow {
  background: var(--ink);
  color: var(--pop);
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
  padding-right: 8px;
}
.btn--dark:hover { background: #1a2240; }
.btn--dark .btn__arrow {
  background: var(--paper);
  color: var(--ink);
}
.btn--ghost-dk {
  background: transparent;
  color: var(--paper);
  border-color: var(--rule-dk-2);
}
.btn--ghost-dk:hover { background: rgba(255,255,255,0.06); }

.btn--ghost-lt {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-lt-2);
}
.btn--ghost-lt:hover { background: rgba(11,15,26,0.04); }

.btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: rotate(-45deg); }

/* Round icon-only button (carousel arrows) */
.iconbtn {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--rule-lt-2);
  color: var(--ink);
  display: inline-grid; place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  font-size: 18px;
}
.iconbtn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.iconbtn--dk {
  background: rgba(255,255,255,0.06);
  border-color: var(--rule-dk-2);
  color: var(--paper);
}
.iconbtn--dk:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Pill tag (small label) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--ghost-dk { background: transparent; border: 1px solid var(--rule-dk-2); color: var(--paper); }
.pill--ghost-lt { background: transparent; border: 1px solid var(--rule-lt-2); color: var(--ink); }

/* ---------- Logo (image) ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  height: 32px;
}
.logo img { height: 100%; width: auto; display: block; }
.logo--sm { height: 26px; }
.logo--md { height: 32px; }
.logo--lg { height: 44px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,7,13,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rule-dk);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
/* Logo centrado usando flex de 3 columnas iguales */
.nav__logo-wrap {
  display: flex;
  justify-content: center;
  flex: 1;
}
.nav__side {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav__side--left { justify-content: flex-start; }
.nav__side--right { justify-content: flex-end; gap: 8px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}
.nav__link {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--txt-on-dark-mute);
  border-radius: var(--r-pill);
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--paper); background: rgba(255,255,255,0.05); }
.nav__link.is-active { color: var(--paper); background: rgba(255,255,255,0.06); }

.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__login { padding: 9px 16px; font-size: 14px; color: var(--paper); }
.nav__login:hover { opacity: 0.8; }

/* Mobile hamburger */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rule-dk-2);
  color: var(--paper);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block; width: 18px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-2.75px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__burger { display: inline-flex; }
  .nav__side--left { display: none; }
  .nav__side--right .nav__login { display: none; }
  .nav__cta-btn .btn__arrow { display: none; }
  .nav__cta-btn { padding: 9px 14px; font-size: 13px; }
  /* Quitar flex:1 del lado derecho para no desplazar el logo del centro */
  .nav__side--right { flex: 0 0 auto; }
  /* El logo-wrap conserva flex:1 y centra respecto al espacio restante */
  .nav__logo-wrap { flex: 1; }
}
@media (max-width: 560px) {
  .nav__cta-btn { display: none; }
}


/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100dvh;
  background: var(--bg-2);
  border-left: 1px solid var(--rule-dk-2);
  padding: 80px var(--pad-inner) 32px;
  z-index: 90;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 80;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-menu__overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rule-dk);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a:hover { color: var(--pop); }
.mobile-menu a small {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pop); font-weight: 600;
}
.mobile-menu__cta {
  margin-top: 24px;
  width: 100%;
  justify-content: space-between;
}

.nav__dropdown-wrap { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-dk-2);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__d-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  transition: background .2s ease;
}
.nav__d-item:hover { background: rgba(255,255,255,0.06); }
.nav__d-item small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pop);
  font-weight: 500;
}
.nav__d-item strong { font-weight: 600; font-size: 15px; color: var(--paper); }

@media (max-width: 1024px) { .nav__links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  padding: 16px 0 24px;
  position: relative;
}
.hero__panel {
  background: var(--bg-2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 580px;
}
@media (max-width: 900px) {
  .hero__panel { grid-template-columns: 1fr; min-height: 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
}

.hero__copy {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.hero__heading {
  font-size: clamp(44px, 6.4vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero__heading span { display: block; }
.hero__heading em { color: var(--pop); }
.hero__sub {
  font-size: 15px;
  color: var(--txt-on-dark-mute);
  max-width: 38ch;
  margin-top: 24px;
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.hero__visual {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,15,26,0) 0%, rgba(11,15,26,0.4) 70%, rgba(11,15,26,0.85) 100%),
    var(--bg-elev);
  overflow: hidden;
}
.hero__visual-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* Hero placeholder figure — stylized newsroom silhouette */
.hero-figure {
  width: 100%; height: 100%;
  position: relative;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(255,198,41,0.10), transparent 60%),
    radial-gradient(500px 300px at 30% 80%, rgba(230,57,70,0.15), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
}
.hero-figure__caption {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(11,15,26,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--rule-dk-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-figure__caption::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: var(--coral);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,57,70,0.55); }
  100% { box-shadow: 0 0 0 14px rgba(230,57,70,0); }
}

/* HERO BOTTOM ROW — 3 cards below the panel, visually connected */
.hero__row {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr;
  gap: 10px;
  background: var(--bg-2);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 12px 16px 16px;
}
@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; }
}

.hcard {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 130px;
}
.hcard--pop { background: var(--pop); color: var(--ink); }
.hcard--ink { background: var(--ink); color: var(--paper); border: 1px solid var(--rule-dk-2); }

.hcard__top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: inherit; opacity: 0.7;
}
.hcard__big { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.hcard__small { font-size: 11.5px; line-height: 1.4; color: inherit; opacity: 0.7; }
.hcard__avatars { display: flex; align-items: center; }
.hcard__av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--bg-elev);
  margin-left: -8px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; color: var(--paper);
}
.hcard__av:first-child { margin-left: 0; }
.hcard__quote {
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper);
  font-weight: 400;
}
.hcard__quote-author {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
.hcard__btn {
  margin-top: auto;
  align-self: flex-end;
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--pop);
  display: grid; place-items: center;
  font-size: 14px;
}

/* ---------- Section: light slab ---------- */
.slab {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  margin-top: 12px;
}
.slab--dark { background: var(--bg-2); color: var(--paper); }

.intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

.intro__left { display: flex; flex-direction: column; gap: 28px; }
.intro__heading {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.intro__heading em { color: var(--coral); }

.intro__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .intro__right { grid-template-columns: 1fr; } }

.imgcard {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  isolation: isolate;
}
.imgcard__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,26,0) 0%, rgba(11,15,26,0.55) 100%),
    radial-gradient(circle at 30% 20%, rgba(255,198,41,0.18), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(230,57,70,0.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 14px);
}
.imgcard__tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}
.imgcard__caption {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 2;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 80%;
}
.imgcard__corner {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform .2s ease;
}
.imgcard:hover .imgcard__corner { transform: rotate(-45deg); }

.intro__arrows { display: flex; gap: 10px; margin-top: 16px; }

/* ---------- Feature grid (dark) ---------- */
.featgrid {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 12px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 10px;
}
@media (max-width: 1100px) { .featgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .featgrid { grid-template-columns: repeat(2, 1fr); } }

.fcard {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 16px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  transition: background .25s ease;
}
.fcard:hover { background: var(--bg-elev-2); }

.fcard__icon {
  width: 36px; height: 36px;
  color: var(--paper);
  display: inline-block;
}
.fcard__text { font-size: 15.5px; line-height: 1.35; font-weight: 500; }
.fcard__big { font-size: 60px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; color: var(--pop); }
.fcard__suffix { font-size: 14px; color: var(--txt-on-dark-mute); margin-top: -4px; }

.fcard--span2 { grid-column: span 2; }
.fcard--span2-row { grid-row: span 2; }
.fcard--brand {
  background: var(--bg);
  display: grid; place-items: center;
  font-size: 240px;
  font-weight: 800;
  color: var(--pop);
  letter-spacing: -0.08em;
  line-height: 0.8;
}
.fcard--brand .logo__dot { font-size: 1em; }

.fcard__num-row { display: flex; align-items: baseline; gap: 10px; }
.fcard__num-row .fcard__big { font-size: 56px; }

/* ---------- Process / Steps (dark) ---------- */
.process-list { display: flex; flex-direction: column; }
.proc {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 120px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--rule-dk);
  transition: padding .3s ease;
}
.proc:hover { padding-left: 12px; }
.proc:last-child { border-bottom: 1px solid var(--rule-dk); }
.proc__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--pop); }
.proc__title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.proc__desc { font-size: 14.5px; color: var(--txt-on-dark-mute); line-height: 1.55; }
.proc__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-on-dark-mute); text-align: right; }
@media (max-width: 800px) {
  .proc { grid-template-columns: 60px 1fr; }
  .proc__desc, .proc__tag { grid-column: 2; }
  .proc__tag { text-align: left; }
}

/* ---------- Plans / Pricing-style cards ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  color: var(--paper);
  transition: background .25s ease, box-shadow .25s ease;
}
.plan:hover { background: var(--bg-elev-2); box-shadow: 0 24px 60px -28px rgba(151,227,2,0.18); }
.plan--feat { background: var(--pop); color: var(--ink); }
.plan--feat .plan__price { color: var(--ink); }
.plan--feat .plan__bullets li::before { background: var(--ink); }
.plan--feat:hover { background: var(--pop); box-shadow: 0 24px 60px -28px rgba(151,227,2,0.55); }
.plan__name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.plan__price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price sup { font-size: 14px; font-weight: 500; vertical-align: super; opacity: 0.7; }
.plan__bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan__bullets li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.plan__bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  background: var(--pop);
  border-radius: 50%;
  margin-top: 3px;
}

/* ---------- Logo grid (partners) ---------- */
.logos-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.logos-strip__cell {
  background: var(--bg-elev);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: 22px 14px;
  display: grid; place-items: center;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
  min-height: 90px;
}
.logos-strip__cell:hover { background: var(--pop); color: var(--ink); transform: translateY(-2px); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  padding: 18px 0;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
}
.ticker__track span {
  display: inline-flex; align-items: center; gap: 48px;
  color: var(--paper);
}
.ticker__track span::after { content: "✦"; color: var(--pop); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Quote/CTA dark block ---------- */
.cta-block {
  background: var(--pop);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 90% 110%, rgba(5,7,13,0.08), transparent 60%);
}
.cta-block > * { position: relative; }
@media (max-width: 800px) { .cta-block { grid-template-columns: 1fr; } }
.cta-block h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.cta-block em { color: var(--ink); font-style: normal; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--rule-dk);
  padding: 22px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  cursor: pointer;
  gap: 18px;
  color: var(--paper);
}
.faq-q__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--rule-dk-2);
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-size: 16px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.faq-item.is-open .faq-q__icon { background: var(--pop); color: var(--ink); transform: rotate(45deg); border-color: var(--pop); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--txt-on-dark-mute);
  font-size: 15px;
  line-height: 1.55;
}
.faq-item.is-open .faq-a { max-height: 400px; padding-top: 12px; }

/* ---------- Footer (constrained, same width as shell) ---------- */
.footer-wrap { padding: 12px 0 16px; }
.footer {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
  color: var(--paper);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 28px;
  border-bottom: 1px solid var(--rule-dk);
  padding-bottom: 32px;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--txt-on-dark-mute);
  margin: 0 0 14px;
}
.footer__col a { display: block; padding: 6px 0; color: var(--paper); opacity: 0.8; font-size: 14px; }
.footer__col a:hover { color: var(--pop); opacity: 1; }

.footer__big {
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 32px 0;
  color: var(--paper);
}
.footer__big em { color: var(--pop); }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--txt-on-dark-mute);
}
.footer__base a:hover { color: var(--pop); }
.footer__cta {
  margin-bottom: 32px;
  word-break: break-word;
  white-space: normal;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule-dk);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
}
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-on-dark-mute);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid var(--rule-dk-2);
  border-radius: var(--r-md);
  background: var(--bg-2);
  color: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-on-dark-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pop);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field--row { grid-template-columns: 1fr; } }

.form__submit {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--rule-dk);
  padding-top: 20px;
  gap: 18px;
}
.form__legal { font-size: 12px; color: var(--txt-on-dark-mute); max-width: 36ch; line-height: 1.45; }

.contact-side { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule-dk);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: background .25s ease;
}
.contact-card:hover { background: var(--bg-elev-2); }
.contact-card h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-on-dark-mute);
  margin: 0 0 6px;
  font-weight: 600;
}
.contact-card p { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.contact-card small { font-size: 12px; color: var(--txt-on-dark-mute); display: block; margin-top: 6px; }

.success {
  background: var(--pop);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--r-xl);
}
.success h3 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }

/* ---------- Service detail layout ---------- */
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--txt-on-dark-mute);
  margin-bottom: 24px;
}
.crumb a:hover { color: var(--pop); }
.crumb span.sep { opacity: 0.4; }

.detail-hero {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px);
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
}
@media (max-width: 900px) { .detail-hero { grid-template-columns: 1fr; } }
.detail-hero h1 { font-size: clamp(48px, 7vw, 100px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.detail-hero h1 em { color: var(--pop); }
.detail-hero__side { color: var(--txt-on-dark-mute); font-size: 16px; line-height: 1.55; padding-left: 24px; border-left: 2px solid var(--pop); }

/* Feature list (service detail) */
.feature {
  border-top: 1px solid var(--rule-dk);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr 1.8fr;
  gap: 24px;
  align-items: center;
}
.feature:last-child { border-bottom: 1px solid var(--rule-dk); }
.feature__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--pop); font-weight: 600; }
.feature__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.feature__body { color: var(--txt-on-dark-mute); font-size: 15px; line-height: 1.55; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 60px 1fr; }
  .feature__body { grid-column: 2; }
}

/* Section header (with eyebrow) */
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.sec-head__row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.sec-head h2 { max-width: 18ch; }
.sec-head__sub { color: var(--txt-on-dark-mute); font-size: 15px; max-width: 56ch; }
.slab .sec-head__sub { color: var(--ink-soft); }

/* Page transition */
.page-enter { animation: pageIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Map skeleton */
.map-skel {
  border: 1px solid var(--rule-dk);
  border-radius: var(--r-lg);
  aspect-ratio: 16/10;
  background:
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--bg-elev), var(--bg-2));
  background-size: 32px 32px, 32px 32px, 100% 100%;
  position: relative;
  overflow: hidden;
}
.map-skel__pin {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(230,57,70,0.18);
  animation: pulse 2s ease-out infinite;
}

/* utility */
.muted { color: var(--txt-on-dark-mute); }
.muted-lt { color: var(--ink-soft); }
.text-right { text-align: right; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* ==========================================================
   v3.1 additions — green accent, head image, modal, etc.
   ========================================================== */

/* Hero visual — uses real head.png image */
.hero__visual--image {
  background: var(--bg);
  position: relative;
  min-height: 320px;
}
.hero__visual--image .hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__visual--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0) 30%, rgba(5,7,13,0.5) 75%, rgba(5,7,13,0.92) 100%),
    linear-gradient(90deg, rgba(5,7,13,0.45) 0%, rgba(5,7,13,0) 35%);
  pointer-events: none;
}
.hero__visual--image .hero-figure__caption {
  z-index: 2;
  background: rgba(5,7,13,0.65);
}

/* Hero heading stack (3 lines) */
.hero__heading-stack { display: flex; flex-direction: column; gap: 0; }
.hero__heading-stack > span { display: block; }
.hero__heading em.pop {
  color: var(--pop);
  font-style: normal;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
/* Animated underline under "citado" */
.hero__heading em.pop::after {
  content: "";
  position: absolute;
  left: 2%; right: 6%;
  bottom: 0.08em;
  height: 0.08em;
  background: var(--pop);
  opacity: 0.35;
  border-radius: 2px;
  transform-origin: left center;
  animation: underline-grow 1.1s 0.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes underline-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.35; }
}

/* Cost-of-inaction stats grid (replaces "Bienvenidos" imgcards) */
.coi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .coi-grid { grid-template-columns: 1fr; } }
.coi-card {
  background: var(--bg);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: background .25s ease;
}
.coi-card:hover { background: var(--bg-elev); }
.coi-card--pop { background: var(--pop); color: var(--ink); }
.coi-card--pop:hover { background: var(--pop-2); }
.coi-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: inherit;
  opacity: 0.7;
}
.coi-card__value {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: inherit;
  margin-top: auto;
}
.coi-card--pop .coi-card__value, .coi-card--pop .coi-card__tag { color: var(--ink); }
.coi-card__label {
  font-size: 14px;
  color: inherit;
  opacity: 0.78;
  line-height: 1.4;
  max-width: 30ch;
}
.coi-card--pop .coi-card__label { opacity: 0.88; }

/* Service cards with real images (home + servicios overview) */
.svc-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .svc-img-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-img-grid { grid-template-columns: 1fr; } }
.svc-img-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .svc-img-grid--2 { grid-template-columns: 1fr; } }

.svc-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  isolation: isolate;
  background: var(--bg);
  transition: transform .3s ease;
}
.svc-img:hover { transform: translateY(-2px); }
.svc-img--wide { aspect-ratio: 4/3; }
.svc-img__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.svc-img:hover .svc-img__photo { transform: scale(1.04); }
.svc-img__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.05) 30%, rgba(5,7,13,0.55) 65%, rgba(5,7,13,0.92) 100%);
  pointer-events: none;
}
.svc-img__top {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: flex-start;
  z-index: 2;
}
.svc-img__caption {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  z-index: 2; color: var(--paper);
}
.svc-img__caption h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.svc-img__caption p {
  font-size: 13.5px; line-height: 1.4;
  margin-top: 6px; opacity: 0.85;
}
.svc-img__corner {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease;
}
.svc-img:hover .svc-img__corner { background: var(--pop); color: var(--ink); }

/* Benefit list (service detail "what you get" — replaces 4-image gallery) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
  transition: background .25s ease;
}
.benefit:hover { background: var(--bg-elev-2); }
.benefit__icon { color: var(--pop); }
.benefit__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.benefit__desc { font-size: 14.5px; color: var(--txt-on-dark-mute); line-height: 1.5; }
.benefit--feat { background: var(--pop); color: var(--ink); }
.benefit--feat .benefit__icon { color: var(--ink); }
.benefit--feat .benefit__desc { color: rgba(5,7,13,0.78); }

/* Author profile circles */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.author-card {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  transition: background .25s ease;
}
.author-card:hover { background: var(--bg-elev-2); }
.author-card__photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 2px solid var(--pop);
  padding: 3px;
  background-clip: content-box;
}
.author-card__name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--paper); }
.author-card__role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pop); }
.author-card__bio { font-size: 13.5px; color: var(--txt-on-dark-mute); line-height: 1.5; }

/* Schedule modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,7,13,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: grid; place-items: center;
  padding: var(--pad);
  animation: fade-in .25s ease both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-elev);
  border: 1px solid var(--rule-dk);
  border-radius: var(--r-xl);
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 3vw, 40px);
  animation: modal-in .35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.modal__close {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rule-dk-2);
  color: var(--paper);
  font-size: 16px;
  cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.modal__close:hover { background: var(--pop); color: var(--ink); border-color: var(--pop); }
.modal h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.modal h3 em { color: var(--pop); }
.modal__sub { color: var(--txt-on-dark-mute); font-size: 14px; line-height: 1.5; margin-top: 8px; }

/* Aviso legal / Legal page */
.legal {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 96px);
  margin-top: 12px;
}
.legal__head {
  border-bottom: 1px solid var(--rule-lt-2);
  padding-bottom: 28px;
  margin-bottom: 40px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 18px;
}
.legal__title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.legal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.legal__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 64px);
}
@media (max-width: 900px) { .legal__layout { grid-template-columns: 1fr; } }
.legal__toc { position: sticky; top: 100px; align-self: start; }
.legal__toc h5 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-weight: 600;
}
.legal__toc a {
  display: block; padding: 8px 0; color: var(--ink-soft);
  font-size: 14px; transition: color .2s ease, padding .2s ease;
  border-top: 1px solid var(--rule-lt);
}
.legal__toc a:first-of-type { border-top: 1px solid var(--ink); }
.legal__toc a:hover { color: var(--ink); padding-left: 8px; }
.legal__body { display: flex; flex-direction: column; gap: 36px; }
.legal__section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.legal__section h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.025em; }
.legal__section h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin-top: 12px; }
.legal__section p, .legal__section li { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.legal__section ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.legal__section strong { color: var(--ink); }
.legal__placeholder {
  background: rgba(5,7,13,0.04);
  border: 1px dashed var(--rule-lt-2);
  border-radius: var(--r-md);
  padding: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-style: italic;
}

/* Plan: also fix featured hover */
.plan--feat:hover { box-shadow: 0 24px 60px -28px rgba(151,227,2,0.55); }

/* Pill: tweak to look better on green */
.pill--ghost-lt { background: transparent; border: 1px solid var(--rule-lt-2); color: var(--ink); }

/* Brand mark inside fcard — make .m green star + m text */
.brand-mark { display: inline-flex; align-items: center; gap: 6px; color: var(--pop); font-weight: 800; }
.brand-mark__star { display: inline-block; }

/* ==========================================================
   v3.2 — mobile polish, contrast in feature grid, etc.
   ========================================================== */

/* Wrap CTAs better on small screens */
.btn { max-width: 100%; }
.hero__cta { flex-wrap: wrap; }
.hero__cta .btn { white-space: normal; text-align: left; flex: 1 1 auto; min-width: 0; }

/* Feature grid colored variants for contrast */
.fcard--pop {
  background: var(--pop);
  color: var(--ink);
}
.fcard--pop:hover { background: var(--pop-2); }
.fcard--pop .fcard__icon,
.fcard--pop .fcard__big { color: var(--ink); }
.fcard--pop .fcard__suffix { color: rgba(5,7,13,0.7); }
.fcard--outline {
  background: var(--bg);
  border: 1px solid var(--pop);
}
.fcard--outline .fcard__big { color: var(--pop); }

/* Hero responsive */
@media (max-width: 900px) {
  .hero__panel { display: flex; flex-direction: column; min-height: 0; }
  .hero__copy { order: 1; padding: 28px 24px 24px; }
  .hero__visual { order: 2; min-height: 280px; aspect-ratio: 16/10; }
  .hero__row { order: 3; position: static; padding: 16px; padding-top: 0; }
  .hero__heading { font-size: clamp(52px, 12vw, 88px); }
  .hero__sub { font-size: 14.5px; }
}
@media (max-width: 540px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__heading { font-size: clamp(44px, 14vw, 64px); }
}

/* Intro responsive */
@media (max-width: 600px) {
  .intro__heading { font-size: clamp(26px, 8vw, 36px); }
  .coi-grid { grid-template-columns: 1fr; }
}

/* Process grid collapses cleaner */
@media (max-width: 700px) {
  .proc {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
  .proc__num { font-size: 11px; }
  .proc__title { font-size: 24px; }
  .proc__tag { text-align: left; }
}

/* Service detail hero side stacked nicely */
@media (max-width: 900px) {
  .detail-hero { padding: clamp(24px, 5vw, 48px); }
  .detail-hero h1 { font-size: clamp(40px, 10vw, 64px); }
  .detail-hero__side { border-left: 0; border-top: 2px solid var(--pop); padding: 16px 0 0; }
}

/* Plan grid responsive */
@media (max-width: 600px) {
  .plan { padding: 24px; }
  .plan__price { font-size: 36px; }
}

/* Featgrid mobile */
@media (max-width: 720px) {
  .featgrid { padding: 8px; gap: 8px; }
  .fcard { padding: 18px; }
  .fcard__big { font-size: 44px; }
  .fcard--brand { grid-column: span 2 !important; grid-row: span 1 !important; min-height: 140px; }
}

/* Authors responsive */
.authors-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .authors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .authors-grid { grid-template-columns: 1fr; } }
.author-card { padding: 22px 18px; }

/* Avatar tinted variant */
.author-card--feat {
  background: var(--pop);
  color: var(--ink);
}
.author-card--feat .author-card__name { color: var(--ink); }
.author-card--feat .author-card__role { color: var(--ink); opacity: 0.65; }
.author-card--feat .author-card__bio { color: rgba(5,7,13,0.75); }
.author-card--feat .author-card__photo { border-color: var(--ink); }

/* Real-photo avatar */
.author-card__photo--real {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pop);
  padding: 3px;
  background: var(--bg);
  background-clip: content-box;
}

/* Contact form mobile */
@media (max-width: 600px) {
  .form-card { padding: 22px; }
  .form__submit { flex-direction: column; align-items: flex-start; gap: 14px; }
  .form__submit .btn { width: 100%; justify-content: space-between; }
}

/* Legal mobile */
@media (max-width: 600px) {
  .legal { padding: 28px 22px; }
  .legal__title { font-size: clamp(32px, 9vw, 48px); }
  .legal__toc { position: static; }
}

/* Cta block mobile */
@media (max-width: 700px) {
  .cta-block { padding: 28px 24px; }
  .cta-block h2 { font-size: clamp(32px, 9vw, 56px); }
}

/* Logos strip mobile */
@media (max-width: 540px) {
  .logos-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .logos-strip__cell { padding: 18px 10px; font-size: 13px; min-height: 70px; }
}

/* Hero pill smaller on mobile */
@media (max-width: 600px) {
  .hero-figure__caption { font-size: 9px; padding: 6px 10px; top: 14px; right: 14px; }
}

/* Generic: prevent buttons overflowing on tiny screens */
@media (max-width: 400px) {
  .btn { font-size: 13px; padding: 11px 16px; }
  .btn__arrow { width: 24px; height: 24px; font-size: 12px; }
}

/* Modal: tighter on mobile */
@media (max-width: 600px) {
  .modal { padding: 24px 22px; }
  .modal h3 { font-size: 22px; }
  .modal__head { gap: 12px; }
}

/* Service image grid forces 4 columns on /servicios overview */
.svc-img-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-img-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-img-grid--4 { grid-template-columns: 1fr; } }

/* svc-img on overview page: portrait, similar to home */
.svc-img--portrait { aspect-ratio: 3/4; }

/* Section padding scales down on mobile */
@media (max-width: 700px) {
  .slab, .slab--dark, .detail-hero {
    padding: 24px 22px;
    border-radius: var(--r-lg);
  }
}

/* Hero heading: prevent "Sé citado." from breaking on mid-width tablets */
.hero__heading-stack > span { white-space: nowrap; }
@media (max-width: 540px) {
  .hero__heading-stack > span { white-space: normal; }
}
