@font-face {
  font-family: Manrope;
  src: url('./manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* Valores base */
  --steel-950: #102237;
  --steel-900: #17314c;
  --steel-700: #41576c;
  --steel-500: #71889d;
  --steel-350: #a6b7c5;
  --steel-250: #cddae4;
  --steel-120: #e8f0f5;
  --steel-60: #f3f7fa;
  --red-800: #a21624;
  --red-700: #ba1c2b;
  --red-100: #fbe4e6;
  --blue-700: #225ca2;
  --white: #fff;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --radius-control: .5rem;
  --radius-panel: .875rem;

  /* Roles semánticos */
  --ink: var(--steel-950);
  --muted: var(--steel-700);
  --canvas: var(--white);
  --tint: var(--steel-60);
  --accent: var(--red-700);
  --accent-hover: var(--red-800);
  --line: var(--steel-250);
  --on-dark: var(--steel-250);
  --focus: var(--blue-700);
  --section-space: clamp(3.5rem, 7vw, 6.75rem);

  /* Controles y componentes */
  --button-fill: var(--accent);
  --button-hover: var(--accent-hover);
  --button-color: var(--white);
  --button-min-height: 3rem;
  --field-fill: var(--tint);
  --field-border: var(--steel-500);
  --panel-padding: clamp(1.15rem, 4vw, 2.75rem);
  --nav-layer: 5;

  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.62; }
main { flex: 1; }
p, figure, ul, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 800; text-wrap: balance; }
h1, h2 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.125rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.65vw, 1.55rem); line-height: 1.2; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
input, select, textarea, button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--red-100); }

.container { width: min(100% - 5rem, 82rem); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-tint { background: var(--tint); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; padding: var(--space-1) var(--space-3); background: var(--canvas); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.header { position: sticky; z-index: var(--nav-layer); top: 0; border-bottom: 1px solid var(--line); background: var(--canvas); }
.header-inner { min-height: 4.85rem; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 3rem; height: 2.75rem; border-radius: .5rem; object-fit: cover; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-weight: 800; letter-spacing: -.02em; }
.brand small { margin-top: .17rem; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.8rem, 1.65vw, 1.65rem); }
.navigation a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .12rem; color: var(--muted); font-size: .9rem; font-weight: 720; }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .38em; text-decoration-thickness: 2px; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; flex: none; min-height: var(--button-min-height); padding: .72rem 1rem; border: 1px solid transparent; border-radius: var(--radius-control); text-align: center; font-size: .9rem; font-weight: 800; line-height: 1.3; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.button.primary { background: var(--button-fill); color: var(--button-color); }
.button.primary:hover { background: var(--button-hover); }
.button.secondary { background: var(--canvas); border-color: var(--steel-350); color: var(--ink); }
.button.secondary:hover { background: var(--steel-120); border-color: var(--steel-500); }
.header-cta { --button-min-height: 2.68rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent); font-size: .94rem; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

.hero { margin-top: clamp(1.15rem, 3.5vw, 3.2rem); display: grid; grid-template-columns: .92fr 1fr; min-height: clamp(31rem, 44vw, 40rem); border-radius: var(--radius-panel); background: var(--steel-120); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.7rem, 4.6vw, 5rem); }
.hero h1 { font-size: clamp(2.9rem, 5.4vw, 5.6rem); text-wrap: initial; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 31ch; margin-block: var(--space-4); color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.22rem); }
.hero-location { display: inline-flex; align-items: center; gap: .45rem; margin-top: clamp(1.1rem, 4vw, 2.7rem); min-height: 2.75rem; color: var(--muted); font-size: .88rem; font-weight: 750; }
.hero-location:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .22em; }
.hero-location .icon { color: var(--accent); width: 1rem; height: 1rem; }
.hero-photo, .editorial-photo { position: relative; min-width: 0; background: var(--steel-900); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
figure figcaption { position: absolute; bottom: .75rem; right: .75rem; padding: .24rem .55rem; border-radius: .3rem; color: var(--white); background: var(--ink); font-size: .75rem; font-weight: 650; }
.editorial-photo { border-radius: var(--radius-panel); }
.editorial-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.home-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: var(--space-3) var(--section-space); border-block: 1px solid var(--line); }
.home-directory a { display: flex; align-items: flex-start; gap: .9rem; padding: clamp(1rem, 2vw, 1.5rem); }
.home-directory a + a { border-left: 1px solid var(--line); }
.home-directory a:hover { background: var(--tint); }
.home-directory strong, .home-directory span { display: block; }
.home-directory strong { font-weight: 800; }
.home-directory span { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.home-directory .icon { color: var(--accent); margin-top: .14rem; }

.service-preview { background: var(--tint); }
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 5.5rem); }
.editorial p { color: var(--muted); }
.service-preview .editorial > div > p { margin-block: var(--space-3) var(--space-3); max-width: 49ch; }
.link-rows { padding: 0; list-style: none; }
.link-rows li { border-bottom: 1px solid var(--line); }
.link-rows a { display: flex; align-items: center; min-height: 2.95rem; font-weight: 760; }
.link-rows a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .24em; }
.home-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); padding-block: var(--section-space); }
.home-links section + section { border-left: 1px solid var(--line); padding-left: var(--space-5); }
.home-links h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.home-links p { color: var(--muted); margin-top: var(--space-2); }
.cta-band { background: var(--steel-120); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: clamp(2rem, 5vw, 4rem); }
.cta-inner p { margin-top: var(--space-2); color: var(--muted); }

.route-hero { padding-block: clamp(2.6rem, 6vw, 5.75rem) clamp(2rem, 5vw, 4.25rem); }
.route-hero h1 { max-width: 18ch; }
.route-heading h1 { max-width: 25ch; }
.intro { color: var(--muted); max-width: 62ch; margin-top: var(--space-3); font-size: clamp(1rem, 1.75vw, 1.19rem); }
.route-hero .button { margin-top: var(--space-4); }
.route-hero.editorial .intro { max-width: 46ch; }
.service-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.4rem, 5vw, 5rem); margin-top: var(--space-5); }
.service-detail { display: flex; align-items: flex-start; gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--line); }
.service-detail .icon { margin-top: .14rem; width: 1.55rem; height: 1.55rem; color: var(--accent); }
.service-detail p { max-width: 53ch; margin: var(--space-2) 0 .18rem; color: var(--muted); }
.service-detail-wide { grid-column: 1 / -1; }
.service-detail-wide p { max-width: 78ch; }

.equipment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); padding-bottom: var(--section-space); }
.equipment-card { display: grid; grid-template-rows: auto 1fr; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; }
.equipment-card .editorial-photo { border-radius: 0; }
.equipment-card .editorial-photo img { object-position: center 28%; }
.equipment-card .equipment-product-photo { background: var(--canvas); }
.equipment-card .equipment-product-photo img { object-fit: contain; padding: var(--space-4); }
.equipment-card img { aspect-ratio: 16 / 9; }
.equipment-card:first-child img { object-position: center 35%; }
.equipment-copy { display: flex; flex-direction: column; align-items: flex-start; padding: var(--panel-padding); }
.equipment-copy h2 { font-size: clamp(1.75rem, 2.6vw, 2.2rem); }
.equipment-copy p { margin-top: var(--space-2); margin-bottom: var(--space-4); color: var(--muted); max-width: 54ch; }
.equipment-copy .actions { margin-top: auto; }

.coverage-panel { display: grid; grid-template-columns: .82fr 1fr; margin-bottom: var(--section-space); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.office, .coverage-cities { padding: var(--panel-padding); }
.office { color: var(--white); background: var(--steel-900); }
.office > .icon { width: 2rem; height: 2rem; margin-bottom: var(--space-3); }
.office h2, .coverage-cities h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.office address { color: var(--on-dark); margin-block: var(--space-3) var(--space-4); }
.coverage-cities { background: var(--tint); }
.cities { display: grid; grid-template-columns: 1fr 1fr; list-style: none; padding: 0; margin-block: var(--space-3) var(--space-4); gap: 0 var(--space-4); }
.cities li { padding-block: .65rem; border-bottom: 1px solid var(--line); font-weight: 750; }
.logo-plate { background: var(--tint); border-radius: var(--radius-panel); min-height: clamp(14rem, 24vw, 22rem); padding: var(--panel-padding); display: grid; place-items: center; }
.logo-plate img { width: min(67%, 18rem); height: auto; border-radius: .65rem; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; }
.about-content p { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--space-4); align-items: start; padding-bottom: var(--section-space); }
.form-card, .contact-card { min-width: 0; border-radius: var(--radius-panel); padding: var(--panel-padding); border: 1px solid var(--line); }
.contact-card { background: var(--tint); }
.form-card h2, .contact-card h2 { font-size: clamp(1.45rem, 2.75vw, 2rem); margin-bottom: var(--space-4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .92rem; font-weight: 800; margin-bottom: .4rem; }
.field label span { color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 2.95rem; padding: .58rem .72rem; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--field-fill); caret-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 1rem center, right .69rem center; background-size: .31rem .31rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.form-help { margin-block: var(--space-3) var(--space-2); color: var(--muted); font-size: .89rem; }
.direct-list { list-style: none; padding: 0; }
.direct-list li { border-top: 1px solid var(--line); display: flex; gap: var(--space-2); padding-block: var(--space-3); }
.direct-list li:last-child { padding-bottom: 0; }
.direct-list .icon { color: var(--accent); margin-top: .1rem; }
.direct-list h3 { font-size: 1rem; margin-bottom: .25rem; }
.direct-list address, .direct-list a { overflow-wrap: anywhere; color: var(--muted); font-size: .92rem; }
.direct-list .text-link, .direct-list a:hover { color: var(--accent); }
.office-numbers { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
.office-numbers a { white-space: nowrap; }

.footer { background: var(--ink); color: var(--white); padding-top: var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr auto; gap: var(--space-5); }
.footer .brand small, .footer p, .footer-contact a { color: var(--on-dark); }
.footer-brand p { max-width: 28ch; font-size: .92rem; margin-top: var(--space-3); }
.footer h2 { font-size: 1.02rem; letter-spacing: 0; margin-bottom: var(--space-2); }
.footer-contact a { display: block; width: fit-content; margin-bottom: .5rem; font-size: .92rem; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .22em; }
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.social-links a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--steel-500); border-radius: var(--radius-control); }
.social-links a:hover { background: var(--steel-900); border-color: var(--on-dark); }
.social-links .icon { width: 1.15rem; height: 1.15rem; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--steel-500); padding-block: var(--space-3); font-size: .83rem; }
.footer :focus-visible, .office :focus-visible { outline-color: var(--on-dark); }

@media (max-width: 80rem) {
  .header-cta { display: none; }
}

@media (max-width: 68rem) {
  .container { width: calc(100% - 3rem); }
}

@media (max-width: 54rem) {
  .header-inner { min-height: 4.25rem; flex-wrap: wrap; gap: 0 var(--space-2); }
  .brand img { width: 2.62rem; height: 2.44rem; }
  .menu-toggle { display: grid; place-content: center; gap: .29rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--canvas); }
  .menu-toggle span { display: block; width: 1.1rem; height: .105rem; background: var(--ink); }
  .navigation { width: 100%; gap: 0 var(--space-4); padding-block: 0 .45rem; }
  .navigation.has-toggle { display: none; }
  .navigation.has-toggle.is-open { display: flex; border-top: 1px solid var(--line); }
  .hero { min-height: 28rem; }
  .hero-copy { padding: var(--space-4); }
  .hero h1 { font-size: clamp(2.65rem, 6.2vw, 4rem); }
  .contact-layout { grid-template-columns: 1.25fr 1fr; }
}

@media (max-width: 43rem) {
  .container { width: calc(100% - 2rem); }
  .hero, .editorial, .coverage-panel, .equipment-grid, .contact-layout, .about-content { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { padding: clamp(1.15rem, 6.3vw, 2.5rem); }
  .hero h1 { font-size: clamp(2.45rem, 9.2vw, 3.6rem); }
  .hero-copy > p { margin-block: var(--space-3); }
  .hero-location { margin-top: var(--space-2); }
  .hero-photo { aspect-ratio: 1.75; min-height: 12rem; }
  .hero-photo img { object-position: 50% 53%; }
  .home-directory { grid-template-columns: 1fr; }
  .home-directory a + a { border-left: 0; border-top: 1px solid var(--line); }
  .service-preview .editorial-photo { order: 1; }
  .service-details { grid-template-columns: 1fr; margin-top: var(--space-4); }
  .home-links { grid-template-columns: 1fr; gap: var(--space-3); }
  .home-links section + section { padding: var(--space-3) 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 31rem) {
  .actions { gap: var(--space-1); }
  .hero .button { padding-inline: .65rem; font-size: .84rem; }
  .hero .button .icon { width: 1.05rem; height: 1.05rem; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* =========================================================
   Animaciones y refinamientos visuales
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 1.25rem 2.5rem -1.5rem rgb(16 34 55 / .45);
  --shadow-lift: 0 1.75rem 3rem -1.5rem rgb(16 34 55 / .5);
}

@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-settle { from { transform: scale(1.12); opacity: .35; } to { transform: scale(1); opacity: 1; } }
@keyframes underline-draw { to { background-size: 100% .07em; } }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.35rem); } }

/* Barra de progreso de lectura */
.scroll-progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; background: linear-gradient(90deg, var(--accent), #e4606c); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* Encabezado translúcido con sombra al hacer scroll */
.header { background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s ease, border-color .3s ease; }
.header.is-scrolled { box-shadow: 0 .75rem 1.75rem -1.25rem rgb(16 34 55 / .45); }
.header-inner { transition: min-height .3s var(--ease-out); }
.header.is-scrolled .header-inner { min-height: 4rem; }
.brand img { transition: transform .4s var(--ease-out); }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }

/* Navegación con subrayado animado */
.navigation a { position: relative; transition: color .2s ease; }
.navigation a:hover, .navigation a[aria-current="page"] { text-decoration: none; }
.navigation a::after { content: ""; position: absolute; left: .12rem; right: .12rem; bottom: .55rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.navigation a:hover::after, .navigation a[aria-current="page"]::after { transform: scaleX(1); }

/* Botón de menú móvil animado */
.menu-toggle span { transition: transform .3s var(--ease-out), opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.395rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.395rem) rotate(-45deg); }
.navigation.has-toggle.is-open { animation: menu-drop .3s var(--ease-out); }

/* Botones */
.button { position: relative; overflow: hidden; isolation: isolate; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button.primary:hover { box-shadow: 0 .85rem 1.5rem -.8rem rgb(186 28 43 / .75); }
.button.secondary:hover { box-shadow: 0 .75rem 1.25rem -.9rem rgb(16 34 55 / .45); }
.button.primary::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -75%; width: 50%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .28), transparent); transform: skewX(-20deg); transition: left .7s var(--ease-out); }
.button.primary:hover::before { left: 130%; }
.button .icon { transition: transform .3s var(--ease-out); }
.button:hover .icon { transform: scale(1.12) rotate(-6deg); }

.text-link::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: .4rem; transition: transform .25s var(--ease-out); }
.text-link:hover::after { transform: translateX(.3rem); }

/* Entrada del hero */
.hero { animation: fade-in .6s ease both; }
.hero-copy > * { animation: rise .85s var(--ease-out) backwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .34s; }
.hero-copy > :nth-child(4) { animation-delay: .46s; }
.hero h1 em { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 .07em no-repeat; animation: underline-draw .9s var(--ease-out) .9s forwards; }
.hero-photo img { animation: hero-settle 1.8s var(--ease-out) both; }
.hero-photo figcaption { animation: fade-in .8s ease 1.2s backwards; }
.hero-location .icon { animation: float-soft 3s ease-in-out 1.5s infinite; }

/* Transición entre secciones */

/* Aparición al hacer scroll (la activa site.js) */
.reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Imágenes y tarjetas */
.editorial-photo img { transition: transform .9s var(--ease-out); }
.editorial-photo:hover img { transform: scale(1.05); }
.equipment-card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s ease; }
.equipment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--steel-350); }
.form-card, .contact-card { transition: box-shadow .35s var(--ease-out), border-color .25s ease; }
.form-card:hover, .contact-card:hover { box-shadow: var(--shadow-soft); }
.logo-plate img { transition: transform .5s var(--ease-out); }
.logo-plate:hover img { transform: scale(1.05) rotate(-1.5deg); }

/* Directorio de inicio */
.home-directory a { transition: background-color .25s ease; }
.home-directory .icon { transition: transform .35s var(--ease-out); }
.home-directory a:hover .icon { transform: translateY(-3px) scale(1.15) rotate(-5deg); }
.home-directory a strong { transition: color .2s ease; }
.home-directory a:hover strong { color: var(--accent); }

/* Listas de enlaces, servicios y ciudades */
.link-rows a { transition: color .2s ease, padding-left .3s var(--ease-out); }
.link-rows a:hover { padding-left: .55rem; text-decoration: none; }
.link-rows li { position: relative; }
.link-rows li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
.link-rows li:hover::after { transform: scaleX(1); }
.service-detail { transition: background-color .3s ease, padding-inline .3s var(--ease-out); }
.service-detail:hover { padding-inline: .6rem; background: linear-gradient(90deg, var(--tint), transparent); }
.service-detail .icon { transition: transform .4s var(--ease-out); }
.service-detail:hover .icon { transform: scale(1.18) rotate(-8deg); }
.cities li { transition: padding-left .3s var(--ease-out), color .2s ease, border-color .2s ease; }
.cities li:hover { padding-left: .5rem; color: var(--accent); border-color: var(--accent); }
.direct-list .icon { transition: transform .3s var(--ease-out); }
.direct-list li:hover .icon { transform: scale(1.2); }

/* Formulario */
.field input, .field select, .field textarea { transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-700); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); background: var(--white); box-shadow: 0 0 0 4px rgb(34 92 162 / .16); }

/* Pie de página */
.footer-contact a { transition: color .2s ease, transform .25s var(--ease-out); }
.footer-contact a:hover { transform: translateX(.25rem); }
.social-links a { transition: transform .3s var(--ease-out), background-color .2s ease, border-color .2s ease; }
.social-links a:hover { transform: translateY(-4px); background: var(--accent); border-color: var(--accent); }
.cta-band { background: linear-gradient(115deg, var(--steel-120), #f7e9ec 55%, var(--steel-120)); background-size: 200% 100%; animation: cta-flow 14s ease-in-out infinite alternate; }
@keyframes cta-flow { from { background-position: 0 0; } to { background-position: 100% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
  .hero h1 em { background-size: 100% .07em; }
}
