/* AM CORE Solutions — dirección visual "plano técnico"
   Paleta y tipografía base: libro de marca v1.0 (Inter). Etiquetas técnicas: JetBrains Mono.
   Lenguaje gráfico: los cortes diagonales, el "tajo" entre la A y la M y las piezas
   trapezoidales del isotipo (--slant = ángulo real medido en el logo). */
/* Fuentes autoalojadas (OFL): sin peticiones a terceros y con precarga de Inter → mejor LCP.
   Subconjunto "latin" (cubre español). "Inter Fallback" iguala las métricas de Inter con Arial
   para que el texto no salte (CLS) mientras la fuente real se descarga. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial"); font-display: swap;
  size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%;
}

:root {
  --navy: #0F172A;
  --navy-2: #0A1122;
  --navy-3: #131E37;
  --blue: #2563EB;
  --blue-ink: #1D4FD8;   /* azul para texto pequeño sobre fondos claros (AA) */
  --cyan: #0EA5E9;
  --gray: #E5E7EB;
  --paper: #F5F6F8;
  --white: #FFFFFF;

  --line-d: rgba(255,255,255,.14);
  --line-l: #D3D8E0;
  --muted-d: #A9B6CA;
  --muted-l: #46556B;

  --font: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --skew: -35.3deg;     /* se ajusta al ángulo medido del logo */
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--navy); color: var(--white);
  font-family: var(--font); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sec-light :focus-visible, .sec-gray :focus-visible { outline-color: var(--blue-ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--blue); color: #fff; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 12px; }

.container { width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.mono { font-family: var(--mono); }

/* ---------- Piezas del lenguaje gráfico ---------- */
/* barra inclinada (el "tajo" del logo) */
.slash {
  display: inline-block; width: 4px; height: 1.05em; background: currentColor; flex: none;
  transform: skewX(var(--skew));
}
/* botón: paralelogramo con el corte del logo */
.btn {
  --cut: 14px;
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 34px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em; border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .2s ease, color .2s ease, padding .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--navy); padding: 0 40px; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); padding: 0 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: #DCE4F0; border-bottom: 1px solid var(--line-d); padding: 6px 0; transition: color .2s ease, border-color .2s ease; }
.link-arrow:hover { color: #fff; border-color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(15,23,42,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 172px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; color: #CBD5E1; }
.nav-links a:not(.nav-cta) { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--cyan); transition: width .25s ease; }
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { --cut: 10px; padding: 12px 30px; background: var(--blue); color: #fff; font-weight: 600; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: #fff; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero::before {           /* panel derecho con el borde inclinado del tajo A|M */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 47%;
  background: var(--navy-3);
  clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%);
}
.hero::after {            /* retícula de puntos, solo sobre el panel */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 47%;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 55%); mask-image: linear-gradient(90deg, transparent 8%, #000 55%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; min-height: 700px; padding-top: 56px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 26px; }
.eyebrow .slash { height: 16px; }
.hero h1 { font-size: clamp(40px, 5.3vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.048em; max-width: 12em; }
.hero h1 .light { display: block; margin-top: .14em; font-weight: 300; letter-spacing: -.035em; color: #9FB1CB; }
.hero-text { max-width: 500px; margin-top: 30px; font-size: 18px; color: var(--muted-d); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 38px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #7F92AE; }
.hero-note .slash { height: 12px; width: 3px; color: var(--cyan); }

/* plano técnico del isotipo */
.blueprint { width: 100%; height: auto; overflow: visible; }
.bp-frame { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; }
.bp-corner { fill: none; stroke: var(--cyan); stroke-width: 2; }
.bp-echo { fill: none; stroke: rgba(14,165,233,.5); stroke-width: 1.4; stroke-dasharray: 6 6; }
.bp-line { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.bp-dim { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1; }
.bp-arc { fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.bp-dot { fill: var(--cyan); }
.bp-text { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; fill: #C7D6EA; text-transform: uppercase; }
.bp-text.cy { fill: var(--cyan); }
.bp-text.dim { fill: #7F92AE; font-size: 11px; }

.bp-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.5,.1,.2,1) .2s forwards; }
.bp-fill, .bp-echo { opacity: 0; animation: fade .8s ease 1.15s forwards; }
.bp-ann { opacity: 0; animation: fade .7s ease 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Franja técnica ---------- */
.spec-bar { background: var(--navy-2); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.spec-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.spec-inner > p { font-size: 13px; color: #8FA1BB; max-width: 340px; line-height: 1.45; }
.spec-items { display: flex; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #D5DEEC; }
.spec-items li { display: inline-flex; align-items: center; }
.spec-items li + li::before { content: ""; width: 2px; height: 14px; background: var(--cyan); margin: 0 22px; transform: skewX(var(--skew)); }

/* ---------- Secciones ---------- */
.sec { padding: 124px 0; }
.sec-light { background: var(--paper); color: var(--navy); }
.sec-blue { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.sec-dark { background: var(--navy); color: #fff; }
.sec-gray { background: var(--gray); color: var(--navy); position: relative; overflow: hidden; }

.sec-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.sec-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.sec-label::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .22; }
.sec-label b { font-weight: 500; }
.sec-light .sec-label b, .sec-gray .sec-label b { color: var(--blue-ink); }
.sec-dark .sec-label b { color: var(--cyan); }
.sec-head h2, .h2 { font-size: clamp(34px, 4.5vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.048em; }
.sec-head h2 .light, .h2 .light { display: block; font-weight: 300; letter-spacing: -.04em; }
.sec-light .light, .sec-gray .light { color: #5B6B84; }
.sec-dark .light { color: #9FB1CB; }
.sec-blue .light { color: rgba(255,255,255,.9); }
.sec-intro { font-size: 17px; max-width: 460px; }
.sec-light .sec-intro, .sec-gray .sec-intro { color: var(--muted-l); }
.sec-dark .sec-intro { color: var(--muted-d); }
.sec-blue .sec-intro { color: rgba(255,255,255,.9); }

/* ---------- Servicios (lista de especificaciones) ---------- */
.svc-list { border-bottom: 1px solid var(--line-l); }
.svc { position: relative; isolation: isolate; display: grid; grid-template-columns: 78px minmax(210px, 1fr) 1.3fr 290px; gap: 32px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line-l); transition: color .3s ease; }
.svc-n { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--blue-ink); transition: color .3s ease; }
.svc h3 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.svc p { font-size: 16px; color: var(--muted-l); transition: color .3s ease; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tags li { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border: 1px solid #B9C1CE; color: #34435A; transition: border-color .3s ease, color .3s ease; }
@media (hover: hover) {
  .svc::before { content: ""; position: absolute; z-index: -1; top: -1px; bottom: -1px; left: -28px; right: -28px; background: var(--navy); clip-path: polygon(0 0, 0 0, -30px 100%, 0 100%); transition: clip-path .55s cubic-bezier(.2,.7,.2,1); }
  .svc:hover::before { clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%); }
  .svc:hover { color: #fff; }
  .svc:hover .svc-n { color: var(--cyan); }
  .svc:hover p { color: #B7C4D8; }
  .svc:hover .tags li { border-color: rgba(255,255,255,.35); color: #E4EBF6; }
}

/* ---------- Nosotros (azul de marca) ---------- */
.bg-mark { position: absolute; right: -16%; top: 50%; width: min(1100px, 92vw); transform: translateY(-46%); opacity: .5; pointer-events: none; }
.bg-mark path { fill: none; stroke: rgba(255,255,255,.24); stroke-width: 2; }
.sec-blue .container { position: relative; z-index: 1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.35); }
.pillar { padding: 40px 40px 8px 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.35); }
.pillar::before { content: ""; display: block; width: 46px; height: 7px; background: #fff; transform: skewX(var(--skew)); margin-bottom: 26px; }
.pillar h3 { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.pillar p { font-size: 18px; line-height: 1.55; color: #fff; max-width: 34ch; }
.values { margin-top: 84px; }
.values .mono-label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.values ul { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-size: clamp(26px, 3.9vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.values li { display: inline-flex; align-items: center; }
.values li:not(:last-child)::after { content: ""; width: 4px; height: .82em; background: currentColor; opacity: .6; margin: 0 .55em; transform: skewX(var(--skew)); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-d); }
.step::before { content: ""; position: absolute; left: 0; top: -3px; width: 44px; height: 5px; background: var(--cyan); transform: skewX(var(--skew)); transform-origin: left; }
.step-n { display: block; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.25px rgba(255,255,255,.42); transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.step:hover .step-n { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.step h3 { margin: 22px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.step p { font-size: 15px; color: var(--muted-d); max-width: 250px; }

/* ---------- Contacto ---------- */
.contact-inner { position: relative; z-index: 1; padding: 30px 0; max-width: 700px; }
.contact-inner .h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1; }
.contact-inner p.lead { margin-top: 30px; font-size: 18px; color: var(--muted-l); max-width: 520px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 40px; }
.contact-link { font-weight: 600; font-size: 14px; border-bottom: 1px solid #98A3B5; padding: 6px 0; transition: border-color .2s ease, color .2s ease; }
.contact-link:hover { color: var(--blue-ink); border-color: var(--blue-ink); }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 48px; border-top: 1px solid #B4BCC9; }
.contact-people li { padding-top: 22px; }
.person-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.avatar {
  width: 72px; height: 72px; flex: none; object-fit: cover; background: var(--navy);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 18px, 100% 100%, 0 100%);   /* esquina cortada, como el logo */
}
.avatar--empty {   /* espacio reservado para una foto: trama a 54,7° sobre marino */
  display: grid; place-items: center; font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--cyan);
  background: repeating-linear-gradient(125.3deg, rgba(255,255,255,.1) 0 2px, transparent 2px 9px), var(--navy);
}
.contact-people .who { display: flex; align-items: center; gap: 10px; margin-bottom: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.contact-people .who .slash { height: 13px; width: 3px; }
.contact-people a { display: block; width: fit-content; max-width: 100%; padding: 4px 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.contact-people a:hover { color: var(--blue-ink); border-color: var(--blue-ink); }
.contact-mark { position: absolute; z-index: 0; right: -6%; bottom: -14%; width: min(820px, 62vw); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); border-top: 1px solid var(--line-d); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 44px 40px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: 14px; color: #8FA1BB; }
.footer-h { margin-bottom: 16px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.footer ul li + li { margin-top: 10px; }
.footer nav a, .footer-grid > div a { font-size: 14px; color: #C3CEDF; overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.footer nav a:hover, .footer-grid > div a:hover { color: #fff; border-color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.footer .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8FA1BB; }
.footer .copy { font-size: 12px; color: #8FA1BB; }

/* ---------- Servicios: fila clicable + enlace "ver todos" ---------- */
.svc h3 a { color: inherit; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* toda la fila es el enlace */
.svc h3 a:focus-visible { outline: none; }
.svc h3 a:focus-visible::after { outline: 2px solid var(--blue-ink); outline-offset: -2px; }
.svc-arrow { display: inline-block; margin-left: .25em; font-weight: 400; color: var(--blue-ink); transition: transform .25s ease, color .3s ease; }
@media (hover: hover) { .svc:hover .svc-arrow { transform: translateX(6px); color: var(--cyan); } }
.svc-more { margin-top: 34px; }
.sec-light .link-arrow { color: var(--navy); border-color: #B4BCC9; }
.sec-light .link-arrow:hover { color: var(--blue-ink); border-color: var(--blue-ink); }

/* Títulos con Inter real: tracking algo más abierto y espacio entre palabras para que no se peguen */
h1, h2 { word-spacing: .07em; }
.hero h1, .sec-head h2, .h2, .page-hero h1 { letter-spacing: -.036em; }

/* ---------- Páginas internas: cabecera, migas, listas ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); padding: 46px 0 84px; }
.page-hero::before {   /* panel inclinado del tajo A|M */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background: var(--navy-3);
  clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15em; font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.page-lead { max-width: 62ch; margin-top: 26px; font-size: 18px; color: var(--muted-d); }
.page-hero .hero-actions { margin-top: 36px; }
.page-hero--404 { padding: 110px 0 120px; }
.breadcrumb { margin-bottom: 46px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8FA1BB; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 2px; height: 11px; margin: 0 12px; background: var(--cyan); transform: skewX(var(--skew)); }
.breadcrumb a { color: #C3CEDF; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.breadcrumb a:hover { color: #fff; border-color: var(--cyan); }
.breadcrumb [aria-current] { color: #fff; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line-l); }
.check-list li { position: relative; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--line-l); font-size: 17px; color: #26334A; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 29px; width: 16px; height: 7px; background: var(--blue-ink); transform: skewX(var(--skew)); }
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid rgba(255,255,255,.35); }
.build-item { padding: 34px 0 30px; border-bottom: 1px solid rgba(255,255,255,.35); }
.build-item h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.build-item p { font-size: 16px; color: #fff; max-width: 46ch; }

/* ---------- Preguntas frecuentes ---------- */
.faq { border-top: 1px solid var(--line-l); }
.faq-item { display: grid; grid-template-columns: minmax(240px, 1fr) 1.6fr; gap: 12px 56px; padding: 30px 0; border-bottom: 1px solid var(--line-l); }
.faq-item h3 { font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.faq-item p { font-size: 16px; color: var(--muted-l); max-width: 66ch; }

/* ---------- Otros servicios ---------- */
.related-sec { padding: 72px 0 96px; border-top: 1px solid var(--line-l); }
.related-h { margin-bottom: 26px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.related-list { border-top: 1px solid var(--line-l); }
.related-list a { display: grid; grid-template-columns: 56px minmax(200px, 1fr) 1.6fr 28px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-l); transition: background .25s ease; }
.related-list .rl-name { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.related-list .rl-desc { font-size: 15px; color: var(--muted-l); }
.related-list a:hover .svc-arrow { transform: translateX(6px); }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .wipe.reveal { opacity: 1; transform: none; clip-path: polygon(-2% -20%, -2% -20%, -12% 120%, -2% 120%); transition: clip-path 1s cubic-bezier(.2,.7,.2,1); }
.js .wipe.reveal.in { clip-path: polygon(-2% -20%, 102% -20%, 102% 120%, -2% 120%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bp-line { animation: none; stroke-dashoffset: 0; }
  .bp-fill, .bp-echo, .bp-ann { animation: none; opacity: 1; }
  .js .reveal, .js .wipe.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .svc::before, .btn, .nav-links a::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero::before, .hero::after { width: 100%; top: auto; height: 46%; clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); }
  .hero::after { -webkit-mask-image: none; mask-image: none; opacity: .7; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding-top: 48px; padding-bottom: 56px; }
  .blueprint { max-width: 620px; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .svc { grid-template-columns: 56px 1fr; gap: 12px 18px; padding: 30px 0; }
  .svc p, .svc .tags { grid-column: 2; }
  .tags { justify-content: flex-start; }
  .pillars { grid-template-columns: 1fr; }
  .page-hero::before { width: 100%; top: auto; height: 34%; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .check-list, .build-grid { grid-template-columns: 1fr; }
  .faq-item { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .related-list a { grid-template-columns: 44px 1fr 24px; gap: 4px 16px; }
  .related-list .rl-desc { grid-column: 2; grid-row: 2; }
  .related-list .svc-arrow { grid-column: 3; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .pillar, .pillar + .pillar { padding: 34px 0 8px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(255,255,255,.35); margin-top: 26px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .spec-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; gap: 14px; }
  .contact-mark { opacity: .16; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .nav { height: 66px; }
  .brand img { width: 140px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
  .menu-toggle span { width: 24px; height: 2px; background: #fff; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 20px 26px; background: var(--navy); border-bottom: 1px solid var(--line-d); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid var(--line-d); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; }
  .hero h1 { font-size: 40px; }
  .hero-text { font-size: 16px; }
  .hero-actions { gap: 22px; }
  .sec { padding: 78px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 20px; }   /* 2×2 en móvil: menos scroll */
  .step { padding-top: 24px; }
  .step-n { font-size: 52px; }
  .page-hero { padding: 30px 0 64px; }
  .page-hero--404 { padding: 70px 0 84px; }
  .page-lead { font-size: 16px; }
  .breadcrumb { margin-bottom: 32px; }
  .check-list li { font-size: 16px; }
  .related-sec { padding: 54px 0 70px; }
  .step h3 { margin: 14px 0 6px; font-size: 18px; }
  .step p { font-size: 13.5px; line-height: 1.5; }
  .contact-people { grid-template-columns: 1fr; margin-top: 40px; }
  .contact-people li + li { margin-top: 26px; padding-top: 22px; border-top: 1px solid #B4BCC9; }
  .values { margin-top: 60px; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 40px; }
}
