/* ═══════════════════════════════════════════
   ZIDRA — STYLES.CSS
   ═══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg: #080808;
  --fg: #f0ece3;
  --accent: #e8ff47;
  --accent2: #ff4747;
  --muted: #f0ece3;
  --border: rgba(240, 236, 227, 0.1);
  --border-hover: rgba(232, 255, 71, 0.35);
  --panel-max: 680px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --glow-accent: 0 0 30px rgba(232, 255, 71, 0.18);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: auto; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
}

/* ── GRAIN OVERLAY — solo desktop ── */
@media (min-width: 769px) {
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9997;
  animation: grain 0.5s steps(2) infinite;
}
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25%       { transform: translate(-2%, 3%); }
  50%       { transform: translate(3%, -2%); }
  75%       { transform: translate(-1%, 2%); }
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}

/* ── UTILIDADES ── */
.accent-dot { color: var(--accent); }

.s-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════ */
#siteLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#siteLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-coin-wrapper {
  perspective: 800px;
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
}

.loader-coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: coinSpin 2.4s linear infinite;
  border-radius: 50%;
}

.loader-coin-front,
.loader-coin-back {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  background: #111;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(232, 255, 71, 0.2),
    inset 0 0 30px rgba(232, 255, 71, 0.06);
}

.loader-coin-back {
  transform: rotateY(180deg);
  background: #0e0e0e;
}

.loader-coin-front img,
.loader-coin-back img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(232, 255, 71, 0.45));
}

.loader-coin-back img { transform: scaleX(-1); }

.loader-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.loader-bar-wrap {
  width: clamp(160px, 30vw, 260px);
  height: 2px;
  background: rgba(240, 236, 227, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(8,8,8,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

#navbar.scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.12em;
  color: var(--fg);
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity var(--transition-base), color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: #080808 !important;
  opacity: 1 !important;
  padding: 0.5em 1.4em !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  transition: box-shadow var(--transition-base), transform var(--transition-base) !important;
}

.nav-cta:hover {
  box-shadow: var(--glow-accent);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 20vw, 22rem);
  color: rgba(240, 236, 227, 0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.hero-lines { margin-bottom: 0; }

.hero-line {
  overflow: hidden;
  line-height: 0.92;
  padding-top: 0.1em;
}

/* Tanto <span> como <h1> dentro de .hero-line comparten propiedades base */
.hero-line span,
.hero-line h1 {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
  transform: translateY(110%);
  margin: 0;
  font-weight: 400;
  white-space: nowrap;
}

/* ── Tamaño individual por línea ──────────────────────────────
   Objetivo: las 3 líneas queden del mismo ancho visual.
   "SIN WEB,"          →  8 chars  →  font grande
   "REGALAS CLIENTES"  → 16 chars  →  font medio  (÷2)
   "A TU COMPETENCIA." → 17 chars  →  font chico  (÷2.1)
   ──────────────────────────────────────────────────────────── */
.hero-line:nth-child(1) h1,
.hero-line:nth-child(1) span {
  font-size: clamp(3.5rem, 13vw, 15rem);
  line-height: 0.88;
}

.hero-line:nth-child(2) span {
  font-size: clamp(1.8rem, 6.4vw, 7.4rem);
  line-height: 0.92;
}

.hero-line:nth-child(3) span {
  font-size: clamp(1.6rem, 6vw, 7rem);
  line-height: 0.92;
}

.hero-line span em,
.hero-line h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.2rem;
  padding-bottom: 3rem;
  opacity: 0;
  gap: 2.5rem;
}

.hero-desc {
  max-width: 380px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent);
  color: #080808;
  padding: 1.1rem 2.2rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.hero-cta:hover::before { transform: translateX(0); }

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 255, 71, 0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

.scroll-line-anim {
  width: 60px;
  height: 1px;
  background: var(--muted);
  transform-origin: left;
  transform: scaleX(0);
}

/* ═══════════════════════════════════════════
   SECCIÓN 2: SERVICIOS — HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */
.h-scroll-section { position: relative; }

.sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.h-track {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

/* ── Panel intro ── */
.intro-panel {
  min-width: min(100vw, 560px);
  width: min(100vw, 560px);
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 3rem 4rem;
  background: var(--bg);
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.intro-panel-inner { max-width: 400px; }

.intro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.intro-title em {
  font-style: normal;
  color: var(--accent);
}

.intro-sub {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.intro-arrow {
  font-size: 2rem;
  color: var(--accent);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50%       { transform: translateX(8px); opacity: 0.6; }
}

/* ── Paneles de servicio ── */
.service-panel {
  min-width: min(100vw, var(--panel-max));
  width: min(100vw, var(--panel-max));
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 3rem clamp(2rem, 5vw, 4.5rem);
  position: relative;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.service-panel:hover { border-right-color: rgba(232,255,71,0.15); }

.service-panel:nth-of-type(2) { background: #0d0d0d; }
.service-panel:nth-of-type(3) { background: #0f0f0f; }
.service-panel:nth-of-type(4) { background: #0b0b0b; }
.service-panel:nth-of-type(5) { background: #0c0c10; }

.featured-panel {
  background: #0e0e0e !important;
  border-right-color: rgba(232,255,71,0.2) !important;
  box-shadow: inset 0 0 80px rgba(232,255,71,0.03);
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 18vw, 16rem);
  color: rgba(240, 236, 227, 0.035);
  position: absolute;
  bottom: -2rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.5s;
}

.service-panel:hover .service-num {
  color: rgba(232, 255, 71, 0.05);
}

.service-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
}

.service-tag {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 0.3em 1em;
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  border-radius: 100px;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.popular-tag {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(232, 255, 71, 0.07);
  box-shadow: 0 0 16px rgba(232,255,71,0.1);
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.87;
  margin-bottom: 1.3rem;
  letter-spacing: 0.02em;
}

.service-title span { color: var(--accent); }

.service-desc {
  font-size: clamp(0.84rem, 1.4vw, 0.96rem);
  line-height: 1.75;
  color: #f0ece3;
  font-weight: 300;
  margin-bottom: 1.4rem;
  max-width: 440px;
}

.service-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.service-includes li {
  font-size: 0.81rem;
  color: #f0ece3;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  top: 2px;
}

.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--fg);
  letter-spacing: 0.03em;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.service-price small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════
   SECCIÓN 3: PROCESO
   ═══════════════════════════════════════════ */
#proceso {
  padding: clamp(4rem, 8vh, 8rem) clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
}

.proceso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.proceso-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.92;
  margin-bottom: 1.2rem;
}

.proceso-title em {
  font-style: normal;
  color: var(--accent);
}

.proceso-left p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 2rem;
}

.proceso-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.steps-list { list-style: none; }

.step-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  opacity: 0;
  transform: translateX(40px);
}

@media (max-width: 768px) {
  .step-item {
    opacity: 1;
    transform: none;
  }
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--accent);
  min-width: 28px;
  margin-top: 2px;
}

.step-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step-info p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   SECCIÓN 4: TRABAJOS — HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */
.works-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}

.works-header {
  padding: 0 3rem;
  min-width: clamp(260px, 28vw, 380px);
  flex-shrink: 0;
}

.works-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 0.92;
  margin-bottom: 0.8rem;
}

.works-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.works-track {
  display: flex;
  gap: 20px;
  padding-right: 3rem;
  flex-shrink: 0;
}

.work-card {
  min-width: clamp(280px, 35vw, 420px);
  height: 70vh;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.work-card:hover { border-color: rgba(232, 255, 71, 0.3); }

.work-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.work-card:hover .work-card-bg { transform: scale(1.04); }

.bg-1 { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); }
.bg-2 { background: linear-gradient(135deg, #1a1a0a 0%, #3d3d00 100%); }
.bg-3 { background: linear-gradient(135deg, #1a0a0a 0%, #3d0000 100%); }
.bg-4 { background: linear-gradient(135deg, #0a1a0a 0%, #003d00 100%); }
.bg-5 { background: linear-gradient(135deg, #1a0a1a 0%, #3d003d 100%); }

.work-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.work-card:hover .work-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #080808;
}

.work-info { position: relative; z-index: 1; }

.work-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.work-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.work-type {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   SECCIÓN 5: PRECIOS
   ═══════════════════════════════════════════ */
#precios {
  padding: clamp(4rem, 8vh, 8rem) clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
}

.precios-header {
  margin-bottom: 3.5rem;
}

.precios-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  margin-bottom: 1rem;
}

.precios-title em {
  font-style: normal;
  color: var(--accent);
}

.precios-sub {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.6;
}

.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.precio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  background: rgba(255,255,255,0.012);
}

.precio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.featured-card {
  border-color: var(--accent) !important;
  position: relative;
  background: rgba(232,255,71,0.03) !important;
  box-shadow: 0 0 40px rgba(232,255,71,0.08);
}

.featured-card:hover {
  box-shadow: 0 20px 60px rgba(232,255,71,0.15) !important;
}

.featured-label {
  background: var(--accent);
  color: #080808;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5em;
}

.precio-header {
  padding: 1.8rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
}

.precio-tier {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.precio-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.featured-card .precio-amount { color: var(--accent); }

.precio-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.precio-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

.precio-features {
  list-style: none;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.precio-features li {
  font-size: 0.82rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.45;
}

.precio-features li.inc { color: var(--fg); opacity: 0.85; }
.precio-features li.no  { color: var(--muted); opacity: 0.35; text-decoration: line-through; text-decoration-color: rgba(240,236,227,0.15); }

.precio-features li.inc::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  top: 1px;
}

.precio-features li.no::before {
  content: '×';
  position: absolute;
  left: 0;
  color: rgba(240,236,227,0.2);
  font-size: 0.75rem;
}

.precio-btn {
  display: block;
  text-align: center;
  padding: 1rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  margin: 0 1.8rem 1.8rem;
  border-radius: var(--radius-sm);
}

.outline-btn {
  border: 1px solid var(--border);
  color: rgba(240,236,227,0.7);
  background: transparent;
}

.outline-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(232,255,71,0.1);
}

.solid-btn {
  background: var(--accent);
  color: #080808;
  border: 1px solid var(--accent);
}

.solid-btn:hover {
  background: #d8f540;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,255,71,0.28);
}

/* ── Extras ── */
.extras-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.extras-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
  gap: 0.8rem;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.extra-item:hover { border-color: var(--accent); }

.extra-icon { font-size: 1.2rem; flex-shrink: 0; }

.extra-name {
  font-size: 0.82rem;
  flex: 1;
  color: var(--fg);
  opacity: 0.8;
}

.extra-price {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Proyectos grandes ── */
.grandes-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.grandes-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.grandes-title em {
  font-style: normal;
  color: var(--accent);
}

.grandes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.grande-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.grande-item:hover { border-color: rgba(232, 255, 71, 0.3); }

.grande-icon { font-size: 1.5rem; flex-shrink: 0; }

.grande-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.grande-item small {
  font-size: 0.75rem;
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   SECCIÓN 6: CONTACTO
   ═══════════════════════════════════════════ */
#contacto {
  padding: clamp(4rem, 8vh, 8rem) clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* Hack para que el padding externo funcione con max-width */
#contacto {
  max-width: 100%;
  margin: 0;
  width: auto;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 1.3rem;
}

.contact-title em {
  font-style: normal;
  color: var(--accent);
}

.contact-left p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 1.8rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.contact-link {
  font-size: 0.87rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-link:hover { color: var(--accent); }

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--accent);
  color: #080808;
  padding: 1.1rem 2.2rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 255, 71, 0.3);
}

/* ── COIN ── */
.contact-coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.coin-wrapper {
  perspective: 800px;
  width: clamp(200px, 30vw, 340px);
  height: clamp(200px, 30vw, 340px);
}

.coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: coinSpin 4s linear infinite;
  border-radius: 50%;
}

@keyframes coinSpin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.coin-front,
.coin-back {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  background: #111;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(232, 255, 71, 0.15),
    inset 0 0 30px rgba(232, 255, 71, 0.05);
}

.coin-back {
  transform: rotateY(180deg);
  background: #0e0e0e;
}

.coin-front img,
.coin-back img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(232, 255, 71, 0.4));
}

.coin-back img { transform: scaleX(-1); }

.coin-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left .nav-logo { font-size: 1.2rem; }

.footer-left p {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOTANTE
   ═══════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
}

.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.wa-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  position: relative;
  z-index: 1;
}

.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #080808;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #fff;
}

.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ── DOTS: ocultos en desktop ── */
.scroll-dots,
.works-dots { display: none; }
.dot { display: none; }
@media (max-width: 768px) {
  .dot { display: block; }
}

/* ════════════════════════════════════════════
   TABLET  769px – 1024px
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .precios-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .featured-card {
    order: -1; /* featured siempre primero en tablet */
  }
  .proceso-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #contacto { grid-template-columns: 1fr; gap: 3rem; }
  .intro-panel {
    min-width: min(100vw, 400px);
    width: min(100vw, 400px);
    padding: 2rem 2.5rem;
  }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .grandes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════
   MÓVIL ≤ 768px
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  /* ── Nav ── */
  #navbar {
    padding: 1rem 1.4rem;
    mix-blend-mode: normal;
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .nav-links.open {
    display: flex;
    animation: navFadeIn 0.25s ease forwards;
  }

  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-links a {
    font-size: 1.4rem;
    opacity: 1;
    letter-spacing: 0.15em;
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    font-size: 1rem !important;
    padding: 0.7em 2em !important;
  }

  .nav-toggle { display: flex; cursor: pointer; }

  /* ── Hero ── */
  #hero {
    padding: 5rem 1.4rem 2rem;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-lines { 
    margin-bottom: 1.5rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hero: tamaños proporcionales por línea en mobile */
  .hero-line h1,
  .hero-line span {
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);

  }

  #hero.hero-revealed .hero-line h1,
  #hero.hero-revealed .hero-line span { transform: translateY(0); }
  #hero.hero-revealed .hero-line:nth-child(2) h1,
  #hero.hero-revealed .hero-line:nth-child(2) span { transition-delay: 0.1s; }
  #hero.hero-revealed .hero-line:nth-child(3) h1,
  #hero.hero-revealed .hero-line:nth-child(3) span { transition-delay: 0.2s; }

  #hero.hero-revealed #heroBottom { opacity: 1; transition: opacity 0.6s ease 0.5s; }
  #hero.hero-revealed #scrollHint { opacity: 1; transition: opacity 0.6s ease 0.8s; }
  #hero.hero-revealed #scrollLineAnim { transform: scaleX(1); transition: transform 0.9s ease 0.8s; }

  .hero-bottom {
    opacity: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding-bottom: 0;
    margin-top: 1.2rem;
  }

  .hero-desc { 
    max-width: 100%; 
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-align: center;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .hero-scroll-hint {
    position: static;
    margin-top: 2rem;
    opacity: 0;
  }

  #scrollLineAnim { transform: scaleX(0); }

  /* ══════════════════════════════════════
     SERVICIOS — carrusel CSS nativo puro
     ══════════════════════════════════════ */
  #servicios { height: auto !important; }

  .sticky-wrap {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .h-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none !important;
    gap: 0;
    width: 100vw;
    align-items: stretch;
  }

  .h-track::-webkit-scrollbar { display: none; }

  .intro-panel,
  .service-panel {
    min-width: 100vw;
    width: 100vw;
    height: auto !important;
    min-height: 100dvh;
    padding: 5.5rem 1.6rem 3rem;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    scroll-snap-align: start;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-num {
    font-size: clamp(6rem, 18vw, 9rem);
    right: 0.5rem;
    bottom: -1rem;
  }

  .service-title { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .service-desc  { font-size: 0.88rem; max-width: 100%; }
  .service-includes li { font-size: 0.82rem; }

  /* Dots servicios */
  .scroll-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  /* ── Proceso ── */
  #proceso  { padding: 4.5rem 1.4rem 3.5rem; }

  .proceso-stats { gap: 1.8rem; }
  .stat-num { font-size: 2rem; }

  .step-item { gap: 1.2rem; padding: 1.4rem 0; }
  .step-info h3 { font-size: 0.9rem; }
  .step-info p { font-size: 0.8rem; }

  /* ── Precios ── */
  #precios { padding: 4.5rem 1.4rem 3.5rem; }

  .precios-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .featured-card { order: -1; }

  .precio-amount { font-size: 2.2rem; }

  .precio-btn {
    margin: 0 1.4rem 1.4rem;
    padding: 0.9rem;
  }

  .extras-section,
  .grandes-section { padding: 1.4rem; }

  .extras-grid  { grid-template-columns: 1fr; gap: 0.6rem; }
  .grandes-grid { grid-template-columns: 1fr; gap: 0.6rem; }

  /* ── Contacto ── */
  #contacto {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.4rem;
  }

  .contact-coin { order: -1; }
  .coin-wrapper { width: 180px; height: 180px; }
  .contact-left p { max-width: 100%; }

  .contact-wa-btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Footer ── */
  .coin { animation-duration: 6s; }
  .loader-coin { animation-duration: 2s; }

/* ── Trabajos ── */
  #trabajos {
    height: auto !important;
    border-top: 1px solid var(--border);
  }

  .works-sticky {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 4.5rem 0 0;
  }

  .works-header {
    padding: 0 1.4rem 1.5rem;
    min-width: unset;
  }

  .works-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none !important;
    gap: 12px;
    padding: 0 1.4rem 1.4rem;
    width: 100vw;
  }

  .works-track::-webkit-scrollbar { display: none; }

  .work-card {
    min-width: 80vw;
    width: 80vw;
    height: 55vw;
    min-height: 260px;
    max-height: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Dots trabajos */
  .works-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 0 1.4rem;
    background: var(--bg);
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.6rem 1.4rem;
  }
  .footer-right { align-items: flex-start; }
  .proceso-left p { max-width: 100%; }
}

/* Dots — estilos globales */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(240,236,227,0.2);
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.dot.dot-active {
  width: 24px;
  background: var(--accent);
  border-radius: 3px;
}

/* ── Móvil pequeño (<420px) ── */
@media (max-width: 420px) {
  /* Reducir proporcionalmente manteniendo la jerarquía */
  .hero-line:nth-child(1) h1,
  .hero-line:nth-child(1) span { font-size: clamp(4.8rem, 13vw, 4rem); }
  .hero-line:nth-child(2) span { font-size: clamp(2.4rem, 6.4vw, 2rem); }
  .hero-line:nth-child(3) span { font-size: clamp(2.3rem, 6vw, 1.9rem); }
  .precios-grid { grid-template-columns: 1fr; }
  .proceso-stats { flex-direction: column; gap: 1rem; }
  .intro-panel, .service-panel { min-width: 100vw; width: 100vw; }
  .contact-wa-btn { font-size: 0.75rem; padding: 0.9rem 1.2rem; }
}


/* ── Mejoras de accesibilidad: focus visible ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Soporte motion reduce ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}