/* ==========================================================================
   Paso Resuelto — sistema visual
   Tesis: esto no es una marca editorial, es una herramienta de plazos. Denso,
   tabulado, reglado. Modo claro, tinta verde de marca, un solo acento.
   Sin tarjetas decorativas: solo son tarjeta los contenedores con interacción
   (calculadora y formulario). La separación la hacen los filetes y la rejilla.
   ========================================================================== */

:root {
  /* Color — tinta verde del logotipo sobre papel */
  --paper:    #ffffff;
  --paper-2:  #f4f4f0;  /* bandas alternas */
  --ink:      #1e3a2d;  /* verde del logotipo, usado como tinta */
  --ink-2:    #5f6f66;  /* secundario */
  --ink-3:    #8c968f;  /* terciario, metadatos */
  --rule:     #d8dad3;  /* filete */
  --rule-2:   #ebece7;  /* filete suave */
  --clay:     #b5703c;  /* único acento: "ahora", activo, acción primaria */
  --clay-2:   #96572a;

  /* Tipografía: grotesca utilitaria para todo; la serif queda solo en la marca */
  --font-ui:      "Archivo", system-ui, sans-serif;
  --font-wordmark:"Playfair Display", Georgia, serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1240px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Tipografía: jerarquía por peso y ancho, no por adornos -------------- */

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.016em; }
p  { margin: 0; }

/* Etiqueta de sección: numerada, como un índice. No un adorno. */
.label {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 28px;
  padding-bottom: 12px; border-bottom: 1px solid var(--ink);
}
.label .n { color: var(--clay); font-variant-numeric: tabular-nums; }
.label .t { color: var(--ink); }
.label .r { margin-left: auto; font-weight: 400; letter-spacing: .1em; }

.lede  { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.small { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.meta  { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* --- Botones ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; padding: 13px 22px;
  border: 1px solid var(--ink); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary       { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-2); border-color: var(--clay-2); }
.btn--outline       { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--onink         { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--onink:hover   { background: transparent; color: var(--paper); }
.btn--ghostink      { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghostink:hover{ border-color: #fff; }
.btn--sm { padding: 9px 15px; font-size: 13px; }

/* --- Cabecera ------------------------------------------------------------ */

.topbar {
  background: var(--ink); color: rgba(255,255,255,.72);
  font-size: 11px; letter-spacing: .06em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #e4b98f; }
.topbar-right { display: flex; gap: 20px; }

.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.header .wrap { display: flex; align-items: center; gap: 36px; min-height: 64px; }

.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-stack { display: block; }
.brand-name {
  display: flex; align-items: baseline;
  font-family: var(--font-wordmark); font-weight: 600;
  font-size: 21px; line-height: 1; letter-spacing: -.015em; color: var(--ink);
}
.brand-dot { width: 6px; height: 6px; background: var(--clay); margin-left: 4px; align-self: flex-end; margin-bottom: 2px; }
.brand-tag { display: block; margin-top: 4px; font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--clay); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .tel { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.navtoggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 9px 11px; cursor: pointer; }
.navtoggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); }
.navtoggle span + span { margin-top: 4px; }

/* --- Portada: asimétrica. A la izquierda el argumento, a la derecha el dato -- */

/* El panel sale a sangre por la derecha: rompe la rejilla a propósito y deja
   claro que el dato manda sobre el eslogan. overflow evita que el 100vw
   provoque scroll horizontal cuando hay barra de desplazamiento. */
.hero { border-bottom: 1px solid var(--ink); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: 0;
}
.hero-arg { padding: 72px 56px 64px 0; border-right: 1px solid var(--rule); }
.hero-arg h1 { margin-bottom: 26px; max-width: 13ch; }
.hero-arg .lede { max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-sig { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule-2); display: flex; gap: 28px; flex-wrap: wrap; }
.hero-sig div { font-size: 12px; color: var(--ink-2); }
.hero-sig b { display: block; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }

/* El panel de vencimientos: el producto, en la primera pantalla */
.hero-panel {
  background: var(--ink); color: #fff;
  padding: 36px 40px; margin-right: calc(-50vw + 50%);
}
.hero-panel > * { max-width: 520px; }
.hero-panel .meta { color: rgba(255,255,255,.55); }
.cd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.2); }
.cd-live { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #e4b98f; }
.cd-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.cd-label { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 20px 0 18px; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.cd-unit { padding: 16px 0; border-right: 1px solid rgba(255,255,255,.14); }
.cd-unit:last-child { border-right: 0; }
.cd-unit b { display: block; font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.cd-unit span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 6px; }

.cd-next { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.cd-next li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.cd-next { list-style: none; padding: 0; margin-top: 24px; }
.cd-next li:last-child { border-bottom: 0; }
.cd-next span:first-child { color: rgba(255,255,255,.72); }
.cd-next span:last-child { color: #fff; white-space: nowrap; }

/* --- Tira de áreas: texto corrido, no tarjetas -------------------------- */

.areas { border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.areas .wrap { display: flex; align-items: center; gap: 0; flex-wrap: wrap; padding-top: 0; padding-bottom: 0; }
.areas a {
  flex: 1 1 auto; text-align: center; padding: 18px 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); border-right: 1px solid var(--rule);
  transition: background-color .15s, color .15s;
}
.areas a:last-child { border-right: 0; }
.areas a:hover { background: var(--ink); color: #fff; }

/* --- Secciones ----------------------------------------------------------- */

section { padding: 84px 0; scroll-margin-top: 70px; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink .small { color: rgba(255,255,255,.66); }
.section--ink .label { color: rgba(255,255,255,.5); border-bottom-color: rgba(255,255,255,.4); }
.section--ink .label .t { color: #fff; }

.head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: end; margin-bottom: 44px;
}
.head h2 { max-width: 18ch; }
.head .lede { padding-bottom: 4px; }

/* --- Servicios: índice reglado, sin tarjetas ---------------------------- */

.svc { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 56px 1.15fr 1.6fr;
  gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.svc-row:hover { background: rgba(30,58,45,.025); }
.svc-n { font-size: 12px; font-weight: 600; color: var(--clay); letter-spacing: .06em; padding-top: 4px; }
.svc-t h3 { margin-bottom: 6px; }
.svc-t .meta { display: block; }
.svc-d p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.svc-d ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.svc-d li { font-size: 12.5px; color: var(--ink-2); padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--rule); }
.svc-d li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* --- Proceso: tres columnas separadas por filete ------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 32px 32px 0 0; border-right: 1px solid var(--rule); }
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 32px; }
.step .num { display: block; font-size: 36px; font-weight: 600; letter-spacing: -.04em; color: var(--clay); line-height: 1; margin-bottom: 20px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* --- Cifras: fila reglada ------------------------------------------------ */

.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.figure { padding: 28px 24px 28px 0; border-right: 1px solid var(--rule); }
.figure:last-child { border-right: 0; }
.figure + .figure { padding-left: 24px; }
.figure dt { font-size: 38px; font-weight: 600; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.figure dd { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.section--ink .figure { border-right-color: rgba(255,255,255,.16); }
.section--ink .figures-grid { border-top-color: rgba(255,255,255,.4); }
.section--ink .figure dd { color: rgba(255,255,255,.6); }

/* --- Tablas: el corazón de la página ------------------------------------ */

.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl caption { caption-side: top; text-align: left; padding: 0 0 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tbl th, .tbl td { padding: 13px 16px 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-2); }
.tbl thead th {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--ink); white-space: nowrap; padding-bottom: 10px;
}
.tbl tbody th { font-weight: 600; white-space: nowrap; }
.tbl tbody tr:hover { background: rgba(30,58,45,.03); }
.tbl .num { white-space: nowrap; }
.tbl .dim { color: var(--ink-2); }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }

.flag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.flag--now { color: var(--clay); }
.flag--now::before { content: "▸ "; }
.table-scroll { overflow-x: auto; }
.scroll-hint { display: none; margin-bottom: 12px; }
.cal-note { margin-top: 20px; max-width: 86ch; }

/* --- Controles: filtros, pestañas, buscador ----------------------------- */

.filterbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.result-count { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }

.segmented { display: inline-flex; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; flex-wrap: wrap; }
.segmented button {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 0; border-right: 1px solid var(--ink);
  padding: 10px 16px; cursor: pointer; white-space: nowrap;
  transition: background-color .14s, color .14s;
}
.segmented button:last-child { border-right: 0; }
.segmented button:hover { background: rgba(30,58,45,.07); }
.segmented button[aria-selected="true"], .segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.section--ink .segmented { border-color: rgba(255,255,255,.5); }
.section--ink .segmented button { color: #fff; border-right-color: rgba(255,255,255,.3); }
.section--ink .segmented button[aria-selected="true"], .section--ink .segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.tabpanel[hidden] { display: none; }

.search { display: flex; align-items: center; gap: 2px; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); padding: 0 14px; min-width: 280px; flex: 1; max-width: 380px; }
.search svg { flex: none; color: var(--ink-3); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--font-ui); font-size: 14px; color: var(--ink); padding: 11px 9px; }
.search:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.search button { border: 0; background: transparent; cursor: pointer; color: var(--ink-3); font-size: 17px; line-height: 1; padding: 3px; }
.search button[hidden] { display: none; }
.empty-row td { padding: 28px 0; color: var(--ink-2); }

/* --- Tarifas: tabla comparativa, no tres tarjetas ----------------------- */

.price-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.price-tbl th, .price-tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
.price-tbl thead th { border-bottom: 1px solid var(--ink); vertical-align: bottom; padding-bottom: 16px; }
.price-tbl thead th:first-child { width: 34%; }
.price-tbl .plan-n { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.price-tbl .plan-p { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.price-tbl .plan-p small { font-size: 12px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.price-tbl .rowhead { font-weight: 600; }
.price-tbl td.yes::before { content: "●"; color: var(--clay); font-size: 9px; }
.price-tbl td.no::before  { content: "–"; color: var(--ink-3); }
.price-tbl .col-feat { background: rgba(181,112,60,.07); }
.price-tbl thead .col-feat { position: relative; }
.price-tbl .tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.price-tbl tfoot td { border-bottom: 0; padding-top: 20px; }

/* --- Calculadora y formulario: sí son contenedores de interacción ------- */

.calc { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--ink); }
.calc-controls { padding: 32px; display: grid; gap: 26px; align-content: start; border-right: 1px solid var(--ink); }
.calc-field > .meta { display: block; margin-bottom: 11px; }
.calc-range { display: flex; align-items: center; gap: 16px; }
.calc-range input[type="range"] { flex: 1; accent-color: var(--clay); }
.calc-range output { font-size: 22px; font-weight: 600; letter-spacing: -.02em; min-width: 2.5ch; text-align: right; }
.calc-checks { display: grid; gap: 12px; }
.calc-checks label { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.calc-checks input { margin-top: 2px; accent-color: var(--clay); flex: none; }
.calc-checks .inc { color: var(--ink-3); margin-left: auto; white-space: nowrap; }

.calc-result { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; }
.calc-result .meta { color: rgba(255,255,255,.5); }
.calc-result .plan-name { font-size: 15px; font-weight: 600; margin: 10px 0 14px; }
.calc-total { font-size: 54px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.calc-total .per { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: 0; }
.calc-breakdown { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.22); display: grid; gap: 10px; font-size: 13px; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 16px; }
.calc-breakdown li span:first-child { color: rgba(255,255,255,.68); }
.calc-result .btn { margin-top: 24px; }
.calc-result .disclaimer { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.6; margin-top: 14px; }

/* --- Documento de ejemplo ------------------------------------------------ */

.doc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.doc { border-top: 1px solid var(--ink); }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.doc-head strong { font-size: 15px; font-weight: 600; }
.doc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); font-size: 13.5px; }
.doc-row span:first-child { color: var(--ink-2); }
.doc-row--total { border-bottom: 1px solid var(--ink); border-top: 1px solid var(--ink); font-weight: 600; font-size: 16px; }
.doc-row--total span:first-child { color: var(--ink); }
.doc-row .pos { color: var(--clay); }

/* --- Testimonios: reglados, en línea ------------------------------------ */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.quote { padding: 28px 28px 0 0; border-right: 1px solid var(--rule); margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote:last-child { border-right: 0; }
.quote + .quote { padding-left: 28px; }
.quote blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.quote figcaption { margin-top: auto; font-size: 12px; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--ink-3); }

/* --- FAQ ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--ink); max-width: 100%; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: 56px 1fr 24px; gap: 28px; align-items: baseline;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-size: 12px; font-weight: 600; color: var(--clay); letter-spacing: .06em; }
.faq summary .s { justify-self: end; font-size: 18px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary .s::before { content: "−"; }
.faq summary .s::before { content: "+"; }
.faq .answer { padding: 0 24px 24px 84px; color: var(--ink-2); line-height: 1.65; font-size: 14.5px; max-width: 80ch; }

/* --- Contacto ------------------------------------------------------------ */

.contact-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 15px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--rule-2); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--clay); }

.form { border: 1px solid var(--ink); padding: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 2px;
  padding: 12px 13px; width: 100%;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.check input { margin-top: 2px; accent-color: var(--clay); flex: none; }
.form-note { font-size: 11px; color: var(--ink-3); line-height: 1.6; }

/* --- Pie ----------------------------------------------------------------- */

.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: rgba(255,255,255,.45); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.footer h4 { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { font-size: 13px; text-decoration: none; color: #fff; }
.footer a:hover { color: #e4b98f; }
.footer-about p { font-size: 13px; line-height: 1.65; margin-top: 18px; max-width: 40ch; }
.footer-legal { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 11px; line-height: 1.65; color: rgba(255,255,255,.5); }

/* --- Movimiento: mínimo ------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(10px); }
.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip:focus { left: 8px; top: 8px; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-arg { padding: 56px 0 44px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-panel { margin: 0 calc(var(--gutter) * -1); padding: 32px var(--gutter); }
  .hero-panel > * { max-width: none; }
  .head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .calc { grid-template-columns: 1fr; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--ink); }
  .doc-split, .contact-split { grid-template-columns: 1fr; gap: 44px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 940px) {
  .navtoggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 4px var(--gutter) 14px; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
  .header .wrap { position: relative; gap: 12px; }
  .header-cta .tel { display: none; }
  .steps, .quotes { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .step, .quote { border-right: 0; border-bottom: 1px solid var(--rule); padding: 26px 0; }
  .step + .step, .quote + .quote { padding-left: 0; }
  .step:last-child, .quote:last-child { border-bottom: 0; }
  .areas a { flex: 1 1 40%; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  section { padding: 56px 0; }
  .svc-row { grid-template-columns: 34px 1fr; gap: 14px; }
  .svc-d { grid-column: 2; }
  .hero-actions .btn { flex: 1 1 100%; }
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .figures-grid { grid-template-columns: 1fr; }
  .figure { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px 0; }
  .figure + .figure { padding-left: 0; }
  .figure:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .calc-controls, .calc-result, .form { padding: 22px; }
  .faq summary { grid-template-columns: 1fr 24px; gap: 14px; font-size: 16px; }
  .faq summary .q { display: none; }
  .faq .answer { padding-left: 0; padding-right: 0; }
  .scroll-hint { display: block; }
  .search { min-width: 0; max-width: none; width: 100%; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 10px 6px; font-size: 11px; }
  .cd-unit b { font-size: 24px; }
  /* El nombre no debe partirse en dos líneas en la cabecera */
  .brand-name { font-size: 17px; white-space: nowrap; }
  .brand-tag { letter-spacing: .14em; font-size: 7.5px; }
  .header .wrap { min-height: 58px; }
  .header-cta .btn { padding: 9px 12px; font-size: 12px; }
  .price-tbl { font-size: 12.5px; }
  .price-tbl th, .price-tbl td { padding: 11px 10px; }
  .price-tbl .plan-p { font-size: 24px; }
}

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