/* ============================================================
   Trepa't — Website (prototipo). Construido sobre los tokens del
   design system. Estructura basada en el guión web.
   ============================================================ */

.site-page { background: var(--surface-page); color: var(--text-body); min-height: 100vh; overflow-x: hidden; }
.site-main { display: block; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: clamp(18px, 4vw, 48px); }

/* page transition */
.view-enter { animation: viewIn .42s var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view-enter { animation: none; } }

/* ============================================================
   HEADER — escritorio: barra ink sticky
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 60; background: var(--ink);
  border-bottom: 2px solid #000; transition: padding var(--dur) var(--ease-out); }
.nav__bar { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px);
  padding: 14px clamp(18px, 4vw, 48px); transition: padding var(--dur) var(--ease-out); }
.nav.is-condensed .nav__bar { padding-block: 9px; }
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.nav__brand img { height: 52px; width: auto; display: block; transition: height var(--dur) var(--ease-out); }
.nav.is-condensed .nav__brand img { height: 42px; }
.nav__brand-txt { display: flex; flex-direction: column; font-family: var(--font-display);
  font-weight: var(--fw-black); font-size: 20px; color: var(--cream); letter-spacing: -0.02em; line-height: 1; }
.nav__brand-txt small { font-size: 8px; font-weight: var(--fw-semibold); letter-spacing: 0.24em; color: var(--teal-light); margin-top: 3px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__link { font-weight: var(--fw-semibold); font-size: 13.5px; color: var(--cream); text-decoration: none;
  padding: 8px 13px; border-radius: var(--radius-pill); position: relative; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.nav__link:hover { color: var(--coral-400); background: rgba(113,176,180,.14); }
.nav__link.is-active { color: var(--ink); background: var(--coral-400); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__lang { display: flex; gap: 2px; background: rgba(245,225,164,.12); border: 0; border-radius: var(--radius-pill);
  padding: 3px; cursor: pointer; font-family: var(--font-sans); }
.nav__lang span, .nav__lang button { font-size: 11px; font-weight: var(--fw-bold); color: var(--petrol-200); padding: 4px 9px;
  border-radius: var(--radius-pill); transition: all var(--dur-fast) var(--ease-out); }
.nav__lang button { border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans); line-height: 1.2; }
.nav__lang span.is-on, .nav__lang button.is-on { background: var(--coral-400); color: var(--ink); }

/* ============================================================
   HEADER — móvil: píldora flotante superior que se contrae
   ============================================================ */
.navm { display: none; }
.navm__pill { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 70;
  background: var(--ink); border: 2px solid #000; border-radius: var(--radius-pill);
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.navm.is-hidden .navm__pill { transform: translateY(-130%); }
.navm__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.navm__brand img { height: 28px; }
.navm__brand b { font-family: var(--font-display); font-weight: var(--fw-black); color: var(--cream); font-size: 16px; letter-spacing: -.02em; }
.navm__reg { font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: 13px;
  background: var(--coral-400); color: var(--ink); border: 2px solid #000; border-radius: var(--radius-pill);
  padding: 10px 16px; cursor: pointer; box-shadow: var(--shadow-hard-sm); }
.navm__reg:active { transform: translate(1px,1px); box-shadow: none; }
.navm__toggle { width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  background: var(--cream); color: var(--ink); border: 2px solid #000; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hard-sm); cursor: pointer; }
.navm__toggle svg { width: 20px; height: 20px; }
/* nav chips row — scroll horizontal, secundario */
.navm__chips { position: fixed; top: 66px; left: 0; right: 0; z-index: 65;
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 12px 10px;
  -ms-overflow-style: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.navm__chips::-webkit-scrollbar { display: none; }
.navm.is-condensed .navm__chips { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.navm__chip { flex: none; font-weight: var(--fw-bold); font-size: 12.5px; white-space: nowrap;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-pill);
  padding: 10px 14px; cursor: pointer; box-shadow: var(--shadow-hard-sm); }
.navm__chip.is-active { background: var(--coral-400); }
/* overlay full menu */
.navm__sheet { position: fixed; inset: 0; z-index: 80; background: rgba(8,18,17,.55); backdrop-filter: blur(3px);
  display: flex; justify-content: center; align-items: flex-start; padding: 76px 14px 14px; animation: viewIn .2s var(--ease-out) both; }
.navm__card { width: 100%; max-width: 460px; background: var(--ink); border: 2px solid #000; border-radius: var(--radius-xl);
  padding: 12px; box-shadow: var(--shadow-lg); }
.navm__card a { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 16px; color: var(--cream); text-decoration: none; font-family: var(--font-display);
  font-weight: var(--fw-bold); font-size: 17px; border-radius: var(--radius-md); }
.navm__card a + a { border-top: 1px solid rgba(245,225,164,.12); }
.navm__card a.is-active { color: var(--coral-400); }
.navm__card a svg { width: 18px; height: 18px; opacity: .6; }
.navm__sheet-foot { display: flex; gap: 10px; padding: 10px 6px 4px; }

/* ============================================================
   BANDA · Fent el cabra ·
   ============================================================ */
.band { overflow: hidden; white-space: nowrap; border-block: 2px solid var(--ink); }
.band--coral { background: var(--coral-400); }
.band--ink { background: var(--ink); }
.band--cream { background: var(--cream); }
.band__track { display: inline-flex; align-items: center; animation: marquee 30s linear infinite; }
.band__item { font-family: var(--font-display); font-weight: var(--fw-black); font-style: italic;
  font-size: 18px; letter-spacing: 0.02em; color: var(--ink); padding: 11px 0; display: inline-flex; align-items: center; }
.band--ink .band__item { color: var(--cream); }
.band__dot { margin: 0 20px; font-style: normal; }
.band--ink .band__dot { color: var(--coral-400); }
.band--coral .band__dot, .band--cream .band__dot { color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }

/* ============================================================
   HERO (reutilizable, con variantes de color)
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero--teal { background: var(--teal-mid); }
.hero--petrol { background: var(--petrol-700); }
.hero--ink { background: var(--ink); }
.hero--coral { background: var(--coral-400); }
.hero--teallight { background: var(--teal-light); }
.hero__ghost { position: absolute; right: -50px; bottom: -60px; width: clamp(240px, 36vw, 440px);
  opacity: .14; pointer-events: none; user-select: none; }
.hero__seal { position: absolute; top: 26px; right: clamp(18px, 4vw, 54px); width: clamp(78px, 10vw, 124px);
  opacity: .95; transform: rotate(8deg); pointer-events: none; }
.hero__inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(54px, 9vw, 104px) clamp(18px, 4vw, 48px); }
.hero--left .hero__inner { text-align: left; align-items: flex-start; margin: 0; max-width: var(--container); }
.hero__tagline { font-size: clamp(20px, 2.8vw, 30px); font-weight: var(--fw-semibold); }
.hero--teal .hero__tagline, .hero--petrol .hero__tagline, .hero--ink .hero__tagline { color: var(--cream); }
.hero--coral .hero__tagline, .hero--teallight .hero__tagline { color: var(--ink); }
.hero__title { font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(36px, 5.4vw, 66px); line-height: 1.0; letter-spacing: -0.03em;
  margin: 8px 0 16px; text-wrap: balance; }
.hero--teal .hero__title, .hero--petrol .hero__title, .hero--ink .hero__title { color: var(--white); }
.hero--coral .hero__title, .hero--teallight .hero__title { color: var(--ink); }
.hero__lead { font-size: clamp(15px, 1.6vw, 19px); font-weight: var(--fw-medium); max-width: 52ch; margin: 0 0 26px; }
.hero--left .hero__lead { margin-inline: 0; }
.hero--teal .hero__lead, .hero--petrol .hero__lead, .hero--ink .hero__lead { color: var(--cream); opacity: .96; }
.hero--coral .hero__lead, .hero--teallight .hero__lead { color: var(--ink); opacity: .92; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero--left .hero__cta { justify-content: flex-start; }
.hero__crumb { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }

/* entrance reveal of hero children */
.hero__inner > * { animation: heroUp .6s var(--ease-out) both; }
.hero__inner > *:nth-child(1){ animation-delay: .04s; }
.hero__inner > *:nth-child(2){ animation-delay: .12s; }
.hero__inner > *:nth-child(3){ animation-delay: .20s; }
.hero__inner > *:nth-child(4){ animation-delay: .28s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__inner > * { animation: none; } }

/* ============================================================
   SECTIONS / HEADINGS
   ============================================================ */
.sec { padding-block: var(--section-y); }
.sec--sand { background: var(--sand-100); }
.sec--cream { background: var(--cream); border-block: 2px solid var(--ink); }
.sec-head { margin-bottom: 38px; }
.sec-head--center { text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 46px); margin: 6px 0 0; }
.sec-head p { font-size: 15px; color: var(--slate-600); font-weight: var(--fw-medium); margin: 12px 0 0; max-width: 56ch; }
.sec-head--center p { margin-inline: auto; }

/* ============================================================
   "POR QUÉ" — 3 feature cards
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card.tpt-card { text-align: center; border: 2px solid var(--ink); box-shadow: var(--shadow-hard); }
.why-card .tpt-card__body { gap: 12px; padding: var(--space-7) var(--space-6); align-items: center; }
.why-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-pill);
  background: var(--coral-100); border: 2px solid var(--ink); }
.why-ic svg { width: 28px; height: 28px; color: var(--coral-600); }
.why-card h3 { font-size: 21px; margin: 0; }
.why-card p { font-size: 15px; line-height: 1.55; margin: 0; color: var(--slate-600); }

/* ============================================================
   SERVICIOS — tarjetas con acento lateral
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius-md);
  padding: 18px; box-shadow: var(--shadow-hard-sm); cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.svc:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
.svc__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius-md);
  background: var(--sand-100); border: 2px solid var(--ink); }
.svc__ic svg { width: 21px; height: 21px; color: var(--teal-mid); }
.svc__meta { flex: 1; min-width: 0; }
.svc__meta h3 { font-size: 17px; margin: 0 0 2px; color: var(--text-strong); }
.svc__meta p { font-size: 13px; margin: 0; color: var(--slate-600); }
.svc__arrow { width: 18px; height: 18px; color: var(--slate-400); flex: none; }

/* ============================================================
   PRIMER DÍA — split crema con foto
   ============================================================ */
.firstday { background: var(--cream); border-block: 2px solid var(--ink); }
.firstday__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px);
  align-items: center; padding-block: var(--section-y); }
.firstday__photo { aspect-ratio: 4/3; border: 2px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-hard); background: var(--sand-200); }
.firstday__photo image-slot { width: 100%; height: 100%; display: block; }
.firstday__copy h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 6px 0 12px; }
.firstday__copy p { font-size: 16px; color: var(--ink); margin-bottom: 22px; max-width: 42ch; }

/* ============================================================
   PASOS numerados (cómo funciona)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-hard-sm); }
.step__n { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--coral-400);
  color: var(--ink); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: 20px; display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--shadow-hard-sm); }
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--slate-600); margin: 0; }

/* ============================================================
   "QUÉ NECESITAS" / lista con check + split foto
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 4/3; border: 2px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-hard); background: var(--sand-200); }
.split__media image-slot { width: 100%; height: 100%; display: block; }
.split__copy h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 6px 0 14px; }
.split__copy > p { font-size: 16px; color: var(--slate-600); margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: var(--fw-medium); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--white); background: var(--coral-500);
  border-radius: var(--radius-pill); padding: 3px; margin-top: 1px; }

/* ============================================================
   FAQ acordeón
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 18px 20px;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 17px; color: var(--text-strong); }
.faq__q svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur) var(--ease-out); color: var(--coral-500); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq__a-inner { padding: 0 20px 18px; font-size: 15px; color: var(--slate-600); font-weight: var(--fw-medium); }

/* ============================================================
   TARIFAS
   ============================================================ */
.pricing-toggle { display: inline-flex; gap: 4px; margin: 0 auto 30px; padding: 4px; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-hard-sm); }
.pricing-toggle button { border: 0; background: none; cursor: pointer; font-family: var(--font-sans);
  font-weight: var(--fw-bold); font-size: 13.5px; color: var(--slate-600); padding: 9px 20px; border-radius: var(--radius-pill); }
.pricing-toggle button.is-on { background: var(--ink); color: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan.tpt-card { position: relative; overflow: visible; border: 2px solid var(--ink); box-shadow: var(--shadow-hard); }
.plan.is-featured.tpt-card { background: var(--teal-mid); border-color: var(--ink); box-shadow: var(--shadow-hard-lg); transform: translateY(-10px); }
.plan .tpt-card__body { gap: 16px; padding: var(--space-6); height: 100%; }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 2; }
.plan__name { font-family: var(--font-display); font-weight: var(--fw-extrabold); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 15px; color: var(--teal-mid); }
.plan.is-featured .plan__name { color: var(--cream); }
.plan__price { display: flex; align-items: baseline; gap: 6px; color: var(--text-strong); }
.plan.is-featured .plan__price { color: var(--white); }
.plan__price strong { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(38px, 4.6vw, 50px); line-height: 1; }
.plan__price span { font-size: 14px; font-weight: var(--fw-semibold); opacity: .8; }
.plan__feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__feat li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: var(--fw-medium); }
.plan__feat svg { width: 18px; height: 18px; flex: none; color: var(--coral-500); }
.plan.is-featured .plan__feat svg { color: var(--cream); }
.price-note { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 28px;
  font-size: 13px; font-weight: var(--fw-bold); color: var(--danger); background: var(--coral-100);
  border: 2px dashed var(--coral-400); border-radius: var(--radius-md); padding: 12px 18px; max-width: 640px; margin-inline: auto; }
.price-note svg { width: 18px; height: 18px; flex: none; }
/* extras table */
.extras { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px; }
.extra { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: var(--shadow-hard-sm); }
.extra b { font-size: 15px; }
.extra span { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 20px; color: var(--coral-600); }
.extra small { display: block; font-size: 12px; color: var(--slate-400); font-weight: var(--fw-medium); }

/* ============================================================
   SERVICIOS detalle — grid 2x2 con borde de color
   ============================================================ */
.svc2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc2__card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-hard-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.svc2__card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
.svc2__ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center;
  border: 2px solid var(--ink); margin-bottom: 14px; }
.svc2__ic svg { width: 26px; height: 26px; }
.svc2__card h3 { font-size: 22px; margin: 0 0 8px; }
.svc2__card p { font-size: 15px; color: var(--slate-600); margin: 0 0 14px; }
.svc2__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   TIMELINE (visita paso a paso)
   ============================================================ */
.timeline { display: flex; gap: 0; flex-wrap: wrap; justify-content: center; }
.tl-step { flex: 1; min-width: 130px; text-align: center; position: relative; padding: 0 8px; }
.tl-step__dot { width: 46px; height: 46px; border-radius: var(--radius-pill); background: var(--coral-400);
  border: 2px solid var(--ink); color: var(--ink); display: grid; place-items: center; margin: 0 auto 12px;
  box-shadow: var(--shadow-hard-sm); position: relative; z-index: 2; }
.tl-step__dot svg { width: 22px; height: 22px; }
.tl-step::before { content: ""; position: absolute; top: 23px; left: -50%; width: 100%; height: 3px;
  background: var(--ink); opacity: .25; z-index: 1; }
.tl-step:first-child::before { display: none; }
.tl-step h4 { font-size: 15px; margin: 0 0 4px; }
.tl-step p { font-size: 12.5px; color: var(--slate-600); margin: 0; }

/* ============================================================
   FORMULARIOS (centros, team building, registro)
   ============================================================ */
.formwrap { max-width: 720px; margin: 0 auto; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-hard-lg); }
.formwrap h3 { font-size: 24px; margin: 0 0 6px; }
.formwrap > p { font-size: 14px; color: var(--slate-600); margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--slate-600); }
.form-success { text-align: center; padding: 20px 10px; }
.form-success .ok { width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--success);
  border: 2px solid var(--ink); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow-hard); }
.form-success .ok svg { width: 32px; height: 32px; color: #fff; }

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { text-align: center; padding: 24px 16px; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hard-sm); }
.value__ic { width: 54px; height: 54px; border-radius: var(--radius-pill); background: var(--teal-light);
  border: 2px solid var(--ink); display: grid; place-items: center; margin: 0 auto 12px; }
.value__ic svg { width: 26px; height: 26px; color: var(--ink); }
.value h4 { font-size: 17px; margin: 0 0 4px; }
.value p { font-size: 13px; color: var(--slate-600); margin: 0; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team__card { text-align: center; }
.team__photo { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-hard-sm); background: var(--sand-200); margin-bottom: 12px; }
.team__photo image-slot { width: 100%; height: 100%; display: block; }
.team__card h4 { font-size: 17px; margin: 0 0 2px; }
.team__card p { font-size: 13px; color: var(--coral-600); font-weight: var(--fw-bold); margin: 0; }
.name-cabra { display: grid; grid-template-columns: 1fr 1fr; }
.name-cabra__txt { padding: clamp(28px, 5vw, 60px); align-self: center; }
.name-cabra__txt h2 { font-size: clamp(24px, 3.2vw, 38px); margin: 0 0 12px; }
.name-cabra__txt p { font-size: 16px; color: var(--slate-600); }
.name-cabra__art { background: var(--ink); display: grid; place-items: center; padding: 40px; }
.name-cabra__art img { width: clamp(160px, 22vw, 260px); }

/* ============================================================
   CTA banner final
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; text-align: center; background: var(--coral-400);
  border-block: 2px solid var(--ink); padding: clamp(48px, 7vw, 84px) clamp(18px, 4vw, 48px); }
.cta-banner__seal { position: absolute; left: -30px; bottom: -36px; width: 180px; opacity: .9; transform: rotate(-10deg); }
.cta-banner h2 { font-size: clamp(28px, 4.4vw, 52px); color: var(--ink); margin: 0 0 10px; position: relative; }
.cta-banner p { font-size: 17px; color: var(--ink); opacity: .85; margin: 0 0 24px; font-weight: var(--fw-medium); position: relative; }
.cta-banner .hero__cta { justify-content: center; position: relative; }

/* ============================================================
   FOOTER — fiel al design system
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-block: clamp(40px, 6vw, 72px); }
.footer__brand img { height: 88px; width: auto; margin-bottom: 12px; }
.footer__brand .tagline { color: var(--teal-light); font-size: 15px; }
.footer__brand p { color: var(--petrol-200); font-size: 14px; max-width: 34ch; margin: 4px 0; }
.footer__pending { color: var(--slate-400) !important; font-size: 12px !important; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { color: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer__cols a { display: flex; align-items: center; gap: 8px; color: var(--petrol-200); text-decoration: none;
  font-size: 14px; font-weight: var(--fw-medium); padding: 5px 0; cursor: pointer; background: none; border: 0; font-family: var(--font-sans); }
.footer__cols a:hover { color: var(--coral-400); }
.footer__cols svg { width: 16px; height: 16px; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid rgba(245,225,164,.16); font-size: 13px; font-weight: var(--fw-medium); color: var(--slate-400); }
.footer__bar .container { display: contents; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card, .contact-ig { display: flex; gap: 16px; align-items: flex-start; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-hard-sm); }
.contact-ig { align-items: center; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.contact-ig:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
/* el email largo no rompe: sin min-width:0 el flex item fuerza scroll a 320px */
.contact-card > div, .contact-ig > div { min-width: 0; overflow-wrap: anywhere; }
.contact-card__ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--coral-100); border: 2px solid var(--ink); }
.contact-card__ic svg { width: 22px; height: 22px; color: var(--coral-600); }
.contact-card h4, .contact-ig h4 { font-size: 16px; margin: 0 0 2px; }
.contact-card p, .contact-ig p { font-size: 14px; margin: 0; color: var(--slate-600); font-weight: var(--fw-semibold); }
.contact-card__note { display: block; margin-top: 4px; font-size: 12px; color: var(--danger); font-weight: var(--fw-bold); }
.contact-ig__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--slate-400); }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-side .formwrap { max-width: none; }
.contact-map { aspect-ratio: 16/9; border: 2px solid var(--ink); border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--sand-100), var(--sand-100) 14px, var(--sand-200) 14px, var(--sand-200) 28px);
  display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  box-shadow: var(--shadow-hard); color: var(--teal-mid); text-align: center; padding: 20px; }
.contact-map svg { width: 36px; height: 36px; }
.contact-map span { font-size: 13px; font-weight: var(--fw-bold); max-width: 28ch; }

/* ============================================================
   RESPONSIVE
   Nota: los rótulos de nav en ES/VAL ("Empezar a escalar",
   "Quiénes somos"...) son largos: la barra de escritorio necesita
   ~1090px sin comprimir. Por eso se compacta desde 1180px y el
   cambio a nav móvil sube a 900px.
   ============================================================ */

/* barra de escritorio compacta antes de ceder al menú móvil */
@media (max-width: 1180px) {
  .nav__bar { gap: 12px; padding-inline: 18px; }
  .nav__brand img { height: 44px; }
  .nav.is-condensed .nav__brand img { height: 38px; }
  .nav__link { font-size: 12.5px; padding: 8px 8px; }
  .nav__actions { gap: 8px; }
  .nav__lang span, .nav__lang button { padding: 4px 7px; }
}

@media (max-width: 980px) {
  /* 6 tarjetas compactas: dos columnas antes de apilar */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .values, .team { grid-template-columns: 1fr 1fr; }
  .firstday__inner, .split, .name-cabra, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .firstday__photo, .split__media { order: -1; }
  .plan.is-featured.tpt-card { transform: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .name-cabra__art { padding: 30px; }
}

/* al apilar rejillas de 3, limitar el ancho para no estirar las tarjetas */
@media (max-width: 860px) {
  .why-grid, .price-grid, .extras, .steps {
    grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .navm { display: block; }
  .site-main { padding-top: 116px; }
}

@media (max-width: 760px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .timeline { flex-direction: column; align-items: stretch; }
  .tl-step { display: flex; align-items: center; gap: 14px; text-align: left; padding: 8px 0; min-width: 0; }
  .tl-step__dot { margin: 0; }
  .tl-step::before { display: none; }
}

@media (max-width: 700px) {
  .svc-grid, .svc2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pricing-toggle { display: flex; max-width: 100%; }
  .pricing-toggle button { padding: 9px 12px; font-size: 12.5px; }
  /* los rótulos largos no caben en una línea: dejar que el botón parta */
  .site-page .tpt-btn { max-width: 100%; white-space: normal; text-align: center; }
  .site-page .tpt-btn--lg { font-size: var(--text-base); padding: .8em 1.4em; }
}

@media (max-width: 460px) {
  /* .values / .team se quedan en 2 columnas: son tarjetas icono + rótulo
     y a una columna quedan desproporcionadamente anchas */
  .footer__cols { grid-template-columns: 1fr; }
}


/* ============================================================
   ACTIVIDADES — índice (tarjetas) + ficha de detalle
   ============================================================ */
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.act-grid--3 { grid-template-columns: repeat(3, 1fr); }
.actc { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); padding: var(--space-6);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.actc:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard-lg); }
.actc__head { display: flex; align-items: center; gap: 12px; }
.actc__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 2px solid var(--ink); border-radius: var(--radius-pill); }
.actc__ic svg { width: 24px; height: 24px; }
.actc__tag { font-family: var(--font-display); font-size: 11px; font-weight: var(--fw-extrabold);
  text-transform: uppercase; letter-spacing: .1em; color: var(--teal-mid); }
.actc__title { font-size: 22px; margin: 0; line-height: 1.15; }
.actc__lead { font-size: 14.5px; line-height: 1.55; color: var(--slate-600); margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.actc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.actc__chip { font-size: 12px; font-weight: var(--fw-bold); background: var(--sand-100); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius-pill); padding: 4px 11px; }
.actc__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 2px dashed var(--sand-300); padding-top: 14px; margin-top: auto; }
.actc__price { display: flex; align-items: baseline; gap: 5px; }
.actc__price small { font-size: 11px; font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: .08em; color: var(--slate-400); }
.actc__price b { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 30px; line-height: 1; color: var(--coral-600); }
.actc__price span { font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--slate-600); }
.actc__actions { display: flex; align-items: center; gap: 10px; }
.actc__pdf { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: var(--petrol-700);
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm); transition: transform var(--dur) var(--ease-out); }
.actc__pdf:hover { transform: translate(-1px, -1px); background: var(--sand-300); }
.actc__pdf svg { width: 19px; height: 19px; }
.actc--mini .actc__title { font-size: 19px; }

/* ficha de detalle */
.actd { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 44px; align-items: start; }
.actd__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.actd__lead { font-size: 17px; line-height: 1.6; color: var(--text-body); font-weight: var(--fw-medium); margin: 0 0 8px; }
.actd__block { padding-top: 30px; }
.actd__block h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 16px; }
.actd__block > p { font-size: 15.5px; line-height: 1.65; color: var(--slate-600); font-weight: var(--fw-medium); margin: 0; max-width: 62ch; }
.actd__notes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.actd__notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55;
  font-weight: var(--fw-medium); color: var(--slate-600); background: var(--sand-100);
  border: 2px solid var(--sand-300); border-radius: var(--radius-md); padding: 13px 16px; }
.actd__notes svg { width: 18px; height: 18px; flex: none; color: var(--teal-mid); margin-top: 1px; }
.actd__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.actd__side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 104px; }
.actd__card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard); padding: var(--space-6); }
.actd__card--inline { margin-top: 22px; box-shadow: var(--shadow-hard-sm); }
.actd__card-kicker { display: block; font-family: var(--font-display); font-size: 11px; font-weight: var(--fw-extrabold);
  text-transform: uppercase; letter-spacing: .12em; color: var(--teal-mid); margin-bottom: 12px; }
.actd__from { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.actd__from small { font-size: 11px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); }
.actd__from b { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 42px; line-height: 1; color: var(--coral-600); }
.actd__from span { font-size: 13px; font-weight: var(--fw-semibold); color: var(--slate-600); }
.actd__table { width: 100%; border-collapse: collapse; }
.actd__table tr { border-top: 2px dashed var(--sand-300); }
.actd__table tr:first-child { border-top: 0; }
.actd__table th { text-align: left; font-size: 13.5px; font-weight: var(--fw-medium); color: var(--slate-600); padding: 10px 0; }
.actd__table td { text-align: right; font-family: var(--font-display); font-weight: var(--fw-extrabold);
  font-size: 14.5px; color: var(--text-strong); padding: 10px 0; white-space: nowrap; }
.actd__pricenote { font-size: 12.5px; line-height: 1.5; color: var(--slate-600); font-weight: var(--fw-medium);
  margin: 14px 0 0; padding-top: 13px; border-top: 2px solid var(--sand-300); }
.actd__card--pdf { background: var(--cream); }
.actd__card--pdf h3 { font-size: 19px; margin: 0 0 8px; }
.actd__card--pdf p { font-size: 14px; line-height: 1.55; color: var(--slate-600); font-weight: var(--fw-medium); margin: 0 0 16px; }

.ficha-links { display: flex; flex-direction: column; gap: 10px; }
.ficha-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 14.5px;
  background: var(--coral-400); color: var(--petrol-700); border: 2px solid var(--petrol-700);
  border-radius: var(--radius-pill); padding: 13px 20px; box-shadow: var(--shadow-hard-sm);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }
.ficha-btn:hover { background: var(--coral-500); transform: translate(-1px, -1px); }
.ficha-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.ficha-btn svg { width: 19px; height: 19px; flex: none; }
.ficha-alt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: var(--fw-medium); color: var(--slate-600); }
.ficha-alt a { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 12px;
  border: 2px solid var(--ink); border-radius: var(--radius-pill); padding: 2px 9px; color: var(--ink); }
.ficha-alt a:hover { background: var(--cream); }

@media (max-width: 1000px) {
  .actd { grid-template-columns: 1fr; gap: 30px; }
  .actd__side { position: static; }
  /* de 3 a 2 columnas; el salto a 1 columna llega en 860px */
  .act-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .act-grid, .act-grid--3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .actc__foot { flex-direction: column; align-items: flex-start; }
}
