:root {
  --petroleo: #0E4F4F;
  --petroleo-oscuro: #073333;
  --cobre: #C1703D;
  --cobre-oscuro: #96552C;
  --hueso: #F6F1E9;
  --ambar: #E3A23C;
  --gris-plata: #C7CBCA;
  --gris-grafito: #3D4241;
  --carbon: #221F1C;
  --blanco: #FFFFFF;
  --ambar-texto: #EBB04F;  /* ámbar para TEXTO pequeño sobre petróleo (4.8:1); el ámbar base es para fondos de CTA */
  --negro-elite: #0B0E0D;   /* reservado: línea premium, no usar en el sitio base */
  --dorado-elite: #C9A24B;  /* reservado */

  --font-headline: "Barlow Condensed", "Work Sans", sans-serif;  /* titulares, nav, cifras */
  --font-display: var(--font-headline);
  --font-body: "Work Sans", system-ui, sans-serif;
  --borde-input: #8A908E;  /* ≥3:1 sobre blanco y hueso (WCAG 1.4.11) */
  --radius-xs: 4px;        /* CTA grandes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 3.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --fs-small: .875rem;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(7,51,51,.06), 0 4px 16px rgba(7,51,51,.06);
  --shadow-card-hover: 0 2px 4px rgba(7,51,51,.08), 0 10px 28px rgba(7,51,51,.10);
  --container: 1120px;
  --gutter: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--hueso);
  color: var(--carbon);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2 { font-family: var(--font-display); line-height: 1.15; color: var(--petroleo); }
h1, h2 { font-weight: 800; text-transform: uppercase; }



main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
}

.tm-hero p { color: var(--petroleo-oscuro); }

.tm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--gris-plata);
  border-radius: 12px;
  padding: 1.25rem;
}

.tm-field { display: flex; flex-direction: column; gap: .4rem; border: none; padding: 0; }
.tm-field legend { font-weight: 600; padding: 0; margin-bottom: .5rem; }

.tm-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .35rem 0;
  border-bottom: 1px solid var(--gris-plata);
}
.tm-item-row input { width: 4rem; }

input[type="number"] {
  padding: .5rem;
  border: 1px solid var(--borde-input);
  border-radius: 8px;
}

.tm-button {
  display: inline-block;
  text-align: center;
  background: var(--ambar);
  color: var(--petroleo-oscuro);
  border: none;
  border-radius: var(--r-md);
  min-height: 48px;
  padding: .75rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background-color .15s, box-shadow .15s;
}
.tm-button:hover { background: #D69530; }
.tm-button .tm-ic { width: 1.2em; height: 1.2em; }
.tm-button--accent { background: var(--petroleo); color: var(--blanco); margin-top: .75rem; }
.tm-button--accent:hover { background: var(--petroleo-oscuro); }

.tm-resultado {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--gris-plata);
}
.tm-resultado ul { list-style: none; padding: 0; }
.tm-resultado li { padding: .3rem 0; }

.tm-alert {
  background: #FCEEDD;
  color: var(--cobre-oscuro);
  border: 1px solid var(--cobre);
  border-radius: 8px;
  padding: .75rem;
  margin: 1rem 0;
}

.tm-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .tm-grid-2 { grid-template-columns: 1fr; }
}

select, input[type="text"], input[type="date"] {
  padding: .5rem;
  border: 1px solid var(--borde-input);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.tm-hint {
  font-size: .85rem;
  color: var(--gris-grafito);
  margin: .25rem 0 0;
}

.tm-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}
.tm-check input { width: auto; }

.tm-cat { margin-bottom: 1rem; }
.tm-cat-titulo {
  font-family: "Work Sans", sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cobre-oscuro);
  margin: .5rem 0 .25rem;
}

.tm-rango {
  font-size: 1.15rem;
  color: var(--petroleo);
  margin: 1rem 0 .5rem;
}

.tm-desglose summary {
  cursor: pointer;
  color: var(--cobre-oscuro);
  font-weight: 600;
}
.tm-desglose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .5rem;
}
.tm-desglose td { padding: .3rem 0; border-bottom: 1px solid var(--gris-plata); }
.tm-desglose td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.tm-button--ghost {
  background: transparent;
  color: var(--petroleo);
  border: 1.5px solid var(--petroleo);
}
.tm-button--ghost:hover { background: rgba(14,79,79,.06); }
.tm-button--ghost-rev { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.tm-button--ghost-rev:hover { background: rgba(255,255,255,.1); }
.tm-button--ghost-rev .tm-ic__acento { stroke: var(--ambar); }
.tm-button--sm { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }

.tm-admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tm-estado {
  display: inline-block;
  background: var(--petroleo);
  color: var(--hueso);
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .8rem;
  text-transform: capitalize;
}
.tm-tag {
  display: inline-block;
  background: #FCEEDD;
  color: var(--cobre-oscuro);
  border-radius: 999px;
  padding: .1rem .6rem;
  font-size: .78rem;
}

.tm-tabla-wrap { overflow-x: auto; }
.tm-tabla {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--gris-plata);
  border-radius: 12px;
  overflow: hidden;
}
.tm-tabla th, .tm-tabla td {
  text-align: left;
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--gris-plata);
  font-size: .9rem;
  white-space: nowrap;
}
.tm-tabla th {
  background: var(--hueso);
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .72rem;
  color: var(--cobre-oscuro);
}
.tm-tabla a { color: var(--petroleo); font-weight: 600; }



/* ============================================================
   Landing (página de inicio) + Cotizador wizard
   ============================================================ */



/* main más ancho para el landing (el cotizador y admin siguen a 640px) */
main.main--wide { max-width: var(--container); }

.tm-lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.tm-lp-cta--centro { justify-content: center; }
.tm-button--lg { padding: .9rem 1.5rem; font-size: 1.05rem; }

/* ---- SECCIONES ---- */
.tm-lp-seccion { padding: 3rem 0 1rem; scroll-margin-top: 5rem; }
.tm-lp-seccion--alt {
  background: #fff;
  border: 1px solid var(--gris-plata);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.5rem;
  margin-top: 1.5rem;
}
.tm-lp-seccion h2, .tm-lp-final h2 {
  font-size: var(--fs-h2); margin: 0 0 1.5rem; text-align: center;
}

/* ---- CARDS DE SERVICIOS ---- */
.tm-lp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .tm-lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tm-lp-cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.tm-lp-card {
  background: #fff;
  border: 1px solid var(--gris-plata);
  border-top: 3px solid transparent;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, border-color .2s;
}
.tm-lp-card:hover { box-shadow: var(--shadow-card-hover); border-top-color: var(--cobre); }
.tm-lp-card--plano { background: var(--hueso); box-shadow: none; }
.tm-lp-card__icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--hueso); border: 1px solid var(--gris-plata); color: var(--petroleo);
}
.tm-lp-card--plano .tm-lp-card__icon { background: #fff; }
.tm-lp-card__icon .tm-ic { width: 28px; height: 28px; }
.tm-lp-card h3 { margin: .9rem 0 .35rem; font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; color: var(--carbon); }
.tm-lp-card p { margin: 0; color: var(--gris-grafito); font-size: .95rem; }

/* ---- PASOS (cómo funciona) ---- */
.tm-lp-pasos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.tm-lp-pasos li { text-align: center; }
.tm-lp-paso__num {
  display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: var(--ambar); color: var(--petroleo-oscuro);
  font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem;
}
.tm-lp-pasos h3 { margin: .25rem 0; font-family: var(--font-body); font-weight: 600; }
.tm-lp-pasos p { color: var(--gris-grafito); margin: 0 auto; max-width: 32ch; }

/* ---- CTA FINAL ---- */
.tm-lp-final {
  text-align: center;
  background: var(--petroleo);
  color: var(--hueso); border-radius: var(--r-lg); padding: 3rem 1.5rem; margin: 2.5rem 0 1.5rem;
}
.tm-lp-final h2 { color: #fff; }
.tm-lp-final p { margin: 0 0 .5rem; opacity: .95; }

/* ============================================================
   Home — rediseño «logístico robusto» (prefijo tm-h-)
   ============================================================ */

/* Franja de señalética (rotulación del camión). Decorativa: aria-hidden */
.tm-franja { height: 14px; background: repeating-linear-gradient(-45deg, var(--ambar) 0 18px, var(--petroleo-oscuro) 18px 36px); }
.tm-franja--fina { height: 10px; }
.tm-button--xs { border-radius: var(--radius-xs); padding: 1.1rem 1.9rem; font-size: 1.1rem; }
.tm-button--borde { background: transparent; color: var(--blanco); border: 1px solid var(--hueso); }
.tm-button--borde:hover { background: rgba(255,255,255,.1); }
.tm-button--block { display: flex; width: 100%; }
.tm-button--oscuro { background: var(--petroleo); color: var(--blanco); }
.tm-button--oscuro:hover { background: var(--petroleo-oscuro); }
.tm-hint--centro { text-align: center; }
.tm-ico { flex: none; }

/* landing a ancho completo; cada sección centra su contenido a 1240px */
main.main--home { max-width: none; padding: 0; }

.tm-hint--centro { text-align: center; }
.tm-button--xs { border-radius: var(--radius-xs); padding: 1.1rem 1.9rem; font-size: 1.1rem; }
.tm-button--borde { background: transparent; color: var(--blanco); border: 1px solid var(--hueso); padding: 1.05rem 1.85rem; }

/* ---- HERO ---- */
.tm-h-hero {
  max-width: 1240px; margin: 0 auto; padding: 3rem 1.5rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-start;
}
.tm-h-hero__texto { flex: 1 1 480px; display: flex; flex-direction: column; gap: 1.4rem; padding-top: .75rem; }
.tm-h-overline {
  margin: 0; font-family: var(--font-headline); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cobre-oscuro);
}
.tm-h-hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7rem); line-height: .9; color: var(--petroleo); }
.tm-h-hero h1 span { color: var(--cobre); }
.tm-h-lead { margin: 0; font-size: 1.2rem; line-height: 1.55; color: var(--gris-grafito); max-width: 44ch; }
.tm-h-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.tm-h-bullets li { display: flex; align-items: center; gap: .65rem; }
.tm-ico { flex: none; }

/* Apilado (móvil/tablet): el cotizador queda justo debajo del H1 */
@media (max-width: 900px) {
  .tm-h-hero { flex-direction: column; gap: 1.4rem; padding-top: 2rem; }
  .tm-h-hero .tm-h-hero__texto { display: contents; }
  .tm-h-overline { order: 1; }
  .tm-h-hero h1 { order: 2; }
  .tm-h-hero .tm-h-cotizador { order: 3; width: 100%; max-width: none; flex: none; }
  .tm-h-lead { order: 4; }
  .tm-h-bullets { order: 5; }
}

.tm-h-cotizador {
  flex: 1 1 400px; max-width: 460px; background: var(--blanco);
  border: 1px solid var(--gris-plata); border-radius: var(--radius-md); overflow: hidden;
}
.tm-h-cotizador__in { padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.tm-h-cotizador h2 { margin: 0; font-size: 1.9rem; color: var(--petroleo); }
.tm-h-cotizador p { margin: 0; color: var(--gris-grafito); }

/* ---- MINI-COTIZADOR ---- */
.tm-mini__top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.tm-mini__paso { font-size: .8rem; color: var(--gris-grafito); white-space: nowrap; }
.tm-mini__barra { height: 6px; background: #EFE7DA; border-radius: 999px; }
.tm-mini__barra div { height: 6px; width: 33%; background: var(--petroleo); border-radius: 999px; transition: width .2s; }
.tm-mini__paso-cont { display: flex; flex-direction: column; gap: .9rem; }
.tm-mini__paso-cont[hidden] { display: none; }
/* sin JS: los 3 pasos visibles como un solo formulario y sin barra */
.tm-h-cotizador__in:not(.is-js) .tm-mini__barra,
.tm-h-cotizador__in:not(.is-js) .tm-mini__paso,
.tm-h-cotizador__in:not(.is-js) [data-mini-next],
.tm-h-cotizador__in:not(.is-js) [data-mini-prev],
.tm-h-cotizador__in:not(.is-js) .tm-mini__resumen,
.tm-h-cotizador__in:not(.is-js) #mini-wa { display: none; }
.tm-h-cotizador select, .tm-h-cotizador input[type="date"] { padding: .8rem; font-size: 1rem; }
.tm-mini__tipos { margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tm-mini__tipos legend { grid-column: 1 / -1; font-weight: 600; margin-bottom: .1rem; }
.tm-mini__tipo input { position: absolute; opacity: 0; pointer-events: none; }
.tm-mini__tipo span {
  display: block; text-align: center; padding: .8rem .5rem; cursor: pointer;
  background: var(--blanco); color: var(--carbon); font-weight: 500;
  border: 1px solid var(--borde-input); border-radius: var(--radius-sm);
}
.tm-mini__tipo input:checked + span { background: var(--petroleo); color: var(--blanco); border-color: var(--petroleo); font-weight: 700; }
.tm-mini__tipo input:focus-visible + span { outline: 2px solid var(--petroleo); outline-offset: 2px; }
.tm-mini__nav { display: flex; gap: .5rem; }
.tm-mini__nav .tm-mini__resumen { background: var(--hueso); border-radius: var(--radius-sm); padding: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.tm-mini__resumen-tit { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--cobre-oscuro); }
.tm-mini__resumen strong { font-family: var(--font-headline); font-size: 1.6rem; color: var(--petroleo); text-transform: uppercase; }
.tm-mini__editar { background: none; border: none; color: var(--petroleo); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: .4rem; }
.tm-button--block { display: block; width: 100%; }
.tm-button--oscuro { background: var(--petroleo); color: var(--blanco); }

/* ---- FLOTA Y CIFRAS ---- */
.tm-h-banda-sec { max-width: 1240px; margin: 0 auto 0; padding: 0 1.5rem; }
.tm-h-banda-sec__banda { border-radius: var(--radius-md); overflow: hidden; }
.tm-h-cifras {
  margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--petroleo-oscuro); color: var(--hueso);
}
.tm-h-cifras div { padding: 1.4rem 1.5rem; display: flex; flex-direction: column-reverse; }
.tm-h-cifras dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.tm-h-cifras dd {
  margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 2.9rem;
  line-height: 1; color: var(--ambar);
}

/* ---- SECCIONES ---- */
.tm-h-sec { max-width: 1240px; margin: 0 auto; padding: 4rem 1.5rem 1.5rem; }
.tm-h-sec--angosta { max-width: 860px; padding-bottom: 5rem; }
.tm-h-sec h2 {
  margin: 0 0 2rem; font-size: clamp(2.7rem, 5vw, 4rem); line-height: .95; color: var(--petroleo);
}

.tm-h-pasos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem;
}
.tm-h-pasos li {
  background: var(--blanco); border: 1px solid var(--gris-plata); border-radius: var(--radius-md);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem;
}
.tm-h-paso__num { font-family: var(--font-headline); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--cobre-oscuro); }
.tm-h-pasos h3 { margin: 0; font-size: 1.25rem; color: var(--petroleo); }
.tm-h-pasos p { margin: 0; color: var(--gris-grafito); line-height: 1.55; }

/* ---- SERVICIOS ---- */
.tm-h-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tm-h-card {
  background: var(--petroleo); color: var(--hueso); border-radius: var(--radius-md);
  padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem;
}
.tm-h-card h3 {
  margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 2rem; text-transform: uppercase;
}
.tm-h-card p { margin: 0; line-height: 1.55; color: #D9E3E1; }
/* ámbar sobre petróleo = 4.2:1: solo pasa como texto grande en negrita (≥18.67px, 3:1) */
.tm-h-card a { color: var(--ambar); font-weight: 700; font-size: 1.2rem; }
.tm-h-card__acciones { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; }
.tm-h-card__ver { font-size: 1rem !important; font-weight: 600 !important; color: var(--hueso) !important; }

/* ---- CTA FINAL ---- */
.tm-h-final { background: var(--petroleo); color: var(--hueso); }
.tm-h-final__in {
  max-width: 1240px; margin: 0 auto; padding: 4.5rem 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.75rem;
}
.tm-h-final h2 { margin: 0; max-width: 14ch; font-size: clamp(2.7rem, 5.5vw, 4.7rem); line-height: .92; color: var(--hueso); }


/* ============ WIZARD ============ */
.tm-wiz-barra { display: flex; gap: .5rem; justify-content: center; margin: 1rem 0 .25rem; }
.tm-wiz-dot {
  width: 2.5rem; height: .35rem; border-radius: 999px; background: var(--gris-plata);
  transition: background .2s;
}
.tm-wiz-dot.is-on { background: var(--ambar); }
.tm-wiz-contador { text-align: center; color: var(--gris-grafito); font-size: .85rem; margin: 0 0 1rem; }

.tm-wiz-titulo { font-size: 1.35rem; margin: 0 0 .25rem; }
.tm-wiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; margin-top: 1.5rem;
}
.tm-wiz-nav .tm-button { min-width: 7rem; }

/* stepper +/- para cantidades */
.tm-stepper { display: inline-flex; align-items: center; gap: .35rem; }
.tm-stepper__btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--borde-input); background: #fff; color: var(--petroleo);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.tm-stepper__btn:hover { border-color: var(--cobre-oscuro); color: var(--cobre-oscuro); }
.tm-stepper input { width: 3rem; text-align: center; -moz-appearance: textfield; }
.tm-stepper input::-webkit-outer-spin-button,
.tm-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tm-otros { margin-top: 1rem; border-top: 1px solid var(--gris-plata); padding-top: .75rem; }
.tm-otros summary { cursor: pointer; color: var(--cobre-oscuro); font-weight: 600; }
.tm-hint--inline { display: inline; font-weight: 400; }

.tm-resultado__lista { list-style: none; padding: 0; }
.tm-resultado__lista li { padding: .35rem 0; }

/* ============================================================
   Sistema de diseño — Fase B (docs/seo-diseno/01-sistema-de-diseno.md)
   ============================================================ */

/* Íconos de línea: trazo petróleo + acento cobre */
.tm-ic { width: 24px; height: 24px; flex: none; }
.tm-ic--sm { width: 18px; height: 18px; }
.tm-ic__acento { stroke: var(--cobre); }
circle.tm-ic__acento { fill: var(--cobre); stroke: none; }

/* Accesibilidad */
.tm-skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ambar); color: var(--petroleo-oscuro);
  padding: .75rem 1rem; border-radius: var(--r-md); font-weight: 600;
}
.tm-skip:focus { top: .75rem; }
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 2px; }
/* Sobre fondos petróleo el foco petróleo no se ve: ámbar */
.tm-footer :focus-visible, .tm-lp-final :focus-visible, .tm-h-cifras :focus-visible,
.tm-h-final :focus-visible, .tm-h-card :focus-visible, .tm-wa-flotante:focus-visible,
.tm-button--accent:focus-visible { outline-color: var(--ambar); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }

/* Header: base hueso con borde petróleo (franja de señalética en el landing) */
.tm-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hueso); border-bottom: 2px solid var(--petroleo);
}
.tm-header__in {
  max-width: 1240px; margin: 0 auto; min-height: 64px;
  padding: .5rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.tm-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--petroleo); min-width: 0; }
.tm-logo img { flex: none; }
.tm-logo__wordmark { display: flex; flex-direction: row; flex-wrap: wrap; column-gap: .3em; line-height: 1.05;
  font-family: var(--font-headline); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; }
.tm-logo__nombre { color: var(--petroleo); }
.tm-logo__ciudad { color: var(--cobre-oscuro); }
.tm-footer .tm-logo__nombre { color: #fff; }
.tm-footer .tm-logo__ciudad { color: var(--ambar-texto); }

/* Navegación: <details> sin JS en móvil; en escritorio siempre visible */
.tm-header__acciones { display: flex; align-items: center; gap: .5rem; }
.tm-nav { position: relative; }
.tm-nav__toggle {
  list-style: none; cursor: pointer; color: var(--petroleo);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md);
}
.tm-nav__toggle::-webkit-details-marker { display: none; }
.tm-nav__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 220px;
  background: var(--petroleo-oscuro); border-radius: var(--r-md); padding: .5rem;
  display: flex; flex-direction: column; gap: .25rem; box-shadow: var(--shadow-card-hover);
}
.tm-nav__menu a { color: var(--hueso); text-decoration: none; padding: .7rem .8rem; border-radius: var(--r-sm); font-weight: 500; }
.tm-nav__menu a:hover { background: rgba(255,255,255,.08); }
.tm-nav__menu :focus-visible { outline-color: var(--ambar); }
.tm-nav--desk { display: none; align-items: center; gap: 1.5rem;
  font-family: var(--font-headline); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.tm-nav--desk a:not(.tm-nav__cta) { color: var(--petroleo); text-decoration: none; }
.tm-nav--desk a:not(.tm-nav__cta):hover { color: var(--petroleo-oscuro); text-decoration: underline; }
.tm-nav__cta {
  display: inline-flex; align-items: center; background: var(--ambar); color: var(--petroleo-oscuro);
  text-decoration: none; padding: .6rem 1.25rem; border-radius: var(--radius-xs);
  font-family: var(--font-headline); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.tm-nav__cta:hover { background: #D69530; }
.tm-nav__cta--movil { padding: .5rem .8rem; font-size: 1rem; }
@media (max-width: 767px) {
  .tm-logo__wordmark { font-size: .95rem; }
  .tm-logo img { width: 32px; height: 32px; }
}
@media (min-width: 768px) {
  .tm-nav--desk { display: flex; }
  .tm-nav--movil, .tm-nav__cta--movil { display: none; }
}

/* Cobertura */
.tm-cobertura {
  list-style: none; padding: 0; margin: 0 auto 1rem; max-width: 820px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
}
.tm-cobertura li {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid var(--gris-plata); border-radius: var(--r-pill);
  padding: .45rem .9rem; font-weight: 500; color: var(--petroleo);
}
.tm-centro { text-align: center; }

/* Banda final */
.tm-lp-final h2 { color: #fff; }

/* Footer */
.tm-footer { background: var(--petroleo-oscuro); color: var(--hueso); margin-top: 3rem; font-size: .95rem; padding-bottom: 4.5rem; /* espacio para el WhatsApp flotante */ }
.tm-footer__in {
  max-width: var(--container); margin: 0 auto; padding: 2.5rem var(--gutter) 1rem;
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .tm-footer__in { grid-template-columns: 2fr 1fr 1fr; } }
.tm-footer p { margin: .75rem 0 0; opacity: .9; max-width: 42ch; }
.tm-footer__titulo { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
                     text-transform: uppercase; color: var(--ambar); margin: 0 0 .75rem; }
.tm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.tm-footer a { color: var(--hueso); text-decoration: none; display: inline-block; padding: .2rem 0; }
.tm-footer a:hover { text-decoration: underline; }
.tm-footer .tm-logo { display: inline-flex; padding: 0; }
.tm-footer .tm-logo:hover { text-decoration: none; }
.tm-footer .tm-footer__legal {
  max-width: var(--container); margin: 0 auto !important; padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-small); opacity: .8 !important;
}

/* En el home el CTA final va a ras del footer */
main.main--home + .tm-footer { margin-top: 0; }

/* WhatsApp flotante: siempre visible, petróleo con borde ámbar (texto blanco 10:1) */
.tm-wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: .6rem;
  background: var(--petroleo); color: var(--blanco); text-decoration: none;
  font-weight: 700; padding: .85rem 1.25rem; border-radius: var(--r-pill);
  border: 2px solid var(--ambar); box-shadow: var(--shadow-card-hover);
}
.tm-wa-flotante .tm-ic { width: 22px; height: 22px; }
.tm-wa-flotante .tm-ic__acento { stroke: #fff; }
.tm-resultado__lista .tm-ic { vertical-align: -3px; margin-right: .25rem; }

/* ============================================================
   Páginas de contenido — Fase C
   ============================================================ */
.tm-breadcrumb ol { list-style: none; padding: 0; margin: .25rem 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem; font-size: var(--fs-small); color: var(--gris-grafito); }
.tm-breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--cobre-oscuro); }
.tm-breadcrumb a { color: var(--petroleo); }

.tm-pg-hero { padding: 1.5rem 0 1rem; max-width: 760px; }
.tm-pg-hero h1 { font-size: var(--fs-h1); margin: .75rem 0 .5rem; }
.tm-pg-lead { font-size: 1.125rem; color: var(--gris-grafito); max-width: 60ch; margin: 0; }

.tm-prosa { max-width: 760px; }
.tm-prosa section { margin-top: 2.5rem; }
.tm-prosa h2 { font-size: var(--fs-h2); margin: 0 0 .75rem; }
.tm-prosa p, .tm-prosa li { max-width: 65ch; }
.tm-prosa a { color: var(--petroleo); font-weight: 500; text-underline-offset: 3px; }
.tm-lp-seccion.tm-prosa { margin: 0 auto; }

.tm-checklist { list-style: none; padding: 0; display: grid; gap: .6rem; }
.tm-checklist li { position: relative; padding-left: 2rem; }
.tm-checklist li::before {
  content: ""; position: absolute; left: 0; top: .25rem; width: 1.25rem; height: 1.25rem;
  border-radius: var(--r-pill); border: 1.75px solid var(--petroleo);
  background: radial-gradient(circle, var(--cobre) 0 3px, transparent 3.5px);
}

.tm-faq { display: grid; gap: .6rem; }
.tm-faq details { background: #fff; border: 1px solid var(--gris-plata); border-radius: var(--r-md); }
.tm-faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.75rem 1rem 1.1rem; position: relative;
  font-weight: 600; color: var(--carbon); min-height: 44px;
}
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: .55rem; height: .55rem;
  border-right: 2px solid var(--cobre-oscuro); border-bottom: 2px solid var(--cobre-oscuro);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.tm-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.tm-faq details p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--gris-grafito); }

.tm-lp-card--link { display: block; text-decoration: none; color: inherit; }
.tm-card-titulo { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; color: var(--carbon); margin: .9rem 0 .35rem; }
.tm-card-mas { display: inline-block; margin-top: .9rem; color: var(--cobre-oscuro); font-weight: 600; font-size: .95rem; }
.tm-cobertura--izq { justify-content: flex-start; margin-left: 0; }
.tm-centro a { color: var(--petroleo); font-weight: 500; }

@media print {
  .tm-header, .tm-footer, .tm-wa-flotante, .tm-lp-final, .tm-lp-cta, .tm-no-print, .tm-breadcrumb, .tm-lp-seccion { display: none !important; }
  body { background: #fff; }
  .tm-checklist li::before { background: none; }
}
