/* =============================================================================
   TECNO FRANQUICIAS — Sistema de diseño
   Paleta tomada del logotipo: oro #F9B21C · naranja #F7931E · naranja profundo #EF5A0C
   ========================================================================== */

:root {
  --gold: #F9B21C;
  --amber: #F7A017;
  --orange: #F7931E;
  --orange-2: #F26A1B;
  --orange-deep: #EF5A0C;
  --red-orange: #E8480A;

  --ink: #15120E;
  --ink-2: #3d372f;
  --muted: #6f665a;

  --cream: #FFF9F1;
  --cream-2: #FFF1E1;
  --paper: #ffffff;
  --line: rgba(21, 18, 14, .08);
  --line-2: rgba(21, 18, 14, .12);

  --grad: linear-gradient(135deg, #F9B21C 0%, #F7931E 46%, #EF5A0C 100%);
  --grad-rev: linear-gradient(135deg, #EF5A0C 0%, #F7931E 54%, #F9B21C 100%);
  --grad-text: linear-gradient(120deg, #F9B21C, #F7931E 40%, #EF5A0C 90%);
  --grad-soft: linear-gradient(150deg, #FFE9C6, #FFD9B4 60%, #FFC79A);

  --shadow-xs: 0 1px 2px rgba(21, 18, 14, .06);
  --shadow-sm: 0 6px 18px -8px rgba(120, 60, 10, .22);
  --shadow: 0 18px 40px -18px rgba(140, 70, 12, .30);
  --shadow-lg: 0 40px 80px -30px rgba(150, 74, 12, .40);
  --glow: 0 20px 60px -18px rgba(247, 122, 20, .55);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: rgba(247, 147, 30, .28); }

/* Accesibilidad */
.tf-skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.tf-skip:focus { left: 0; }

/* ------------------------------ Layout ---------------------------------- */
.tf-container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.tf-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.tf-section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.tf-ico { width: 24px; height: 24px; flex: none; }
.tf-ico--sm { width: 18px; height: 18px; }
.tf-ico--lg { width: 30px; height: 30px; }

/* ------------------------- Encabezados de sección ----------------------- */
.tf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep);
  background: linear-gradient(135deg, rgba(249, 178, 28, .16), rgba(239, 90, 12, .12));
  border: 1px solid rgba(239, 90, 12, .18);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.tf-eyebrow .tf-ico { width: 15px; height: 15px; }

.tf-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.tf-head.tf-center { margin-inline: auto; text-align: center; }
.tf-title {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.08; letter-spacing: -.025em; font-weight: 800;
  margin: 18px 0 14px;
}
.tf-title--sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tf-lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); }
.tf-grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------------------------------- Botones ------------------------------- */
.tf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.tf-btn .tf-ico { width: 19px; height: 19px; }
.tf-btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.tf-btn--primary:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.tf-btn--dark { background: var(--ink); color: #fff; }
.tf-btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tf-btn--ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.tf-btn--ghost:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tf-btn--white { background: #fff; color: var(--orange-deep); box-shadow: var(--shadow-sm); }
.tf-btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tf-btn--wa { background: #25D366; color: #fff; }
.tf-btn--wa:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(37, 211, 102, .7); }
.tf-btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.tf-btn--block { width: 100%; }

.tf-link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--orange-deep); }
.tf-link-arrow .tf-ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tf-link-arrow:hover .tf-ico { transform: translateX(4px); }

/* ============================== NAVBAR ================================== */
.tf-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.tf-nav__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.tf-nav.is-scrolled {
  background: rgba(255, 249, 241, .82); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(120, 60, 10, .5);
}

.tf-logo { display: inline-flex; align-items: center; gap: 12px; }
.tf-logo img { height: 38px; width: auto; }
.tf-logo__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); box-shadow: var(--shadow-sm); color: #fff;
}
.tf-logo__mark .tf-ico { width: 22px; height: 22px; }

.tf-nav__links { display: flex; align-items: center; gap: 2px; }
.tf-nav__links a {
  padding: 9px 15px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 600; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.tf-nav__links a:hover { background: rgba(247, 147, 30, .12); color: var(--orange-deep); }

.tf-nav__cta { display: flex; align-items: center; gap: 10px; }
.tf-burger {
  display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink);
}
.tf-burger .tf-ico { width: 22px; height: 22px; }

/* -------- Drawer móvil -------- */
.tf-drawer { position: fixed; inset: 0; z-index: 140; visibility: hidden; }
.tf-drawer__scrim {
  position: absolute; inset: 0; background: rgba(21, 18, 14, .5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.tf-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(88%, 360px);
  background: var(--grad); color: #fff; padding: 22px;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .4);
}
.tf-drawer.is-open { visibility: visible; }
.tf-drawer.is-open .tf-drawer__scrim { opacity: 1; }
.tf-drawer.is-open .tf-drawer__panel { transform: translateX(0); }
.tf-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.tf-drawer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.tf-drawer__brand .tf-logo__mark { background: rgba(255, 255, 255, .18); }
.tf-drawer__close { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.tf-drawer__close:hover { background: rgba(255, 255, 255, .32); }
.tf-drawer__links { display: flex; flex-direction: column; gap: 8px; }
.tf-drawer__links a {
  padding: 15px 18px; border-radius: 16px; background: rgba(255, 255, 255, .12);
  font-weight: 700; font-size: 1.05rem;
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s;
}
.tf-drawer__links a:hover { background: rgba(255, 255, 255, .22); }
.tf-drawer.is-open .tf-drawer__links a { opacity: 1; transform: translateY(0); }
.tf-drawer__foot { margin-top: auto; padding-top: 18px; }

/* ============================== HERO =================================== */
.tf-hero { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.tf-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tf-hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(249, 178, 28, .30), transparent 60%),
    radial-gradient(50% 45% at 12% 20%, rgba(239, 90, 12, .16), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream) 55%);
}
.tf-blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; }
.tf-blob--1 { width: 420px; height: 420px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(249,178,28,.7), transparent 70%); animation: floatY 9s var(--ease) infinite; }
.tf-blob--2 { width: 360px; height: 360px; left: -100px; bottom: -40px; background: radial-gradient(circle, rgba(239,90,12,.5), transparent 70%); animation: floatY 11s var(--ease) infinite reverse; }

.tf-hero__ghost {
  position: absolute; z-index: 0; left: 50%; top: 60%; transform: translate(-50%, -50%);
  font-weight: 900; letter-spacing: -.04em; line-height: .8; white-space: nowrap;
  font-size: clamp(120px, 22vw, 340px); color: rgba(255, 255, 255, .5);
  -webkit-text-stroke: 1px rgba(239, 90, 12, .08);
  mask-image: linear-gradient(180deg, #000 30%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 88%);
  pointer-events: none; user-select: none;
}

.tf-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 4vw, 60px); align-items: center;
}
.tf-hero__title {
  font-size: clamp(2.4rem, 5.3vw, 4.1rem); line-height: 1.03; letter-spacing: -.03em; font-weight: 850;
  margin: 20px 0 18px;
}
.tf-hero__title span { display: inline; }
.tf-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 40ch; }
.tf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.tf-hero__stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.tf-stat__num { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 850; letter-spacing: -.02em; }
.tf-stat__num.tf-grad-text { display: inline-block; }
.tf-stat__label { font-size: .86rem; color: var(--muted); font-weight: 600; }
.tf-stat + .tf-stat { border-left: 1px solid var(--line-2); padding-left: 30px; }

/* Panel visual del hero (mockup con nodos) */
.tf-hero__art { position: relative; }
.tf-hero__panel {
  position: relative; z-index: 2; border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fff, #fff8ef);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 22px;
}
.tf-hero__panel-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.tf-dot { width: 11px; height: 11px; border-radius: 50%; }
.tf-dot--r { background: #ff6b5e; } .tf-dot--y { background: #ffce4f; } .tf-dot--g { background: #4fd07a; }
.tf-hero__panel-title { margin-left: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.tf-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-mini__card {
  border-radius: var(--r); padding: 16px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-xs); transition: transform .4s var(--ease);
}
.tf-mini__card:hover { transform: translateY(-4px); }
.tf-mini__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 10px; }
.tf-mini__ico .tf-ico { width: 22px; height: 22px; }
.tf-mini__name { font-weight: 800; font-size: .95rem; }
.tf-mini__meta { font-size: .78rem; color: var(--muted); }
.tf-mini__bar { height: 7px; border-radius: 6px; background: var(--cream-2); margin-top: 12px; overflow: hidden; }
.tf-mini__bar > i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }

.tf-badge-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 11px 15px; border-radius: 14px; font-weight: 700; font-size: .84rem;
}
.tf-badge-float .tf-chip-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.tf-badge-float--a { top: -20px; left: -26px; animation: floatY 6s var(--ease) infinite; }
.tf-badge-float--a .tf-chip-ico { background: #25D366; }
.tf-badge-float--b { bottom: -22px; right: -18px; animation: floatY 7.5s var(--ease) infinite reverse; }
.tf-badge-float--b .tf-chip-ico { background: var(--grad); }

/* Marquesina de confianza */
.tf-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.5); }
.tf-trust__row { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; justify-content: center; padding: 22px 0; }
.tf-trust__item { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.tf-trust__item .tf-ico { color: var(--orange-deep); }

/* ============================ CÓMO FUNCIONA ============================ */
.tf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.tf-step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-xs); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tf-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tf-step__n {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 850; font-size: 1.2rem; color: #fff; background: var(--grad); box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.tf-step h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 8px; }
.tf-step p { color: var(--muted); font-size: .96rem; }
.tf-step__ico { position: absolute; top: 24px; right: 22px; color: rgba(239, 90, 12, .18); }
.tf-step__ico .tf-ico { width: 30px; height: 30px; }

/* ============================== CATÁLOGO =============================== */
.tf-cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tf-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.tf-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.tf-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tf-card:hover::before { transform: scaleX(1); }
.tf-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tf-card__ico {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.tf-card__ico .tf-ico { width: 30px; height: 30px; }
.tf-ico-gold { background: linear-gradient(135deg, #FBBE33, #F7A017); }
.tf-ico-orange { background: linear-gradient(135deg, #F9A22B, #F26A1B); }
.tf-ico-orange-deep { background: linear-gradient(135deg, #F7811A, #E8480A); }
.tf-tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--r-pill); color: var(--orange-deep);
  background: rgba(247, 147, 30, .12); border: 1px solid rgba(247, 147, 30, .2);
}
.tf-star-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800;
  color: #fff; background: var(--grad); padding: 6px 11px; border-radius: var(--r-pill);
}
.tf-star-badge .tf-ico { width: 13px; height: 13px; }
.tf-card__name { font-size: 1.3rem; font-weight: 850; letter-spacing: -.01em; }
.tf-card__sector { font-size: .82rem; font-weight: 700; color: var(--orange-deep); margin-bottom: 10px; }
.tf-card__desc { color: var(--muted); font-size: .95rem; }
.tf-card__feats { display: flex; flex-direction: column; gap: 9px; margin: 18px 0; }
.tf-card__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: var(--ink-2); }
.tf-card__feats .tf-ico { width: 17px; height: 17px; color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; flex: none; margin-top: 2px; }
.tf-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tf-price__label { font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tf-price__val { font-size: 1.2rem; font-weight: 850; }
.tf-price__val small { font-size: .72rem; color: var(--muted); font-weight: 700; }

/* =========================== EXCLUSIVIDAD ============================= */
.tf-terr { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.tf-terr::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 45% at 88% 10%, rgba(249, 178, 28, .3), transparent 60%),
    radial-gradient(40% 40% at 8% 90%, rgba(239, 90, 12, .28), transparent 60%);
  opacity: .9;
}
.tf-terr__dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.4px, transparent 1.6px);
  background-size: 26px 26px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.tf-terr__wrap { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.tf-terr .tf-eyebrow { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
.tf-terr .tf-title { color: #fff; }
.tf-terr__lead { color: rgba(255, 255, 255, .74); font-size: 1.08rem; }
.tf-terr__list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.tf-terr__list li { display: flex; gap: 13px; align-items: flex-start; }
.tf-terr__list .tf-ico { width: 22px; height: 22px; color: #fff; background: var(--grad); border-radius: 8px; padding: 4px; flex: none; }
.tf-terr__list b { font-weight: 800; }
.tf-terr__list span { color: rgba(255, 255, 255, .68); font-size: .95rem; }

/* Mapa de departamentos */
.tf-map { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); padding: 22px; backdrop-filter: blur(6px); }
.tf-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tf-map__title { font-weight: 800; display: flex; align-items: center; gap: 9px; }
.tf-map__title .tf-ico { color: var(--gold); }
.tf-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.7); }
.tf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tf-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tf-dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tf-dep {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 12px; border-radius: 12px; font-size: .82rem; font-weight: 700;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .3s var(--ease), background .3s;
}
.tf-dep:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); }
.tf-dep i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tf-dep__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-disponible i { background: #4fd07a; }
.is-ultimos i { background: var(--gold); }
.is-reservado { opacity: .5; }
.is-reservado i { background: #ff6b5e; }
.tf-c-disponible { background: #4fd07a; } .tf-c-ultimos { background: var(--gold); } .tf-c-reservado { background: #ff6b5e; }

/* =============================== VIDEOS ================================ */
.tf-vid__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.tf-vid__col { display: flex; flex-direction: column; gap: 22px; }
.tf-video {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tf-video:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tf-video--big { min-height: 100%; }
.tf-video__bg { position: absolute; inset: 0; z-index: 0; }
.tf-vbg-gold { background: linear-gradient(150deg, #FBBE33, #F26A1B); }
.tf-vbg-orange { background: linear-gradient(150deg, #F9A22B, #E8480A); }
.tf-vbg-orange-deep { background: linear-gradient(150deg, #F7811A, #C43C08); }
.tf-video__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.4px, transparent 1.6px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000); -webkit-mask-image: linear-gradient(180deg, transparent, #000);
}
.tf-video__ghost { position: absolute; z-index: 1; top: 14px; right: 16px; opacity: .5; }
.tf-video__ghost .tf-ico { width: 60px; height: 60px; }
.tf-video__play {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35);
  transition: transform .3s var(--ease), background .3s;
}
.tf-video:hover .tf-video__play { transform: scale(1.08); background: rgba(255, 255, 255, .34); }
.tf-video__play .tf-ico { width: 22px; height: 22px; margin-left: 3px; }
.tf-video__body { position: relative; z-index: 2; padding: 20px; }
.tf-video__body h3 { font-size: 1.16rem; font-weight: 800; }
.tf-video__body p { font-size: .9rem; color: rgba(255, 255, 255, .82); }
.tf-video__tag { position: absolute; z-index: 2; top: 18px; right: 18px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,.25); padding: 6px 10px; border-radius: var(--r-pill); }

/* Modal de video */
.tf-modal { position: fixed; inset: 0; z-index: 160; display: none; place-items: center; padding: 20px; }
.tf-modal.is-open { display: grid; }
.tf-modal__scrim { position: absolute; inset: 0; background: rgba(10, 8, 6, .78); backdrop-filter: blur(6px); }
.tf-modal__box { position: relative; z-index: 2; width: min(880px, 100%); }
.tf-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.tf-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tf-modal__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 12px; color: #fff;
  background: var(--grad); padding: 30px;
}
.tf-modal__placeholder .tf-ico { width: 46px; height: 46px; margin: 0 auto; }
.tf-modal__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
.tf-modal__close:hover { background: rgba(255,255,255,.3); }

/* ============================ TESTIMONIOS ============================= */
.tf-tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tf-tst {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-xs); position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tf-tst:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tf-tst__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.tf-tst__stars .tf-ico { width: 18px; height: 18px; }
.tf-tst__quote { font-size: 1.02rem; color: var(--ink-2); }
.tf-tst__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tf-tst__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; color: #fff; background: var(--grad); }
.tf-tst__name { font-weight: 800; font-size: .96rem; }
.tf-tst__place { font-size: .82rem; color: var(--muted); }

/* ================================ FAQ ================================= */
.tf-faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.tf-acc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.tf-acc.is-open { box-shadow: var(--shadow); border-color: transparent; }
.tf-acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 750; font-size: 1.04rem; }
.tf-acc__q .tf-plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--orange-deep); flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.tf-acc.is-open .tf-plus { background: var(--grad); color: #fff; transform: rotate(45deg); }
.tf-acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.tf-acc__a > div { padding: 0 22px 22px; color: var(--muted); }

/* ============================== CTA FINAL ============================= */
.tf-cta { position: relative; overflow: hidden; }
.tf-cta__box {
  position: relative; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 68px); overflow: hidden;
  background: var(--grad); color: #fff; box-shadow: var(--glow);
  text-align: center;
}
.tf-cta__box::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.2) 1.5px, transparent 1.7px); background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 20%, #000, transparent 75%);
}
.tf-cta__box > * { position: relative; z-index: 2; }
.tf-cta__box h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 850; letter-spacing: -.02em; }
.tf-cta__box p { font-size: 1.12rem; color: rgba(255, 255, 255, .9); max-width: 56ch; margin: 14px auto 28px; }
.tf-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================== FOOTER =============================== */
.tf-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 30px; }
.tf-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.tf-footer__brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.tf-footer__brand p { font-size: .95rem; max-width: 34ch; }
.tf-footer h4 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.tf-footer__links { display: flex; flex-direction: column; gap: 11px; }
.tf-footer__links a { font-size: .92rem; transition: color .25s; }
.tf-footer__links a:hover { color: var(--gold); }
.tf-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.tf-footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.tf-footer__social a:hover { background: var(--grad); transform: translateY(-3px); }
.tf-footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* ========================= WhatsApp flotante ========================= */
.tf-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.tf-wa .tf-ico { width: 32px; height: 32px; }
.tf-wa:hover { transform: scale(1.08); }
.tf-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.4s ease-out infinite; }

/* =============================== Detalle ============================== */
.tf-detail { padding-top: calc(var(--nav-h) + 40px); }
.tf-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.tf-crumb a:hover { color: var(--orange-deep); }
.tf-detail__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.tf-detail__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.tf-detail__ico { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); flex: none; }
.tf-detail__ico .tf-ico { width: 40px; height: 40px; }
.tf-detail h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 850; letter-spacing: -.02em; line-height: 1.08; }
.tf-detail__tagline { color: var(--orange-deep); font-weight: 700; }
.tf-detail__body p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 16px; }
.tf-detail__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.tf-detail__feats li { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: .95rem; }
.tf-detail__feats .tf-ico { width: 20px; height: 20px; color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; flex: none; }
.tf-aside { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow); }
.tf-aside__label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tf-aside__price { font-size: 2.4rem; font-weight: 850; letter-spacing: -.02em; margin: 4px 0 2px; }
.tf-aside__price small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.tf-aside__plan { display: inline-flex; margin: 4px 0 18px; }
.tf-aside__inc { display: flex; flex-direction: column; gap: 11px; margin: 20px 0; }
.tf-aside__inc li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.tf-aside__inc .tf-ico { width: 19px; height: 19px; color: var(--orange-deep); flex: none; margin-top: 2px; }
.tf-related { margin-top: 20px; }

/* ============================ Animaciones ============================ */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* ============================ Responsive ============================ */
@media (max-width: 1000px) {
  .tf-hero__grid { grid-template-columns: 1fr; }
  .tf-hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .tf-terr__wrap { grid-template-columns: 1fr; }
  .tf-steps { grid-template-columns: 1fr 1fr; }
  .tf-cat__grid { grid-template-columns: 1fr 1fr; }
  .tf-tst__grid { grid-template-columns: 1fr; }
  .tf-vid__grid { grid-template-columns: 1fr; }
  .tf-detail__grid { grid-template-columns: 1fr; }
  .tf-aside { position: static; }
  .tf-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .tf-nav__links { display: none; }
  .tf-nav__cta .tf-btn--primary { display: none; }
  .tf-burger { display: grid; }
}
@media (max-width: 620px) {
  .tf-steps { grid-template-columns: 1fr; }
  .tf-cat__grid { grid-template-columns: 1fr; }
  .tf-dep-grid { grid-template-columns: 1fr 1fr; }
  .tf-detail__feats { grid-template-columns: 1fr; }
  .tf-footer__grid { grid-template-columns: 1fr; }
  .tf-hero__stats { gap: 18px; }
  .tf-stat + .tf-stat { padding-left: 18px; }
  .tf-hero__ghost { font-size: 40vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================================
   AJUSTES SOLICITADOS  (incisos 1–10)
   ========================================================================== */

/* ---- 1,2,3: Navegación en alto contraste, alineada y con botones "hover" --- */
.tf-nav { background: var(--grad); box-shadow: 0 10px 30px -18px rgba(150,74,12,.65); }
.tf-nav.is-scrolled { background: var(--grad); backdrop-filter: none; box-shadow: 0 14px 34px -20px rgba(120,60,10,.75); }
.tf-nav__row { padding-block: 12px; }
.tf-logo img { height: 40px; filter: brightness(0) invert(1); }              /* logo blanco */
.tf-nav__links { gap: 6px; }
.tf-nav__links a {                                                            /* siempre estilo "hover" */
  color: #fff; font-weight: 700;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
}
.tf-nav__links a:hover { background: #fff; color: var(--orange-deep); border-color: #fff; }  /* más contraste */
.tf-nav__solicitar { font-weight: 800; }
.tf-burger { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }
.tf-burger:hover { background: #fff; color: var(--orange-deep); }

/* ---- 4: Imagen (banner ilustrado) clicable en el catálogo ---- */
.tf-card { padding: 0; }
.tf-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tf-card__top > div { min-width: 0; }
.tf-media { position: relative; display: block; height: 172px; overflow: hidden; }
.tf-media__pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 1.7px); background-size: 18px 18px; }
.tf-media__glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -50px; top: -80px; background: radial-gradient(circle, rgba(255,255,255,.4), transparent 70%); }
.tf-media__win { position: absolute; left: 26px; right: 26px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(3px); transition: transform .45s var(--ease); }
.tf-media:hover .tf-media__win { transform: translateY(-54%); }
.tf-media__dots { display: flex; gap: 5px; margin-bottom: 12px; }
.tf-media__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.65); }
.tf-media__ico { position: absolute; right: 14px; top: 12px; color: #fff; }
.tf-media__ico .tf-ico { width: 30px; height: 30px; }
.tf-media__lines { display: flex; flex-direction: column; gap: 8px; }
.tf-media__lines b { display: block; height: 8px; border-radius: 5px; background: rgba(255,255,255,.55); }
.tf-media__lines b:nth-child(1) { width: 82%; }
.tf-media__lines b:nth-child(2) { width: 58%; }
.tf-media__lines b:nth-child(3) { width: 70%; }
.tf-media__badge { position: absolute; left: 16px; bottom: 14px; font-size: .72rem; font-weight: 800; color: #fff; background: rgba(0,0,0,.25); padding: 6px 11px; border-radius: var(--r-pill); }
.tf-card__top { align-items: flex-start; }

/* ---- 6,7: Proyección de ganancias ---- */
.tf-proj { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px,3vw,30px); box-shadow: var(--shadow); }
.tf-proj__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px,3vw,34px); }
.tf-proj__controls { display: flex; flex-direction: column; gap: 20px; }
.tf-proj__flabel { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.tf-proj__num { width: 120px; text-align: right; font-weight: 800; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; font-size: 1rem; color: var(--ink); background: #fff; }
.tf-proj__num:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,30,.15); }
.tf-proj__range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--gold)); outline: none; }
.tf-proj__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--orange-deep); box-shadow: var(--shadow-sm); cursor: pointer; }
.tf-proj__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--orange-deep); cursor: pointer; }
.tf-proj__franq { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-weight: 700; background: #fff; color: var(--ink); }
.tf-proj__invline { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: var(--cream-2); border-radius: 12px; font-weight: 700; font-size: .92rem; }
.tf-proj__results { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--glow); }
.tf-proj__kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.tf-proj__kpi span { font-size: .84rem; opacity: .92; font-weight: 600; }
.tf-proj__kpi strong { font-size: clamp(1.5rem,3vw,2rem); font-weight: 850; letter-spacing: -.02em; }
.tf-proj__kpi--accent strong { font-size: clamp(1.15rem,2.4vw,1.5rem); }
.tf-proj__cta { margin-top: 16px; }
.tf-proj__nota { font-size: .8rem; color: var(--muted); margin-top: 16px; text-align: center; }
.tf-detail__who { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; }

/* ---- 5: Videos reacomodados ---- */
.tf-vid__feature .tf-video { min-height: 330px; }
.tf-vid__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.tf-vid__more { text-align: center; margin-top: 30px; }

/* ---- 5: Lightbox catálogo de videos ---- */
.tf-vcat__box { position: relative; z-index: 2; width: min(1000px,100%); max-height: 86vh; background: var(--cream); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.tf-vcat__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: var(--grad); color: #fff; }
.tf-vcat__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.tf-vcat__close { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; }
.tf-vcat__close:hover { background: rgba(255,255,255,.32); }
.tf-vcat__body { padding: 22px 24px 26px; overflow: auto; }
.tf-vcat__group { margin-bottom: 24px; }
.tf-vcat__cat { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; font-weight: 800; margin-bottom: 14px; }
.tf-vcat__cat i { font-style: normal; font-size: .72rem; background: var(--cream-2); color: var(--orange-deep); padding: 3px 9px; border-radius: var(--r-pill); }
.tf-vcat__cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tf-vcat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tf-vthumb { position: relative; min-height: 118px; border-radius: 14px; overflow: hidden; cursor: pointer; color: #fff; display: flex; align-items: flex-end; padding: 12px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.tf-vthumb:hover { transform: translateY(-4px); }
.tf-vthumb__ico { position: absolute; top: 10px; right: 10px; opacity: .5; }
.tf-vthumb__ico .tf-ico { width: 26px; height: 26px; }
.tf-vthumb__play { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.26); display: grid; place-items: center; }
.tf-vthumb__play .tf-ico { width: 15px; height: 15px; margin-left: 2px; }
.tf-vthumb__t { position: relative; z-index: 1; font-weight: 700; font-size: .82rem; line-height: 1.2; }

/* ---- 8: Lightbox de solicitar información ---- */
.tf-cmodal__box { position: relative; z-index: 2; width: min(640px,100%); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: var(--r-xl); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-lg); }
.tf-cmodal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--ink); display: grid; place-items: center; z-index: 3; }
.tf-cmodal__close:hover { background: var(--grad); color: #fff; }
.tf-cmodal__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding-right: 40px; }
.tf-cmodal__mark { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.tf-cmodal__head h3 { font-size: 1.4rem; font-weight: 850; }
.tf-cmodal__head p { color: var(--muted); font-size: .92rem; }
.tf-form { display: flex; flex-direction: column; gap: 14px; }
.tf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tf-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .86rem; }
.tf-field input, .tf-field select, .tf-field textarea { font: inherit; font-weight: 500; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); }
.tf-field textarea { resize: vertical; }
.tf-field input:focus, .tf-field select:focus, .tf-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,30,.15); }
.tf-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tf-check { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .85rem; font-weight: 600; transition: border-color .2s, background .2s; }
.tf-check input { accent-color: var(--orange-deep); width: 16px; height: 16px; flex: none; }
.tf-check:hover { border-color: var(--orange); }
.tf-check:has(input:checked) { border-color: var(--orange-deep); background: rgba(247,147,30,.09); }
.tf-form__note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---- 10: Antepágina "en construcción" ---- */
.tf-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.tf-gate__bg { position: absolute; inset: 0; }
.tf-gate__card { position: relative; z-index: 2; width: min(480px,100%); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,5vw,44px); box-shadow: var(--shadow-lg); text-align: center; }
.tf-gate__logo { height: 46px; margin: 0 auto 18px; }
.tf-gate__title { font-size: clamp(1.6rem,4vw,2.2rem); font-weight: 850; letter-spacing: -.02em; margin: 14px 0 10px; }
.tf-gate__lead { color: var(--muted); margin-bottom: 22px; }
.tf-gate__inputwrap { position: relative; margin-bottom: 12px; }
.tf-gate__inputwrap .tf-ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.tf-gate__inputwrap input { width: 100%; padding: 15px 16px 15px 46px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font: inherit; font-weight: 600; }
.tf-gate__inputwrap input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,30,.15); }
.tf-gate__form.is-error input { border-color: #e8480a; }
.tf-gate__err { color: #e8480a; font-size: .85rem; margin-top: 10px; font-weight: 600; }
.tf-gate__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--orange-deep); font-weight: 700; }
.tf-gate .tf-blob--1 { opacity: .4; }
.tf-gate .tf-blob--2 { opacity: .32; }

/* ---- Responsive de los nuevos módulos ---- */
@media (max-width: 900px) {
  .tf-proj__grid { grid-template-columns: 1fr; }
  .tf-vid__row { grid-template-columns: 1fr 1fr; }
  .tf-vcat__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .tf-nav__solicitar { display: none; }
}
@media (max-width: 620px) {
  .tf-form__row { grid-template-columns: 1fr; }
  .tf-checks { grid-template-columns: 1fr; }
  .tf-vid__row { grid-template-columns: 1fr; }
  .tf-vcat__grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================================
   AJUSTES v3
   ========================================================================== */
/* 5: la barra de menú se alinea EXACTO con el contenido (mismo ancho/centrado) */
html { scrollbar-gutter: stable; }
.tf-nav__row { width: min(var(--container), 100% - 40px); margin-inline: auto; }

/* 2: miniatura del video (thumbnail de YouTube) con tono naranja */
.tf-video__thumb { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.tf-video__tint  { position: absolute; inset: 0; z-index: 0; background: var(--grad); mix-blend-mode: multiply; opacity: .72; }
.tf-video--thumb::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 42%, rgba(120,45,5,.55)); }
.tf-video--thumb .tf-video__ghost { display: none; }
.tf-video--thumb .tf-video__body { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.tf-video__body, .tf-video__play, .tf-video__tag { position: relative; z-index: 2; }

/* 3: recuadros de video del mismo tamaño (incluye móvil) */
.tf-vid__row > div { width: 100%; }
.tf-vid__row .tf-video { width: 100%; min-height: 210px; }
@media (max-width: 620px) {
  .tf-vid__feature .tf-video { min-height: 220px; }
  .tf-vid__row .tf-video { min-height: 190px; }
}

/* 2: miniatura en el lightbox de videos */
.tf-vthumb__thumb { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.tf-vthumb__tint  { position: absolute; inset: 0; z-index: 0; background: var(--grad); mix-blend-mode: multiply; opacity: .72; }
.tf-vthumb--thumb .tf-vthumb__ico { display: none; }
.tf-vthumb__t, .tf-vthumb__play, .tf-vthumb__ico { position: relative; z-index: 1; }
