/* =============================================================
   Grúa San Cristóbal — Industrial premium (negro + rojo)
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Buttons
   6. Nav  7. Splash  8. Hero  9. Sections  10. Effects  11. Responsive  12. Reduced-motion
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg:        #0b0b0e;   /* negro base */
  --bg-2:      #121217;   /* panel elevado */
  --paper:     #16161d;   /* tarjetas */
  --paper-2:   #1c1c25;
  --ink:       #f4f4f7;   /* texto principal */
  --ink-soft:  #c9c9d2;
  --ink-mute:  #8c8c98;
  --accent:    #e11d2a;   /* rojo corporativo — urgencia/acción */
  --accent-2:  #ff3a3a;
  --accent-deep:#a30f18;
  --accent-soft:#ff6b6b;
  --wa:        #25d366;   /* WhatsApp */
  --wa-deep:   #1ea952;
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.06);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Oswald", "Inter", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --maxw: 1200px;
  --pad: clamp(1.2rem, 5vw, 4rem);
  --radius: 16px;
  --shadow-soft: 0 24px 60px -28px rgba(0,0,0,0.8);
  --shadow-card: 0 14px 38px -22px rgba(0,0,0,0.85);
  --glow: 0 12px 34px -12px rgba(225,29,42,0.55);
}

/* 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* 3. Utilities ------------------------------------------------- */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent); color: #fff;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.section { padding: clamp(4rem, 9vw, 8rem) var(--pad); max-width: var(--maxw); margin-inline: auto; }
.section-head { max-width: 48rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display);
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-soft); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.lead { font-size: 1.12rem; color: var(--ink-soft); margin-top: 1.1rem; max-width: 44rem; }

/* 4. Typography ------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: .005em; text-wrap: balance; color: var(--ink); text-transform: uppercase; }
h1 { font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
h3 { font-size: 1.28rem; letter-spacing: .01em; }
em { font-style: normal; color: var(--accent-2); }
h1 em, h2 em { color: var(--accent-2); }

/* 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 8px;
  font-family: var(--display);
  font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .4s var(--ease-out), background .3s var(--ease-out), box-shadow .4s var(--ease-out), color .3s;
  will-change: transform;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-wa { background: var(--wa); color: #06251a; box-shadow: 0 12px 30px -12px rgba(37,211,102,.6); }
.btn-wa:hover { background: #2bdd6e; transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(37,211,102,.7); }

.btn-red { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.btn-red:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(225,29,42,.7); }

.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); transform: translateY(-2px); }

.btn-dark { background: #fff; color: #0b0b0e; }
.btn-dark:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--glow); }

.wa-glyph {
  width: 18px; height: 18px; flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.5 8.5 3.5 15.5c0 2.4.7 4.7 1.9 6.7L4 29l7-1.8c1.9 1 4 1.6 6.2 1.6 7 0 12.5-5.5 12.5-12.5S23 3 16 3zm0 22.6c-1.9 0-3.7-.5-5.3-1.5l-.4-.2-3.9 1 1-3.8-.3-.4a10 10 0 01-1.6-5.5C5.5 9.9 10.2 5.4 16 5.4s10.5 4.5 10.5 10.1S21.8 25.6 16 25.6zm5.8-7.6c-.3-.2-1.9-.9-2.2-1s-.5-.2-.7.2-.8 1-1 1.2-.4.3-.7.1c-1.9-.9-3.1-1.7-4.4-3.8-.3-.6.3-.5.9-1.7.1-.2 0-.4 0-.6s-.7-1.7-1-2.3c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-1.2 1.2-1 2.8-.1 4.3 1.7 2.7 3.4 4.4 6.5 5.7 2.2.9 2.6.8 3.4.7.9-.1 1.9-.8 2.2-1.6.3-.8.3-1.4.2-1.6z'/%3E%3C/svg%3E");
  mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.5 8.5 3.5 15.5c0 2.4.7 4.7 1.9 6.7L4 29l7-1.8c1.9 1 4 1.6 6.2 1.6 7 0 12.5-5.5 12.5-12.5S23 3 16 3z'/%3E%3C/svg%3E");
}

/* 6. Nav ------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,11,14,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: .85rem var(--pad);
  display: flex; align-items: center; gap: 1.2rem;
}
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 11px;
  background: linear-gradient(150deg, var(--accent-2), var(--accent-deep));
  color: #fff; box-shadow: var(--glow);
}
.brand-mark svg { width: 30px; height: 30px; }
/* Logo oficial real dentro de los tiles de marca (cubre el degradado). */
.brand-logo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: none; }
.brand-mark:has(.brand-logo) { background: transparent; box-shadow: none; border-radius: 50%; overflow: hidden; }
.hv-badge-mark:has(.brand-logo) { background: transparent; border-radius: 50%; overflow: hidden; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { font-size: .68rem; color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { font-family: var(--display); font-size: .95rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: .2rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: .62rem 1.15rem; font-size: .9rem; }

.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg); padding: 6rem var(--pad) 2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease-out);
  display: flex; visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; width: 100%; margin-top: 1rem; }
.mobile-menu nav a { font-family: var(--display); font-weight: 500; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; padding: .7rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-menu nav a.btn { font-size: 1rem; border: 0; margin-top: 1.2rem; justify-content: center; }
.mobile-menu nav a.btn-wa { color: #06251a; }

/* 7. Splash ---------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out), clip-path .8s var(--ease-out); clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { display: flex; align-items: center; gap: .9rem; opacity: 0; animation: splashIn .9s .15s var(--ease-out) forwards; }
.splash-mark .brand-mark { width: 56px; height: 56px; }
.splash-mark .brand-mark svg { width: 38px; height: 38px; }
.splash-name { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
@keyframes splashIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 8. Hero ------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem var(--pad) clamp(3rem, 7vw, 5rem); overflow: clip;
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(225,29,42,.20), transparent 60%),
    radial-gradient(50% 50% at 2% 92%, rgba(225,29,42,.10), transparent 60%),
    linear-gradient(180deg, #0b0b0e, #101015);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-grid { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; width: 100%; display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
.hero-content { position: relative; max-width: 42rem; }
.badge-24 {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(225,29,42,.14); border: 1px solid rgba(225,29,42,.4);
  color: var(--accent-soft); font-family: var(--display); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .42rem .85rem; border-radius: 100px; margin-bottom: 1.2rem;
}
.badge-24 .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(255,58,58,.7); animation: pingDot 1.8s var(--ease-out) infinite; }
@keyframes pingDot { 0% { box-shadow: 0 0 0 0 rgba(255,58,58,.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(255,58,58,0); } }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); margin: .4rem 0 1.2rem; line-height: 1.0; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--ink-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.4rem; }
.hero-points { display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .6rem; align-items: center; font-size: .98rem; color: var(--ink-soft); }
.hp-ic { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: rgba(225,29,42,.18); color: var(--accent-soft); font-size: .8rem; font-weight: 700; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; display: grid; place-items: start center; padding-top: 7px; z-index: 2; }
.hero-scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent-2); animation: scrollDot 1.8s var(--ease-soft) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Hero visual (foto + chips flotantes) */
.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hv-photo {
  position: relative; z-index: 2;
  width: min(100%, 540px); aspect-ratio: 16/11;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,14,.05) 40%, rgba(11,11,14,.78)); }
.hv-badge {
  position: absolute; z-index: 3; left: .9rem; bottom: .9rem; right: .9rem;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(18,18,23,.82); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px; padding: .65rem .85rem;
}
.hv-badge-mark { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(150deg, var(--accent-2), var(--accent-deep)); color: #fff; }
.hv-badge-mark svg { width: 24px; height: 24px; }
.hv-badge-txt { display: flex; flex-direction: column; line-height: 1.18; }
.hv-badge-txt strong { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; }
.hv-badge-txt small { color: var(--ink-mute); font-size: .76rem; }

.hv-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: .45rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: .5rem .9rem; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-card); white-space: nowrap; }
.hv-chip span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(225,29,42,.2); color: var(--accent-soft); font-size: .8rem; }
.hv-chip-1 { top: 2%; left: -4%; animation: floaty 5s var(--ease-soft) infinite; }
.hv-chip-2 { top: 38%; right: -6%; animation: floaty 5s var(--ease-soft) .7s infinite; }
.hv-chip-3 { bottom: 8%; left: -7%; animation: floaty 5s var(--ease-soft) 1.4s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hv-blob { position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; }
.hv-blob-1 { width: 260px; height: 260px; background: rgba(225,29,42,.30); top: -6%; right: 2%; animation: blobDrift 12s ease-in-out infinite; }
.hv-blob-2 { width: 210px; height: 210px; background: rgba(225,29,42,.14); bottom: -4%; left: 0%; animation: blobDrift 14s ease-in-out -3s infinite; }
@keyframes blobDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(14px,-12px) scale(1.08); } }

/* 9. Sections -------------------------------------------------- */

/* Credenciales + marquee */
.creds { max-width: var(--maxw); margin-inline: auto; padding: clamp(1rem,4vw,2.5rem) var(--pad) 1rem; }
.creds-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.creds-grid li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); }
.cred-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; background: rgba(225,29,42,.16); color: var(--accent-soft); }
.cred-ic svg { width: 22px; height: 22px; }
.creds-grid strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: .02em; text-transform: uppercase; }
.creds-grid small { color: var(--ink-mute); font-size: .88rem; }

.marquee { margin-top: 2.4rem; overflow: hidden; border-block: 1px solid var(--line); padding-block: 1rem; background: var(--bg-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.marquee-track .dot { color: var(--accent); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Servicios */
.services .section-head { margin-inline: auto; text-align: center; }
.services .lead { margin-inline: auto; }
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card {
  position: relative; padding: 1.9rem 1.7rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  left: var(--hx, 50%); top: var(--hy, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(225,29,42,.16), transparent 68%);
  opacity: 0; transition: opacity .4s var(--ease-out); pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -26px rgba(0,0,0,.9); border-color: rgba(225,29,42,.45); }
.card:hover::before { opacity: 1; }
.card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 13px; background: linear-gradient(150deg, rgba(225,29,42,.22), rgba(225,29,42,.06)); color: var(--accent-soft); margin-bottom: 1.1rem; border: 1px solid rgba(225,29,42,.25); }
.card-ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-mute); font-size: .96rem; }

/* Auxilio en ruta — banda detalle */
.auxilio { background: var(--bg-2); border-block: 1px solid var(--line); max-width: none; }
.aux-grid { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); grid-template-columns: 1fr; align-items: center; }
.aux-body > p { color: var(--ink-soft); margin: .8rem 0 1.6rem; max-width: 34rem; }
.aux-list { display: grid; gap: .8rem; }
.aux-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; transition: border-color .35s, transform .35s var(--ease-out); }
.aux-item:hover { border-color: rgba(225,29,42,.4); transform: translateX(4px); }
.aux-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; background: rgba(225,29,42,.14); color: var(--accent-soft); }
.aux-ic svg { width: 24px; height: 24px; }
.aux-item strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.06rem; letter-spacing: .02em; text-transform: uppercase; }
.aux-item small { color: var(--ink-mute); font-size: .9rem; }

/* Cobertura nacional */
.cobertura { max-width: none; padding-inline: clamp(1.2rem, 5vw, 4rem); }
.cob-inner {
  max-width: var(--maxw); margin-inline: auto;
  background: linear-gradient(135deg, #1a1014, #14141a);
  border: 1px solid rgba(225,29,42,.3); border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.6rem);
  display: grid; gap: clamp(1.8rem,4vw,3rem); grid-template-columns: 1fr; align-items: center;
  position: relative; overflow: hidden;
}
.cob-inner::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,42,.22), transparent 70%); top: -20%; right: -10%; filter: blur(20px); pointer-events: none; }
.cob-body { position: relative; z-index: 1; }
.cob-body p { color: var(--ink-soft); margin: .8rem 0 1.4rem; max-width: 36rem; }
.cob-routes { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.cob-route { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); font-size: 1.02rem; }
.cob-route .pin { color: var(--accent-2); }
.cob-route .arrow { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.cob-map { position: relative; z-index: 1; display: grid; place-items: center; }
.cob-map svg { width: clamp(150px, 60%, 230px); height: auto; color: var(--accent-2); filter: drop-shadow(0 0 24px rgba(225,29,42,.4)); }
.cob-fig { position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.cob-fig img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center; }
.cob-fig figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(18,18,23,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: .5rem .9rem; border-radius: 100px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }

/* About */
.about { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); max-width: none; }
.about-grid { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); grid-template-columns: 1fr; align-items: center; }
.about-fig { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.about-fig img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center; }
.about-fig figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(18,18,23,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: .5rem .9rem; border-radius: 100px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
/* Panel de marca oficial (reemplaza foto stock con el logo real del cliente). */
.about-seal { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .55rem; min-height: 340px; padding: 2.4rem 1.5rem 3rem; background: radial-gradient(120% 90% at 50% 18%, rgba(225,29,42,.20), transparent 60%), linear-gradient(160deg, #1a1a20, #0d0d11); overflow: hidden; }
.about-seal .seal-glow { position: absolute; width: 280px; height: 280px; top: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,42,.30), transparent 70%); filter: blur(26px); pointer-events: none; }
.about-seal .brand-logo { position: relative; width: 148px; height: 148px; border-radius: 50%; object-fit: cover; transform: none; box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.5), var(--glow); }
.about-seal .seal-name { position: relative; margin-top: .9rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.about-seal .seal-tag { position: relative; color: var(--ink-soft); font-size: .92rem; }
.about-seal .seal-badge { position: relative; margin-top: .2rem; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(150deg, var(--accent-2), var(--accent-deep)); padding: .35rem .8rem; border-radius: 100px; }
.about-body h2 { margin: .6rem 0 1.1rem; }
.about-body p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 36rem; }
.stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1.8rem 0; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; color: var(--accent-2); line-height: 1; }
.stats span { font-size: .84rem; color: var(--ink-mute); margin-top: .35rem; text-transform: uppercase; letter-spacing: .06em; }

/* Statement band */
.statement { position: relative; min-height: 44svh; display: flex; align-items: center; padding: clamp(3rem,8vw,6rem) var(--pad); overflow: clip;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent) 65%, #ff4d4d); }
.statement-inner { max-width: var(--maxw); margin-inline: auto; width: 100%; position: relative; z-index: 2; }
.statement .kicker { color: rgba(255,255,255,.85); }
.statement .kicker::before { background: rgba(255,255,255,.7); }
.statement-line { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.04; text-transform: uppercase; color: #fff; max-width: 20ch; text-wrap: balance; }
.statement-line em { color: #fff; opacity: .78; }
.statement-cross { position: absolute; right: -2%; top: 50%; transform: translateY(-50%) rotate(-6deg); color: rgba(255,255,255,.12); z-index: 1; }
.statement-cross svg { width: clamp(220px, 38vw, 480px); height: auto; }

/* Proceso / cómo opera — banda oscura */
.proceso { background: var(--bg); max-width: none; }
.proceso-inner { max-width: var(--maxw); margin-inline: auto; }
.steps { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: clamp(1.6rem,4vw,2.6rem); }
.step { position: relative; padding: 1.8rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: rgba(225,29,42,.55); margin-bottom: .6rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-mute); font-size: .95rem; }

/* Visit — horarios + mapa */
.visit-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); grid-template-columns: 1fr; align-items: stretch; }
.hours-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-card); }
.hours-card h3 { margin-bottom: 1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 0; border-bottom: 1px solid var(--line-2); }
.hours li:last-child { border-bottom: 0; }
.h-day { font-weight: 600; color: var(--ink-soft); }
.h-time { color: var(--accent-soft); font-family: var(--display); font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.visit-meta { margin: 1.4rem 0; display: grid; gap: .65rem; }
.visit-meta li { display: flex; gap: .65rem; align-items: center; color: var(--ink-soft); font-size: .96rem; }
.visit-meta .mi { color: var(--accent-2); display: grid; place-items: center; width: 22px; flex: 0 0 22px; }
.visit-meta .mi svg { width: 18px; height: 18px; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); min-height: 340px; filter: grayscale(.3) contrast(1.05); }
.visit-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; }

/* Contacto */
.contact { position: relative; }
.contact-halo { position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(50% 60% at 70% 30%, rgba(225,29,42,.18), transparent 70%); filter: blur(80px); pointer-events: none; z-index: -1; }
.contact-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.6rem); grid-template-columns: 1fr; }
.contact-intro h2 { margin: .6rem 0 1rem; }
.contact-intro > p { color: var(--ink-soft); max-width: 32rem; margin-bottom: 1.6rem; }
.contact-meta { margin-top: 1.6rem; display: grid; gap: .65rem; }
.contact-meta li { display: flex; gap: .65rem; align-items: center; color: var(--ink-soft); font-size: .96rem; }
.contact-meta .mi { color: var(--accent-2); display: grid; place-items: center; width: 22px; flex: 0 0 22px; }
.contact-meta .mi svg { width: 18px; height: 18px; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-family: var(--display); }
.field input, .field textarea {
  width: 100%; padding: .85rem .95rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg);
  font: inherit; color: var(--ink); transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,29,42,.18); }
.btn-check { width: 20px; height: 20px; display: none; }
.contact-form.is-sent .btn-label { display: none; }
.contact-form.is-sent .btn-check { display: block; }
.contact-form.is-sent .btn-red { background: var(--wa); color: #06251a; }
.form-note { margin-top: .9rem; font-size: .9rem; color: var(--accent-soft); min-height: 1.2em; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 1.8rem; }
.footer-inner { max-width: var(--maxw); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; max-width: 30rem; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand strong { font-family: var(--display); font-weight: 700; font-size: 1.14rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-brand p { font-size: .88rem; color: var(--ink-mute); margin-top: .25rem; }
.footer-contact { margin-top: .6rem !important; }
.footer-contact a { color: var(--ink-soft); font-weight: 500; }
.footer-contact a:hover { color: var(--accent-2); }
.social-bar { display: flex; gap: .6rem; margin-top: .9rem; }
.social-bar a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-soft); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.social-bar a:hover { color: #fff; background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.social-bar svg { width: 19px; height: 19px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-content: start; }
.footer-nav a { font-family: var(--display); font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--accent-2); }
.footer-bottom { max-width: var(--maxw); margin: 2.4rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-credits { font-size: .82rem; color: var(--ink-mute); }
.footer-copy { font-size: .82rem; color: var(--ink-mute); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 120;
  display: flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #06251a; font-family: var(--display); font-weight: 600; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .9rem 1.15rem; border-radius: 100px;
  box-shadow: 0 14px 34px -12px rgba(37,211,102,.7);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(37,211,102,.8); }
.wa-float .wa-glyph { width: 22px; height: 22px; flex: 0 0 22px; }
.wa-float-txt { display: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 100px; background: var(--wa); z-index: -1; animation: waPulse 2.4s var(--ease-out) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(1.5); opacity: 0; } }

/* Entradas / páginas internas */
.entry { color: var(--ink-soft); }
.entry a { color: var(--accent-2); text-decoration: underline; }
.entry h2, .entry h3 { margin: 1.6rem 0 .6rem; }

/* 10. Effects -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 11. Responsive ----------------------------------------------- */
@media (min-width: 540px) {
  .creds-grid { grid-template-columns: repeat(3, 1fr); }
  .wa-float-txt { display: inline; }
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .aux-list { grid-template-columns: repeat(2, 1fr); }
  .aux-item--wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .nav-toggle, .mobile-menu { display: none !important; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .aux-grid { grid-template-columns: .92fr 1.08fr; }
  .cob-inner { grid-template-columns: 1.25fr .75fr; }
  .about-grid { grid-template-columns: 1fr 0.95fr; }
  .visit-grid { grid-template-columns: .9fr 1.1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1280px) {
  .hero-content { max-width: 46rem; }
}

/* 12. Reduced-motion — only intrusive effects ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll span, .hv-chip, .hv-blob, .wa-float::before, .badge-24 .pulse { animation: none; }
  .marquee-track { animation-duration: 120s; }
  .splash-mark { animation-duration: .3s; }
}


/* ===== Trabajos reales (galería de fotos reales del cliente) ===== */
.trabajos .section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.4rem; }
.trabajos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.trabajo-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: #000; }
.trabajo-card img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .6s var(--ease-out); }
.trabajo-card:hover img { transform: scale(1.05); }
.trabajo-card figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.1rem .95rem; background: linear-gradient(to top, rgba(10,10,12,.94), rgba(10,10,12,0)); display: flex; flex-direction: column; gap: .15rem; }
.trabajo-card figcaption strong { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; color: #fff; }
.trabajo-card figcaption span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 880px) { .trabajos-grid { grid-template-columns: 1fr; max-width: 30rem; } .trabajo-card img { height: 240px; } }
