/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Palette */
  --bg:        #090909;
  --bg-2:      #0F0F0F;
  --bg-3:      #181818;
  --bg-4:      #222222;
  --cream:     #FFFFFF;
  --cream-2:   #CCCCCC;
  --cream-3:   #888888;
  --accent:    #FFD600;
  --accent-2:  #F5C000;
  --red:       #CC0000;
  --red-2:     #A80000;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  /* Typography */
  --display:   "Bebas Neue", "Barlow Condensed", sans-serif;
  --condensed: "Barlow Condensed", sans-serif;
  --sans:      "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --gap:       clamp(1.5rem, 4vw, 3rem);
  --section-y: clamp(4rem, 6vw, 5rem);

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.0; letter-spacing: 0.02em; }
address { font-style: normal; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--accent); color: var(--bg);
  z-index: 9999; border-radius: 4px;
  font-family: var(--condensed); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section-label {
  display: inline-block;
  font-family: var(--condensed);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .96;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.accent-text {
  color: var(--accent);
  font-style: normal;
}

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

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85rem 1.8rem;
  border-radius: 2px;
  transition:
    transform .4s var(--ease-soft),
    box-shadow .4s var(--ease-soft),
    background-color .25s,
    color .25s;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255,214,0,.3), 0 6px 14px rgba(0,0,0,.4);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .1s; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-red {
  background: var(--red);
  color: var(--cream);
}
.btn-red:hover {
  background: var(--red-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(204,0,0,.35), 0 6px 14px rgba(0,0,0,.4);
}

.btn-hero {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

.btn-huge {
  font-size: 1.15rem;
  padding: 1.1rem 2.8rem;
}

.btn-wa-large {
  width: 100%;
  font-size: 1rem;
  padding: 1rem 2rem;
  margin-top: .5rem;
  justify-content: center;
}

/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 50px;
  box-shadow:
    0 6px 24px rgba(37,211,102,.45),
    0 2px 8px rgba(0,0,0,.35);
  font-family: var(--condensed);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.4);
  animation-play-state: paused;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.35); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,.65), 0 0 0 8px rgba(37,211,102,.12), 0 2px 8px rgba(0,0,0,.35); }
}
@media (max-width: 540px) {
  .wa-float-label { display: none; }
  .wa-float { padding: .9rem; border-radius: 50%; }
}
@media (max-width: 768px) {
  .wa-float { bottom: 7rem; right: 1rem; }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .8rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  font-family: var(--condensed);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.badge--accent {
  background: rgba(255,214,0,.12);
  border-color: rgba(255,214,0,.4);
  color: var(--accent);
}

/* =============================================================
   6. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 200;
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
  padding: 8px 0 !important;
}
.nav.is-scrolled {
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin-inline: auto;
  padding: 8px clamp(1.25rem, 5vw, 3rem);
  height: auto !important;
  overflow: visible !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 80px;          /* desktop */
  width: auto;
  max-width: none;
  display: block;
  overflow: visible;     /* ensure nothing clips the image */
}

/* Override: prevent any global img rule from crushing the nav logo */
.nav-inner img, nav img, .logo img, .nav-brand img {
  height: 80px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--condensed);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-2);
  position: relative;
  padding-block: .25rem;
  transition: color .3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-soft);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  margin-left: auto;
  font-size: .82rem;
  padding: .6rem 1.2rem;
  display: none;
}
@media (min-width: 720px) {
  .nav-cta { display: inline-flex; }
}
@media (min-width: 960px) {
  .nav-cta { margin-left: 0; }
}

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) {
  .nav-burger { display: none; }
}

/* Mobile nav */
.nav-mobile {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-soft);
  padding-top: 80px;
}
.nav-mobile[aria-hidden="false"] {
  clip-path: inset(0);
}
.nav-mobile nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
}
.nav-mobile nav ul a {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  letter-spacing: .04em;
  color: var(--cream);
  transition: color .2s;
  padding: .3rem 1rem;
}
.nav-mobile nav ul a:hover { color: var(--accent); }
.nav-mobile-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-size: 1.4rem;
  color: var(--cream-3);
  transition: color .2s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile-close:hover { color: var(--accent); }
.nav-mobile-ig {
  font-family: var(--condensed);
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--cream-3);
}
.nav-mobile-ig a { color: var(--accent); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* opción contain + negro si cover no mejora:
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center 30%;
  background: #000;
}
.hero-bg { background: #000; }
*/

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(9,9,9,.25) 0%,
      rgba(9,9,9,.55) 40%,
      rgba(9,9,9,.82) 75%,
      rgba(9,9,9,.96) 100%
    ),
    linear-gradient(
      to right,
      rgba(9,9,9,.5) 0%,
      transparent 60%
    );
}

.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 7rem clamp(1.25rem, 5vw, 3rem) 5rem;
  padding-top: calc(7rem + 70px);
}

.hero-kicker {
  font-family: var(--condensed);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: heroFadeUp .8s .2s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 1s .4s var(--ease-out) forwards;
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--cream-2);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp .9s .65s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp .9s .85s var(--ease-out) forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  opacity: 0;
  animation: heroFadeUp .9s 1.05s var(--ease-out) forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-family: var(--condensed);
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--cream-3);
  opacity: .6;
}
.scroll-arrow {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* =============================================================
   8. SERVICIOS
   ============================================================= */
.servicios {
  padding-block: var(--section-y);
  background: var(--bg);
}

.servicios-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 760px) {
  .servicios-grid {
    flex-direction: row;
    align-items: stretch !important;
  }
  .servicios-grid .servicio-card {
    flex: 1 1 0;
    min-width: 0;
  }
}

.servicio-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .4s;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,214,0,.25),
    0 -2px 0 0 var(--accent) inset;
  border-color: rgba(255,214,0,.3);
}
.servicio-card--boxeo:hover {
  box-shadow:
    0 30px 70px rgba(0,0,0,.5),
    0 0 0 1px rgba(204,0,0,.3),
    0 -2px 0 0 var(--red) inset;
  border-color: rgba(204,0,0,.3);
}

/* reveal both service cards simultaneously — no stagger */
.servicio-card[data-reveal] { transition-delay: 0s; }

/* anchor CTA to card bottom */
.servicio-card .btn {
  margin-top: auto !important;
  align-self: stretch !important;
}

.servicio-img {
  height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: relative;
  overflow: hidden;
}
.servicio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s var(--ease-soft), filter .5s;
}
/* force identical image height on both service cards */
.servicio-card img {
  height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
}
.servicio-card:hover .servicio-img img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.05);
}

.servicio-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .25rem .75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--condensed);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  border-radius: 2px;
}
.servicio-badge--red {
  background: var(--red);
  color: var(--cream);
}

.servicio-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.servicio-header {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}
.servicio-emoji { font-size: 1.5rem; flex-shrink: 0; margin-top: .15rem; }
.servicio-name {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  line-height: .95;
  letter-spacing: .03em;
}

.servicio-desc {
  font-size: .95rem;
  color: var(--cream-2);
  line-height: 1.6;
}

.servicio-lista {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.servicio-lista li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--condensed);
  font-size: .9rem;
  color: var(--cream-2);
}
.lista-check {
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--accent);
}
.lista-check--red { color: var(--red); }

.servicio-precio-box {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.precio-desde {
  font-family: var(--condensed);
  font-size: .75rem;
  color: var(--cream-3);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.precio-valor {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.servicio-precio-box--red .precio-valor { color: var(--red); }
.precio-periodo {
  font-family: var(--condensed);
  font-size: .8rem;
  color: var(--cream-3);
}

/* Servicios extras */
.servicios-extras {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.extras-title {
  font-family: var(--condensed);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 1.5rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 540px) {
  .extras-grid { grid-template-columns: 1fr 1fr; }
}

.extra-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.2rem;
  background: var(--bg-4);
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
.extra-item:hover {
  border-color: rgba(255,214,0,.3);
  background: rgba(255,214,0,.05);
}
.extra-emoji { font-size: 1.6rem; }
.extra-name {
  font-family: var(--condensed);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cream);
}
.extra-desc {
  font-size: .78rem;
  color: var(--cream-3);
  text-align: center;
  line-height: 1.4;
}

/* =============================================================
   9. POR QUÉ POWER MAX
   ============================================================= */
.porq {
  padding-block: var(--section-y);
  background: #111111;
  position: relative;
  overflow: visible;
}
.porq::before {
  content: "";
  position: absolute;
  top: -40%; left: -10%; right: -10%; height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,214,0,.07), transparent 65%);
  pointer-events: none;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 540px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

.diff-card {
  position: relative;
  background: var(--bg-2);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: background .35s;
}
.diff-card:hover { background: var(--bg-3); }
.diff-card--accent { background: rgba(255,214,0,.05); }
.diff-card--accent:hover { background: rgba(255,214,0,.1); }

.diff-num {
  font-family: var(--condensed);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cream-3);
}
.diff-icon { font-size: 1.6rem; }
.diff-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: .03em;
  line-height: .95;
  color: var(--accent);
}
.diff-card--accent .diff-title { color: var(--accent); }
.diff-desc {
  font-size: .9rem;
  color: var(--cream-2);
  line-height: 1.55;
}

.quote-section {
  text-align: center;
  font-family: var(--condensed);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cream-2);
  line-height: 1.55;
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  position: relative;
}
.quote-mark {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
  vertical-align: -0.4rem;
  user-select: none;
  position: relative;
  z-index: 0;
}
.quote-mark--close {
  vertical-align: -0.4rem; /* igual que apertura — simétrico */
}
.quote-text {
  position: relative;
  z-index: 1;
}

/* =============================================================
   10. GALERÍA
   ============================================================= */
.galeria {
  padding-block: var(--section-y);
  background: var(--bg);
}

.galeria-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
  padding-inline: clamp(.75rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 540px) {
  .galeria-strip { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .galeria-strip { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 3/4;
  cursor: pointer;
}
@media (min-width: 960px) {
  .galeria-item { aspect-ratio: 2/3; }
}
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-soft), filter .5s;
}
.galeria-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.08);
}

.galeria-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity .4s;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay span {
  font-family: var(--condensed);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
}

/* =============================================================
   11. TESTIMONIOS
   ============================================================= */
.testimonios {
  padding-block: var(--section-y);
  background: #111111;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 720px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

.testi-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color .4s, transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.testi-card:hover {
  border-color: rgba(255,214,0,.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.testi-quote-mark {
  font-family: var(--display);
  font-size: 3rem;
  line-height: .8;
  color: var(--accent);
  opacity: .5;
  user-select: none;
}

.testi-text {
  font-size: .95rem;
  color: var(--cream-2);
  line-height: 1.65;
  flex: 1;
}

.testi-footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.testi-name {
  font-family: var(--condensed);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
}
.testi-meta {
  font-size: .78rem;
  color: var(--cream-3);
  letter-spacing: .04em;
}

/* =============================================================
   12. UBICACIÓN + CONTACTO
   ============================================================= */
.contacto {
  padding-block: var(--section-y);
  background: var(--bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 960px) {
  .contacto-grid { grid-template-columns: 1fr 1.4fr; }
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .3s;
}
.info-item:hover { border-color: var(--line-2); }

.info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .15rem;
}
.info-label {
  display: block;
  font-family: var(--condensed);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.info-text {
  font-size: .9rem;
  color: var(--cream-2);
  line-height: 1.55;
}
.info-link {
  color: var(--accent);
  transition: opacity .2s;
}
.info-link:hover { opacity: .75; }

.contacto-map {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.contacto-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: invert(.85) hue-rotate(180deg) saturate(1.1);
}

/* =============================================================
   13. CTA FINAL
   ============================================================= */
.cta-final {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
  text-align: center;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,214,0,.1), transparent 60%),
    var(--bg-2);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final-label { color: var(--cream-3); margin-bottom: .75rem; display: block; }

.cta-final-title {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .9;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}

.cta-final-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--cream-2);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-final-note {
  margin-top: 1rem;
  font-family: var(--condensed);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--cream-3);
  text-transform: uppercase;
}

/* =============================================================
   14. FOOTER
   ============================================================= */
.footer {
  background: #000000;
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: .35rem;
}
.footer-sub {
  font-family: var(--condensed);
  font-size: .82rem;
  color: var(--cream-3);
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.footer-address {
  font-size: .8rem;
  color: var(--cream-3);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
@media (min-width: 720px) { .footer-nav { text-align: right; } }
.footer-nav a {
  font-family: var(--condensed);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--cream-3);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-copy {
  font-family: var(--condensed);
  font-size: .75rem;
  color: var(--cream-3);
  letter-spacing: .08em;
}
.footer-credits-link {
  font-size: .73rem;
  color: var(--cream-3);
}
.footer-credits-link a { color: var(--cream-3); text-decoration: underline; transition: color .2s; }
.footer-credits-link a:hover { color: var(--accent); }

/* =============================================================
   15. SCROLL REVEALS
   ============================================================= */

/* CSS fallback: if JS observer never fires, force visibility at 3s */
@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
  /* Belt-and-suspenders: snap visible after 3s even with no JS */
  animation: reveal-fallback 0.001s 3s forwards;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  animation: none; /* cancel fallback once JS has done its job */
}
/* Safe: any [data-reveal] with data-split stays visible */
[data-reveal][data-split] {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Stagger for grids */
.diff-card:nth-child(2)[data-reveal] { transition-delay: .1s; }
.diff-card:nth-child(3)[data-reveal] { transition-delay: .2s; }
.diff-card:nth-child(4)[data-reveal] { transition-delay: .1s; }
.diff-card:nth-child(5)[data-reveal] { transition-delay: .2s; }
.diff-card:nth-child(6)[data-reveal] { transition-delay: .3s; }

.testi-card:nth-child(2)[data-reveal] { transition-delay: .1s; }
.testi-card:nth-child(3)[data-reveal] { transition-delay: .2s; }

.galeria-item:nth-child(2) { transition-delay: .08s; }
.galeria-item:nth-child(3) { transition-delay: .16s; }
.galeria-item:nth-child(4) { transition-delay: .24s; }

/* =============================================================
   16. SCROLL OFFSET — compensate for fixed navbar
   JS updates --nav-h at runtime; 150px is a safe CSS fallback.
   ============================================================= */
:root { --nav-h: 116px; } /* fallback: JS sets exact value at runtime */

#servicios,
#por-que,
#galeria,
#testimonios,
#contacto {
  scroll-margin-top: 100px;
}

/* =============================================================
   17. RESPONSIVE — mobile-first extras
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-logo-img { height: 60px; }  /* mobile logo */
}

@media (min-width: 540px) {
  .hero-actions { flex-direction: row; }
}

@media (min-width: 1280px) {
  .servicio-card:hover {
    transform: translateY(-8px);
  }
}

/* =============================================================
   17. REDUCED MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .scroll-arrow { animation: none; }
  html { scroll-behavior: auto; }
  /* pulse OK to keep - subtle; only disable hero entrance animations */
  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-badges {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
   LOGO OVERRIDE — must stay last to win over img { height: auto }
   ============================================================= */
nav img[src*="POWERMAXT"] {
  height: 110px !important;
  width: auto !important;
  max-width: 300px !important;
}
