/* ==========================================================================
   Datandes — hoja de estilos única
   Reemplaza por completo al antiguo styles.css (2.300 líneas de parches
   acumulados: bloques "critical layout repair", reglas duplicadas y overrides
   que se peleaban entre sí).

   El prefijo `dtd-` existía solo para no chocar con styles.css mientras
   convivían. Ya no hay con qué chocar, así que las páginas interiores
   conservan sus nombres propios (legal-*, about-*, law-*) sin renombrar
   markup: menos diff, menos riesgo.

   LÍNEA DE DISEÑO
   · Retícula editorial: columna izquierda fija + contenido que corre.
   · Hairlines en vez de sombras difusas. Radios chicos (9-14px).
   · Azul corporativo plano, con acentos por bloque.
   · Bandas oscuras deliberadas para dar ritmo.

   ÍNDICE
   01 Tokens · 02 Base · 03 Header · 04 Botones · 05 Portada · 06 Hero interior
   07 Legales · 08 Acerca · 09 Preguntas · 10 Abogados · 11 Footer
   12 Flotantes · 13 Google Translate · 14 Responsive
   ========================================================================== */

/* ==========================================================================
   01 · Tokens
   ========================================================================== */
:root {
  /* --primary y --primary-dark los sobrescribe el CMS desde header.php */
  --primary: #0b5fff;
  --primary-dark: #083a9a;

  --dtd-azul: var(--primary);
  --dtd-azul-osc: var(--primary-dark);
  --dtd-azul-cl: #7fb0ff;

  --dtd-ac-azul: #3d82ff;
  --dtd-ac-verde: #10b394;
  --dtd-ac-violeta: #9b7cf0;
  --dtd-ac-ambar: #f59e42;

  --dtd-tinta: #0a1526;
  --dtd-noche: #050e21;
  --dtd-texto: #35465e;
  --dtd-suave: #6d7f96;
  --dtd-linea: #e4eaf2;
  --dtd-linea-f: #d2dce9;
  --dtd-papel: #f7f9fc;

  --dtd-ease: cubic-bezier(.22, .61, .36, 1);
  --dtd-header: 78px;
  --dtd-max: 1200px;
  --dtd-gut: clamp(20px, 5vw, 56px);
}

/* ==========================================================================
   02 · Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dtd-texto);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  color: var(--dtd-tinta);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--dtd-azul);
  outline-offset: 3px;
  border-radius: 4px;
}

/* .container lo usan header, footer y todas las páginas interiores */
.container,
.dtd-wrap {
  width: 100%;
  max-width: var(--dtd-max);
  margin-inline: auto;
  padding-inline: var(--dtd-gut);
}

main { overflow-x: clip; }

.full { width: 100%; }

/* Aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--dtd-ease), transform .7s var(--dtd-ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }

/* ==========================================================================
   03 · Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--dtd-ease), background .3s var(--dtd-ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--dtd-linea);
}

.nav-wrap {
  min-height: var(--dtd-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo, .brand-logo-dark { height: 34px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.site-nav > a {
  position: relative;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--dtd-texto);
  transition: color .2s var(--dtd-ease), background .2s var(--dtd-ease);
}

.site-nav > a:hover { color: var(--dtd-tinta); background: var(--dtd-papel); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 18px;
  padding-inline-start: 18px;
  border-left: 1px solid var(--dtd-linea);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--dtd-linea);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--dtd-tinta);
}

/* ==========================================================================
   04 · Botones y enlaces
   Se declaran juntos .btn (header y abogados) y .dtd-btn (portada).
   ========================================================================== */
.btn,
.dtd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--dtd-ease), border-color .2s var(--dtd-ease),
              color .2s var(--dtd-ease), transform .2s var(--dtd-ease);
}

.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }

.btn-primary,
.dtd-btn--principal { background: var(--dtd-azul); color: #fff; }
.btn-primary:hover,
.dtd-btn--principal:hover { background: var(--dtd-azul-osc); transform: translateY(-2px); }

.btn-ghost,
.btn-secondary,
.dtd-btn--linea {
  background: transparent;
  border-color: var(--dtd-linea-f);
  color: var(--dtd-tinta);
}
.btn-ghost:hover,
.btn-secondary:hover,
.dtd-btn--linea:hover { border-color: var(--dtd-azul); color: var(--dtd-azul-osc); transform: translateY(-2px); }

.btn-outline,
.btn-light,
.btn-soft,
.dtd-btn--fantasma {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-outline:hover,
.btn-light:hover,
.btn-soft:hover,
.dtd-btn--fantasma:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .36);
  transform: translateY(-2px);
}

.btn:focus-visible,
.dtd-btn:focus-visible { outline: 2px solid var(--dtd-azul-cl); outline-offset: 3px; }

.dtd-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dtd-azul-osc);
  font-size: .92rem;
  font-weight: 700;
}
.dtd-link::after,
.text-link::after { content: '→'; transition: transform .2s var(--dtd-ease); }
.dtd-link:hover::after,
.text-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   05 · Portada
   ========================================================================== */
/* Sección a pantalla completa.
   `justify-content: center` centra el contenido verticalmente, así al llegar
   por el menú la sección queda cuadrada y no pegada al borde superior.
   `min-height` en vez de `height`: si el contenido crece, la sección crece con
   él en lugar de recortarse. */
.dtd-sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Descontar el header pegajoso: si fuera 100svh, al anclar quedaría
     siempre una franja del alto del header colgando fuera de pantalla. */
  min-height: calc(100svh - var(--dtd-header));
  padding-block: clamp(56px, 6vw, 88px);
  background: #fff;
  scroll-margin-top: var(--dtd-header);
}

.dtd-sec--papel { background: var(--dtd-papel); }

.dtd-sec--noche {
  background:
    radial-gradient(65% 55% at 88% 8%, rgba(127, 176, 255, .10), transparent 62%),
    radial-gradient(60% 60% at 4% 96%, rgba(11, 95, 255, .20), transparent 60%),
    var(--dtd-noche);
  color: rgba(255, 255, 255, .70);
}

.dtd-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

.dtd-sec__aside { position: sticky; top: calc(var(--dtd-header) + 40px); }

.dtd-sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--dtd-linea);
}

.dtd-sec--noche .dtd-sec__head { border-bottom-color: rgba(255, 255, 255, .13); }

/* Etiqueta de sección: regla de color + texto */
.dtd-eti,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dtd-azul-osc);
}

.dtd-eti::before,
.section-kicker::before {
  content: '';
  flex: 0 0 auto;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.dtd-sec--noche .dtd-eti,
.kicker-light { color: var(--dtd-azul-cl); }

.dtd-h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.dtd-sec--noche .dtd-h2 { color: #fff; }
.dtd-sec__head .dtd-h2 { margin-bottom: 0; }

.dtd-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--dtd-suave);
  font-size: 1rem;
  line-height: 1.68;
}

.dtd-sec--noche .dtd-lead { color: rgba(255, 255, 255, .62); }
.dtd-sec__head .dtd-lead { padding-bottom: 4px; }
.dtd-aside-cta { margin-top: 26px; }

/* --- Hero ----------------------------------------------------------------
   Sin slider ni foto de stock: composición fija con un panel que muestra el
   servicio ya aprovisionado. El panel es markup, no imagen, así que escala
   nítido en cualquier pantalla y se edita desde index.php.
   -------------------------------------------------------------------------- */
.dtd-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--dtd-header));
  padding-block: clamp(40px, 6vh, 88px);
  background: var(--dtd-noche);
  overflow: hidden;
  isolation: isolate;
}

/* Retícula técnica de fondo, apenas visible */
.dtd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 20%, transparent 78%);
  z-index: -2;
}

/* Manchas de color que respiran lento. Reemplazan al degradado estático
   por tema que tenía cada slide. */
.dtd-hero__aurora {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(38% 44% at 18% 28%, rgba(11, 95, 255, .40), transparent 62%),
    radial-gradient(34% 40% at 78% 18%, rgba(16, 179, 148, .22), transparent 64%),
    radial-gradient(40% 46% at 62% 88%, rgba(155, 124, 240, .26), transparent 64%);
  filter: blur(40px);
  animation: dtd-respirar 22s ease-in-out infinite alternate;
}

@keyframes dtd-respirar {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.02); }
}

.dtd-hero__inner {
  position: relative;
  z-index: 2;
  /* Ancho propio. Un `width:100%` aquí anula el padding y el texto se pega
     al borde: fue el bug de la primera versión. No reintroducir. */
  width: min(var(--dtd-max), 100% - (var(--dtd-gut) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.dtd-hero__texto { color: #fff; max-width: 620px; }

/* Píldora de estado, enlazada al monitor real. Es un recurso típico de
   empresas de infraestructura y acá además es verdad comprobable. */
.dtd-estado {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .82);
  font-size: .8rem;
  font-weight: 600;
  transition: border-color .2s var(--dtd-ease), background .2s var(--dtd-ease);
}

.dtd-estado:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .09); }

.dtd-estado__punto {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: dtd-latir 2.6s ease-out infinite;
}

@keyframes dtd-latir {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.dtd-estado__sep { opacity: .35; }
.dtd-estado__lugar { color: rgba(255, 255, 255, .55); font-weight: 500; }

.dtd-hero__titulo {
  margin: 26px 0 18px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.042em;
}

/* La segunda línea del titular en degradado: da jerarquía sin subir el peso */
.dtd-hero__titulo em {
  font-style: normal;
  background: linear-gradient(96deg, #7fb0ff 0%, #67e8c9 52%, #b9a3f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dtd-hero__bajada {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, .70);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.62;
}

.dtd-hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Sellos en línea, separados por puntos. Reemplazan al bloque de tres
   columnas con borde, que ocupaba mucho y repetía la sección siguiente. */
.dtd-hero__sello {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: .84rem;
  font-weight: 500;
}

.dtd-hero__sello li { display: flex; align-items: center; gap: 18px; }
.dtd-hero__sello li + li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

/* --- Panel de aprovisionamiento ------------------------------------------ */
.dtd-panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
  animation: dtd-panel-entra .8s var(--dtd-ease) both;
}

@keyframes dtd-panel-entra {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.dtd-panel__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .04);
}

.dtd-panel__dominio {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88rem;
  color: #fff;
  letter-spacing: -.01em;
}

.dtd-panel__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(52, 211, 153, .34);
  border-radius: 999px;
  background: rgba(52, 211, 153, .12);
  color: #6ee7b7;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dtd-panel__filas { padding: 8px 0; }

.dtd-panel__filas li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  /* Aparecen una tras otra, como un aprovisionamiento real */
  animation: dtd-fila-entra .5s var(--dtd-ease) both;
  animation-delay: calc(.45s + var(--orden) * .16s);
}

@keyframes dtd-fila-entra {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.dtd-panel__check {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .16);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .34);
}

.dtd-panel__check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  width: 7px;
  height: 3.5px;
  border-left: 1.7px solid #6ee7b7;
  border-bottom: 1.7px solid #6ee7b7;
  transform: rotate(-45deg);
}

.dtd-panel__nombre { color: rgba(255, 255, 255, .92); font-size: .89rem; font-weight: 600; }

/* Texto normal: en monoespaciada todo el panel se leía como una consola, que
   es justo el tono que no queremos. La mono queda solo para el dominio y la
   dirección de correo, donde se lee natural. */
.dtd-panel__detalle {
  font-size: .79rem;
  color: rgba(255, 255, 255, .45);
  text-align: right;
}

.dtd-panel__detalle--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
}

.dtd-panel__pie {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
  animation: dtd-fila-entra .5s var(--dtd-ease) both;
  animation-delay: calc(.45s + var(--orden) * .16s);
}

.dtd-panel__listo { color: #fff; font-size: .92rem; font-weight: 700; letter-spacing: -.015em; }
.dtd-panel__tiempo { color: rgba(255, 255, 255, .42); font-size: .78rem; }

/* --- Por qué Datandes ---------------------------------------------------- */
.dtd-razones { border-top: 1px solid var(--dtd-linea); }

.dtd-razon {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--dtd-linea);
}

.dtd-razon i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--dtd-papel);
  background: color-mix(in srgb, var(--ac, var(--dtd-azul)) 12%, #fff);
  color: var(--ac, var(--dtd-azul));
  font-size: 1rem;
}

.dtd-razon:nth-child(1) { --ac: var(--dtd-ac-azul); }
.dtd-razon:nth-child(2) { --ac: var(--dtd-ac-verde); }
.dtd-razon:nth-child(3) { --ac: var(--dtd-ac-violeta); }
.dtd-razon:nth-child(4) { --ac: var(--dtd-ac-ambar); }

.dtd-razon h3 { margin: 0 0 6px; font-size: 1.06rem; letter-spacing: -.015em; }
.dtd-razon p { margin: 0; max-width: 62ch; color: var(--dtd-suave); font-size: .95rem; line-height: 1.62; }

/* --- Por dónde partir ---------------------------------------------------- */
.dtd-puertas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.dtd-puerta {
  --ac: var(--dtd-ac-azul);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
  background: #061428;
  transition: background .25s var(--dtd-ease);
}

.dtd-puerta:nth-child(2) { --ac: var(--dtd-ac-verde); }
.dtd-puerta:nth-child(3) { --ac: var(--dtd-ac-violeta); }

.dtd-puerta::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--dtd-ease);
}

.dtd-puerta:hover { background: #081b36; }
.dtd-puerta:hover::before { transform: scaleX(1); }

.dtd-puerta i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--ac) 16%, transparent);
  color: var(--ac);
  font-size: .98rem;
}

.dtd-puerta h3 { margin: 0 0 10px; color: #fff; font-size: 1.13rem; line-height: 1.28; }
.dtd-puerta p { margin: 0 0 24px; color: rgba(255, 255, 255, .58); font-size: .93rem; line-height: 1.6; }
.dtd-puerta__ver { margin-top: auto; color: var(--ac); font-size: .89rem; font-weight: 700; }
.dtd-puerta__ver::after { content: ' →'; }

/* --- Planes -------------------------------------------------------------- */
/* Selector de línea. Va en la columna lateral y apilado en vertical: las tres
   opciones son las mismas tres puertas del bloque anterior, y así se leen como
   una lista en vez de como una pestaña genérica. */
.dtd-lineas__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 26px;
  padding: 5px;
  border: 1px solid var(--dtd-linea);
  border-radius: 12px;
  background: #fff;
}

.dtd-lineas__tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dtd-suave);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--dtd-ease), color .2s var(--dtd-ease);
}

.dtd-lineas__tabs button::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.6px solid currentColor;
  opacity: .5;
  transition: opacity .2s var(--dtd-ease), background .2s var(--dtd-ease);
}

.dtd-lineas__tabs button:hover { color: var(--dtd-tinta); background: var(--dtd-papel); }

.dtd-lineas__tabs button.is-active {
  background: var(--dtd-azul);
  color: #fff;
}

.dtd-lineas__tabs button.is-active::before { opacity: 1; background: #fff; }

.dtd-lineas__paneles { min-width: 0; }

.dtd-lineas__sub {
  margin: 0 0 26px;
  max-width: 62ch;
  color: var(--dtd-suave);
  font-size: .96rem;
  line-height: 1.6;
}

.dtd-lineas.js-tabs .dtd-lineas__grupo { display: none; }
.dtd-lineas.js-tabs .dtd-lineas__grupo.is-active { display: block; }
.dtd-lineas__grupo + .dtd-lineas__grupo { margin-top: 44px; }
.dtd-lineas.js-tabs .dtd-lineas__grupo + .dtd-lineas__grupo { margin-top: 0; }

/* Carrusel de planes.
   Crece hacia los lados, nunca hacia abajo: con nueve planes repartidos en tres
   líneas, apilarlos verticalmente rompía la idea de una sección por pantalla.
   El scroll horizontal con snap funciona igual con dedo, trackpad y flechas. */
.dtd-planes-carro { position: relative; }

.dtd-planes {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Espacio para que la sombra del hover y la etiqueta superior no se recorten */
  padding: 14px 2px 6px;
  margin: -14px -2px -6px;
  scrollbar-width: none;
}

.dtd-planes::-webkit-scrollbar { display: none; }

.dtd-plan {
  flex: 0 0 clamp(272px, 31%, 366px);
  scroll-snap-align: start;
}

/* Degradado en el borde derecho: avisa que hay más tarjetas */
.dtd-planes-carro::after {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--dtd-papel));
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s var(--dtd-ease);
}

.dtd-planes-carro.is-fin::after { opacity: 0; }

.dtd-planes-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.dtd-planes-nav button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dtd-linea-f);
  border-radius: 50%;
  background: #fff;
  color: var(--dtd-tinta);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s var(--dtd-ease), background .2s var(--dtd-ease), opacity .2s var(--dtd-ease);
}

.dtd-planes-nav button:hover:not(:disabled) { border-color: var(--dtd-azul); background: #fff; }
.dtd-planes-nav button:disabled { opacity: .35; cursor: default; }

/* Cabecera de la línea: subtítulo a la izquierda, flechas a la derecha */
.dtd-lineas__barra {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.dtd-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--dtd-linea);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s var(--dtd-ease), transform .25s var(--dtd-ease);
}

.dtd-plan:hover { border-color: var(--dtd-linea-f); transform: translateY(-3px); }

.dtd-plan--dest {
  border-color: var(--dtd-azul);
  box-shadow: inset 0 3px 0 0 var(--dtd-azul);
  padding-top: 35px;
}

/* Absoluta y no en flujo: en línea rompía en dos y descuadraba los títulos */
.dtd-plan__badge {
  position: absolute;
  top: -11px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--dtd-azul);
  color: #fff;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dtd-plan__cab { margin-bottom: 22px; }

.dtd-plan__tag {
  margin: 0 0 14px;
  color: var(--dtd-suave);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dtd-plan h3 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.024em; }

/* min-height alinea el precio de las tres tarjetas */
.dtd-plan__para {
  margin: 0 0 20px;
  min-height: 2.9em;
  color: var(--dtd-suave);
  font-size: .92rem;
  line-height: 1.5;
}

.dtd-plan__precio {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 22px;
  margin: 0;
  border-bottom: 1px solid var(--dtd-linea);
  color: var(--dtd-tinta);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.dtd-plan__precio > span { white-space: nowrap; }

.dtd-plan__precio small {
  font-size: .21em;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--dtd-suave);
  white-space: nowrap;
}

/* Ficha: etiqueta izquierda, valor derecha, una línea por fila */
.dtd-plan__specs { margin: 0 0 26px; }

.dtd-plan__specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--dtd-linea);
}

.dtd-plan__specs > div:last-child { border-bottom: 0; }
.dtd-plan__specs dt { flex: 0 0 auto; color: var(--dtd-suave); font-size: .82rem; font-weight: 500; }
.dtd-plan__specs dd {
  margin: 0;
  text-align: right;
  color: var(--dtd-tinta);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.dtd-plan .dtd-btn { margin-top: auto; width: 100%; }

.dtd-planes-pie {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--dtd-linea);
}

.dtd-planes-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  font-size: .85rem;
}

.dtd-planes-base strong { color: var(--dtd-tinta); font-weight: 700; }

.dtd-planes-base span {
  padding: 4px 11px;
  border: 1px solid var(--dtd-linea);
  border-radius: 999px;
  background: #fff;
  color: var(--dtd-texto);
  font-weight: 600;
}

.dtd-planes-nota { margin: 0; color: var(--dtd-suave); font-size: .84rem; }
.dtd-planes-nota strong { color: var(--dtd-tinta); }

/* --- Casos --------------------------------------------------------------- */
.dtd-casos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dtd-caso {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dtd-linea);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .25s var(--dtd-ease), transform .25s var(--dtd-ease);
}

.dtd-caso:hover { border-color: var(--dtd-linea-f); transform: translateY(-3px); }

/* aspect-ratio fijo: las capturas venían de distintos tamaños */
.dtd-caso__img {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--dtd-linea);
  background: var(--dtd-papel);
  overflow: hidden;
}

.dtd-caso__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Cuando no hay captura del sitio se muestra el logo, contenido y con aire */
.dtd-caso__img--logo {
  display: grid;
  place-items: center;
  padding: 34px;
  background: linear-gradient(150deg, #f4f8fd 0%, #e9f0fa 100%);
}

.dtd-caso__img--logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dtd-caso__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 24px; }

.dtd-caso__meta {
  display: block;
  margin-bottom: 10px;
  color: var(--dtd-azul-osc);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dtd-caso h3 { margin: 0 0 10px; font-size: 1.13rem; letter-spacing: -.022em; line-height: 1.28; }
.dtd-caso p { margin: 0 0 20px; color: var(--dtd-suave); font-size: .92rem; line-height: 1.6; }
.dtd-caso .dtd-link { margin-top: auto; }

/* --- FAQ portada --------------------------------------------------------- */
.dtd-faq { border-top: 1px solid var(--dtd-linea); }
.dtd-faq details { border-bottom: 1px solid var(--dtd-linea); }

.dtd-faq summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--dtd-tinta);
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--dtd-ease);
}

.dtd-faq summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker { display: none; }

.dtd-faq summary:hover,
.faq-item summary:hover { color: var(--dtd-azul-osc); }

.dtd-faq summary::after,
.faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid var(--dtd-azul);
  border-bottom: 1.8px solid var(--dtd-azul);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--dtd-ease);
}

.dtd-faq details[open] summary::after,
.faq-item[open] summary::after { transform: translateY(2px) rotate(225deg); }

.dtd-faq p { margin: 0; padding: 0 0 24px; max-width: 68ch; color: var(--dtd-suave); font-size: .96rem; line-height: 1.68; }

/* --- Contacto ------------------------------------------------------------ */
.dtd-contacto-directo { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .13); }

.dtd-contacto-directo a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #fff;
  font-size: .93rem;
  font-weight: 600;
  transition: color .2s var(--dtd-ease);
}

.dtd-contacto-directo a:hover { color: var(--dtd-azul-cl); }
.dtd-contacto-directo i { width: 18px; color: var(--dtd-azul-cl); font-size: .92rem; }
.dtd-contacto-directo span { margin-left: auto; color: rgba(255, 255, 255, .42); font-size: .82rem; font-weight: 500; }

.dtd-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.dtd-form label { display: grid; gap: 8px; }
.dtd-form label > span { color: rgba(255, 255, 255, .68); font-size: .81rem; font-weight: 600; }

.dtd-form input,
.dtd-form select,
.dtd-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  color: var(--dtd-tinta);
  font-size: .93rem;
  transition: border-color .2s var(--dtd-ease), box-shadow .2s var(--dtd-ease);
}

.dtd-form textarea { min-height: 118px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.dtd-form input::placeholder, .dtd-form textarea::placeholder { color: #9aa8bb; }

.dtd-form input:focus, .dtd-form select:focus, .dtd-form textarea:focus {
  outline: 0;
  border-color: var(--dtd-azul-cl);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, .25);
}

.dtd-form__full { grid-column: 1 / -1; }
.dtd-form .dtd-btn { grid-column: 1 / -1; justify-self: start; padding-inline: 34px; }

.dtd-form__aviso { grid-column: 1 / -1; padding: 12px 15px; border-radius: 9px; font-size: .9rem; font-weight: 600; }
.dtd-form__aviso--ok { background: rgba(16, 185, 129, .14); border: 1px solid rgba(16, 185, 129, .34); color: #6ee7b7; }
.dtd-form__aviso--error { background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .34); color: #fca5a5; }

/* ==========================================================================
   06 · Hero de páginas interiores
   Lo comparten legales, acerca y preguntas frecuentes.
   ========================================================================== */
.legal-hero {
  padding-block: clamp(56px, 7vw, 92px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(62% 58% at 88% 12%, rgba(61, 130, 255, .22), transparent 64%),
    linear-gradient(152deg, #04122e 0%, #0b2a6b 55%, #050f26 100%);
  color: rgba(255, 255, 255, .72);
}

.legal-hero-inner { max-width: 860px; }
.legal-hero .section-kicker { color: var(--dtd-azul-cl); }

.legal-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.legal-hero p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, .70); font-size: 1.02rem; line-height: 1.65; }

.legal-page,
.about-page,
.faq-page { background: var(--dtd-papel); }

/* ==========================================================================
   07 · Páginas legales
   ========================================================================== */
.legal-content-section { padding-block: clamp(44px, 5vw, 72px); }
.legal-content-shell { max-width: 940px; }

.legal-card {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--dtd-linea);
  border-radius: 16px;
  background: #fff;
}

.legal-updated {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--dtd-papel);
  border: 1px solid var(--dtd-linea);
  color: var(--dtd-suave);
  font-size: .81rem;
  font-weight: 700;
}

.legal-card h1 { margin: 0 0 20px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.legal-card h2 {
  margin: 40px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--dtd-linea);
  font-size: 1.22rem;
}

.legal-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card h3 { margin: 26px 0 10px; color: var(--dtd-azul-osc); font-size: 1.03rem; }
.legal-card p, .legal-card li { color: var(--dtd-texto); font-size: .97rem; line-height: 1.75; }
.legal-card ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-card li::marker { color: var(--dtd-linea-f); }

/* ==========================================================================
   08 · Acerca de Datandes
   ========================================================================== */
.about-content-section { padding-block: clamp(44px, 5vw, 72px); }
.about-content-shell { max-width: 1040px; }

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.about-info-card {
  padding: 26px;
  border: 1px solid var(--dtd-linea);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s var(--dtd-ease), transform .25s var(--dtd-ease);
}

.about-info-card:hover { border-color: var(--dtd-linea-f); transform: translateY(-3px); }

.about-info-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--dtd-azul) 10%, #fff);
  color: var(--dtd-azul-osc);
  font-size: .98rem;
}

.about-info-card h2 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: -.018em; }
.about-info-card p { margin: 0; color: var(--dtd-suave); font-size: .93rem; line-height: 1.62; }

.about-story-card {
  display: grid;
  gap: 4px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--dtd-linea);
  border-radius: 16px;
  background: #fff;
}

.about-story-card section + section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--dtd-linea);
}

.about-story-card h2 { margin: 0 0 10px; font-size: 1.22rem; }
.about-story-card p { margin: 0; max-width: 72ch; color: var(--dtd-texto); font-size: .97rem; line-height: 1.75; }

/* ==========================================================================
   09 · Preguntas frecuentes
   ========================================================================== */
.faq-content-section { padding-block: clamp(44px, 5vw, 72px); }
.faq-content-shell { max-width: 880px; }

.faq-list {
  padding: 6px clamp(20px, 3vw, 32px);
  border: 1px solid var(--dtd-linea);
  border-radius: 16px;
  background: #fff;
}

.faq-item { border-bottom: 1px solid var(--dtd-linea); }
.faq-item:last-child { border-bottom: 0; }
.faq-item p { margin: 0; padding: 0 0 24px; max-width: 68ch; color: var(--dtd-suave); font-size: .96rem; line-height: 1.7; }

/* Preguntas agrupadas por tema */
.faq-grupo + .faq-grupo { margin-top: 34px; }

.faq-grupo__titulo {
  margin: 0 0 14px;
  color: var(--dtd-azul-osc);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ==========================================================================
   10 · Soluciones digitales para abogados
   ========================================================================== */
.law-hero {
  --ac: var(--dtd-ac-violeta);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(152deg, #100a26 0%, #2a1a5e 52%, #0d0820 100%);
}

.law-hero-bg { position: absolute; inset: 0; opacity: .26; }
.law-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.law-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, rgba(13, 8, 32, .94) 0%, rgba(30, 18, 66, .80) 44%, rgba(13, 8, 32, .58) 100%);
}

.law-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 48px;
  padding-block: clamp(56px, 8vw, 100px);
}

.law-hero-copy { color: #fff; max-width: 620px; }

.law-hero-copy h1 {
  margin: 22px 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.09;
  letter-spacing: -.035em;
}

.law-hero-copy p { margin: 0; max-width: 50ch; color: rgba(255, 255, 255, .74); font-size: 1.05rem; line-height: 1.62; }

.hero-note {
  display: block;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
}

/* Fila de métricas del hero de abogados */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero-metrics article {
  padding: 20px 20px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .09);
}
.hero-metrics article:last-child { border-right: 0; }
.hero-metrics article + article { padding-left: 20px; }

.hero-metrics .metric-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .09);
  color: var(--ac);
  font-size: .82rem;
}

.hero-metrics strong { display: block; color: #fff; font-size: .88rem; font-weight: 700; line-height: 1.3; }
.hero-metrics span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .54); font-size: .79rem; line-height: 1.45; }

/* Secciones de la página de abogados */
.law-intro-section,
.law-comparison-section,
.law-extras-section { padding-block: clamp(64px, 7vw, 104px); background: #fff; }

.law-comparison-section { background: var(--dtd-papel); }

.law-plans-section,
.law-process-section,
.law-cta-section {
  padding-block: clamp(64px, 7vw, 104px);
  background:
    radial-gradient(62% 58% at 88% 10%, rgba(155, 124, 240, .16), transparent 64%),
    linear-gradient(152deg, #0c0722 0%, #241650 55%, #0a0620 100%);
  color: rgba(255, 255, 255, .70);
}

.law-plans-section .section-kicker,
.law-process-section .section-kicker,
.law-cta-section .section-kicker { color: #b9a3f5; }

.law-plans-section h2,
.law-process-section h2,
.law-cta-section h2 { color: #fff; }

.law-plans-section .section-head p,
.law-process-section .section-head p,
.law-cta-card p { color: rgba(255, 255, 255, .66); }

.section-head { max-width: 720px; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.section-head p { margin: 0; max-width: 58ch; color: var(--dtd-suave); font-size: 1rem; line-height: 1.68; }

.law-intro-layout { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.law-comparison-layout,
.law-extras-layout,
.law-plans-layout,
.law-process-layout { display: grid; gap: clamp(32px, 4vw, 48px); }

.law-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.law-benefit-card {
  padding: 26px;
  border: 1px solid var(--dtd-linea);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s var(--dtd-ease), transform .25s var(--dtd-ease);
}

.law-benefit-card:hover { border-color: var(--dtd-linea-f); transform: translateY(-3px); }
.law-benefit-card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -.018em; }
.law-benefit-card p { margin: 0; color: var(--dtd-suave); font-size: .93rem; line-height: 1.62; }

.bento-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--dtd-ac-violeta) 12%, #fff);
  color: #6b4fc4;
  font-size: .98rem;
}

.law-process-grid .bento-icon {
  background: rgba(255, 255, 255, .09);
  color: #b9a3f5;
}

/* Tarjetas de precio */
.law-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 360px));
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}

.law-price-card,
.law-compare-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--dtd-linea);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s var(--dtd-ease), transform .25s var(--dtd-ease);
}

.law-price-card:hover,
.law-compare-plan-card:hover { transform: translateY(-3px); }

.law-price-featured,
.law-compare-plan-card.is-featured {
  border-color: var(--dtd-ac-violeta);
  box-shadow: inset 0 3px 0 0 var(--dtd-ac-violeta);
  padding-top: 35px;
}

.plan-tag,
.law-compare-plan-card header span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  color: var(--dtd-suave);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.law-price-card h3,
.law-compare-plan-card header h3 { margin: 0 0 10px; font-size: 1.24rem; letter-spacing: -.024em; }
.law-price-card > p { margin: 0 0 20px; min-height: 3em; color: var(--dtd-suave); font-size: .92rem; line-height: 1.55; }

.plan-price,
.law-compare-plan-card header strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--dtd-linea);
  color: var(--dtd-tinta);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.plan-price small,
.law-compare-plan-card header small {
  font-size: .24em;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--dtd-suave);
  white-space: nowrap;
}

.plan-price-offer .old-price {
  font-size: .48em;
  font-weight: 600;
  color: var(--dtd-suave);
  text-decoration: line-through;
}

.plan-price-offer .new-price { color: var(--dtd-azul-osc); }

.law-price-card ul { display: grid; gap: 0; margin: 0 0 26px; }

.law-price-card li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--dtd-linea);
  color: var(--dtd-texto);
  font-size: .91rem;
  line-height: 1.5;
}

.law-price-card li:last-child { border-bottom: 0; }

.law-price-card li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 17px;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--dtd-ac-violeta);
  border-bottom: 1.8px solid var(--dtd-ac-violeta);
  transform: rotate(-45deg);
}

.law-price-card .btn,
.law-compare-plan-card .btn { margin-top: auto; }

.highlight-badge,
.offer-badge {
  position: absolute;
  top: -11px;
  right: 24px;
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
}

.highlight-badge { background: var(--dtd-ac-violeta); color: #fff; }
.offer-badge { background: var(--dtd-ac-ambar); color: #3a1a00; }

.offer-reason {
  margin: -10px 0 18px !important;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff7ed;
  border: 1px solid #ffe4c7;
  color: #9a4f00 !important;
  font-size: .8rem !important;
  line-height: 1.4;
}

.law-note {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .85rem;
}

/* Comparativa */
.law-comparison-modern { max-width: 1180px; margin-inline: auto; }
.law-compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.law-compare-plan-card header { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--dtd-linea); }
.law-compare-plan-card header strong { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.law-feature-list { display: grid; gap: 0; margin-bottom: 24px; }

.law-feature-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--dtd-linea);
}

.law-feature-item:last-child { border-bottom: 0; }
.law-feature-item span { flex: 0 0 auto; color: var(--dtd-suave); font-size: .82rem; font-weight: 500; }
.law-feature-item strong { text-align: right; color: var(--dtd-tinta); font-size: .88rem; font-weight: 700; }

/* Proceso */
.law-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.law-process-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.law-process-grid h3 { margin: 0 0 8px; color: #fff; font-size: 1.02rem; }
.law-process-grid p { margin: 0; color: rgba(255, 255, 255, .60); font-size: .92rem; line-height: 1.6; }

/* CTA final */
.law-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}

.law-cta-card h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.law-cta-card p { margin: 0; max-width: 60ch; }

/* ==========================================================================
   11 · Footer
   ========================================================================== */
.site-footer { background: var(--dtd-noche); color: rgba(255, 255, 255, .58); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px) 40px;
}

.footer-brand p { margin: 18px 0 0; max-width: 34ch; color: rgba(255, 255, 255, .48); font-size: .9rem; line-height: 1.62; }

.footer-col h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, .55);
  font-size: .91rem;
  transition: color .2s var(--dtd-ease);
}

.footer-col a:hover { color: #fff; }

/* Los logos vienen sobre fondo blanco: recortados contra el azul oscuro
   Webpay se veía sucio. Van sobre placa clara. */
.payment-strip {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
}

.payment-strip img { width: min(100%, 290px); height: auto; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }

.footer-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px 28px;
}

.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .40); font-size: .84rem; }
.footer-bottom a { margin-left: 20px; color: rgba(255, 255, 255, .50); font-size: .84rem; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   12 · Elementos flotantes
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 39;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(5, 14, 33, .9);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--dtd-ease), transform .25s var(--dtd-ease), visibility .25s;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top span { font-size: 1rem; line-height: 1; }

/* Botón de WhatsApp: retirado del markup hasta tener número nuevo.
   Los estilos quedan listos para reponerlo. */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 76px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55);
  transition: transform .25s var(--dtd-ease);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float span { display: none; }
.whatsapp-icon { width: 28px; height: 28px; }

.whatsapp-visibility-all { display: grid; }
.whatsapp-visibility-mobile,
.whatsapp-visibility-desktop { display: none; }

/* ==========================================================================
   13 · Google Translate — ocultar la UI inyectada
   ========================================================================== */
#google_translate_element, #goog-gt-tt, .goog-te-banner-frame, .goog-te-balloon-frame,
.goog-te-menu-frame, .goog-te-menu-value, .goog-te-gadget, .goog-te-combo,
.goog-logo-link, .goog-te-spinner-pos, .skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe.goog-te-banner-frame, iframe.skiptranslate, body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html.translated-ltr, html.translated-rtl, body { top: 0 !important; margin-top: 0 !important; }
font[style*="background-color"] { background-color: transparent !important; box-shadow: none !important; }
.embed-locale-note { display: none; }

/* ==========================================================================
   14 · Responsive
   ========================================================================== */

/* Anclas bajo el header pegajoso.
   Las secciones de la portada ya lo traen desde .dtd-sec; esto cubre las
   anclas de la página de abogados, que no usan esa clase. */
#planes-abogados, #cotizar-abogados {
  scroll-margin-top: calc(var(--dtd-header) + 20px);
}

@media (max-width: 1100px) {
  .dtd-sec__grid,
  .law-intro-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dtd-sec__aside { position: static; }
  .dtd-sec__head { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }

  .dtd-hero__inner,
  .law-hero-layout { grid-template-columns: minmax(0, 1fr); }
  .dtd-hero__texto, .law-hero-copy { max-width: 660px; }
  /* El panel pasa debajo del texto, alineado a la izquierda */
  .dtd-panel { justify-self: start; max-width: 520px; }

  .dtd-casos,
  .law-plan-grid, .law-compare-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .law-plan-grid { justify-content: stretch; }
  .dtd-plan__para, .law-price-card > p { min-height: 0; }
  .dtd-puertas { grid-template-columns: minmax(0, 1fr); }
  .law-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; order: 3; }
  .nav-actions { display: none; }

  .site-nav {
    position: absolute;
    left: var(--dtd-gut);
    right: var(--dtd-gut);
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--dtd-linea);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px -20px rgba(9, 20, 40, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 44px; display: flex; align-items: center; }

  .law-cta-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  .dtd-hero { padding-block: 28px 40px; }
  .dtd-hero__titulo,
  .law-hero-copy h1 { font-size: clamp(1.75rem, 8vw, 2.35rem); margin: 20px 0 14px; }
  /* El salto de línea forzado del titular estorba en pantallas angostas */
  .dtd-hero__titulo br { display: none; }
  .dtd-hero__titulo em { display: inline; }

  .dtd-hero__acciones,
  .hero-actions { flex-direction: column; align-items: stretch; }
  .dtd-hero__acciones .dtd-btn,
  .hero-actions .btn { width: 100%; }

  .dtd-hero__sello { gap: 6px 14px; font-size: .8rem; }

  .hero-metrics { grid-template-columns: minmax(0, 1fr); }
  .hero-metrics article {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }
  .hero-metrics article + article { padding-left: 0; }
  .hero-metrics article:last-child { border-bottom: 0; }

  .dtd-razon { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .dtd-casos,
  .law-plan-grid, .law-compare-cards,
  .law-card-grid, .law-process-grid,
  .about-card-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  /* En móvil la tarjeta ocupa casi todo el ancho y se pasa de una en una */
  .dtd-plan { flex-basis: min(86%, 320px); }
  .dtd-planes { gap: 14px; }
  .dtd-lineas__barra { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dtd-planes-nav { margin-left: 0; }

  /* Las pestañas vuelven a fila con scroll horizontal */
  .dtd-lineas__tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .dtd-lineas__tabs::-webkit-scrollbar { display: none; }
  .dtd-lineas__tabs button { flex: 1 0 auto; padding: 10px 14px; font-size: .84rem; }
  .dtd-lineas__tabs button::before { display: none; }

  .dtd-lineas__tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .dtd-lineas__tabs::-webkit-scrollbar { display: none; }
  .dtd-lineas__tabs button { flex: 1 0 auto; padding-inline: 16px; font-size: .85rem; }

  .dtd-form { grid-template-columns: minmax(0, 1fr); }
  .dtd-form .dtd-btn { justify-self: stretch; }
  .payment-strip { display: block; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom a { margin-left: 0; margin-right: 18px; }

  .back-to-top { right: 16px; bottom: 16px; }
  .whatsapp-float { right: 16px; bottom: 70px; width: 50px; height: 50px; }
  .whatsapp-visibility-mobile { display: grid; }
}

@media (min-width: 761px) {
  .whatsapp-visibility-desktop { display: grid; }
}

/* Alto: el hero debe caber entero en portátiles de 720p */
@media (min-width: 761px) and (max-height: 820px) {
  :root { --dtd-header: 70px; }
  .dtd-hero { padding-block: 28px; }
  .dtd-hero__inner { gap: 44px; }
  .dtd-hero__titulo { font-size: clamp(1.85rem, 3.3vw, 2.6rem); margin: 20px 0 14px; }
  .dtd-hero__bajada { font-size: .97rem; }
  .dtd-hero__acciones { margin-top: 24px; }
  .dtd-hero__sello { margin-top: 22px; }
  .dtd-panel__filas li { padding: 10px 18px; }
  .dtd-panel__barra, .dtd-panel__pie { padding: 13px 18px; }
}

@media (min-width: 761px) and (max-height: 640px) {
  .dtd-hero__sello { display: none; }
  .dtd-panel__filas li { padding: 8px 18px; }
}

/* Pantallas cortas: comprimir para que cada sección siga cabiendo en una
   plana. Sin esto, en un portátil de 720p (≈650px útiles) los planes y las
   preguntas se salían y había que hacer scroll dentro de la sección. */
@media (min-width: 761px) and (max-height: 880px) {
  .dtd-sec { padding-block: clamp(40px, 4vw, 56px); }
  .dtd-sec__head { margin-bottom: 26px; padding-bottom: 20px; }
  .dtd-eti, .section-kicker { margin-bottom: 12px; }
  .dtd-h2 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); }
  .dtd-lead, .dtd-lineas__sub { font-size: .93rem; line-height: 1.55; }

  .dtd-lineas__tabs { margin-top: 16px; padding: 4px; }
  .dtd-lineas__tabs button { padding: 9px 12px; font-size: .85rem; }
  .dtd-lineas__barra { margin-bottom: 14px; }

  .dtd-plan { flex-basis: clamp(258px, 30%, 340px); }
  .dtd-plan { padding: 24px 22px; }
  .dtd-plan--dest { padding-top: 27px; }
  .dtd-plan__cab { margin-bottom: 16px; }
  .dtd-plan__tag { margin-bottom: 10px; }
  .dtd-plan h3 { font-size: 1.14rem; }
  .dtd-plan__para { margin-bottom: 14px; min-height: 2.7em; font-size: .87rem; }
  .dtd-plan__precio { font-size: 1.75rem; padding-bottom: 16px; }
  .dtd-plan__specs { margin-bottom: 18px; }
  .dtd-plan__specs > div { padding: 8px 0; }
  .dtd-plan__specs dt { font-size: .78rem; }
  .dtd-plan__specs dd { font-size: .84rem; }
  .dtd-plan .dtd-btn { min-height: 42px; }
  .dtd-planes-pie { margin-top: 18px; padding-top: 16px; }

  .dtd-razon { padding: 18px 0; }
  .dtd-razon p { font-size: .9rem; }
  .dtd-puertas { margin-top: 26px; }
  .dtd-puerta { padding: 24px 22px 22px; }
  .dtd-puerta i { margin-bottom: 14px; }
  .dtd-puerta p { margin-bottom: 16px; font-size: .89rem; }

  .dtd-caso__cuerpo { padding: 18px; }
  .dtd-caso p { margin-bottom: 14px; font-size: .88rem; }

  .dtd-faq summary { padding: 15px 0; font-size: .95rem; }
  .dtd-faq p { padding-bottom: 16px; font-size: .9rem; }

  .dtd-form { gap: 13px; padding: 22px; }
  .dtd-form input, .dtd-form select, .dtd-form textarea { min-height: 42px; }
  .dtd-form textarea { min-height: 84px; }
  .dtd-contacto-directo a { padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
