/* ABM Innova — estilos (mobile first) */
:root {
  --brand: #0fa6f9;
  --brand-600: #0784cc;
  --brand-700: #066aa6;
  --violet: #541d71;
  --violet-500: #6b2c91;
  --ink: #0b1530;
  --ink-2: #1c2745;
  --text: #33405a;
  --muted: #5f6b82;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --gradient: linear-gradient(120deg, var(--brand) 0%, #2a6fd0 50%, var(--violet) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .06);
  --shadow-lg: 0 18px 48px rgba(11, 21, 48, .14);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 7vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: .75rem;
}
.text-gradient {
  background: linear-gradient(100deg, #5cc8ff, var(--brand) 40%, #b57ee0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.125rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 18px rgba(7, 132, 204, .3); }
.btn-primary:hover { background: var(--violet); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--brand-700); color: var(--brand-700); background: transparent; }
.btn-outline:hover { background: var(--brand-700); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-alt); color: var(--violet); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 21, 48, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 132px; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s; position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: .5rem 20px 1.25rem;
  display: none;
}
.site-nav.is-open { display: block; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.site-nav ul { display: grid; margin: 0; padding: 0; list-style: none; }
.site-nav li a {
  display: block; padding: .85rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
}
/* Submenús (mobile: acordeón) */
.nav-item-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.nav-item-row > a { flex: 1; border-bottom: 0 !important; }
.sub-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 10px;
}
.sub-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { display: none !important; padding-left: 1rem !important; }
.has-sub.is-open > .sub-menu { display: grid !important; }
.sub-menu a { font-weight: 500; font-size: .95rem; }
.sub-hint { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.site-nav li a:hover, .site-nav li a[aria-current="true"] { color: var(--brand-700); }
.site-nav .btn { margin-top: 1rem; width: 100%; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding-block: 5rem 4rem;
  color: #dfe8f7;
  background: var(--ink);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 21, 48, .55) 0%, rgba(11, 21, 48, .7) 60%, rgba(11, 21, 48, .92) 100%),
    radial-gradient(80% 60% at 0% 100%, rgba(84, 29, 113, .55), transparent 70%);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .eyebrow { color: #7fd2ff; }
.hero-lead { font-size: clamp(1.125rem, 2.6vw, 1.4rem); max-width: 36ch; color: #dfe8f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.hero-tags a {
  display: inline-flex; align-items: center; min-height: 36px;
  font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none;
  padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  transition: background-color .15s, border-color .15s, transform .15s;
}
.hero-tags a:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); color: #fff; transform: translateY(-1px); }

/* Sections */
.section { padding-block: 4.5rem; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: var(--gradient); color: #fff;
}
.card-icon svg, .contact-icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.card-accent { position: relative; }
.card-accent::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gradient); border-radius: var(--radius) 0 0 var(--radius); }

/* Nosotros */
.about-grid { display: grid; gap: 1.5rem; }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-cards { display: grid; gap: 1.25rem; }

.values {
  margin-top: 3rem; padding: 2rem 1.5rem; border-radius: var(--radius);
  background: var(--ink); color: #fff;
  background-image: radial-gradient(70% 120% at 100% 0%, rgba(84, 29, 113, .7), transparent 60%),
                    radial-gradient(60% 120% at 0% 100%, rgba(15, 166, 249, .35), transparent 60%);
}
.values-title { color: #fff; font-size: 1.5rem; }
.values-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.values-list li {
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
}

/* Servicios */
.services-grid { display: grid; gap: 1.25rem; }
.services-grid > li { display: flex; }
.service { width: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3f5; }
.checklist { display: grid; gap: .45rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.checklist strong { color: var(--ink); }

.cta-band {
  margin-top: 3rem; padding: 2rem 1.5rem; border-radius: var(--radius);
  background: var(--gradient); color: #fff;
  display: grid; gap: 1.25rem; align-items: center;
}
.cta-band h3 { color: #fff; font-size: 1.5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .92); }

/* Contacto */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: #e8f5fe; color: var(--brand-700);
}
.contact-label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { font-weight: 600; font-size: 1.05rem; }

.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
}
.social a:hover { background: var(--brand-700); color: #fff; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.contact-form h3 { margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field label > span[aria-hidden="true"] { color: #c0264b; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem 1rem; min-height: 48px;
  border: 1.5px solid #cdd5e1; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(15, 166, 249, .2); }
.field [aria-invalid="true"] { border-color: #c0264b; }
.field-error { margin: .3rem 0 0; font-size: .875rem; color: #b01f42; min-height: 0; }
.field-error:empty { display: none; }
.form-status { margin: 1rem 0 0; font-weight: 600; color: var(--brand-700); }
.form-status:empty { display: none; }
.form-note { margin: .75rem 0 0; font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4d8; padding-top: 3.5rem; }
.site-footer a { color: #e3ebf7; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .5rem; }
.footer-afip img { width: 66px; height: auto; border-radius: 4px; background: #fff; }
.social-footer a { background: rgba(255, 255, 255, .1); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f9e4f; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.wa-float:hover { color: #fff; background: #17803f; }
.wa-float svg { width: 30px; height: 30px; }
[hidden] { display: none !important; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Enlaces de acción en tarjetas y CTA */
.service { display: flex; flex-direction: column; }
.card-link {
  margin-top: auto; padding-top: 1.25rem;
  font-weight: 600; text-decoration: none; color: var(--brand-700);
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px;
}
.card-link:hover { color: var(--violet); }
.card-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; margin-top: auto; }
.card-links .card-link { margin-top: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ===== Cotizador ===== */
.page-hero {
  background: var(--ink); color: #dfe8f7; padding-block: 3rem 3.25rem;
  background-image: radial-gradient(70% 140% at 100% 0%, rgba(84, 29, 113, .75), transparent 60%),
                    radial-gradient(60% 140% at 0% 100%, rgba(15, 166, 249, .3), transparent 60%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.25rem); }
.page-hero .hero-lead { max-width: 52ch; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #8091b0; }
.breadcrumb a { color: #7fd2ff; }
.breadcrumb [aria-current] { color: #c9d4e8; }

.quote-section { padding-block: 2.5rem 4.5rem; background: var(--bg-alt); }
.step { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.step.card { padding: 1.5rem; }
.step-title {
  display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: 1.25rem;
  font: 700 1.25rem/1.2 var(--font-head); color: var(--ink);
}
.step > .step-title { float: left; width: 100%; }
.step > .step-title ~ * { clear: both; }
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: 1rem;
}
.step-desc { color: var(--muted); margin-top: -.5rem; }
.group-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 1.25rem 0 .75rem;
}
.service-options { display: grid; gap: .75rem; }

.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-body {
  display: grid; gap: .25rem; height: 100%;
  padding: 1rem 1.1rem 1rem 3rem; border-radius: var(--radius-sm);
  background: #fff; border: 1.5px solid var(--line);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  position: relative;
}
.option-body::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.15rem;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b6c2d4; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.option-card:hover .option-body { border-color: #b7d9f2; }
.option-card input:checked + .option-body { border-color: var(--brand-600); background: #f2faff; box-shadow: 0 0 0 3px rgba(15, 166, 249, .15); }
.option-card input:checked + .option-body::before { border-color: var(--brand-700); box-shadow: inset 0 0 0 4px #fff; background: var(--brand-700); }
.option-card input:focus-visible + .option-body { outline: 3px solid var(--brand); outline-offset: 2px; }
/* Selección múltiple: casilla cuadrada con tilde */
.option-card input[type="checkbox"] + .option-body::before { border-radius: 6px; }
.option-card input[type="checkbox"]:checked + .option-body::before {
  box-shadow: none; background: var(--brand-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* Detalles de varios servicios */
.service-fields + .service-fields { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.fields-title { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin: 0 0 1rem; color: var(--brand-700); }
/* Resumen por servicio */
.summary-items { display: grid; gap: .9rem; margin-bottom: 1.25rem; }
.summary-items:empty { display: none; }
.sum-item { padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.sum-title { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin: 0 0 .5rem; font-weight: 700; color: var(--ink); }
.sum-price { font-size: .85rem; font-weight: 700; white-space: nowrap; color: var(--brand-700); }
.sum-price.is-confirmar, .sum-price.is-medida { color: #8a5a00; }
.sum-price.is-incompleto { color: var(--muted); font-weight: 600; }
.sum-item .summary-lines { margin: 0; font-size: .88rem; }
.quote-result-list { margin: .25rem 0 .35rem; padding-left: 1.1rem; font-size: .92rem; }
.option-title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.option-desc { font-size: .9rem; color: var(--muted); }
.badge {
  justify-self: start; margin-top: .35rem; padding: .15rem .6rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: #eef1f6; color: var(--ink-2);
}
.badge-quote { background: #e3f4fe; color: var(--brand-700); }

.field-row { display: grid; gap: 0 1rem; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { font-weight: 600; color: var(--ink); margin-bottom: .5rem; padding: 0; }
fieldset.field legend span { color: #c0264b; }
.check-grid { display: grid; gap: .5rem; }
.field .check {
  display: flex; margin: 0; align-items: flex-start; gap: .65rem; cursor: pointer;
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field .check:has(input:checked) { border-color: var(--brand-600); background: #f2faff; }
.field .check input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: .2rem 0 0; accent-color: var(--brand-700); flex: none; }
.check strong { color: var(--ink); }
.check-hint { display: block; font-size: .85rem; color: var(--muted); }
.summary-deliverables { margin: 0 0 1.25rem; font-size: .9rem; }
.summary-deliverables h3 { font-size: .95rem; margin-bottom: .4rem; }
.summary-deliverables ul { display: grid; gap: .35rem; }
.summary-deliverables li strong { color: var(--ink); }
.field select {
  width: 100%; font: inherit; color: var(--ink); min-height: 48px;
  padding: .7rem 2.5rem .7rem 1rem; border: 1.5px solid #cdd5e1; border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235f6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat;
  appearance: none; -webkit-appearance: none;
}
.field select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(15, 166, 249, .2); }
.field-hint { margin: .4rem 0 0; font-size: .875rem; color: var(--muted); }
.field input::placeholder, .field textarea::placeholder { color: #8a95a8; }

.quote-layout { display: grid; gap: 1.5rem; align-items: start; }
.quote-summary { padding: 1.5rem; }
.summary-title { font-size: 1.25rem; margin-bottom: .25rem; }
.summary-service { font-weight: 700; color: var(--brand-700); margin-bottom: 1rem; }
.summary-lines { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1.25rem; font-size: .95rem; }
.summary-lines:empty { display: none; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.estimate {
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; margin-bottom: 1.25rem;
  background: var(--ink); color: #dfe8f7;
  background-image: radial-gradient(90% 140% at 100% 0%, rgba(84, 29, 113, .7), transparent 60%);
}
.estimate-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fd2ff; }
.estimate-value { margin: .2rem 0 .5rem; font: 800 clamp(1.4rem, 4vw, 1.75rem)/1.2 var(--font-head); color: #fff; }
.estimate-value.is-empty { font-size: 1rem; font-weight: 600; color: #c9d4e8; }
.estimate-note { margin: 0; font-size: .85rem; color: #b9c4d8; }
.estimate-disclaimer {
  margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem; line-height: 1.5; color: #dfe8f7;
}
.price-disclaimer {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 0 0 2rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid #cfe7f8; border-left: 4px solid var(--brand-600);
  color: var(--ink-2); box-shadow: var(--shadow);
}
.price-disclaimer p { margin: 0; }
.price-disclaimer strong { color: var(--ink); }
.price-disclaimer svg {
  flex: none; width: 22px; height: 22px; margin-top: .1rem; color: var(--brand-700);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sample-warning {
  margin: .75rem 0 0; padding: .5rem .7rem; border-radius: 8px; font-size: .85rem; font-weight: 600;
  background: #fff4d6; color: #6b4a00;
}
.info-note { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: #f2faff; color: var(--ink-2); border: 1px solid #cfe7f8; }

/* ===== Abmo (mascota): acompaña cada sección, decorativo ===== */
.hero-grid { display: grid; gap: 1.5rem; align-items: end; }
.hero-mascot { display: block; justify-self: end; width: 160px; margin-top: -1rem; }
.hero-mascot img { width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); animation: abmo-float 5s ease-in-out infinite; }
@keyframes abmo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Easter egg: Abmo asoma la cabeza por detrás de un borde y sube un poco al pasar el mouse */
.has-peek { position: relative; }
.abmo-peek {
  position: absolute; width: var(--peek-w, 64px); overflow: hidden; pointer-events: none; z-index: 1;
}
.abmo-peek img {
  display: block; width: 100%; height: auto;
  transform: translateY(var(--peek-hide, 56%)); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.abmo-peek--top { bottom: 100%; }
.abmo-peek--bottom { bottom: 0; }
.has-peek:hover .abmo-peek img, .has-peek:focus-within .abmo-peek img { transform: translateY(calc(var(--peek-hide, 56%) - 24%)); }

.values { position: relative; }

/* Abmo en cotizador y páginas de costos */
/* Abmo que reacciona (cotizador) */
.abmo-say {
  display: flex; align-items: center; gap: .85rem; margin: .25rem 0 1.1rem;
  padding: .7rem .9rem .7rem .7rem; border-radius: 999px 18px 18px 999px;
  background: #f2faff; border: 1px solid #cfe7f8;
}
.abmo-face { width: 56px; height: 56px; flex: none; border-radius: 50%; box-shadow: 0 4px 10px rgba(11, 21, 48, .2); }
.abmo-face.is-pop { animation: abmo-pop .45s ease; }
@keyframes abmo-pop { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.08) rotate(3deg); } 100% { transform: none; } }
.abmo-say p { margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* Abmo en mensajes de envío */
.form-status[data-abmo] { display: flex; align-items: center; gap: .75rem; }
.form-status[data-abmo]::before {
  content: ""; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: center / cover no-repeat; box-shadow: 0 4px 10px rgba(11, 21, 48, .2);
  animation: abmo-pop .45s ease;
}
.form-status[data-abmo="risa"]::before { background-image: url("../img/abmo/abmo-face-risa.webp"); }
.form-status[data-abmo="pensando"]::before { background-image: url("../img/abmo/abmo-face-pensando.webp"); }
.form-status[data-abmo="sorpresa"]::before { background-image: url("../img/abmo/abmo-face-sorpresa.webp"); }
.form-status:empty { display: none; }
.quote-summary .form-status[data-abmo]::before { display: none; }


/* 404 */
.notfound { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 3rem; background: var(--ink); color: #dfe8f7;
  background-image: radial-gradient(60% 60% at 10% 20%, rgba(15, 166, 249, .25), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(84, 29, 113, .6), transparent 70%); }
.notfound h1 { color: #fff; }
.notfound .eyebrow { color: #7fd2ff; }
.notfound-inner { display: grid; gap: 2rem; align-items: center; }
.notfound-mascot { margin: 0; width: 150px; }
.notfound-mascot img { width: 100%; filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .5)); animation: abmo-float 5s ease-in-out infinite; }


/* ===== Normativas (home y páginas de detalle) ===== */
.normas-home-grid { display: grid; gap: 1.25rem; }
.norma-card {
  display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.norma-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3f5; }
.norma-card-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.norma-card-top .card-icon { margin: 0; }
.norma-card-code { margin: 0; font: 800 1.35rem/1.1 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.norma-card h3 { font-size: 1.05rem; color: var(--brand-700); margin-bottom: .4rem; }
.norma-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: 1.25rem; }
.norma-card:target { border-color: var(--brand-600); animation: norma-flash 2.2s ease; }
@keyframes norma-flash {
  0%, 35% { box-shadow: 0 0 0 4px rgba(15, 166, 249, .45), var(--shadow-lg); transform: translateY(-4px); }
  100% { box-shadow: var(--shadow); transform: none; }
}
.detail-two { display: grid; gap: 2.5rem; }
.estructura-list { counter-reset: paso; display: grid; gap: .6rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.estructura-list li {
  counter-increment: paso; display: flex; align-items: center; gap: .85rem;
  padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.estructura-list li::before {
  content: counter(paso); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: .85rem;
}
.steps-list { counter-reset: etapa; padding: 0; list-style: none; }
.steps-list > li { counter-increment: etapa; }
.steps-list > li h3::before {
  content: counter(etapa); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: .6rem;
  border-radius: 50%; background: var(--gradient); color: #fff; font-size: .85rem; vertical-align: 2px;
}

/* ===== Valor (hacia afuera / hacia adentro) ===== */
.pt-0 { padding-top: 0; }
.valor-grid { display: grid; gap: 1.25rem; }
.valor-col { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.valor-col h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.15rem; margin-bottom: 1rem; }
.valor-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.valor-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.valor-afuera .valor-icon { background: linear-gradient(135deg, var(--brand), #2a6fd0); }
.valor-adentro .valor-icon { background: linear-gradient(135deg, #2a6fd0, var(--violet)); }
.valor-afuera { border-top: 4px solid var(--brand); }
.valor-adentro { border-top: 4px solid var(--violet); }
.related-norma { margin: 2rem 0 0; font-weight: 600; color: var(--ink); }

/* ===== Servicios y fotogrametría ===== */
.norma-link .card-icon { width: 44px; height: 44px; margin-bottom: .6rem; }
.norma-code-sm { font-size: 1.1rem; }
.detail-media { align-items: center; }
.media-figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.media-figure img, .media-figure svg { display: block; width: 100%; height: auto; }
.media-figure figcaption { padding: .75rem 1rem; font-size: .85rem; color: #c9d4e8; background: var(--ink); }
.media-figure-light { background: #fff; border: 1px solid var(--line); }
.media-figure-light figcaption { background: var(--bg-alt); color: var(--muted); }
.drone-diagram { padding: .5rem; }
.steps-explained li { align-items: flex-start; font-weight: 400; background: #fff; }
.steps-explained li strong { color: var(--ink); }
.gallery-grid { display: grid; gap: 1.25rem; }
.gallery-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink); }
.gallery-card h3, .gallery-card p { padding-inline: 1.25rem; }
.gallery-card h3 { margin-top: 1.1rem; }
.gallery-card p { padding-bottom: 1.25rem; }
.media-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ===== Fotogrametría en la home ===== */
.foto-home {
  background: var(--ink); color: #c9d4e8;
  background-image: radial-gradient(60% 60% at 0% 0%, rgba(15, 166, 249, .22), transparent 70%),
                    radial-gradient(50% 60% at 100% 100%, rgba(84, 29, 113, .55), transparent 70%);
}
.foto-home h2 { color: #fff; }
.foto-home .eyebrow { color: #7fd2ff; }
.foto-home .lead { color: #c9d4e8; }
.foto-home-grid { display: grid; gap: 2.5rem; align-items: center; }
.foto-usos { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.foto-usos li {
  font-size: .85rem; font-weight: 600; color: #fff; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07);
}
.foto-home-media { border: 1px solid rgba(255, 255, 255, .12); }
.norma-card-otras { background: linear-gradient(160deg, #f2faff, #f7f2fb); border-style: dashed; border-color: #b9d6ee; }

/* ===== Fotogrametría: inspección con IA ===== */
.foto-ia {
  background: var(--ink); color: #c9d4e8;
  background-image: radial-gradient(50% 50% at 100% 0%, rgba(84, 29, 113, .6), transparent 70%),
                    radial-gradient(50% 60% at 0% 100%, rgba(15, 166, 249, .22), transparent 70%);
}
.foto-ia h2, .foto-ia h3 { color: #fff; }
.foto-ia .eyebrow { color: #7fd2ff; }
.foto-ia .lead, .foto-ia .media-note { color: #c9d4e8; }
.ia-detecta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.ia-detecta li, .foto-uso-ia {
  font-size: .85rem; font-weight: 600; color: #fff; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 92, 70, .55); background: rgba(255, 92, 70, .14);
}
.foto-usos .foto-uso-ia { border-color: rgba(255, 92, 70, .55); background: rgba(255, 92, 70, .14); }
.ia-gallery .gallery-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.ia-gallery .gallery-card p { color: #c9d4e8; }
.zoom-link { display: block; cursor: zoom-in; }
.zoom-link img { transition: transform .3s ease; }
.zoom-link:hover img { transform: scale(1.03); }
.ia-gallery .gallery-card { overflow: hidden; }
.ia-steps { counter-reset: ia; display: grid; gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.ia-steps li { counter-increment: ia; display: grid; gap: .25rem; align-content: start; padding: 1rem 1.1rem 1rem 3.4rem; position: relative;
  border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.ia-steps li::before { content: counter(ia); position: absolute; left: 1rem; top: 1rem; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: .85rem; font-weight: 700; }
.ia-steps strong { color: #fff; }
.ia-steps span { font-size: .92rem; }

/* ===== Visor 3D (gemelo digital) ===== */
.twin { display: grid; gap: 1.5rem; margin: 0 0 3rem; padding: 1.5rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.twin-intro h3 { color: #fff; font-size: 1.35rem; }
.twin-intro p { margin: 0; color: #c9d4e8; }
.twin-intro strong { color: #fff; }
.twin-stage { position: relative; border-radius: var(--radius-sm); overflow: hidden;
  background: radial-gradient(80% 70% at 50% 30%, #1d3a66, #0b1530 75%); }
.twin-canvas { display: block; width: 100%; height: 420px; touch-action: pan-y; cursor: grab; }
.twin-canvas:active { cursor: grabbing; }
.twin-reset { position: absolute; top: .75rem; right: .75rem; z-index: 1; min-height: 36px; padding: .4rem .85rem; border-radius: 999px;
  font: 600 .8rem/1 var(--font-body); color: #fff; background: rgba(11, 21, 48, .7); border: 1px solid rgba(255, 255, 255, .25); cursor: pointer; }
.twin-reset:hover { background: rgba(11, 21, 48, .9); }
.twin-hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .5rem .75rem; font-size: .8rem;
  text-align: center; color: #c9d4e8; background: linear-gradient(transparent, rgba(11, 21, 48, .85)); pointer-events: none; }
.twin-points { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.twin-point {
  font: 600 .85rem/1.2 var(--font-body); color: #fff; cursor: pointer; min-height: 40px;
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 92, 70, .6); background: rgba(255, 92, 70, .12);
}
.twin-point[aria-pressed="true"] { background: #ff5c46; border-color: #ff5c46; }
.twin-point template { display: none; }
.twin-figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.twin-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.twin-figure figcaption { padding: .5rem .75rem; font-size: .78rem; color: #b9c4d8; background: rgba(255, 255, 255, .05); }
.twin-figure figcaption a, .foto-ia .media-note a { color: #7fd2ff; }
.twin-figure.is-entering img { animation: twin-zoom .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes twin-zoom { from { transform: scale(1.35); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.twin-title { color: #fff; margin: 1rem 0 .35rem; font-size: 1.15rem; }
.twin-desc { margin: 0; color: #c9d4e8; }

/* Barra de página (aparece al hacer scroll en páginas internas) */
.page-bar {
  position: absolute; left: 0; right: 0; top: 100%;
  background: linear-gradient(90deg, var(--ink), #2a2160); color: #fff;
  box-shadow: 0 6px 16px rgba(11, 21, 48, .18);
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
}
.page-bar.is-visible { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.page-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.page-bar-title {
  color: #fff; text-decoration: none; font: 700 .95rem/1.2 var(--font-head);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.page-bar-title:hover { color: #7fd2ff; }
.page-bar-cta { min-height: 32px; padding: .3rem .9rem; font-size: .82rem; flex: none; }
@media (max-width: 639px) { .page-bar-cta { display: none; } }

/* Campo trampa anti-spam (invisible) */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Comprobante de cotización registrada por el servidor */
.quote-result {
  margin: 0 0 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: #effaf3; border: 1px solid #a8dfbd; color: var(--ink-2);
}
.quote-result p { margin: 0; }
.quote-result-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1d7a45; }
.quote-result-id { font: 800 1.2rem/1.3 var(--font-head); color: var(--ink); margin: .2rem 0 .35rem !important; letter-spacing: .02em; }
.quote-result-price { font-size: .95rem; }
.quote-result-note { margin-top: .5rem !important; font-size: .8rem; color: var(--muted); }

@media (min-width: 640px) {
  .service-options { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .factors-grid, .normas-grid { grid-template-columns: repeat(2, 1fr); }
  .normas-home-grid { grid-template-columns: repeat(2, 1fr); }
  .valor-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .step.card { padding: 2rem; }
}
@media (min-width: 960px) {
  .quote-section { padding-block: 3.5rem 6rem; }
  .quote-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; }
  .quote-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .factors-grid { grid-template-columns: repeat(3, 1fr); }
  .normas-grid { grid-template-columns: repeat(3, 1fr); }
  .factors-4 { grid-template-columns: repeat(4, 1fr); }
  .landing-hero { padding-block: 4rem 4.5rem; }
  .normas-home-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .detail-two { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .detail-media { align-items: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .foto-home-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .ia-steps { grid-template-columns: repeat(4, 1fr); }
  .twin { grid-template-columns: 1.1fr 1fr; padding: 2rem; column-gap: 2.5rem; }
  .twin-intro { grid-column: 1 / -1; }
  .twin-canvas { height: 560px; }
  .norma-card-otras { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 2rem; align-items: center; }
  .norma-card-otras .norma-card-top { margin: 0; grid-row: span 2; }
  .norma-card-otras h3, .norma-card-otras p { grid-column: 2; margin-bottom: .25rem; }
  .norma-card-otras .norma-card-actions { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero-mascot { width: 320px; margin: 0; }
  .notfound-inner { grid-template-columns: 240px 1fr; gap: 4rem; }
  .notfound-mascot { width: 240px; }
}

/* ===== Páginas de costos (SEO) ===== */
.landing-hero { padding-block: 3rem 3.5rem; }
.landing-hero .hero-actions { margin-top: 1.75rem; }
.landing-disclaimer {
  display: flex; gap: .6rem; align-items: flex-start; max-width: 62ch;
  margin: 1.75rem 0 0; font-size: .9rem; color: #c9d4e8;
}
.landing-disclaimer svg {
  flex: none; width: 20px; height: 20px; margin-top: .1rem; color: #7fd2ff;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.landing-narrow { max-width: 820px; }
.factors-grid, .normas-grid { display: grid; gap: 1rem; }
.factors-grid .card h3 { font-size: 1.1rem; }
.normas-grid { margin-top: 1.5rem; }
.norma-link { display: grid; gap: .25rem; height: 100%; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.norma-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfe3f5; color: var(--text); }
.norma-code { font: 800 1.5rem/1.2 var(--font-head); color: var(--ink); }
.norma-tema { color: var(--muted); }
.norma-link .card-link { padding-top: .75rem; }
.faq { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand-700);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 1.25rem 1.1rem; }

/* ≥ 640px */
@media (min-width: 640px) {
  .container { padding-inline: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; padding: 2.5rem; }
  .values { padding: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 960px */
@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .brand img { width: 154px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 2rem;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .site-nav .nav-list { display: flex; gap: 1.75rem; align-items: center; }
  .site-nav li a { padding: .4rem 0; border: 0; position: relative; }
  /* Submenús (escritorio: desplegables) */
  .has-sub { position: relative; }
  .nav-item-row { border: 0; gap: .15rem; }
  .sub-toggle { width: 28px; height: 28px; }
  .sub-menu {
    display: grid !important; position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 250px;
    padding: .5rem !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu {
    opacity: 1; visibility: visible; transform: none;
  }
  .sub-menu li a, .sub-menu .nav-item-row > a { display: block; padding: .55rem .75rem; border-radius: 8px; white-space: nowrap; }
  .sub-menu li a:hover { background: var(--bg-alt); }
  .sub-menu li a::after { display: none; }
  .sub-menu .nav-item-row { padding-right: .25rem; border-radius: 8px; }
  .sub-menu .nav-item-row:hover { background: var(--bg-alt); }
  .sub-menu .sub-toggle svg { transform: rotate(90deg); }
  .sub-menu .nav-item-row { flex-direction: row-reverse; justify-content: flex-end; }
  .sub-menu-2 { top: -.5rem; left: auto; right: 100%; margin-right: .35rem; }
  .sub-menu-2::before { top: 0; bottom: 0; left: auto; right: -.5rem; width: .5rem; height: auto; }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--gradient); transform: scaleX(0); transition: transform .2s;
  }
  .site-nav li a:hover::after, .site-nav li a[aria-current="true"]::after { transform: scaleX(1); }
  .site-nav .btn { margin: 0; width: auto; }

  .section { padding-block: 6.5rem; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }
  .about-media img { aspect-ratio: auto; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .contact-form { padding: 2.5rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr auto; }
}

/* Transición de entrada: deja claro que se cambió de página */
main { animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

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