/* ==========================================================================
   PipeLora — hoja de estilos principal
   Paleta: carbón #222426 · grafito #34383B · naranja #FF6B18 · blanco · gris cálido #F5F5F3
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-charcoal: #222426;
  --c-graphite: #34383b;
  --c-ink: #1a1c1e;
  --c-orange: #ff6b18;
  --c-orange-hover: #e85a0c;
  --c-orange-text: #c04a08;
  --c-orange-soft: #fff1e8;
  --c-white: #ffffff;
  --c-gray: #f5f5f3;
  --c-gray-2: #ecece8;
  --c-text: #2b2e31;
  --c-text-2: #64686b;
  --c-line: #e3e3de;
  --c-line-dark: rgba(255, 255, 255, 0.12);

  --f-head: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --sec: clamp(72px, 9vw, 136px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 24, 0.06), 0 2px 8px rgba(20, 22, 24, 0.05);
  --shadow: 0 18px 50px -18px rgba(20, 22, 24, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-orange); color: var(--c-ink); }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--c-orange); color: var(--c-ink); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section--gray { background: var(--c-gray); }
.section--dark { background: var(--c-charcoal); color: #fff; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-orange-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--c-orange); flex: none; }
.eyebrow--light { color: var(--c-orange); }
.eyebrow__num { color: var(--c-text-2); font-weight: 600; }

.h-display, .h1, .h2, .h3 { font-family: var(--f-head); color: var(--c-charcoal); letter-spacing: -0.025em; }
.section--dark .h2, .section--dark .h3 { color: #fff; }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.032em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; line-height: 1.1; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--c-text-2); }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }
.text-muted { color: var(--c-text-2); }
.accent { color: var(--c-orange); }
.prose-p > p + p { margin-top: 1.1em; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--c-orange); --btn-fg: var(--c-ink); --btn-bd: var(--c-orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--f-head); font-size: 0.98rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary:hover { --btn-bg: var(--c-orange-hover); --btn-bd: var(--c-orange-hover); box-shadow: 0 10px 24px -10px rgba(232, 90, 12, 0.7); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--c-charcoal); --btn-bd: var(--c-charcoal); }
.btn--outline-dark:hover { --btn-bg: var(--c-charcoal); --btn-fg: #fff; }
.btn--dark { --btn-bg: var(--c-charcoal); --btn-fg: #fff; --btn-bd: var(--c-charcoal); }
.btn--dark:hover { --btn-bg: var(--c-graphite); --btn-bd: var(--c-graphite); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--c-charcoal); --btn-bd: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost-dark:hover { --btn-bg: var(--c-gray-2); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.92rem; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; color: var(--c-charcoal); text-decoration: none;
  border-bottom: 2px solid var(--c-orange); padding-bottom: 4px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-size: inherit; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--c-line); color: var(--c-charcoal);
}
.icon-button:hover { background: var(--c-gray); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--c-ink); color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--c-orange); }
.topbar__item--note { color: rgba(255, 255, 255, 0.5); letter-spacing: 0.02em; }
.topbar__mail { text-decoration: none; transition: color 0.2s; }
.topbar__mail:hover { color: #fff; }
@media (max-width: 900px) { .topbar__item--note { display: none; } }
@media (max-width: 480px) {
  .topbar { font-size: 0.76rem; }
  .topbar__inner { gap: 10px; }
  .topbar__item .icon { width: 14px; height: 14px; }
}
@media (max-width: 359px) { .topbar__item:first-child span { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(160%) blur(12px); } }
.site-header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(20, 22, 24, 0.25); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-charcoal); flex: none; }
.brand__mark { width: 44px; height: 44px; }
.brand__p { fill: none; stroke: currentColor; stroke-width: 8; }
.brand__drop { fill: var(--c-orange); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.035em; }
.brand__tag { font-family: var(--f-head); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-text-2); margin-top: 6px; }
.brand--light { color: #fff; }
.brand--light .brand__tag { color: rgba(255, 255, 255, 0.55); }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__item { position: relative; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: 0.95rem; color: var(--c-charcoal); text-decoration: none;
  position: relative; white-space: nowrap;
}
.main-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav__link:hover::after, .main-nav__link.is-current::after { transform: scaleX(1); }
.main-nav__chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.has-sub:hover .main-nav__chev, .has-sub:focus-within .main-nav__chev { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + 10px); left: -20px; width: 560px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.subnav__list a {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--c-charcoal); text-decoration: none; line-height: 1.3;
}
.subnav__list a:hover { background: var(--c-gray); }
.subnav__list .icon { width: 22px; height: 22px; color: var(--c-charcoal); --icon-accent: var(--c-orange); }
.subnav__all {
  display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 12px 4px;
  border-top: 1px solid var(--c-line); font-family: var(--f-head); font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--c-orange-text);
}
.subnav__all .icon { width: 18px; height: 18px; }

.site-header__cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--c-line); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle__box { position: relative; width: 22px; height: 16px; }
.nav-toggle__box span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--c-charcoal);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease), width 0.3s var(--ease);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 7px; }
.nav-toggle__box span:nth-child(3) { top: 14px; width: 65%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { top: 7px; width: 100%; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--c-line);
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  box-shadow: 0 30px 50px -20px rgba(20, 22, 24, 0.3);
  opacity: 0; transform: translateY(-8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__inner { padding-block: 16px 28px; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 0;
  font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; color: var(--c-charcoal); text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu__link.is-current { color: var(--c-orange-text); }
.mobile-menu__label { margin: 22px 0 8px; font-family: var(--f-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-2); }
.mobile-menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 24px; }
.mobile-menu__services a { display: block; padding: 9px 0; font-size: 0.92rem; color: var(--c-text); text-decoration: none; line-height: 1.35; }
.mobile-menu__mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 0.92rem; color: var(--c-text-2); text-decoration: none; }
.mobile-menu__mail .icon { width: 18px; height: 18px; color: var(--c-orange); }

@media (max-width: 1180px) {
  .main-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.4rem; }
  .brand__tag { font-size: 0.54rem; letter-spacing: 0.16em; }
}
@media (max-width: 400px) { .mobile-menu__services { grid-template-columns: 1fr; } }
body.menu-open { overflow: hidden; }

/* ---------- Migas de pan ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.86rem; }
.breadcrumbs li { display: inline-flex; align-items: center; color: inherit; opacity: 0.85; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { opacity: 1; font-weight: 600; }

/* ==========================================================================
   INICIO
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(600px, 86vh, 750px);
  padding-block: 96px 136px; color: #fff; background: var(--c-ink); overflow: hidden; isolation: isolate;
}
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 72% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 22, 24, 0.95) 0%, rgba(20, 22, 24, 0.86) 34%, rgba(20, 22, 24, 0.45) 64%, rgba(20, 22, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 22, 24, 0.6) 0%, rgba(20, 22, 24, 0) 40%);
}
.hero__content { position: relative; max-width: 780px; }
.hero__line { position: absolute; left: calc(-1 * clamp(16px, 2.4vw, 40px)); top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--c-orange), rgba(255, 107, 24, 0)); }
.hero .eyebrow { color: #fff; }
.hero__title { color: #fff; }
.hero__title .accent { color: var(--c-orange); }
.hero__lead { margin-top: 26px; max-width: 590px; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.65; color: rgba(255, 255, 255, 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero__tags .icon { width: 18px; height: 18px; color: var(--c-orange); }
.hero__side {
  position: absolute; right: var(--gutter); bottom: 168px; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-head); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; gap: 14px;
}
.hero__side::after { content: ""; width: 1px; height: 64px; background: rgba(255, 255, 255, 0.35); }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { opacity: 0; transform: translateY(22px); animation: rise 0.9s var(--ease) forwards; }
  .hero__content > :nth-child(2) { animation-delay: 0.08s; }
  .hero__content > :nth-child(3) { animation-delay: 0.18s; }
  .hero__content > :nth-child(4) { animation-delay: 0.28s; }
  .hero__content > :nth-child(5) { animation-delay: 0.38s; }
  .hero__content > :nth-child(6) { animation-delay: 0.48s; }
  .hero__media img { animation: heroZoom 14s ease-out forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (max-width: 1100px) { .hero__side { display: none; } }
@media (max-width: 640px) {
  .hero { min-height: 640px; padding-block: 72px 120px; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(20, 22, 24, 0.96) 0%, rgba(20, 22, 24, 0.86) 45%, rgba(20, 22, 24, 0.5) 100%); }
  .hero__media img { object-position: center; }
  .hero__line { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__tags { margin-top: 32px; gap: 10px 20px; }
}

/* Franja de accesos bajo el hero */
.quick { position: relative; z-index: 2; margin-top: -72px; }
.quick__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.quick__item {
  position: relative; display: flex; gap: 18px; padding: 30px 30px 32px; text-decoration: none; color: var(--c-charcoal);
  transition: background-color 0.3s var(--ease);
}
.quick__item + .quick__item { border-left: 1px solid var(--c-line); }
.quick__item:hover { background: var(--c-gray); }
.quick__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--c-orange-soft); flex: none; }
.quick__icon .icon { width: 26px; height: 26px; color: var(--c-charcoal); --icon-accent: var(--c-orange); }
.quick__title { font-family: var(--f-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.quick__title .icon { width: 16px; height: 16px; color: var(--c-orange-text); transition: transform 0.3s var(--ease); }
.quick__item:hover .quick__title .icon { transform: translate(2px, -2px); }
.quick__text { margin-top: 6px; font-size: 0.92rem; line-height: 1.55; color: var(--c-text-2); }
@media (max-width: 900px) {
  .quick { margin-top: -56px; }
  .quick__grid { grid-template-columns: 1fr; }
  .quick__item + .quick__item { border-left: 0; border-top: 1px solid var(--c-line); }
  .quick__item { padding: 22px; }
}

/* Introducción */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.intro__media { grid-column: 1 / span 6; position: relative; }
.intro__frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-gray); }
.intro__frame img { width: 100%; height: 100%; object-fit: cover; }
.intro__media::before {
  content: ""; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%;
  background: var(--c-orange); border-radius: var(--radius); z-index: -1;
}
.intro__badge {
  position: absolute; right: -18px; bottom: 36px; max-width: 250px;
  display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px;
  background: var(--c-charcoal); color: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 0.88rem; line-height: 1.45;
}
.intro__badge .icon { width: 22px; height: 22px; color: var(--c-orange); margin-top: 1px; }
.intro__badge strong { display: block; font-family: var(--f-head); font-size: 0.95rem; }
.intro__body { grid-column: 8 / span 5; }
.intro__body .h2 { margin-bottom: 24px; }
.intro__text > p + p { margin-top: 1em; }
.intro__text p { color: var(--c-text-2); }
.intro__text p:first-child { color: var(--c-text); font-size: 1.1rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 34px 0 36px; }
.checks li { display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.45; }
.checks__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-orange-soft); flex: none; }
.checks__ic .icon { width: 15px; height: 15px; color: var(--c-orange-text); }
.checks strong { display: block; font-family: var(--f-head); color: var(--c-charcoal); font-size: 0.98rem; margin-bottom: 2px; }
.checks span { color: var(--c-text-2); }
@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media, .intro__body { grid-column: auto; }
  .intro__media { max-width: 560px; margin-left: 22px; }
  .intro__badge { right: 12px; }
}
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } .intro__media { margin-left: 14px; } .intro__media::before { left: -14px; bottom: -14px; } }

/* Cabecera de sección partida */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__aside p { color: var(--c-text-2); font-size: 1.08rem; }
.sec-head__aside .link-arrow { margin-top: 20px; }
.section--dark .sec-head__aside p { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Tarjetas de servicio */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-gray); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__num {
  position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px;
  background: rgba(20, 22, 24, 0.82); color: #fff; font-family: var(--f-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
}
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 24px 24px; }
.svc-card__icon {
  position: absolute; top: -26px; right: 20px; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--c-orange); color: var(--c-ink); box-shadow: 0 8px 20px -8px rgba(232, 90, 12, 0.6);
}
.svc-card__icon .icon { width: 24px; height: 24px; --icon-accent: var(--c-ink); }
.svc-card__title { font-family: var(--f-head); font-size: 1.16rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--c-charcoal); }
.svc-card__title a { text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card__text { margin-top: 10px; font-size: 0.93rem; line-height: 1.6; color: var(--c-text-2); flex: 1; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--f-head); font-size: 0.88rem; font-weight: 700; color: var(--c-orange-text);
}
.svc-card__more .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
.svc-card:focus-within { outline: 3px solid var(--c-orange); outline-offset: 3px; }
.svc-card__title a:focus-visible { outline: none; }
@media (max-width: 1199px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .svc-grid { grid-template-columns: 1fr; } }

/* Por qué elegirnos */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 40px); }
.why__head .lead { margin-top: 22px; }
.why__note { display: flex; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 0.9rem; color: var(--c-text-2); }
.why__note .icon { width: 22px; height: 22px; color: var(--c-charcoal); --icon-accent: var(--c-orange); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit {
  padding: clamp(26px, 3vw, 38px); background: #fff; border-radius: var(--radius);
  border: 1px solid transparent; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.benefit:nth-child(even) { transform: translateY(40px); }
.benefit:hover { border-color: var(--c-orange); }
.benefit__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--c-charcoal); margin-bottom: 26px; }
.benefit__icon .icon { width: 28px; height: 28px; color: #fff; --icon-accent: var(--c-orange); }
.benefit h3 { font-family: var(--f-head); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-charcoal); line-height: 1.3; }
.benefit p { margin-top: 10px; color: var(--c-text-2); font-size: 0.95rem; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__head { position: static; }
  .benefit:nth-child(even) { transform: none; }
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Servicios destacados (editorial asimétrico) */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.feature__media { grid-column: 1 / span 5; position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__label {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 12px; background: rgba(20, 22, 24, 0.78); color: #fff; font-size: 0.86rem;
}
@supports (backdrop-filter: blur(8px)) { .feature__label { background: rgba(20, 22, 24, 0.55); backdrop-filter: blur(10px); } }
.feature__label strong { font-family: var(--f-head); font-size: 1rem; }
.feature__body { grid-column: 7 / span 6; display: flex; flex-direction: column; justify-content: center; }
.feature__list { margin: 36px 0 40px; border-top: 1px solid var(--c-line); }
.feature__item { display: grid; grid-template-columns: 72px 1fr; gap: 8px 20px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.feature__num { font-family: var(--f-head); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--c-orange); letter-spacing: -0.04em; }
.feature__item h3 { font-family: var(--f-head); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 800; letter-spacing: -0.025em; color: var(--c-charcoal); line-height: 1.2; }
.feature__item p { grid-column: 2; color: var(--c-text-2); }
.feature__item a { grid-column: 2; justify-self: start; margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--c-orange-text); }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media, .feature__body { grid-column: auto; }
  .feature__media { min-height: 0; aspect-ratio: 4 / 4.2; }
}
@media (max-width: 480px) { .feature__item { grid-template-columns: 52px 1fr; } .feature__num { font-size: 2rem; } }

/* Proceso */
.process { position: relative; overflow: hidden; }
.process::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 107, 24, 0.25); box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.015), 0 0 0 120px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}
.steps { --gap: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--c-charcoal); border: 2px solid var(--c-orange); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 28px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; left: 84px; right: calc(-1 * var(--gap) + 16px);
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
}
.step__icon { position: absolute; top: 18px; right: 0; color: rgba(255, 255, 255, 0.35); }
.step__icon .icon { width: 30px; height: 30px; --icon-accent: var(--c-orange); }
.step h3 { font-family: var(--f-head); font-size: 1.28rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.25; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, 0.68); font-size: 0.96rem; }
.process__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--c-line-dark); }
.process__foot p { color: rgba(255, 255, 255, 0.72); max-width: 640px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; padding-bottom: 36px; }
  .step__num { margin-bottom: 0; grid-row: span 2; }
  .step__icon { display: none; }
  .step:not(:last-child)::after, .step:nth-child(2)::after { display: block; top: 76px; bottom: 4px; left: 33px; right: auto; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, 0.2); }
}

/* Galería */
.gallery-note {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--c-gray); font-size: 0.84rem; color: var(--c-text-2); margin-top: 16px;
}
.gallery-note .icon { width: 18px; height: 18px; color: var(--c-charcoal); --icon-accent: var(--c-orange); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 17vw, 250px); gap: clamp(10px, 1.4vw, 18px); grid-auto-flow: dense; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-gray); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__link { position: absolute; inset: 0; display: block; color: #fff; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 24, 0.75), rgba(20, 22, 24, 0) 55%); opacity: 0.85; transition: opacity 0.4s; }
.gallery__link:hover img { transform: scale(1.05); }
.gallery__cap { position: absolute; left: 18px; right: 56px; bottom: 16px; z-index: 1; font-size: 0.88rem; line-height: 1.4; }
.gallery__cap strong { display: block; font-family: var(--f-head); font-size: 1rem; }
.gallery__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-orange); color: var(--c-ink); transform: scale(0.85); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.gallery__zoom .icon { width: 16px; height: 16px; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { transform: none; opacity: 1; }
.gallery__item.is-hidden { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery__zoom { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .gallery { grid-auto-rows: 200px; }
  .gallery__item--big, .gallery__item--wide { grid-column: span 2; }
  .gallery__item--big { grid-row: span 1; }
  .gallery__item--tall { grid-row: span 1; }
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 0.9rem; color: var(--c-charcoal); transition: all 0.25s var(--ease);
}
.filters button:hover { border-color: var(--c-charcoal); }
.filters button[aria-pressed="true"] { background: var(--c-charcoal); color: #fff; border-color: var(--c-charcoal); }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
  background: rgba(14, 15, 16, 0.94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(14, 15, 16, 0.6); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 7vw, 96px); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px #000; }
.lightbox__cap { padding: 16px var(--gutter) 24px; text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.lightbox__cap small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; }
.lightbox__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: background 0.2s;
}
.lightbox__btn:hover { background: var(--c-orange); color: var(--c-ink); border-color: var(--c-orange); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(8px, 2vw, 28px); }
.lightbox__next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: -64px; transform: none; } .lightbox__stage { margin-bottom: 64px; } }

/* Área de servicio */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.area__text .lead { margin-top: 22px; }
.area__text p + p { margin-top: 1em; }
.address-card {
  display: flex; gap: 18px; align-items: flex-start; margin: 32px 0 28px; padding: 24px; border-radius: var(--radius);
  background: #fff; border-left: 4px solid var(--c-orange); box-shadow: var(--shadow-sm);
}
.address-card .icon { width: 28px; height: 28px; color: var(--c-orange-text); flex: none; }
.address-card__label { font-family: var(--f-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-2); }
.address-card__value { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; color: var(--c-charcoal); line-height: 1.4; margin-top: 4px; }
.area__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map-consent { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; background: var(--c-charcoal); box-shadow: var(--shadow); }
.map-consent__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-consent__panel {
  position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px; border-radius: 12px;
  background: #fff; color: var(--c-text); box-shadow: var(--shadow-sm);
}
.map-consent__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; color: var(--c-charcoal); }
.map-consent__title .icon { width: 22px; height: 22px; color: var(--c-orange-text); }
.map-consent__text { margin: 8px 0 16px; font-size: 0.88rem; line-height: 1.55; color: var(--c-text-2); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .area { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .map-consent { aspect-ratio: auto; min-height: 400px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__head .lead { margin-top: 20px; }
.faq__head .btn { margin-top: 32px; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
  cursor: pointer; list-style: none; font-family: var(--f-head); font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 700; color: var(--c-charcoal); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-item__q { color: var(--c-orange-text); }
.faq-item__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); flex: none; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--c-charcoal); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--c-orange); border-color: var(--c-orange); transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0); }
.faq-item__a { padding: 0 60px 28px 0; color: var(--c-text-2); }
.faq-item__a a { color: var(--c-orange-text); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .faq-item[open] .faq-item__a { animation: faqIn 0.4s var(--ease); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-item__a { padding-right: 0; } }

/* CTA final */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--c-charcoal); color: #fff; padding-block: clamp(84px, 10vw, 148px); }
.cta-band__bg, .cta-band__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band__bg { z-index: -2; }
.cta-band__bg img { object-fit: cover; opacity: 0.45; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(34, 36, 38, 0.97) 20%, rgba(34, 36, 38, 0.7) 100%); }
.cta-band::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--c-orange); }
.cta-band__inner { max-width: calc(var(--maxw) + var(--gutter) * 2); }
.cta-band__title { max-width: 900px; font-family: var(--f-head); font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.035em; }
.cta-band__text { max-width: 600px; margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.75); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.cta-band__mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 3px; }
.cta-band__mail .icon { width: 20px; height: 20px; color: var(--c-orange); }
.cta-band__mail:hover { border-color: var(--c-orange); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; padding-top: clamp(64px, 7vw, 96px); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 0.9fr 1.2fr 1.3fr; gap: 48px clamp(28px, 4vw, 64px); padding-bottom: 56px; }
.site-footer__about { margin: 24px 0 28px; max-width: 360px; line-height: 1.7; }
.site-footer__title { font-family: var(--f-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer__col a:hover { text-decoration: underline; text-decoration-color: var(--c-orange); }
.site-footer__contact p + p { margin-top: 14px; }
.site-footer__contact strong { color: #fff; font-family: var(--f-head); font-size: 1.05rem; }
.site-footer__line { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.site-footer__line .icon, .site-footer__web .icon { width: 18px; height: 18px; color: var(--c-orange); margin-top: 3px; }
.site-footer__line a { word-break: break-all; }
.site-footer__web { display: flex; gap: 12px; margin-top: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 26px 0; border-top: 1px solid var(--c-line-dark); font-size: 0.86rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal button { font-size: 0.86rem; color: rgba(255, 255, 255, 0.68); }
.site-footer__legal button:hover { color: #fff; }
.site-footer__note { padding-bottom: 28px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.42); }
@media (max-width: 1024px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--c-charcoal); color: #fff; padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 107, 24, 0.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
}
.page-hero .breadcrumbs { margin-bottom: clamp(32px, 4vw, 52px); color: rgba(255, 255, 255, 0.75); }
.page-hero .h1 { color: #fff; max-width: 920px; }
.page-hero .lead { margin-top: 22px; max-width: 680px; color: rgba(255, 255, 255, 0.74); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-hero--split .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 6px; background: var(--c-orange); }
@media (max-width: 900px) {
  .page-hero--split .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { aspect-ratio: 16 / 11; }
}
.page-hero--compact { padding-block: clamp(48px, 6vw, 80px); }

/* Servicios: listado editorial */
.svc-rows { border-top: 1px solid var(--c-line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1.5fr) 200px 56px; gap: 28px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--c-line); transition: background-color 0.3s;
}
.svc-row:hover { background: linear-gradient(90deg, var(--c-gray), rgba(245, 245, 243, 0)); }
.svc-row__num { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: var(--c-text-2); padding-left: 8px; }
.svc-row__title { font-family: var(--f-head); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--c-charcoal); display: flex; align-items: center; gap: 14px; }
.svc-row__title .icon { width: 30px; height: 30px; --icon-accent: var(--c-orange); }
.svc-row__title a { text-decoration: none; }
.svc-row__title a::after { content: ""; position: absolute; inset: 0; }
.svc-row__text { color: var(--c-text-2); font-size: 0.96rem; }
.svc-row__img { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-row:hover .svc-row__img img { transform: scale(1.07); }
.svc-row__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-line); transition: all 0.3s var(--ease); }
.svc-row__go .icon { width: 20px; height: 20px; }
.svc-row:hover .svc-row__go { background: var(--c-orange); border-color: var(--c-orange); transform: rotate(-45deg); }
.svc-row:focus-within { outline: 3px solid var(--c-orange); outline-offset: 2px; }
.svc-row__title a:focus-visible { outline: none; }
@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 160px; grid-template-areas: "num title img" "num text img"; gap: 6px 24px; }
  .svc-row__num { grid-area: num; align-self: start; padding-top: 6px; }
  .svc-row__title { grid-area: title; }
  .svc-row__text { grid-area: text; }
  .svc-row__img { grid-area: img; }
  .svc-row__go { display: none; }
}
@media (max-width: 600px) {
  .svc-row { grid-template-columns: 1fr; grid-template-areas: "img" "title" "text"; gap: 12px; padding: 24px 0; }
  .svc-row__num { display: none; }
  .svc-row:hover { background: none; }
}

.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); }
.group-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--c-orange-soft); margin-bottom: 22px; }
.group-card__icon .icon { width: 28px; height: 28px; color: var(--c-charcoal); --icon-accent: var(--c-orange); }
.group-card h3 { font-family: var(--f-head); font-size: 1.25rem; font-weight: 800; color: var(--c-charcoal); letter-spacing: -0.02em; }
.group-card p { margin-top: 10px; color: var(--c-text-2); font-size: 0.95rem; }
.group-card ul { margin-top: 18px; display: grid; gap: 8px; list-style: none; padding: 0; }
.group-card li a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.93rem; color: var(--c-charcoal); text-decoration: none; }
.group-card li a .icon { width: 16px; height: 16px; color: var(--c-orange-text); }
.group-card li a:hover { color: var(--c-orange-text); }
@media (max-width: 900px) { .groups { grid-template-columns: 1fr; } }

/* ---------- Página de servicio ---------- */
.svc-hero { position: relative; isolation: isolate; overflow: hidden; }
.svc-hero .breadcrumbs { margin-bottom: 28px; }
.svc-hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--f-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-hero__kicker span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-orange); color: var(--c-ink); }
.svc-hero__kicker .icon { width: 24px; height: 24px; --icon-accent: var(--c-ink); }
.svc-hero .lead { margin-top: 22px; max-width: 620px; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Variante A: dividida (texto | imagen) */
.svc-hero--split { background: var(--c-white); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 100px); }
.svc-hero--split .breadcrumbs, .svc-hero--reverse .breadcrumbs { color: var(--c-text-2); }
.svc-hero--split .svc-hero__kicker, .svc-hero--reverse .svc-hero__kicker { color: var(--c-orange-text); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 5.2; }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero--split .svc-hero__media { border-bottom-right-radius: 80px; }
.svc-hero--split::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 22%; background: var(--c-gray); z-index: -1; }

/* Variante B: imagen completa con superposición */
.svc-hero--overlay { color: #fff; background: var(--c-ink); min-height: clamp(520px, 70vh, 640px); display: flex; align-items: flex-end; padding-block: 56px clamp(56px, 6vw, 88px); }
.svc-hero--overlay .svc-hero__bg, .svc-hero--overlay .svc-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-hero--overlay .svc-hero__bg { z-index: -2; }
.svc-hero--overlay .svc-hero__bg img { object-fit: cover; }
.svc-hero--overlay::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 22, 24, 0.95) 8%, rgba(20, 22, 24, 0.55) 60%, rgba(20, 22, 24, 0.35) 100%); }
.svc-hero--overlay .breadcrumbs { position: absolute; top: 32px; left: 0; right: 0; color: rgba(255, 255, 255, 0.82); }
.svc-hero--overlay .breadcrumbs ol { max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.svc-hero--overlay .h1 { color: #fff; max-width: 860px; }
.svc-hero--overlay .lead { color: rgba(255, 255, 255, 0.8); }
.svc-hero--overlay .svc-hero__kicker { color: #fff; }

/* Variante C: bloque oscuro + imagen panorámica */
.svc-hero--stacked { background: var(--c-charcoal); color: #fff; padding-top: clamp(40px, 5vw, 72px); }
.svc-hero--stacked .breadcrumbs { color: rgba(255, 255, 255, 0.75); }
.svc-hero--stacked .h1 { color: #fff; }
.svc-hero--stacked .svc-hero__kicker { color: var(--c-orange); }
.svc-hero--stacked .lead { color: rgba(255, 255, 255, 0.74); }
.svc-hero__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); }
.svc-hero__top .lead { margin-top: 0; }
.svc-hero__wide { position: relative; }
.svc-hero__wide::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--c-white); }
.svc-hero__wide-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; }
.svc-hero__wide-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .svc-hero__top { grid-template-columns: 1fr; } .svc-hero__wide-frame { aspect-ratio: 16 / 10; } }

/* Variante D: dividida invertida sobre gris */
.svc-hero--reverse { background: var(--c-gray); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 100px); }
.svc-hero--reverse .svc-hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.svc-hero--reverse .svc-hero__media { order: -1; aspect-ratio: 4 / 4.6; border-top-left-radius: 80px; }
.svc-hero__stamp {
  position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--c-orange); color: var(--c-ink); text-align: center; font-family: var(--f-head); font-weight: 800; font-size: 0.72rem; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .svc-hero__grid, .svc-hero--reverse .svc-hero__grid { grid-template-columns: 1fr; }
  .svc-hero--reverse .svc-hero__media { order: 0; }
  .svc-hero__media { aspect-ratio: 16 / 11; }
  .svc-hero--reverse .svc-hero__media { aspect-ratio: 16 / 11; }
  .svc-hero--split::after { display: none; }
}

/* Cuerpo de servicio */
.svc-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-intro__text p { font-size: 1.08rem; color: var(--c-text-2); }
.svc-intro__text p:first-child { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.55; color: var(--c-charcoal); font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; }
.svc-intro__text p + p { margin-top: 1.1em; }
.facts { padding: 28px; border-radius: var(--radius); background: var(--c-charcoal); color: #fff; position: sticky; top: calc(var(--header-h) + 24px); }
.facts__title { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; }
.facts dl { display: grid; gap: 14px; margin-bottom: 24px; }
.facts dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); font-family: var(--f-head); font-weight: 700; }
.facts dd { margin-top: 2px; font-weight: 600; word-break: break-word; }
.facts dd a { text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
@media (max-width: 900px) { .svc-intro { grid-template-columns: 1fr; } .facts { position: static; } }

.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.situation { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--c-line); font-size: 0.96rem; line-height: 1.5; }
.situation__n { font-family: var(--f-head); font-weight: 800; color: var(--c-orange-text); font-size: 0.9rem; min-width: 24px; }
@media (max-width: 960px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .situations { grid-template-columns: 1fr; } }

.sit-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sit-split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; }
.sit-split__media img { width: 100%; height: 100%; object-fit: cover; }
.sit-list { margin-top: 28px; border-top: 1px solid var(--c-line); }
.sit-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--c-line); }
.sit-list .icon { width: 22px; height: 22px; color: var(--c-orange-text); margin-top: 2px; }
.sit-split--rev .sit-split__media { order: 2; }
@media (max-width: 900px) { .sit-split { grid-template-columns: 1fr; } .sit-split--rev .sit-split__media { order: 0; } .sit-split__media { aspect-ratio: 16 / 11; } }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--c-charcoal); }
.info-item { padding: 30px 28px 8px 0; }
.info-item + .info-item { padding-left: 28px; border-left: 1px solid var(--c-line); }
.info-item__n { font-family: var(--f-head); font-weight: 800; font-size: 0.85rem; color: var(--c-orange-text); letter-spacing: 0.1em; }
.info-item h3 { margin-top: 14px; font-family: var(--f-head); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--c-charcoal); }
.info-item p { margin-top: 10px; color: var(--c-text-2); font-size: 0.95rem; }
.section--dark .info-grid { border-top-color: var(--c-orange); }
.section--dark .info-item + .info-item { border-left-color: var(--c-line-dark); }
.section--dark .info-item h3 { color: #fff; }
.section--dark .info-item p { color: rgba(255, 255, 255, 0.7); }
.section--dark .info-item__n { color: var(--c-orange); }
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-item, .info-item + .info-item { padding: 24px 0 4px; border-left: 0; }
  .info-item + .info-item { border-top: 1px solid var(--c-line); }
  .section--dark .info-item + .info-item { border-top-color: var(--c-line-dark); }
}

.tip {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--c-orange-soft); border: 1px solid #ffd9c2;
}
.tip__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-orange); }
.tip__icon .icon { width: 26px; height: 26px; color: var(--c-ink); --icon-accent: var(--c-ink); }
.tip__label { font-family: var(--f-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-orange-text); }
.tip p:last-child { margin-top: 6px; font-family: var(--f-head); font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--c-charcoal); line-height: 1.5; }

.svc-faq { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.side-cta { padding: 32px; border-radius: var(--radius); background: var(--c-gray); position: sticky; top: calc(var(--header-h) + 24px); }
.side-cta h3 { font-family: var(--f-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-charcoal); line-height: 1.25; }
.side-cta p { margin: 12px 0 24px; color: var(--c-text-2); font-size: 0.95rem; }
.side-cta .btn { width: 100%; }
.side-cta__mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.9rem; color: var(--c-text-2); text-decoration: none; }
.side-cta__mail .icon { width: 18px; height: 18px; color: var(--c-orange-text); }
@media (max-width: 900px) { .svc-faq { grid-template-columns: 1fr; } .side-cta { position: static; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .prose-p p { color: var(--c-text-2); font-size: 1.05rem; }
.about-grid .prose-p p:first-child { color: var(--c-charcoal); font-size: 1.2rem; font-family: var(--f-head); font-weight: 600; line-height: 1.55; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.value { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; transition: background 0.3s; }
.value:hover { background: var(--c-gray); }
.value__n { font-family: var(--f-head); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--c-orange); }
.value h3 { margin-top: 22px; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--c-charcoal); }
.value p { margin-top: 10px; color: var(--c-text-2); }
.identity { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line-dark); border-radius: var(--radius); overflow: hidden; }
.identity__item { background: var(--c-charcoal); padding: 28px; }
.identity__item dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); font-family: var(--f-head); font-weight: 700; }
.identity__item dd { margin-top: 8px; font-family: var(--f-head); font-size: 1.08rem; font-weight: 700; color: #fff; word-break: break-word; }
.identity__item dd a { text-decoration: none; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .identity { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values, .identity { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-info__card { padding: 32px; border-radius: var(--radius); background: var(--c-charcoal); color: #fff; }
.contact-info__card h2 { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.contact-info__list { margin-top: 22px; display: grid; gap: 18px; }
.contact-info__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__list .icon { width: 22px; height: 22px; color: var(--c-orange); margin-top: 2px; }
.contact-info__list span { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); font-family: var(--f-head); font-weight: 700; }
.contact-info__list strong, .contact-info__list a { font-weight: 600; color: #fff; word-break: break-word; }
.contact-tips { margin-top: 28px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.contact-tips h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; color: var(--c-charcoal); }
.contact-tips ul { margin-top: 14px; display: grid; gap: 10px; list-style: none; padding: 0; }
.contact-tips li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--c-text-2); }
.contact-tips .icon { width: 18px; height: 18px; color: var(--c-orange-text); margin-top: 3px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.form-card__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.025em; color: var(--c-charcoal); }
.form-card__sub { margin-top: 8px; color: var(--c-text-2); font-size: 0.95rem; }
.form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; color: var(--c-charcoal); }
.field label .opt { font-weight: 500; color: var(--c-text-2); }
.field label .req { color: var(--c-orange-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 10px; border: 1.5px solid #d6d6d1; background: #fcfcfb;
  font-size: 1rem; line-height: 1.4; color: var(--c-text); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222426' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b9b3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-charcoal); background: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 24, 0.25); }
.field__error { display: none; font-size: 0.86rem; color: #b42318; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d20; background: #fffbfa; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 0.82rem; color: var(--c-text-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--c-text-2); line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-orange); }
.check a { color: var(--c-charcoal); font-weight: 600; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__submit .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form__legal { font-size: 0.82rem; color: var(--c-text-2); flex: 1 1 260px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; margin-top: 24px; }
.alert .icon { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.alert--error a { color: inherit; font-weight: 700; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .form__submit .btn { width: 100%; } }

/* ---------- Gracias / 404 ---------- */
.state { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(72px, 10vw, 140px); }
.state__icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%; background: var(--c-orange-soft); }
.state__icon .icon { width: 42px; height: 42px; color: var(--c-orange-text); }
.state__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(5rem, 16vw, 11rem); line-height: 0.9; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--c-orange); margin-bottom: 18px; }
.state .lead { margin: 20px auto 0; max-width: 560px; }
.state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.next-steps li { padding: 24px; border-radius: 12px; background: var(--c-gray); font-size: 0.95rem; color: var(--c-text-2); }
.next-steps strong { display: block; font-family: var(--f-head); color: var(--c-charcoal); margin-bottom: 4px; }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- Legales ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--c-gray); }
.toc__title { font-family: var(--f-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-2); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0; font-size: 0.9rem; color: var(--c-text); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--c-orange-text); }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--f-head); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; color: var(--c-charcoal); margin: 52px 0 16px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; color: var(--c-charcoal); margin: 28px 0 10px; }
.prose p, .prose li { color: var(--c-text); }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--c-orange); }
.prose a { color: var(--c-orange-text); font-weight: 600; }
.prose .meta { font-size: 0.9rem; color: var(--c-text-2); padding-bottom: 24px; border-bottom: 1px solid var(--c-line); margin-bottom: 40px; }
.prose .callout { margin: 20px 0; padding: 20px 22px; border-radius: 12px; background: var(--c-gray); border-left: 4px solid var(--c-orange); font-size: 0.95rem; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--c-line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { background: var(--c-gray); font-family: var(--f-head); font-weight: 700; color: var(--c-charcoal); }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- FAQ página ---------- */
.faq-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group__title { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.025em; color: var(--c-charcoal); margin-bottom: 12px; }
.faq-group__title .icon { width: 30px; height: 30px; --icon-accent: var(--c-orange); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.chips a:hover { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-ink); }
@media (max-width: 960px) { .faq-page { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1080px; margin-inline: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -18px rgba(20, 22, 24, 0.45); border: 1px solid var(--c-line);
}
@media (prefers-reduced-motion: no-preference) { .cookie-banner { animation: rise 0.5s var(--ease) both; } }
.cookie-banner__inner { display: flex; align-items: center; gap: 24px; padding: 22px 24px; }
.cookie-banner__text { font-size: 0.9rem; color: var(--c-text-2); line-height: 1.55; }
.cookie-banner__text a { color: var(--c-charcoal); font-weight: 600; }
.cookie-banner__title { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; color: var(--c-charcoal); font-size: 1rem; margin-bottom: 4px; }
.cookie-banner__title .icon { width: 20px; height: 20px; --icon-accent: var(--c-orange); }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 860px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .cookie-banner__actions { flex-wrap: wrap; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; } .cookie-banner__actions .btn--primary { flex-basis: 100%; order: -1; } }

.cookie-modal { width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.5); color: var(--c-text); }
.cookie-modal::backdrop { background: rgba(20, 22, 24, 0.6); }
.cookie-modal__form { padding: clamp(22px, 4vw, 34px); }
.cookie-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-modal__head h2 { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--c-charcoal); }
.cookie-modal__intro { margin: 10px 0 18px; font-size: 0.93rem; color: var(--c-text-2); }
.cookie-option { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--c-line); }
.cookie-option__title { font-family: var(--f-head); font-weight: 800; color: var(--c-charcoal); }
.cookie-option__text p:last-child { margin-top: 4px; font-size: 0.88rem; color: var(--c-text-2); line-height: 1.5; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 20px; border-top: 1px solid var(--c-line); }
@media (max-width: 520px) { .cookie-modal__actions .btn { flex: 1 1 100%; } }

.switch { position: relative; display: inline-block; flex: none; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch__ui { position: absolute; inset: 0; border-radius: 999px; background: #cfcfca; transition: background 0.25s; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--c-orange); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--c-charcoal); outline-offset: 2px; }
.switch--locked { opacity: 0.6; }
.switch--locked input { cursor: not-allowed; }

/* ---------- Animación de aparición ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .benefit[data-reveal]:nth-child(even).is-visible { transform: translateY(40px); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .js .benefit[data-reveal]:nth-child(even).is-visible { transform: none; }
}

@media print {
  .topbar, .site-header, .cookie-banner, .cta-band, .site-footer__legal, .nav-toggle { display: none !important; }
  body { color: #000; }
}
