/* Servicios CyR · sitio público · 2026-10
   Mundo: la patente. Azul de marca comprometido, tinta azul marino, papel frío.
   Tipografía: Bricolage Grotesque (títulos), Geist (texto), Geist Mono (datos). */

:root {
  --blue: #0174bb;
  --blue-deep: #015a93;
  --blue-ink: #014a7b;
  --ink: #05182c;
  --ink-2: #0b2540;
  --paper: #f3f6f9;
  --paper-2: #e6edf4;
  --white: #ffffff;
  --text: #0e2238;
  --muted: #475a6f;
  --line: #d3dde7;
  --on-blue: rgba(255, 255, 255, .86);

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-tile: 24px;
  --r-input: 12px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --shadow-tile: 0 1px 0 rgba(5, 24, 44, .04), 0 18px 32px -22px rgba(5, 24, 44, .35);
  --shadow-lift: 0 2px 0 rgba(5, 24, 44, .04), 0 26px 40px -22px rgba(5, 24, 44, .45);

  --gutter: clamp(20px, 4.4vw, 56px);
  --wrap: 1240px;
  --header-h: 68px;
}

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin.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: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-mono-latin.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: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); scrollbar-color: var(--blue) var(--paper-2); scrollbar-width: thin; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.62 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--blue); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.014em; line-height: 1.07; text-wrap: balance; color: var(--ink); font-variation-settings: "wdth" 100; word-spacing: .03em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
::selection { background: var(--blue); color: #fff; }
.num, .tel { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-input); text-decoration: none; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible, .band :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: #fff; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.i-lg { width: 28px; height: 28px; }

/* ---------- Botones ---------- */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.4rem;
  font: 600 1rem/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--r-pill);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 200ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .62); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--blue { --bg: var(--blue); --fg: #fff; --bd: var(--blue); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { --bg: var(--paper-2); --bd: var(--paper-2); box-shadow: 0 12px 24px -14px rgba(0, 20, 40, .6); }
  .btn--ghost-light:hover { --bg: rgba(255, 255, 255, .14); --bd: #fff; }
  .btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
  .btn--blue:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); }
  .btn:not(.btn--light):not(.btn--ghost-light):not(.btn--ghost):not(.btn--blue):hover { --bg: var(--ink-2); --bd: var(--ink-2); }
}
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: inherit; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { gap: .7em; } }

/* ---------- Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: box-shadow 200ms ease; backdrop-filter: saturate(1.4) blur(10px); }
.header.is-scrolled { box-shadow: 0 10px 26px -20px rgba(5, 24, 44, .5); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.header .wrap.header__in { width: 100%; max-width: none; margin-inline: 0; padding-inline: clamp(16px, 1.3vw, 24px); }
@media (max-width: 960px) { .header .wrap.header__in { padding-inline: var(--gutter); } }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand b { font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; font-variation-settings: "wdth" 96; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: .9875rem; color: var(--text); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.nav a[aria-current="page"] { color: var(--blue-deep); background: #e9f3fa; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--paper-2); } }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(.95); }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-x { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-x { display: block; }
.sheet { display: none; }
@media (max-width: 960px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .sheet { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); color: #fff; padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms; }
  .sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sheet a.sheet__link { font: 700 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--display); letter-spacing: -.03em; color: #fff; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .sheet__cta { margin-top: 22px; display: grid; gap: 12px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand b { font-size: 1.08rem; } .header__cta .btn { padding: 0 1rem; } }

/* ---------- Héroe ---------- */
.hero { position: relative; isolation: isolate; background: var(--blue); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 46%; z-index: -1; background: url("img/flota-duo.webp") 62% 50% / cover no-repeat; opacity: .62;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: min(calc(100dvh - var(--header-h)), 780px); padding-block: clamp(40px, 6vw, 88px); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.02em; line-height: 1.02; font-weight: 780; max-width: 15ch; font-variation-settings: "wdth" 100; }
.hero__sub { margin-top: 22px; max-width: 34ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--on-blue); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Placa */
.studio { display: grid; gap: 18px; justify-items: stretch; }
.plate { position: relative; background: #fff; border-radius: 22px; padding: 11px; box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 34px 50px -26px rgba(0, 12, 28, .75), 0 8px 18px -10px rgba(0, 12, 28, .45); transform: rotate(-1.6deg); }
.plate::before, .plate::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b9c6d3 62%, #8c9cab); box-shadow: 0 1px 1px rgba(5, 24, 44, .35); }
.plate::before { left: 12px; } .plate::after { right: 12px; }
.plate__face { border: 3.5px solid var(--ink); border-radius: 13px; padding: clamp(12px, 1.8vw, 22px) clamp(26px, 3vw, 40px); background: linear-gradient(180deg, #fff 0, #eef3f7 100%); display: flex; justify-content: center; align-items: baseline; gap: .02em; min-height: clamp(96px, 11vw, 140px); }
.plate__c { display: inline-block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 76, "opsz" 96; font-size: clamp(2.9rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: .015em; color: var(--ink);
  text-shadow: 0 1.5px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(5, 24, 44, .35), 0 3px 3px rgba(5, 24, 44, .22); }
.plate__c.is-ghost { color: rgba(5, 24, 44, .13); text-shadow: none; }
.plate__dot { align-self: center; width: .16em; height: .16em; margin-inline: .12em; border-radius: 50%; background: var(--ink); font-size: clamp(2.9rem, 6.2vw, 5.6rem); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4); }
.plate__c.stamp { animation: stamp 520ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 70ms + 240ms); }
@keyframes stamp { 0% { opacity: 0; transform: translateY(-.22em) scale(1.08); filter: blur(5px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }

.lookup { background: rgba(3, 40, 74, .82); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-tile); padding: 18px; display: grid; gap: 12px; box-shadow: 0 26px 40px -26px rgba(0, 12, 28, .8); }
.lookup label { font-weight: 600; font-size: .9375rem; color: #fff; }
.lookup__fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; }
.lookup__f { display: grid; gap: 8px; align-content: start; }
.lookup .btn { width: 100%; }
.lookup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { width: 100%; min-height: 48px; padding: 0 16px; font: 500 1rem/1.2 var(--sans); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-input); transition: border-color 160ms ease, box-shadow 160ms ease; caret-color: var(--blue); }
.field::placeholder { color: #5f7185; opacity: 1; }
.field:hover { border-color: #a9bacb; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 116, 187, .22); }
#patente, #rut { font-family: var(--mono); font-size: 1.0625rem; font-weight: 600; letter-spacing: .08em; }
#patente { text-transform: uppercase; letter-spacing: .12em; }
.lookup__hint { font-size: .875rem; color: var(--on-blue); }
.lookup__hint.is-err { color: #ffd2cc; }
#patente::placeholder, #rut::placeholder { text-transform: none; letter-spacing: .02em; font-weight: 500; }
@media (max-width: 960px) {
  .hero::before { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 100%); mask-image: linear-gradient(180deg, transparent 38%, #000 100%); background-position: 60% 100%; opacity: .55; }
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero h1 { max-width: 12ch; }
  .plate { transform: none; }
}
@media (max-width: 520px) { .lookup__fields { grid-template-columns: minmax(0, 1fr); } }

/* Resultado de la consulta */
.result { display: grid; gap: 10px; padding-top: 16px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .18); color: #fff; animation: rise 260ms var(--ease-out) both; }
.result[hidden] { display: none; }
.result__tag { font: 500 .8125rem/1.3 var(--mono); letter-spacing: .06em; color: var(--on-blue); overflow-wrap: anywhere; }
.result__title { font: 750 1.4rem/1.15 var(--display); letter-spacing: -.014em; color: #fff; }
.result__bar { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin: 2px 0; padding: 0; }
.result__bar li { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); transition: background-color 240ms var(--ease-out); }
.result__bar li.is-on { background: #fff; }
.result__bar li.is-cur { background: #7fcbff; }
.result__text { color: #fff; font-size: .9375rem; line-height: 1.5; }
.result__meta { font-size: .8125rem; color: var(--on-blue); }
.result__wa { display: inline-flex; justify-self: start; align-self: start; align-items: center; gap: .4em; font-weight: 600; font-size: .9375rem; color: #fff; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Clientes ---------- */
.clients { background: #e8f2fa; border-bottom: 1px solid var(--line); padding-block: clamp(44px, 6vw, 76px); }
.clients__in { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.clients h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 760; max-width: 15ch; }
.clients__txt p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; max-width: 34ch; }
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.clients__grid li { display: grid; place-items: center; height: 100px; padding: 0 20px; background: #fff; border: 1px solid rgba(1, 116, 187, .14); border-radius: var(--r-tile); box-shadow: var(--shadow-tile); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .clients__grid li:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(5, 24, 44, .04), 0 22px 34px -20px rgba(1, 116, 187, .55); } }
.clients img { height: var(--h, 34px); width: auto; max-width: 100%; object-fit: contain; }
.c-avis { --h: 46px; } .c-gama { --h: 28px; } .c-kia { --h: 46px; } .c-salfa { --h: 34px; } .c-tattersall { --h: 32px; } .c-indumotora { --h: 46px; }
@media (max-width: 900px) { .clients__in { grid-template-columns: 1fr; } .clients h2 { max-width: 20ch; } }
@media (max-width: 560px) { .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .clients__grid li { height: 88px; padding: 0 14px; } }

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec--white { background: #fff; }
.sec--ink { background: var(--ink); color: #fff; }
.sec h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.02em; line-height: 1.05; font-weight: 780; max-width: 18ch; }
.sec__lead { margin-top: 18px; max-width: 46ch; font-size: 1.1875rem; line-height: 1.55; color: var(--muted); }
.sec__head { margin-bottom: clamp(32px, 5vw, 56px); }

/* Bento de servicios */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-tile); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; min-height: 250px; box-shadow: var(--shadow-tile); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
.tile h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.016em; font-weight: 740; }
.tile p { max-width: 44ch; font-size: 1rem; line-height: 1.55; }
.tile .link { margin-top: auto; align-self: flex-start; }
.tile__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.tile__ico .i { width: 28px; height: 28px; }
.t-a { grid-column: span 7; grid-row: span 2; background: var(--ink); color: #fff; min-height: 540px; }
.t-a h3 { color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 780; max-width: 12ch; }
.t-a p { color: var(--on-blue); }
.t-a::after { content: ""; position: absolute; z-index: -1; inset: 0; background: url("img/frente-duo.webp") 62% 78% / 118% auto no-repeat; opacity: .55; -webkit-mask-image: radial-gradient(120% 70% at 90% 100%, #000 18%, transparent 72%); mask-image: radial-gradient(120% 70% at 90% 100%, #000 18%, transparent 72%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; max-width: 34rem; }
.chips li { padding: 8px 14px; font-size: .9375rem; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill); }
.t-b { grid-column: span 5; background: #fff; border: 1px solid var(--line); }
.t-b .tile__ico { background: #e9f3fa; color: var(--blue-deep); }
.t-b p { color: var(--muted); }
.t-c { grid-column: span 5; background: var(--blue); color: #fff; }
.t-c h3 { color: #fff; } .t-c p { color: var(--on-blue); }
.t-d { grid-column: span 5; background: var(--paper-2); }
.t-d .tile__ico { background: #fff; color: var(--blue-deep); }
.t-d p { color: var(--muted); }
.t-e { grid-column: span 7; background: var(--ink); color: #fff; }
.t-e::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("img/patio-duo.webp") center 55% / cover no-repeat; opacity: .6; }
.t-e::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5, 24, 44, .92) 8%, rgba(5, 24, 44, .25) 80%); }
.t-e h3 { color: #fff; } .t-e p { color: var(--on-blue); }
@media (max-width: 960px) {
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: 1 / -1; grid-row: auto; }
  .t-a { min-height: 460px; }
}

/* Recorrido */
.path { position: relative; --p: 0; }
.path__line { position: absolute; left: 0; right: 0; top: 6px; height: 4px; background: var(--line); border-radius: 4px; }
.path__fill { position: absolute; inset: 0; background: var(--blue); border-radius: 4px; transform-origin: left center; transform: scaleX(var(--p)); }
.path__token { position: absolute; top: 50%; left: calc(var(--p) * 100%); translate: -50% -50%; background: #fff; border: 2.5px solid var(--ink); border-radius: 8px; padding: 5px 9px; font: 800 .9rem/1 var(--display); font-variation-settings: "wdth" 78; letter-spacing: .06em; color: var(--ink); box-shadow: 0 10px 18px -10px rgba(5, 24, 44, .6); white-space: nowrap; }
.path__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.path__steps li { position: relative; padding-top: 38px; color: var(--muted); transition: color 240ms ease; }
.path__steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: background-color 240ms ease, border-color 240ms ease, transform 300ms var(--ease-out); }
.path__steps li.is-on::before { background: var(--blue); border-color: var(--blue); transform: scale(1.12); }
.path__steps li.is-on { color: var(--text); }
.path__steps h3 { font-size: 1.2rem; letter-spacing: -.025em; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.path__steps p { font-size: .9875rem; line-height: 1.5; }
.path__note { margin-top: 26px; font-size: .9375rem; color: var(--muted); }
@media (max-width: 960px) {
  .path__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 4px; height: auto; margin: 0; }
  .path__fill { transform-origin: top center; transform: scaleY(var(--p)); }
  .path__token { display: none; }
  .path__steps { grid-template-columns: 1fr; gap: 26px; margin-top: 0; padding-left: 40px; }
  .path__steps li { padding-top: 0; }
  .path__steps li::before { left: -40px; top: 4px; }
}

/* Por qué */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.why h2 { max-width: 13ch; position: sticky; top: calc(var(--header-h) + 36px); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .i { grid-row: span 2; width: 34px; height: 34px; color: var(--blue); margin-top: 3px; }
.facts h3 { font-size: 1.45rem; letter-spacing: -.03em; font-weight: 700; }
.facts p { color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why h2 { position: static; } }

/* Banda de contacto */
.band { background: var(--blue); color: #fff; padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.band__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.band h2 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.9rem); letter-spacing: -.02em; font-weight: 780; max-width: 14ch; line-height: 1.04; }
.band p.lead { margin-top: 16px; font-size: 1.1875rem; color: var(--on-blue); max-width: 36ch; }
.band .btn { margin-top: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .26); font-size: 1.125rem; }
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .26); }
.contact-list .i { width: 26px; height: 26px; }
.contact-list a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.contact-list small { display: block; font-size: .875rem; color: var(--on-blue); }
@media (max-width: 860px) { .band__in { grid-template-columns: 1fr; } }

/* Pie */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 56px 28px; font-size: .9875rem; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot .brand { color: #fff; margin: 0 0 14px; }
.foot .brand img { width: 44px; height: 44px; }
.foot h3 { font: 600 .9375rem/1.2 var(--sans); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: #fff; text-decoration: underline; } }
.foot__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .875rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top > :first-child { grid-column: 1 / -1; } }

/* WhatsApp flotante (solo celular) */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; box-shadow: 0 16px 28px -12px rgba(5, 24, 44, .7); transition: transform 160ms var(--ease-out); }
.wa:active { transform: scale(.94); }
.wa .i { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa { display: grid; } }

/* ---------- Páginas interiores ---------- */
.pagehead { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); position: relative; isolation: isolate; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 45%; background: url("img/patio-duo.webp") center / cover no-repeat; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.pagehead h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -.02em; font-weight: 780; max-width: 17ch; line-height: 1.04; }
.pagehead p { margin-top: 20px; max-width: 40ch; font-size: 1.1875rem; color: var(--on-blue); }
.anchors { position: sticky; top: var(--header-h); z-index: 30; background: rgba(243, 246, 249, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchors ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.anchors a { display: inline-flex; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 500; font-size: .9375rem; color: var(--text); text-decoration: none; white-space: nowrap; border: 1px solid var(--line); background: #fff; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.anchors a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .anchors a:not(.is-on):hover { border-color: var(--blue); color: var(--blue-deep); } }

.svc { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) { background: #fff; }
.svc__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.svc h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.02em; font-weight: 780; max-width: 12ch; }
@media (min-width: 861px) { .svc__intro { position: sticky; top: calc(var(--header-h) + 96px); } }
.svc__intro p { margin-top: 18px; color: var(--muted); max-width: 40ch; font-size: 1.125rem; }
.svc__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #e9f3fa; color: var(--blue-deep); margin-bottom: 22px; }
.svc__ico .i { width: 30px; height: 30px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding-block: 14px; border-top: 1px solid var(--line); line-height: 1.4; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23ffffff'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--one { grid-template-columns: 1fr; }
.group + .group { margin-top: 34px; }
.group h3 { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 4px; }
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp > div { border-radius: var(--r-tile); padding: clamp(22px, 3vw, 32px); }
.cmp .cmp__a { background: var(--blue); color: #fff; }
.cmp .cmp__b { background: var(--paper-2); }
.cmp h3 { font-size: 1.5rem; margin-bottom: 14px; }
.cmp .cmp__a h3 { color: #fff; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp li { display: flex; gap: 10px; align-items: flex-start; }
.cmp li .i { margin-top: 3px; width: 18px; height: 18px; }
.cmp .note { margin-top: 14px; font-size: .9375rem; opacity: .9; }
@media (max-width: 860px) { .svc__grid, .cmp { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }
.photoband { position: relative; isolation: isolate; border-radius: var(--r-tile); overflow: hidden; background: var(--ink) url("img/flota-duo.webp") center / cover no-repeat; min-height: 280px; color: #fff; padding: clamp(24px, 4vw, 44px); display: flex; align-items: flex-end; margin-top: 24px; }
.photoband::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5, 24, 44, .85)); }
.photoband p { max-width: 38ch; font-size: 1.125rem; }

/* Quiénes somos */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about__img { border-radius: var(--r-tile); aspect-ratio: 4 / 3.3; background: var(--ink) url("img/flota-duo.webp") 40% center / cover no-repeat; box-shadow: var(--shadow-tile); }
.about p.big { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--text); max-width: 34ch; letter-spacing: -.01em; }
.about p.big + p { margin-top: 18px; color: var(--muted); max-width: 46ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.pillars > div { padding-top: 22px; border-top: 2px solid var(--ink); }
.pillars h3 { font-size: 1.6rem; letter-spacing: -.035em; font-weight: 750; margin-bottom: 10px; }
.pillars p { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .about, .pillars { grid-template-columns: 1fr; } .pillars { gap: 32px; } }
.audiences { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.audiences li { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 12px 32px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .2); align-items: baseline; }
.audiences li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.audiences h3 { color: #fff; font-size: 1.7rem; letter-spacing: -.035em; font-weight: 750; }
.audiences p { color: var(--on-blue); max-width: 48ch; }
@media (max-width: 760px) { .audiences li { grid-template-columns: 1fr; } }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 0; }
.contact__info a.row, .contact__info div.row { display: flex; gap: 16px; align-items: center; padding-block: 20px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 1.125rem; }
.contact__info .row:last-of-type { border-bottom: 1px solid var(--line); }
.contact__info .row .i { width: 28px; height: 28px; color: var(--blue); }
.contact__info small { display: block; color: var(--muted); font-size: .9rem; }
.contact__info .row b { font-weight: 600; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(22px, 3.6vw, 40px); box-shadow: var(--shadow-tile); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .9375rem; }
.form label .lbl { display: block; }
.form label span.opt { font-weight: 400; color: var(--muted); }
.form textarea.field { min-height: 150px; padding-block: 14px; resize: vertical; }
.form .field { border-color: #aebdcb; }
.form .field:hover { border-color: #7f95a9; }
.form .field:focus { border-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.4em; font-weight: 500; }
.form__status.is-ok { color: #0a6b3a; }
.form__status.is-err { color: #a3261a; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__foot small { color: var(--muted); }
.field.is-bad { border-color: #a3261a; box-shadow: 0 0 0 4px rgba(163, 38, 26, .14); }
.err { color: #a3261a; font-size: .875rem; font-weight: 500; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .plate__c.stamp { animation: fadein 240ms ease both; animation-delay: 0ms; }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
  .tile, .btn, .link, .path__steps li::before { transition-duration: 1ms; }
  .result { animation: none; }
}
