/* =====================================================================
   Omnia IT Services — hoja de estilos
   Paleta sobria: azul marino profundo, marfil cálido y un acento latón.
   Tipografía: Fraunces (titulares) + Inter (texto).
   ===================================================================== */

:root {
  --navy: #0F1B2D;
  --navy-2: #172740;
  --navy-3: #22344F;
  --ink: #141B27;
  --text: #2B3442;
  --muted: #5F6878;
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --white: #FFFFFF;
  --line: #DDD6C8;
  --line-strong: #C9C0AE;
  --line-dark: rgba(255, 255, 255, 0.14);
  --brass: #B08D45;
  --brass-text: #85672B;
  --brass-light: #D9BC76;
  --brass-soft: #F2E8D0;
  --ok: #2F7D5C;
  --danger: #A63D3D;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 27, 39, 0.05), 0 18px 40px -20px rgba(20, 27, 39, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: rgba(176, 141, 69, 0.6); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--font-text); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 600; color: var(--ink); }
small { font-size: 0.875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--navy); color: var(--paper); border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; }

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 3rem, 760px); margin-inline: auto; }

.section { padding-block: clamp(4rem, 5vw + 2rem, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 4vw + 1rem, 5rem); }
.section-dark { background: var(--navy); color: rgba(247, 244, 238, 0.86); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.6em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-text); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--brass); }
.eyebrow-light { color: var(--brass-light); }
.eyebrow-light::before { background: var(--brass-light); }
.center .eyebrow::before { display: none; }

.lead { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.32rem); line-height: 1.55; color: var(--muted); }
.section-dark .lead { color: rgba(247, 244, 238, 0.78); }
.measure { max-width: 64ch; }
.muted { color: var(--muted); }
.k { font-family: var(--font-display); font-weight: 400; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--font-text);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-3); }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(247, 244, 238, 0.35); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 0.15rem;
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-light { color: var(--paper); border-bottom-color: var(--brass-light); }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; margin-top: 2rem; }

/* ---------- cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-dot { fill: var(--brass); }
.brand-word {
  font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1; display: flex; flex-direction: column; gap: 0.2rem;
}
.brand-sub {
  font-family: var(--font-text); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.26em;
  color: var(--brass-text);
}
.brand-light { color: var(--paper); }
.brand-light .brand-sub { color: var(--brass-light); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav-list li + li { margin-top: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--text);
}
.nav-link:hover { color: var(--ink); background: rgba(20, 27, 39, 0.05); }
body[data-nav="servicios"] .nav-servicios,
body[data-nav="como-trabajamos"] .nav-como-trabajamos,
body[data-nav="nosotros"] .nav-nosotros,
body[data-nav="contacto"] .nav-contacto { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }

.sub {
  list-style: none; margin: 0; padding: 0.5rem; position: absolute; left: 0; top: calc(100% + 0.4rem);
  min-width: 17rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub li + li { margin-top: 0; }
.sub a {
  display: flex; align-items: baseline; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--text);
}
.sub a:hover { background: var(--paper); color: var(--ink); }
.sub-k { font-family: var(--font-display); font-size: 0.8rem; color: var(--brass-text); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; background: none; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.5rem 0.9rem; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars { width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.2s;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero (portada) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--paper);
  padding-block: clamp(4.5rem, 7vw, 8rem) clamp(4rem, 6vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(214, 184, 114, 0.16), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(34, 52, 79, 0.9), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { color: var(--paper); margin-bottom: 0.45em; }
.hero h1 em { font-style: italic; color: var(--brass-light); }
.hero .lead { color: rgba(247, 244, 238, 0.78); max-width: 34rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: rgba(247, 244, 238, 0.6); }

/* tarjeta "informe para dirección" del hero */
.report {
  background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 1.6rem 1.7rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); position: relative;
}
.report::before {
  content: ""; position: absolute; inset: 0.6rem; border: 1px solid var(--line); border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.report-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.report-tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.report-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.report-row:last-of-type { border-bottom: 0; }
.report-row span:last-child { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.report-row .ok { color: var(--ok); }
.report-foot { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.report-foot strong { color: var(--ink); }

/* franja de confianza */
.strip { border-bottom: 1px solid var(--line); background: var(--white); }
.strip-list { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }
.strip-list li { margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.strip-list li::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brass); }

/* ---------- retículas y tarjetas ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
}
.card h3 { margin-top: 0.2rem; }
.card p:last-child { margin-bottom: 0; }
.card-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--brass-text); letter-spacing: 0.06em; }
.card-dark { background: var(--navy-2); border-color: var(--line-dark); color: rgba(247, 244, 238, 0.82); }
.card-dark h3 { color: var(--paper); }
.card-dark .card-num { color: var(--brass-light); }

.service-card {
  display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card .card-num { display: flex; justify-content: space-between; align-items: center; }
.service-card .card-num span:last-child { font-family: var(--font-text); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service-card h3 { font-size: 1.55rem; margin: 0; }
.service-card p { color: var(--muted); margin: 0; }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }
.service-icon { width: 2.6rem; height: 2.6rem; color: var(--brass); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-top: 0.7rem; }
.checklist li:first-child { margin-top: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--brass-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%2385672B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 0.75rem; background-position: center; background-repeat: no-repeat;
}
.section-dark .checklist li::before { background-color: rgba(214, 184, 114, 0.18); }
.crosslist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%235F6878' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: var(--paper-2);
}

/* lista de pasos */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: paso; display: grid; gap: 0; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); margin: 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(paso); font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--brass);
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--muted); }
.steps .step-meta { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; margin-bottom: 0.5rem; }
.section-dark .steps li { border-color: var(--line-dark); }
.section-dark .steps p { color: rgba(247, 244, 238, 0.72); }
.section-dark .steps li::before { color: var(--brass-light); }

/* definiciones (lo que sí / lo que no) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.split > div { padding: 2rem; border-radius: var(--radius); }
.split .yes { background: var(--white); border: 1px solid var(--line); }
.split .no { background: var(--paper-2); }
.split h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; margin-bottom: 1rem; }

/* tabla comparativa */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); background: var(--paper); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 11rem; background: var(--paper); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td.dim { color: var(--muted); }
.compare td strong { display: block; margin-bottom: 0.2rem; }

/* preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-text); font-size: 1.4rem; color: var(--brass); transition: transform 0.2s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 1.4rem; max-width: 62ch; color: var(--muted); }

/* banda de llamada a la acción */
.cta-band { background: var(--navy); color: var(--paper); padding-block: clamp(3.5rem, 5vw, 5.5rem); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 2.5rem; align-items: center; }
.cta-title { color: var(--paper); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-text { color: rgba(247, 244, 238, 0.75); max-width: 40rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; justify-self: end; }

/* cabecera de página interior */
.page-hero { padding-block: clamp(3.5rem, 6vw, 6.5rem) clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 3rem; align-items: end; }
.page-hero-aside { border-left: 1px solid var(--brass); padding-left: 1.5rem; font-size: 0.95rem; color: var(--muted); }
.page-hero-aside strong { display: block; color: var(--ink); margin-bottom: 0.3rem; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.crumbs li + li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; }

/* texto largo (legales, nosotros) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.notice { background: var(--brass-soft); border-left: 3px solid var(--brass); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.95rem; }

/* cifras / hechos */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fact { padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.fact-value { font-family: var(--font-display); font-size: 2.4rem; color: var(--paper); line-height: 1; margin-bottom: 0.5rem; }
.fact-label { font-size: 0.92rem; color: rgba(247, 244, 238, 0.7); }

/* cita */
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 300; line-height: 1.35; color: var(--ink); max-width: 30ch; }
.quote em { color: var(--brass-text); font-style: italic; }
.section-dark .quote { color: var(--paper); }
.section-dark .quote em { color: var(--brass-light); }

/* ---------- formulario ---------- */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.8rem 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 27, 45, 0.12); }
.field textarea { min-height: 9rem; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.checkbox input { margin-top: 0.3rem; width: 1rem; height: 1rem; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.is-ok { display: block; background: #E6F2EC; color: #1F5C43; border: 1px solid #BFE0CE; }
.form-status.is-error { display: block; background: #F8E9E9; color: #7A2C2C; border: 1px solid #ECC7C7; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-aside .card + .card { margin-top: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; gap: 0.15rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 500; color: var(--ink); }

/* ---------- pie ---------- */
.site-footer { background: var(--navy); color: rgba(247, 244, 238, 0.72); padding-block: 4rem 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-tagline { margin-top: 1.2rem; max-width: 30rem; }
.footer-title { font-family: var(--font-text); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(247, 244, 238, 0.55); }
.footer-legal ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; }
.footer-legal li + li { margin: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--paper); }

/* página 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.error-code { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--brass); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.75rem 1.5rem 1.5rem;
    display: none; box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 0.85rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0.25rem 0 0.5rem 0.75rem; min-width: 0; }
  .nav-cta { margin-top: 1rem; align-self: flex-start; }
  .hero-grid, .cta-inner, .page-hero-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .cta-actions { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .page-hero-aside { border-left: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-4, .field-row { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .strip-list { justify-content: flex-start; }
  .report { padding: 1.3rem; }
  .brand-word { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- utilidades y piezas sueltas ---------- */
.gap-wide { gap: clamp(2rem, 5vw, 5rem); }
.align-start { align-items: start; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.small { font-size: 0.9rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.tile strong { display: block; color: var(--ink); margin-bottom: 0.3rem; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.founder { display: grid; grid-template-columns: 8rem 1fr; gap: 1.8rem; align-items: start; }
.avatar {
  width: 8rem; height: 8rem; border-radius: 50%; background: var(--navy); color: var(--brass-light);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.05em;
}
.founder-role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; margin-bottom: 0.4rem; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.value h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.value h3::before { content: ""; display: block; width: 2.4rem; height: 1px; background: var(--brass); margin-bottom: 1rem; }
.value p { color: var(--muted); }
.form-note { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) {
  .tiles, .values { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
}
.steps-compact li { grid-template-columns: 2.6rem 1fr; padding: 1rem 0; gap: 1rem; }
.steps-compact li::before { font-size: 1.3rem; padding-top: 0.15rem; }
.steps-compact h4 { margin-bottom: 0.2rem; }
.steps-compact p { margin: 0; }
.section-dark strong, .card-dark strong, .cta-band strong, .site-footer strong { color: var(--paper); }
.section-dark a { text-decoration-color: rgba(214, 184, 114, 0.7); }
.avatar { overflow: hidden; }
/* cuatro servicios en fila */
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-grid .service-card { padding: 1.6rem; }
.services-grid .service-card h3 { font-size: 1.35rem; }
.services-grid .service-card p { font-size: 0.95rem; }
.compare-wide { min-width: 960px; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }
