@import url(https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Archivo+Narrow:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap);
/* ==========================================================================
   Tingit — landing 2.0
   Tokens y componentes del sistema de diseño entregado por el cliente.
   Scoped a la landing pública y al editor de bloques; no toca el resto
   de la app (que sigue con Tailwind + clases black_button/yellow_landing).
   ========================================================================== */

:root{
  /* Marca */
  --tg-yellow-50:#FFFAE5;--tg-yellow-100:#FFF1B8;--tg-yellow-200:#FFE770;
  --tg-yellow-500:#FFD400;--tg-yellow-600:#F0C400;--tg-yellow-700:#D9B000;
  --tg-gold-700:#8A6B00;--tg-gold-800:#5E4900;
  --tg-ink-900:#0B0B0C;--tg-ink-800:#1A1A1C;--tg-ink-700:#2E2F31;--tg-ink-600:#45464A;
  --tg-ink-500:#5E6064;--tg-ink-400:#85878C;--tg-ink-300:#A9ABB0;--tg-ink-200:#CFD1D4;
  --tg-ink-100:#E5E6E8;--tg-ink-50:#F2F3F4;--tg-ink-25:#FAFAFA;--tg-white:#FFFFFF;
  --tg-green-50:#E9F6EE;--tg-green-400:#1FA45F;--tg-green-600:#157440;
  --tg-red-50:#FBECEA;--tg-red-400:#DE5343;--tg-red-600:#B32A1C;

  --text-strong:var(--tg-ink-900);--text-body:var(--tg-ink-700);--text-muted:var(--tg-ink-500);
  --text-subtle:var(--tg-ink-400);--text-onbrand:var(--tg-ink-900);--text-brand:var(--tg-gold-700);
  --text-link:var(--tg-ink-900);--text-link-hover:var(--tg-gold-700);
  --surface-page:var(--tg-ink-25);--surface-card:var(--tg-white);--surface-sunken:var(--tg-ink-50);
  --surface-inverse:var(--tg-ink-900);--surface-brand:var(--tg-yellow-500);--surface-brand-soft:var(--tg-yellow-50);
  --surface-accent-soft:var(--tg-yellow-100);--surface-ok-soft:var(--tg-green-50);--surface-danger-soft:var(--tg-red-50);
  --border-subtle:var(--tg-ink-100);--border-default:var(--tg-ink-200);--border-strong:var(--tg-ink-400);
  --border-brand:var(--tg-yellow-500);--border-inverse:rgba(255,255,255,.18);
  --action-primary:var(--tg-yellow-500);--action-primary-hover:var(--tg-yellow-600);--action-primary-active:var(--tg-yellow-700);
  --action-ghost-hover:var(--tg-yellow-50);--action-disabled:var(--tg-ink-100);--action-disabled-text:var(--tg-ink-400);
  --focus-ring:0 0 0 3px rgba(217,176,0,.55);
  --state-ok:var(--tg-green-600);--state-warn:var(--tg-gold-700);--state-danger:var(--tg-red-600);

  --tg-font-display:"Archivo Narrow","Archivo",system-ui,sans-serif;
  --tg-font-sans:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tg-font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,monospace;

  --text-display-1:clamp(2.25rem,7vw,3.5rem);
  --text-display-2:clamp(1.875rem,5.5vw,2.75rem);
  --text-h1:clamp(1.625rem,4.5vw,2.25rem);
  --text-h2:clamp(1.375rem,3.5vw,1.75rem);
  --text-h3:1.25rem;--text-h4:1.0625rem;
  --text-body-lg:1.0625rem;--text-body:0.9375rem;--text-sm:0.8125rem;--text-xs:0.6875rem;--text-eyebrow:0.75rem;
  --leading-tight:1.04;--leading-snug:1.18;--leading-normal:1.45;--leading-relaxed:1.6;
  --weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;
  --track-display:-0.02em;--track-heading:-0.01em;--track-eyebrow:0.12em;

  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;
  --space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;
  --radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-pill:999px;
  --container-max:1200px;--container-pad-mobile:20px;--container-pad-desktop:48px;
  --section-y-mobile:56px;--section-y-desktop:96px;--tap-min:48px;

  --shadow-xs:0 1px 2px rgba(11,11,12,.07);
  --shadow-sm:0 1px 3px rgba(11,11,12,.09),0 1px 2px rgba(11,11,12,.05);
  --shadow-md:0 4px 12px -2px rgba(16,23,32,.10),0 2px 4px -2px rgba(11,11,12,.07);
  --shadow-lg:0 16px 40px -12px rgba(11,11,12,.20);
  --ease-out:cubic-bezier(.2,.8,.3,1);
  --dur-fast:120ms;--dur-base:180ms;--dur-slow:280ms;
}

/* ---------- base ----------
   :where(.tg) da especificidad cero al selector de marco, para que
   CUALQUIER regla de componente (footer, botones, tarjetas oscuras...)
   le gane sin pelear por orden ni por :not(). */
.tg{ margin:0; background:var(--surface-page); color:var(--text-body); font-family:var(--tg-font-sans); font-size:var(--text-body); line-height:var(--leading-normal); -webkit-font-smoothing:antialiased; }
:where(.tg) *,:where(.tg) *::before,:where(.tg) *::after{ box-sizing:border-box; }
:where(.tg) h1,:where(.tg) h2,:where(.tg) h3,:where(.tg) h4{ margin:0; color:var(--text-strong); font-family:var(--tg-font-display); font-weight:var(--weight-bold); letter-spacing:var(--track-heading); line-height:var(--leading-snug); }
:where(.tg) p{ margin:0; }
:where(.tg) a{ color:var(--text-link); text-decoration:none; }
:where(.tg) a:hover{ color:var(--text-link-hover); text-decoration:underline; text-underline-offset:2px; }
:where(.tg) button{ font-family:inherit; }
.tg :focus-visible{ outline:none; box-shadow:var(--focus-ring); }
.tg-eyebrow{ display:block; font-family:var(--tg-font-sans); font-size:var(--text-eyebrow); font-weight:var(--weight-semibold); letter-spacing:var(--track-eyebrow); text-transform:uppercase; color:var(--text-brand); margin-bottom:var(--space-3); }
.tg-data{ font-family:var(--tg-font-mono); font-variant-numeric:tabular-nums; }
/* En las secciones el contenedor mide 1200px de CONTENIDO (el padding queda afuera), como en el mockup. Header y footer lo miden con padding adentro. */
.tg-wrap{ box-sizing:content-box; max-width:var(--container-max); margin:0 auto; padding:0 var(--container-pad-mobile); }
.tg-header .tg-wrap,.tg-footer .tg-wrap{ box-sizing:border-box; }
@media (min-width:900px){ .tg-wrap{ padding:0 var(--container-pad-desktop); } }
.tg-section{ padding:var(--section-y-mobile) 0; }
@media (min-width:900px){ .tg-section{ padding:var(--section-y-desktop) 0; } }
.tg-section.sunken{ background:var(--surface-sunken); }
.tg-section.compact{ padding-top:36px; padding-bottom:36px; }
@media (min-width:900px){ .tg-section.compact{ padding-top:56px; padding-bottom:56px; } }
.tg-section.raised{ background:var(--surface-card); }
.tg-section-head{ max-width:720px; margin-bottom:28px; }
@media (min-width:900px){ .tg-section-head{ margin-bottom:var(--space-10); } }
.tg-section-head .tg-section-sub{ margin-top:var(--space-3); font-size:var(--text-body-lg); line-height:var(--leading-normal); color:var(--text-muted); }
.tg-section-head h2{ font-size:var(--text-h1); }

/* ---------- buttons ---------- */
/* Tamaño/forma tomados literal del componente Button real del mockup
   (inspeccionado vía el style inline que aplica en vivo, no adivinado):
   header = 44px/18px/body; resto del contenido = 52px/24px/body-lg. */
.tg-btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    height:44px; padding:0 18px; border-radius:var(--radius-sm);
    font-weight:var(--weight-semibold); font-size:var(--text-body); line-height:1;
    border:1px solid transparent; cursor:pointer; white-space:nowrap;
    transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
    text-decoration:none !important;
}
.tg-btn svg{ width:18px; height:18px; flex:none; }
.tg-btn-sm{ height:36px; padding:0 var(--space-4); font-size:var(--text-sm); }
.tg-btn-lg{ height:52px; padding:0 24px; font-size:var(--text-body-lg); }

.tg-btn-primary{ background:var(--action-primary); color:var(--text-onbrand); }
.tg-btn-primary:hover{ background:var(--action-primary-hover); color:var(--text-onbrand); }
.tg-btn-primary:active{ background:var(--action-primary-active); color:var(--text-onbrand); transform:translateY(1px); }

/* Ghost: el borde SIEMPRE es transparente, en reposo y en hover —
   solo cambia el fondo. No lleva borde visible nunca. */
.tg-btn-ghost{ background:transparent; color:var(--text-strong); }
.tg-btn-ghost:hover{ background:var(--action-ghost-hover); color:var(--text-strong); }

/* Outline: blanco con borde gris visible (Elegir Básico/Premium,
   Hablar con un asesor). */
.tg-btn-outline{ background:var(--surface-card); color:var(--text-strong); border-color:var(--border-default); }
.tg-btn-outline:hover{ border-color:var(--border-strong); color:var(--text-strong); }

.tg-btn-dark{ background:var(--tg-white); color:var(--tg-ink-900); }
.tg-btn-dark-ghost{ background:transparent; color:var(--tg-white); border-color:var(--border-inverse); }
.tg-btn-dark-ghost:hover{ background:rgba(255,255,255,.08); color:var(--tg-white); }

/* ---------- header ---------- */
.tg-header{ position:-webkit-sticky; position:sticky; top:0; z-index:40; background:rgba(255,255,255,.92); -webkit-backdrop-filter:saturate(140%) blur(8px); backdrop-filter:saturate(140%) blur(8px); border-bottom:1px solid var(--border-subtle); }
.tg-header-inner{ box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); height:68px; padding:0 var(--container-pad-mobile); max-width:var(--container-max); margin:0 auto; }
.tg-logo{ display:flex; }
.tg-logo img{ height:34px; width:auto; max-width:100%; display:block; flex-shrink:0; }
.tg-nav{ display:none; align-items:center; gap:var(--space-6); list-style:none; margin:0 auto 0 var(--space-8); padding:0; }
.tg-nav a{ font-size:var(--text-body); font-weight:var(--weight-medium); color:var(--text-body); }
.tg-header-cta{ display:none; align-items:center; gap:var(--space-2); }
.tg-header-mobile-cta{ display:flex; align-items:center; gap:var(--space-2); }
.tg-hamburger{ display:grid; place-items:center; width:40px; height:40px; padding:0; border-radius:var(--radius-sm); border:1px solid var(--border-default); background:transparent; color:var(--text-strong); cursor:pointer; }
.tg-hamburger svg{ width:20px; height:20px; }
.tg-hamburger .tg-icon-x{ display:none; }
.tg-mobile-panel{ display:none; flex-direction:column; padding:var(--space-2) var(--container-pad-mobile) var(--space-4); border-top:1px solid var(--border-subtle); background:var(--surface-card); }
.tg-mobile-panel a{ padding:var(--space-3) 0; font-size:var(--text-body-lg); font-weight:var(--weight-medium); color:var(--text-strong); border-bottom:1px solid var(--border-subtle); }
body.tg-menu-open .tg-mobile-panel{ display:flex; }
body.tg-menu-open .tg-hamburger .tg-icon-menu{ display:none; }
body.tg-menu-open .tg-hamburger .tg-icon-x{ display:block; }
@media (min-width:900px){
  .tg-header-inner{ height:82px; padding:0 var(--container-pad-desktop); }
  .tg-logo img{ height:42px; }
  .tg-nav{ display:flex; }
  .tg-header-cta{ display:flex; }
  .tg-header-mobile-cta{ display:none; }
}

/* ---------- hero ---------- */
.tg-section.tg-hero{ padding-top:0; padding-bottom:var(--space-10); }
.tg-hero-grid{ display:flex; flex-direction:column; gap:28px; }
.tg-hero-body{ display:flex; flex-direction:column; gap:28px; }
.tg-hero-copy{ display:flex; flex-direction:column; gap:14px; }
.tg-hero-copy .tg-eyebrow{ margin-bottom:0; }
.tg-hero-actions{ display:flex; flex-direction:column; gap:10px; }
.tg-hero-photo{ order:-1; position:relative; margin-inline:calc(var(--container-pad-mobile) * -1); }
.tg-hero-photo-frame{ position:relative; aspect-ratio:16/11; overflow:hidden; background:var(--surface-sunken); }
.tg-hero-photo-frame img{ width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }
/* Mockup de iPhone con una captura simulada de Carta Porte, sobresaliendo
   de la esquina inferior derecha de la foto (solo desktop). La imagen de la
   pantalla es editable desde el editor de bloques (GrapesJS). */
.tg-hero-phone{ display:none; position:absolute; right:0; bottom:-6%; width:clamp(112px,30%,186px); z-index:2; }
.tg-hero-phone-body{ position:relative; background:var(--tg-ink-900); border-radius:26px; padding:8px; box-shadow:var(--shadow-lg); }
.tg-hero-phone-screen{ position:relative; aspect-ratio:9/19.5; background:var(--tg-white); border-radius:18px; overflow:hidden; }
.tg-hero-phone-screen img{ width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }
.tg-hero-phone-island{ position:absolute; top:8px; left:50%; transform:translateX(-50%); width:36px; height:10px; background:var(--tg-ink-900); border-radius:6px; z-index:3; pointer-events:none; }
.tg-hero-title{ font-size:34px; line-height:1.06; letter-spacing:var(--track-display); margin:0; }
.tg-hero-sub{ font-size:var(--text-body-lg); color:var(--text-muted); max-width:560px; margin:0; }
.tg-hero-ctas{ display:flex; align-items:center; gap:var(--space-3); }
.tg-hero-ctas.tg-mobile-only .tg-btn{ width:100%; }
.tg-hero-note{ font-size:var(--text-sm); color:var(--text-subtle); text-align:center; }
/* Variantes por dispositivo: el hero del mockup usa textos distintos en móvil y desktop */
@media (max-width:899.98px){ .tg-desktop-only{ display:none !important; } }
@media (min-width:900px){
  .tg-mobile-only{ display:none !important; }
  .tg-section.tg-hero{ padding-top:72px; padding-bottom:88px; }
  .tg-hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
  .tg-hero-body, .tg-hero-copy, .tg-hero-actions{ gap:22px; }
  .tg-hero-photo{ order:0; margin-inline:0; padding-right:26%; }
  .tg-hero-photo-frame{ aspect-ratio:5/4; border:1px solid var(--border-subtle); border-radius:var(--radius-md); }
  .tg-hero-phone{ display:block; }
  .tg-hero-title{ font-size:var(--text-display-1); line-height:var(--leading-tight); }
  .tg-hero-note{ text-align:left; }
}

/* ---------- feature cards (el problema) ---------- */
.tg-cards{ display:grid; grid-template-columns:1fr; gap:var(--space-5); }
.tg-card{ background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); box-shadow:var(--shadow-xs); padding:var(--space-6); display:flex; flex-direction:column; align-items:flex-start; gap:var(--space-3); }
.tg-card-icon{ width:49px; height:56px; flex-shrink:0; align-self:center; }
.tg-card h3{ font-family:var(--tg-font-sans); font-size:16px; font-weight:var(--weight-bold); letter-spacing:0; }
.tg-card p{ color:var(--text-muted); font-size:var(--text-sm); line-height:var(--leading-relaxed); }
@media (min-width:900px){ .tg-cards{ grid-template-columns:repeat(3,1fr); } }

/* ---------- qué hace tingit (captura + lista de características) ---------- */
.tg-feature-grid{ display:grid; grid-template-columns:1fr; gap:var(--space-6); align-items:start; }
.tg-feature-media{ display:flex; flex-direction:column; gap:var(--space-3); }
.tg-feature-frame{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--surface-sunken); border:1px solid var(--border-subtle); border-radius:var(--radius-md); }
.tg-feature-frame img{ position:absolute; inset:0; width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }
.tg-feature-frame .tg-placeholder{ position:absolute; inset:0; display:grid; place-items:center; padding:var(--space-5); text-align:center; font-size:13px; font-weight:var(--weight-medium); color:var(--text-subtle); }
.tg-feature-caption{ font-size:13px; color:var(--text-subtle); }
.tg-feature-list{ display:flex; flex-direction:column; }
.tg-feature-row{ display:grid; grid-template-columns:auto 1fr; gap:var(--space-5); align-items:start; padding:22px 0; border-top:1px solid var(--border-subtle); }
.tg-feature-row:first-child{ border-top:0; }
.tg-feature-icon{ height:34px; width:auto; display:block; }
.tg-feature-text{ display:flex; flex-direction:column; gap:var(--space-1); }
.tg-feature-text h3{ font-family:var(--tg-font-sans); font-size:17px; font-weight:var(--weight-bold); letter-spacing:0; line-height:var(--leading-normal); }
.tg-feature-text p{ color:var(--text-muted); font-size:var(--text-body); line-height:var(--leading-normal); }
.tg-feature-cta{ margin-top:28px; display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; gap:var(--space-4); padding:var(--space-5); background:var(--surface-brand-soft); border:1px solid var(--tg-yellow-200); border-radius:var(--radius-md); }
.tg-feature-cta > div:first-child{ display:flex; flex-direction:column; gap:var(--space-1); }
.tg-feature-cta p{ font-size:17px; font-weight:var(--weight-bold); color:var(--text-strong); line-height:var(--leading-normal); }
.tg-feature-cta .tg-feature-cta-sub{ font-size:var(--text-body); font-weight:var(--weight-regular); color:var(--text-muted); }
.tg-stack > .tg-feature-cta{ margin-top:0; }
.tg-feature-cta-btns{ display:flex; flex-direction:column; gap:10px; flex:0 0 auto; }
.tg-feature-cta-btns .tg-btn-outline{ height:auto; min-height:48px; padding:0 var(--space-5); }
@media (min-width:900px){
  .tg-feature-grid{ grid-template-columns:.9fr 1.1fr; gap:64px; }
  .tg-feature-frame{ aspect-ratio:4/3.4; }
  .tg-feature-icon{ height:40px; }
  .tg-feature-cta{ margin-top:var(--space-10); flex-direction:row; align-items:center; gap:var(--space-6); padding:var(--space-5) var(--space-6); }
  .tg-feature-cta-btns{ flex-direction:row; }
}

/* ---------- integración ML ---------- */
.tg-integration{ display:grid; grid-template-columns:1fr; gap:var(--space-5); align-items:center; padding:var(--space-5); background:var(--surface-card); border:1px solid var(--border-default); border-radius:var(--radius-md); box-shadow:var(--shadow-xs); }
.tg-integration-logo{ display:grid; place-items:center; width:100%; min-height:80px; padding:var(--space-4); background:var(--surface-sunken); border-radius:var(--radius-sm); }
.tg-integration-logo img{ max-width:100%; max-height:44px; display:block; }
.tg-integration-body{ display:flex; flex-direction:column; gap:var(--space-3); }
.tg-integration-body .tg-eyebrow{ margin-bottom:0; }
.tg-integration h3{ font-size:var(--text-h3); line-height:var(--leading-normal); margin:0; }
.tg-integration p{ color:var(--text-muted); font-size:var(--text-body); }
.tg-integration-bullets{ display:flex; flex-direction:column; flex-wrap:wrap; gap:var(--space-2); }
.tg-integration-bullets div{ display:flex; align-items:center; gap:var(--space-2); font-size:var(--text-body); color:var(--text-body); }
.tg-integration-bullets svg{ width:18px; height:18px; stroke:var(--state-ok); flex:0 0 auto; }
@media (min-width:900px){
  .tg-integration{ grid-template-columns:auto 1fr; gap:var(--space-8); padding:var(--space-6); }
  .tg-integration-logo{ width:190px; min-height:104px; }
  .tg-integration-logo img{ max-height:52px; }
  .tg-integration-bullets{ flex-direction:row; gap:var(--space-6); }
}

/* ---------- cómo funciona ---------- */
.tg-steps{ display:grid; grid-template-columns:1fr; gap:var(--space-3); }
.tg-step{ display:flex; flex-direction:column; gap:var(--space-3); padding:var(--space-6); background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); box-shadow:var(--shadow-xs); }
.tg-step-num{ width:32px; height:32px; display:grid; place-items:center; border-radius:var(--radius-pill); background:var(--surface-brand-soft); color:var(--text-brand); font-family:var(--tg-font-mono); font-size:var(--text-sm); font-weight:var(--weight-semibold); }
.tg-step h3{ font-size:var(--text-h4); font-weight:var(--weight-bold); margin:0; }
.tg-step p{ color:var(--text-muted); font-size:var(--text-body); }
@media (min-width:900px){ .tg-steps{ grid-template-columns:repeat(4,1fr); gap:var(--space-5); } }

/* ---------- clientes / testimonios ---------- */
.tg-logowall{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--border-subtle); border:1px solid var(--border-subtle); border-radius:var(--radius-md); overflow:hidden; }
.tg-logowall > div{ display:grid; place-items:center; min-height:84px; padding:var(--space-4); background:var(--surface-card); font-size:var(--text-xs); line-height:1.4; color:var(--text-subtle); text-align:center; }
.tg-testimonials{ display:grid; grid-template-columns:1fr; gap:var(--space-3); margin-top:28px; }
.tg-testimonial{ display:flex; flex-direction:column; gap:var(--space-4); padding:var(--space-5); background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); box-shadow:var(--shadow-xs); }
.tg-testimonial .tg-quote-mark{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; flex:0 0 auto; color:var(--tg-yellow-500); line-height:0; }
.tg-testimonial .tg-quote-mark svg{ width:100%; height:100%; }
.tg-testimonial p.tg-quote{ min-height:84px; color:var(--text-subtle); font-size:var(--text-body); }
.tg-testimonial .tg-who{ display:flex; flex-direction:column; gap:2px; padding-top:var(--space-3); border-top:1px solid var(--border-subtle); }
.tg-testimonial .tg-who strong{ font-size:var(--text-body); font-weight:var(--weight-bold); color:var(--text-subtle); }
.tg-testimonial .tg-who span{ font-size:var(--text-sm); color:var(--text-muted); }
@media (min-width:900px){
  .tg-logowall{ grid-template-columns:repeat(6,1fr); }
  .tg-logowall > div{ min-height:104px; }
  .tg-testimonials{ grid-template-columns:repeat(3,1fr); gap:var(--space-5); margin-top:var(--space-10); }
  .tg-testimonial{ padding:var(--space-6); }
}

/* ---------- FAQ ---------- */
.tg-faq{ display:flex; flex-direction:column; }
.tg-faq-item{ border-bottom:1px solid var(--border-subtle); }
.tg-faq-q{ width:100%; min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); padding:var(--space-4) 0; background:transparent; border:0; text-align:left; font-family:var(--tg-font-sans); font-size:var(--text-body-lg); font-weight:var(--weight-semibold); color:var(--text-strong); cursor:pointer; }
.tg-faq-q svg{ width:20px; height:20px; stroke:var(--text-muted); flex-shrink:0; transition:transform var(--dur-base) var(--ease-out); }
.tg-faq-item.open .tg-faq-q svg{ transform:rotate(180deg); }
.tg-faq-a{ max-height:0; overflow:hidden; transition:max-height var(--dur-base) var(--ease-out); }
.tg-faq-item.open .tg-faq-a{ max-height:240px; }
.tg-faq-a p{ max-width:640px; padding-bottom:var(--space-5); color:var(--text-muted); font-size:var(--text-body); }

/* ---------- planes ---------- */
.tg-stack{ display:flex; flex-direction:column; gap:28px; }
.tg-stack > .tg-section-head{ margin-bottom:0; }
.tg-plans-photo{ position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--surface-sunken); border:1px solid var(--border-subtle); border-radius:var(--radius-md); }
.tg-plans-photo img{ width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }
.tg-plans-banner{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:var(--space-4); background:var(--surface-card); border:1px solid var(--border-default); border-radius:var(--radius-sm); }
.tg-plans-banner img{ height:26px; width:auto; display:block; flex:0 0 auto; }
.tg-plans-banner span{ font-size:var(--text-body); color:var(--text-body); }
.tg-plans-banner strong{ color:var(--text-strong); }
.tg-billing{ display:flex; flex-direction:column; align-items:center; gap:var(--space-3); }
.tg-billing-switch{ display:inline-flex; gap:4px; padding:4px; background:var(--surface-sunken); border:1px solid var(--border-subtle); border-radius:var(--radius-pill); }
.tg-billing-switch button{ height:40px; padding:0 var(--space-5); border:0; border-radius:var(--radius-pill); background:transparent; color:var(--text-muted); font-size:var(--text-body); font-weight:var(--weight-semibold); cursor:pointer; transition:background var(--dur-fast) var(--ease-out); }
.tg-billing-switch button.is-active{ background:var(--surface-card); box-shadow:var(--shadow-xs); color:var(--text-strong); }
.tg-billing-badge{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:var(--radius-pill); background:var(--surface-accent-soft); color:var(--tg-gold-800); font-size:var(--text-xs); font-weight:var(--weight-semibold); letter-spacing:.04em; text-transform:uppercase; }
.tg-billing-annual .tg-only-monthly, .tg-billing-monthly .tg-only-annual{ display:none !important; }
.tg-plans-grid{ display:grid; grid-template-columns:1fr; gap:var(--space-3); }
.tg-plan{ position:relative; display:flex; flex-direction:column; gap:var(--space-5); padding:var(--space-6); background:var(--surface-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); box-shadow:var(--shadow-xs); }
.tg-plan.tg-plan-featured{ border-color:var(--border-brand); box-shadow:var(--shadow-md); }
.tg-plan-head{ display:flex; align-items:center; justify-content:space-between; gap:var(--space-3); }
.tg-plan-name{ font-size:var(--text-h3); margin:0; }
.tg-plan-badge{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:var(--radius-pill); background:var(--surface-inverse); color:var(--tg-yellow-500); font-size:var(--text-xs); font-weight:var(--weight-semibold); letter-spacing:.04em; text-transform:uppercase; }
.tg-plan-price{ display:flex; flex-direction:column; gap:4px; }
.tg-plan-price-row{ display:flex; flex-wrap:wrap; align-items:baseline; gap:var(--space-2); }
.tg-plan-amt{ font-family:var(--tg-font-display); font-variant-numeric:tabular-nums; font-size:var(--text-display-2); font-weight:var(--weight-bold); color:var(--text-strong); letter-spacing:var(--track-display); line-height:1; }
.tg-plan-per{ font-size:var(--text-body); color:var(--text-muted); }
.tg-plan-old{ font-variant-numeric:tabular-nums; font-size:var(--text-body); color:var(--text-subtle); text-decoration:line-through; }
.tg-plan-iva{ font-size:var(--text-sm); color:var(--text-subtle); }
.tg-plan-billing{ font-size:var(--text-sm); color:var(--text-body); }
.tg-plan-stamps{ display:flex; align-items:center; gap:var(--space-2); padding:var(--space-3); background:var(--surface-sunken); border-radius:var(--radius-sm); font-size:var(--text-body); font-weight:var(--weight-semibold); color:var(--text-strong); }
.tg-plan-stamps svg{ width:18px; height:18px; flex:0 0 auto; color:var(--text-brand); }
.tg-plan-feats{ display:flex; flex-direction:column; gap:var(--space-3); margin:0; padding:0; list-style:none; }
.tg-plan-feats li{ display:flex; align-items:flex-start; gap:var(--space-2); font-size:var(--text-body); color:var(--text-body); }
.tg-plan-feats svg{ width:18px; height:18px; flex:0 0 auto; color:var(--state-ok); }
.tg-plan-feats li.off{ color:var(--text-subtle); text-decoration:line-through; }
.tg-plan-feats li.off svg{ color:var(--border-strong); }
.tg-plan > .tg-btn{ display:flex; width:100%; margin-top:auto; }
.tg-plans-trial{ display:flex; align-items:flex-start; gap:var(--space-4); padding:var(--space-5); background:var(--surface-brand-soft); border:1px solid var(--tg-yellow-200); border-radius:var(--radius-md); }
.tg-plans-trial-icon{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; flex:0 0 auto; margin-top:2px; color:var(--text-brand); line-height:0; }
.tg-plans-trial-icon svg{ width:100%; height:100%; }
.tg-plans-trial > div{ display:flex; flex-direction:column; gap:4px; }
.tg-plans-trial strong{ font-size:var(--text-body-lg); color:var(--text-strong); }
.tg-plans-trial p{ font-size:var(--text-body); color:var(--text-muted); }
@media (min-width:900px){
  .tg-stack{ gap:var(--space-10); }
  .tg-plans-photo{ aspect-ratio:16/5; }
  .tg-plans-banner{ flex-direction:row; align-items:center; gap:14px; padding:var(--space-4) var(--space-5); }
  .tg-plans-grid{ grid-template-columns:repeat(3,1fr); gap:var(--space-5); }
}

/* ---------- cierre ---------- */
.tg-section.tg-close-section{ padding-top:48px; padding-bottom:48px; background:var(--surface-inverse); }
.tg-close{ display:grid; grid-template-columns:1fr; gap:var(--space-6); align-items:center; }
.tg-close-photo{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--tg-ink-800); border:1px solid var(--border-inverse); border-radius:var(--radius-md); }
.tg-close-photo img{ width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }
.tg-close-body{ display:flex; flex-direction:column; gap:18px; }
.tg-close-text{ display:flex; flex-direction:column; gap:10px; }
.tg-close-text h2{ color:var(--tg-white); font-size:var(--text-h1); }
.tg-close-text p{ color:var(--tg-ink-300); font-size:var(--text-body-lg); }
.tg-close-ctas{ display:flex; flex-direction:column; gap:var(--space-3); width:100%; }
.tg-close-ctas .tg-btn-dark-ghost{ height:auto; min-height:48px; padding:0 var(--space-5); }
@media (min-width:900px){
  .tg-section.tg-close-section{ padding-top:88px; padding-bottom:88px; }
  .tg-close{ grid-template-columns:1fr 1fr; gap:56px; }
  .tg-close-photo{ aspect-ratio:4/3; }
  .tg-close-ctas{ flex-direction:row; width:auto; }
}

/* ---------- footer ---------- */
.tg-footer{ background:var(--tg-ink-900); color:var(--tg-ink-300); }
.tg-footer-main{ box-sizing:border-box; display:grid; grid-template-columns:1fr; gap:var(--space-8); max-width:var(--container-max); margin:0 auto; padding:var(--space-10) var(--container-pad-mobile) var(--space-8); }
.tg-footer-brand{ display:flex; flex-direction:column; gap:var(--space-5); max-width:420px; }
.tg-footer-brand > img{ height:60px; width:auto; max-width:100%; -o-object-fit:contain; object-fit:contain; align-self:flex-start; flex-shrink:0; display:block; }
.tg-footer-brand p{ font-size:var(--text-body); color:var(--tg-ink-400); line-height:var(--leading-relaxed); }
.tg-footer-social{ display:flex; gap:var(--space-3); }
.tg-footer-social a{ width:40px; height:40px; display:grid; place-items:center; border-radius:var(--radius-sm); background:rgba(255,255,255,.07); border:1px solid var(--border-inverse); }
.tg-footer-social img{ width:18px; height:18px; display:block; opacity:.85; }
.tg-footer-col{ display:flex; flex-direction:column; gap:var(--space-3); }
.tg-footer-col h4{ margin:0; line-height:var(--leading-normal); font-family:var(--tg-font-sans); font-size:var(--text-sm); font-weight:var(--weight-semibold); letter-spacing:var(--track-eyebrow); text-transform:uppercase; color:var(--tg-yellow-500); }
.tg-footer-col a{ font-size:var(--text-body); color:var(--tg-ink-300); }
.tg-footer-bar{ border-top:1px solid var(--border-inverse); }
.tg-footer-bottom{ box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:var(--space-3); max-width:var(--container-max); margin:0 auto; padding:var(--space-5) var(--container-pad-mobile); }
.tg-footer-bottom > span{ font-size:var(--text-sm); color:var(--tg-ink-500); }
.tg-footer-legal{ display:flex; flex-direction:column; gap:var(--space-3); }
.tg-footer-legal a{ font-size:var(--text-sm); color:var(--tg-ink-300); }
@media (min-width:900px){
  .tg-footer-main{ grid-template-columns:1.5fr 1fr 1fr; gap:var(--space-12); padding:var(--space-16) var(--container-pad-desktop) var(--space-10); }
  .tg-footer-brand > img{ height:72px; }
  .tg-footer-bottom{ flex-direction:row; align-items:center; gap:var(--space-6); padding:var(--space-5) var(--container-pad-desktop); }
  .tg-footer-legal{ flex-direction:row; gap:var(--space-6); }
}

/* ---------- modal "continúas en la app" ---------- */
.tg-modal-overlay{ display:none; position:fixed; inset:0; z-index:80; background:rgba(11,11,12,.5); align-items:center; justify-content:center; padding:20px; }
.tg-modal-overlay.open{ display:flex; }
.tg-modal{ background:var(--tg-white); border-radius:var(--radius-lg); max-width:420px; width:100%; padding:var(--space-8); box-shadow:var(--shadow-lg); text-align:center; }
.tg-modal h3{ font-size:var(--text-h2); margin-bottom:var(--space-3); }
.tg-modal p{ color:var(--text-muted); margin-bottom:var(--space-6); line-height:var(--leading-relaxed); }
.tg-modal-actions{ display:flex; flex-direction:column; gap:var(--space-3); }

/* ---------- sticky cta bar (móvil) ---------- */
.tg-sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:45; display:flex; gap:var(--space-3); padding:var(--space-3) var(--container-pad-mobile); background:var(--tg-white); border-top:1px solid var(--border-subtle); box-shadow:var(--shadow-lg); }
.tg-sticky-cta .tg-btn{ flex:1; }
@media (min-width:900px){ .tg-sticky-cta{ display:none; } }


