/* gabrielpeta.com — estilo "escenario": fondo oscuro, haces de luz magenta/cian, tipografía condensada. */

:root {
  --bg: #07070c;
  --bg-2: #0e0e17;
  --bg-3: #151522;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f3f8;
  --muted: #a3a3b8;
  --mag: #ff2bd6;
  --cyan: #18e0ff;
  --violet: #8b5cff;
  --grad: linear-gradient(100deg, var(--mag), var(--violet) 50%, var(--cyan));
  --ok: #2ee59d;
  --err: #ff5c7a;
  --radius: 18px;
  --wrap: 1180px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mag); color: #fff; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- tipografía ---------- */
.display, .display-md, .display-sm {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
}
.display { font-size: clamp(3.2rem, 11vw, 8.5rem); margin-bottom: .25em; }
.display-md { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
.display-sm { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.2em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }

/* ---------- botones ---------- */
.btn {
  --b: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 0;
  background: var(--b); color: #fff;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 34px -10px rgba(255, 43, 214, .6), 0 6px 30px -12px rgba(24, 224, 255, .5);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 14px 40px -10px rgba(255, 43, 214, .75), 0 8px 34px -10px rgba(24, 224, 255, .6); }
.btn-ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, .nav-open .site-header {
  background: rgba(7, 7, 12, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-decoration: none; line-height: 1; }
.logo-mark { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 22px -6px rgba(160, 32, 200, .7); }
.logo-name { grid-column: 2; }
.logo-sub { grid-column: 2; }
.logo-name { font-family: var(--display); font-size: 1.65rem; text-transform: uppercase; letter-spacing: .03em; }
.logo-name b { font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }
.nav ul a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04); cursor: pointer;
  }
  .nav-toggle span:not(.sr) { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 76px 0 auto; height: calc(100dvh - 76px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 28px 16px 40px; background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-family: var(--display); font-size: 2rem; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current]::after { display: none; }
  .nav ul a[aria-current] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .nav .btn { align-self: flex-start; }
  .nav-open { overflow: hidden; }
}

/* ---------- haces de luz ---------- */
.beams { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.beam {
  position: absolute; top: -12%; left: var(--x); width: min(30vw, 360px); height: 125%;
  margin-left: calc(min(30vw, 360px) / -2);
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, var(--c), transparent 78%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  opacity: .38; filter: blur(10px); mix-blend-mode: screen;
  animation: sway 11s ease-in-out var(--d) infinite alternate;
}
@keyframes sway { from { transform: rotate(var(--r1)); } to { transform: rotate(var(--r2)); } }
.haze {
  position: absolute; inset: auto -10% -20% -10%; height: 70%;
  background:
    radial-gradient(60% 60% at 25% 80%, rgba(255, 43, 214, .22), transparent 70%),
    radial-gradient(60% 60% at 75% 85%, rgba(24, 224, 255, .18), transparent 70%);
  filter: blur(20px);
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 90px;
}
.hero::after { /* viñeta para que el texto lea bien */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 50% 45%, transparent, rgba(7, 7, 12, .75));
}
.hero-in { position: relative; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; filter: saturate(1.2); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 7, 12, .85) 0%, rgba(7, 7, 12, .45) 55%, rgba(7, 7, 12, .15) 100%), linear-gradient(to top, var(--bg) 0%, transparent 35%); }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip a { display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.strip a:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.hero .lead { margin-bottom: 2em; }
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 0;
  background: var(--grad); opacity: .6; box-shadow: 0 0 40px 6px rgba(139, 92, 255, .5);
}

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 170px 0 80px; border-bottom: 1px solid var(--line);
}
.page-hero .beam { opacity: .28; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ticker-track {
  display: flex; width: max-content; gap: 40px; padding: 18px 0;
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em;
  animation: ticker 32s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: .7em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin: 0; max-width: 34em; }
.section-head h2 { margin: 0; }

/* tarjetas de servicio */
/* 6 tarjetas: 3x2 en desktop, 2x3 en tablet, 1 en celular */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); text-decoration: none; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.card::before { /* brillo de luz al pasar */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .25s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 43, 214, .35), rgba(24, 224, 255, .15));
  border: 1px solid var(--line-2);
}
.card-ico .ico { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin: 0; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--cyan); }
.card:hover .card-link .ico { transform: translateX(3px); }
.card-link .ico { transition: transform .2s; }

/* eventos */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .events { grid-template-columns: 1fr 1fr; } .events > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .events { grid-template-columns: 1fr; } }
.event {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 260px; padding: 28px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); background: var(--bg-3);
}
.event::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at var(--gx, 20%) 0%, color-mix(in srgb, var(--gc, var(--mag)) 45%, transparent), transparent 70%),
    linear-gradient(to top, var(--bg-3) 25%, transparent);
  transition: transform .6s;
}
.event:hover::before { transform: scale(1.08); }
.event:nth-child(3n+2) { --gc: var(--cyan); --gx: 80%; }
.event:nth-child(3n+3) { --gc: var(--violet); --gx: 50%; }
.event h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; margin-bottom: .3em; }
.event p { color: var(--muted); font-size: .97rem; margin-bottom: 1em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); }

/* razones */
.reasons, .steps { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .reasons, .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons, .steps { grid-template-columns: 1fr; } }
.reasons { gap: 36px 28px; }
.reason .ico { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 16px; }
.reason:nth-child(even) .ico { color: var(--mag); }
.reason h3 { font-size: 1.12rem; font-weight: 700; }
.reason p { color: var(--muted); font-size: .96rem; margin: 0; }

/* pasos */
.steps { gap: 16px; counter-reset: paso; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.step::before {
  counter-increment: paso; content: "0" counter(paso);
  display: block; font-family: var(--display); font-size: 3.4rem; line-height: 1; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.12rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* bloques de servicio (página Servicios) */
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc-visual { order: 2; }
.svc-visual {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 3.2;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line);
  background: var(--bg-2); display: grid; place-items: center;
}
.svc-visual .beam { width: 60%; margin-left: -30%; opacity: .45; }
.svc-visual > .ico { width: 30%; height: auto; color: #fff; filter: drop-shadow(0 0 24px rgba(255, 43, 214, .7)) drop-shadow(0 0 40px rgba(24, 224, 255, .5)); stroke-width: 1.3; }
.svc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.svc-num { position: absolute; top: 18px; left: 22px; font-family: var(--display); font-size: 1.1rem; color: var(--muted); letter-spacing: .1em; }
.svc h2 { margin-bottom: .35em; }
.svc .lead { margin-bottom: 1.4em; }
.checklist { display: grid; gap: 10px; margin-bottom: 1.8em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--ok); margin-top: .22em; }
@media (max-width: 820px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-visual { order: 0; }
}

.subnav { position: sticky; top: 76px; z-index: 20; background: rgba(7, 7, 12, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--text); border-color: var(--line-2); }

/* galería (aparece sola si hay fotos en assets/img/galeria/) */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: auto; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }

/* nosotros */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { color: var(--muted); font-size: 1.06rem; }
.prose p strong { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .92rem; font-weight: 500; }
.panel { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(var(--bg-3), var(--bg-2)); }
.panel h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1em; }

/* ---------- banda CTA ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band-in { display: flex; flex-direction: column; align-items: center; }
.cta-band p { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin-bottom: 2em; }
.cta-band .cta-row { justify-content: center; }

/* ---------- contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-size: .9rem; font-weight: 600; }
.field label .opt, .field legend .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: 400 1rem/1.4 var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(24, 224, 255, .18); }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .85rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; color: var(--muted); transition: all .2s; cursor: pointer; }
.check input:checked + span { color: #fff; border-color: transparent; background: var(--grad); }
.check input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; border: 1px solid; }
.alert-err { border-color: rgba(255, 92, 122, .5); background: rgba(255, 92, 122, .08); }
.alert-ok { border-color: rgba(46, 229, 157, .5); background: rgba(46, 229, 157, .08); }
.alert-ok h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; }
.alert p:last-child { margin: 0; }

.contact-list { display: grid; gap: 12px; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); }
.contact-list a:hover { color: var(--text); }
.contact-list .ico { color: var(--cyan); }
.contact-big { display: grid; gap: 10px; }
.contact-big a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.contact-big a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.contact-big .ico { width: 24px; height: 24px; color: var(--cyan); }
.contact-big small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 26em; }
.footer-col h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col ul:not(.contact-list) { display: grid; gap: 9px; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); }
.social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* 404 */
.notfound { min-height: 80svh; display: flex; align-items: center; }
