:root {
  --navy-900: #0a1530;
  --navy-800: #0f1d3d;
  --navy-700: #172a57;
  --navy-600: #1f3876;
  --steel-100: #eef1f6;
  --steel-200: #dde2ea;
  --steel-400: #9aa4b5;
  --steel-600: #5b6577;
  --ink: #141a26;
  --spark: #ef7a1a;
  --spark-dark: #d1630a;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 21, 48, .35);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--navy-600); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; flex: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
.muted { color: var(--steel-400); }
.eyebrow { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--spark); margin-bottom: .6em; }
.lead { font-size: 1.18rem; max-width: 46ch; }
.chrome { background: linear-gradient(180deg, #fff 0%, #c9d1df 45%, #8c97ab 55%, #e9edf3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 6px; border: 2px solid var(--spark); background: var(--spark); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--spark-dark); border-color: var(--spark-dark); transform: translateY(-1px); }
.btn-sm { padding: .5em 1em; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 21, 48, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand-mark { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-style: italic; font-size: 1.55rem; letter-spacing: .02em; }
.brand-text small { font-size: .72rem; letter-spacing: .5em; color: var(--steel-400); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--steel-200); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--white); }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--spark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); background: var(--navy-800); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,21,48,.92) 0%, rgba(10,21,48,.6) 60%, rgba(10,21,48,.35) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-block: 80px; }
.hero-copy .lead { color: var(--steel-200); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-logo img { width: min(360px, 100%); margin-left: auto; border-radius: 50%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }

/* Franja de ventajas */
.strip { background: var(--navy-900); color: var(--white); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feat { display: flex; gap: 14px; padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.08); }
.feat:first-child { border-left: 0; padding-left: 0; }
.feat svg { width: 34px; height: 34px; color: var(--spark); }
.feat h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: .3em; }
.feat p { color: var(--steel-400); font-size: .95rem; margin: 0; }

/* Secciones */
.section { padding: 96px 0; }
.section.alt { background: var(--steel-100); }
.section.dark { background: var(--navy-800); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lead { font-size: 1.12rem; color: var(--steel-200); }
.h-sm { font-size: 1.9rem; margin-bottom: 28px; }

/* Tarjetas de servicio */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-grid.small { grid-template-columns: repeat(4, 1fr); }
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-200); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { text-transform: uppercase; color: var(--navy-700); }
.svc-body p { color: var(--steel-600); font-size: .97rem; flex: 1; }
.svc-grid.small .svc-body p { display: none; }
.more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spark); }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--navy-700); border-radius: var(--radius); padding: 18px 18px 22px; border: 1px solid rgba(255,255,255,.07); }
.step-img { background: #fff; border-radius: 6px; margin-bottom: 16px; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.step-img img { width: 100%; height: 100%; object-fit: contain; }
.step-n { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--spark); letter-spacing: .06em; }
.step p { color: var(--steel-200); margin: .3em 0 0; font-size: .98rem; }

/* Nosotros */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-img { position: relative; }
.split-img > img:first-child { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.split-img .badge { position: absolute; right: -24px; bottom: -24px; width: 130px; border-radius: 50%; border: 5px solid var(--white); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.checks li { padding-left: 30px; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--spark); border-bottom: 3px solid var(--spark); transform: rotate(-45deg); }

/* CTA + formulario */
.section.cta { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta p { color: var(--steel-200); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { margin-top: .2em; color: var(--spark); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list.big { font-size: 1.15rem; margin-top: 24px; }
.contact-form { background: var(--white); color: var(--ink); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.section:not(.cta) .contact-form { border: 1px solid var(--steel-200); }
.contact-form h3 { text-transform: uppercase; color: var(--navy-700); font-size: 1.8rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--steel-200); border-radius: 6px; background: var(--steel-100); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-600); outline-offset: 1px; background: var(--white); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.form-error { color: #c0392b; font-weight: 600; font-size: .95rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado de páginas internas */
.page-hero { position: relative; background: var(--navy-800); color: var(--white); padding: 88px 0 72px; overflow: hidden; }
.page-hero .lead { color: var(--steel-200); }
.page-hero .wrap { position: relative; }
.page-hero.has-img { padding: 120px 0 96px; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,21,48,.9), rgba(10,21,48,.4)); }
.page-hero.has-img .wrap { z-index: 1; }
.crumbs { margin-bottom: .6em; color: var(--steel-400); }
.crumbs a { color: var(--steel-200); }

/* Detalle de servicio */
.svc-detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.9rem; color: var(--navy-700); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.legal h2, .legal h3, .legal h4 { font-size: 1.5rem; color: var(--navy-700); margin-top: 1.4em; text-transform: none; }
.side-card { position: sticky; top: 100px; background: var(--steel-100); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--spark); }
.side-card h3 { color: var(--navy-700); text-transform: uppercase; }
.side-card .btn { width: 100%; justify-content: center; }
.side-link { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--steel-200); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 24, .94); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 6px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 2.4rem; cursor: pointer; padding: 12px 18px; line-height: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Contacto */
.contact-side { display: grid; gap: 16px; }
.info-card { background: var(--steel-100); border-radius: var(--radius); padding: 20px 24px; }
.info-card h3 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; text-transform: uppercase; color: var(--navy-700); margin-bottom: .3em; }
.info-card svg { color: var(--spark); }
.info-card p { margin: 0; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--steel-200); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer h3 { color: var(--white); text-transform: uppercase; font-size: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { margin-bottom: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 28px; font-size: .9rem; color: var(--steel-400); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1000px) {
  .svc-grid, .svc-grid.small { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .feat { border-left: 0; padding: 26px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .svc-detail { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-120%); transition: transform .25s; }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav a[aria-current] { box-shadow: none; color: var(--spark); }
  .site-nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner, .split, .cta-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
  .split { gap: 48px; }
  .split-img .badge { right: 12px; bottom: -20px; width: 100px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .svc-grid.small, .steps, .strip-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 22px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .brand-mark { width: 52px; }
  .brand-text strong { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.ask-card { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); justify-content: center; }
.ask-card:hover { transform: none; box-shadow: none; }
.ask-card .svc-body { justify-content: center; padding: 32px; }
.ask-card h3 { color: var(--white); font-size: 1.8rem; }
.ask-card p { color: var(--steel-200); flex: 0; margin-bottom: 24px; }
.ask-card .btn { align-self: flex-start; }
