/* ============================================================
   ESTUDIO BUSALE & BUSALE — styles.css
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:          #1E1F1B;   /* gris oscuro cálido del logo */
  --bg-2:        #252620;
  --bg-3:        #2C2E28;
  --white:       #FFFFFF;
  --off-white:   #E8E3D9;
  --gray-light:  #AAAAAA;
  --gray-mid:    #555555;
  --gray-dark:   #222222;
  --cyan:        #3DE2FF;
  --gold:        #C9A35B;
  --pink:        #FF3D8B;
  --border:      rgba(255,255,255,0.08);
  --border-mid:  rgba(255,255,255,0.15);

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.87, 0, 0.13, 1);

  --nav-h: 72px;
  --section-pad: clamp(80px, 12vw, 160px);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* reemplazado por cursor custom — se restaura en touch */
}
@media (hover: none) { body { cursor: auto; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: none; font: inherit; color: inherit; }
@media (hover: none) { button { cursor: pointer; } }

/* ─── TIPOGRAFÍA BASE ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
em { font-style: italic; }

/* ─── BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}
.btn--primary {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.btn--primary:hover {
  background: transparent;
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-mid);
}
.btn--ghost:hover {
  border-color: var(--white);
}

/* ─── SECCIÓN BASE ───────────────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-pad) clamp(24px, 6vw, 100px);
  overflow: hidden;
}
.section__watermark {
  position: absolute;
  top: -0.1em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 300px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  display: block;
  margin-bottom: 20px;
}

/* ─── AURORA DE FONDO ────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(61,226,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(201,163,91,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,61,139,0.02) 0%, transparent 70%);
  animation: aurora-drift 30s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes aurora-drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  33%  { transform: translate(-3%,2%) rotate(1deg); }
  66%  { transform: translate(2%,-3%) rotate(-1deg); }
  100% { transform: translate(-1%,1%) rotate(0.5deg); }
}

.grain {
  position: fixed;
  inset: 0;
  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='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ─── CURSOR PERSONALIZADO ───────────────────────────────── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: opacity 0.2s;
}
.cursor__ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), border-color 0.2s, background 0.2s;
}
.cursor__label {
  position: absolute;
  top: 50%;
  left: calc(50% + 20px);
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
}
#cursor.cursor--hover .cursor__ring {
  width: 48px;
  height: 48px;
  background: rgba(61,226,255,0.08);
  border-color: var(--cyan);
}
#cursor.cursor--hover .cursor__label { opacity: 1; }
@media (hover: none) { #cursor { display: none; } }

/* ─── SPLASH ─────────────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: splash-hide 0.6s ease 4.5s forwards;
}
@keyframes splash-hide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#splash.hidden { display: none; }

.splash__inner { text-align: center; }
.splash__logo { margin-bottom: 40px; }

/* Logo directo sin frame — el fondo del PNG ya es gris */
.splash__logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  animation: splash-frame-in 1s var(--ease-out) 0.3s forwards;
}
@keyframes splash-frame-in {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.splash__logo-img {
  display: block;
  width: clamp(220px, 38vw, 340px);
  height: auto;
  border-radius: 4px;
}

@keyframes splash-word {
  to { opacity: 1; transform: none; }
}

.splash__est {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-top: 20px;
  opacity: 0;
  animation: splash-word 0.5s ease 1.2s forwards;
}
.splash__bar {
  width: clamp(200px, 40vw, 360px);
  height: 1px;
  background: var(--gray-dark);
  margin: 0 auto;
  overflow: hidden;
}
.splash__bar-fill {
  height: 100%;
  width: 0;
  background: var(--cyan);
  animation: splash-bar 3s var(--ease-out) 0.5s forwards;
}
@keyframes splash-bar { to { width: 100%; } }

/* ─── NAV ────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 60px);
  gap: 32px;
  z-index: 800;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#nav.nav--scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
}
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.nav__brand-est {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gray-light);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 8px 12px;
  transition: color 0.2s;
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__num {
  color: var(--cyan);
  font-size: 0.6rem;
}
.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--border-mid);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Nav móvil */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 799;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile ul { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.nav-mobile__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  color: var(--gray-light);
  padding: 12px 24px;
  transition: color 0.2s;
}
.nav-mobile__link:hover { color: var(--white); }
.nav-mobile__cta { color: var(--cyan) !important; margin-top: 16px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ─── MARCA LATERAL FIJA ─────────────────────────────────── */
.side-mark {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 700;
  pointer-events: none;
}
.side-mark__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.side-mark__text {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
}
@media (max-width: 600px) { .side-mark { display: none; } }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(80px,12vw,140px) clamp(24px,6vw,100px) clamp(60px,8vw,100px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%) brightness(0.55);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 45%, rgba(10,10,10,0.2) 100%),
    linear-gradient(to right, rgba(10,10,10,0.4) 0%, transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero__kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  max-width: 540px;
  line-height: 1.7;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero__title-line { display: block; }
.hero__title-line--offset { padding-left: clamp(30px, 5vw, 80px); }
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--gray-light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 6vw, 100px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-light);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gray-mid));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ─── MARQUEE NEÓN ───────────────────────────────────────── */
.marquee-neon {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-neon::before,
.marquee-neon::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-neon::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee-neon::after  { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }

.marquee-neon__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-left 24s linear infinite;
}
.marquee-neon__item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--white);
  white-space: nowrap;
}
.marquee-neon__sep {
  color: var(--cyan);
  font-size: 0.8rem;
  align-self: center;
  text-shadow: 0 0 12px var(--cyan);
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── ABOUT — EL ESTUDIO ─────────────────────────────────── */
.about { background: var(--bg); }
.about__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
}

/* Collage */
.about__collage {
  position: relative;
  height: clamp(400px, 60vw, 620px);
}
.about__photo {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.8s var(--ease-out);
}
.about__photo:hover img { transform: scale(1.04); }

.about__photo--1 {
  width: 62%;
  aspect-ratio: 3/4;
  top: 0; left: 0;
  transform: rotate(-2deg);
  z-index: 2;
}
.about__photo--2 {
  width: 55%;
  aspect-ratio: 3/4;
  top: 15%;
  right: 0;
  transform: rotate(1.5deg);
  z-index: 3;
}
.about__photo--3 {
  width: 48%;
  aspect-ratio: 3/4;
  bottom: 0;
  left: 20%;
  transform: rotate(-1deg);
  z-index: 4;
}
.about__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 16px;
  font-weight: 700;
}

/* Contenido */
.about__content { position: relative; z-index: 2; }
.about__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.about__section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.about__est-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border: 1px solid rgba(61,226,255,0.3);
  padding: 3px 10px;
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
}
.about__title em { color: var(--cyan); }
.about__quote {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--off-white);
  line-height: 1.6;
}
.about__lead {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--off-white);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__body {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 36px;
}
.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.about__pillar {
  padding: 18px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.about__pillar:hover { border-color: var(--border-mid); }
.about__pillar dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.about__pillar dd {
  font-size: 0.82rem;
  color: var(--gray-light);
  line-height: 1.6;
}
.about__address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gray-mid);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.about__address-icon { color: var(--cyan); font-size: 0.9rem; }

/* ─── SERVICIOS — LAYOUT VERTICAL ───────────────────────── */
.services {
  padding: var(--section-pad) clamp(24px, 6vw, 100px);
  background: var(--bg-2);
  overflow: hidden;
}

.services__header {
  margin-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  z-index: 2;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  color: var(--white);
  margin-top: 8px;
  line-height: 1.1;
}

/* Lista vertical de servicios */
.services__list {
  position: relative;
  z-index: 2;
}

/* Cada tarjeta */
.svc-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s;
}
.svc-card:last-child { border-bottom: 1px solid var(--border); }
.svc-card:hover { border-color: var(--border-mid); }

/* Variante alternada: SVG a la derecha */
.svc-card--alt {
  grid-template-columns: 1fr 220px;
}
.svc-card--alt .svc-card__aside {
  order: 2;
}
.svc-card--alt .svc-card__body {
  order: 1;
}

/* Columna lateral: número + SVG */
.svc-card__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.svc-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  text-align: center;
}

.svc-card__svg-wrap {
  width: 100%;
  max-width: 200px;
}
.svc-svg {
  width: 100%;
  height: auto;
  max-height: 200px;
}

/* Animación de trazado SVG */
.svc-poly {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.svc-card.is-visible .svc-poly {
  stroke-dashoffset: 0;
}

/* Columna de contenido */
.svc-card__body {
  padding-top: 4px;
}

.svc-card__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.svc-card__name em {
  font-style: italic;
  color: var(--cyan);
}

.svc-card__message {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 28px;
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
}

.svc-card__scope {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  margin-bottom: 32px;
}
.svc-card__scope li {
  font-size: 0.88rem;
  color: var(--gray-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.svc-card__scope li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.75rem;
}

.svc-card__cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.svc-card__cta:hover { border-color: var(--cyan); color: var(--cyan); }

/* Marquee inverso en servicios */
.services__marquee-bottom {
  margin-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.marquee-rev__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee-right 20s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.marquee-rev__track span:not(:empty) { white-space: nowrap; }
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ─── Responsive servicios ───────────────────────────────── */
@media (max-width: 900px) {
  .svc-card,
  .svc-card--alt {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .svc-card--alt .svc-card__aside { order: 0; }
  .svc-card--alt .svc-card__body  { order: 0; }
  .svc-card__aside {
    flex-direction: row;
    align-items: center;
    position: static;
    gap: 16px;
  }
  .svc-card__svg-wrap { max-width: 100px; }
  .svc-svg { max-height: 100px; }
  .svc-card__scope { grid-template-columns: 1fr; }
}

/* ─── INDUSTRIAS ─────────────────────────────────────────── */
.industries { background: var(--bg); }
.industries__inner { position: relative; z-index: 2; }
.industries__header { margin-bottom: clamp(40px, 6vw, 80px); }
.industries__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 54px);
  color: var(--white);
  margin-top: 8px;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
@media (max-width: 600px) {
  .industries__grid { grid-template-columns: 1fr; }
}
.ind-item {
  background: var(--bg);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.ind-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--item-accent, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ind-item:hover::before { transform: scaleX(1); }
.ind-item:hover { background: var(--bg-3); }

.ind-item__icon {
  width: 56px;
  height: 56px;
  color: var(--item-accent, var(--cyan));
  transition: color 0.2s;
}
.ind-item__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}
.ind-item__text {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.65;
  max-width: 320px;
}

/* ─── NOVEDADES ──────────────────────────────────────────── */
.news {
  background: var(--bg);
  padding: var(--section-pad) clamp(24px, 6vw, 100px);
  overflow: hidden;
}

.news__header {
  max-width: 680px;
  margin-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  z-index: 2;
}
.news__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  color: var(--white);
  margin-top: 8px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.news__lead {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--gray-light);
  line-height: 1.75;
}

/* Grid de artículos */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  position: relative;
  z-index: 2;
}

/* Artículo destacado: ocupa 2 columnas en la primera fila */
.news-card--featured {
  grid-column: span 2;
}

/* Tarjeta individual */
.news-card {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s;
  position: relative;
}
.news-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.news-card:hover { background: var(--bg-3); }
.news-card:hover::after { transform: scaleX(1); }

/* Color del borde inferior según categoría */
.news-card:has(.news-card__cat--cyan)::after  { background: var(--cyan); }
.news-card:has(.news-card__cat--gold)::after  { background: var(--gold); }
.news-card:has(.news-card__cat--pink)::after  { background: var(--pink); }

/* Meta: categoría + fecha */
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.news-card__cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid currentColor;
}
.news-card__cat--cyan { color: var(--cyan); }
.news-card__cat--gold { color: var(--gold); }
.news-card__cat--pink { color: var(--pink); }

.news-card__date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

/* Título */
.news-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.news-card--featured .news-card__title {
  font-size: clamp(20px, 2.5vw, 30px);
}
.news-card:not(.news-card--featured) .news-card__title {
  font-size: clamp(16px, 1.6vw, 20px);
}

/* Extracto */
.news-card__excerpt {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.7;
  flex-grow: 1;
}
.news-card--featured .news-card__excerpt {
  font-size: clamp(0.88rem, 1.1vw, 0.96rem);
  max-width: 560px;
}

/* CTA inline */
.news-card__cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
  margin-top: auto;
}
.news-card:hover .news-card__cta,
.news-card__cta:hover {
  color: var(--white);
  border-color: var(--border-mid);
}

/* Pie de sección */
.news__footer {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.news__footer-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--off-white);
}

/* ─── Responsive novedades ───────────────────────────────── */
@media (max-width: 960px) {
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .news__grid { grid-template-columns: 1fr; background: none; gap: 0; }
  .news-card--featured { grid-column: span 1; }
  .news-card {
    border-bottom: 1px solid var(--border);
    background: var(--bg) !important;
  }
  .news__footer { flex-direction: column; align-items: flex-start; }
}

/* ─── RESERVA ────────────────────────────────────────────── */
.booking { background: var(--bg); }
.booking__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 900px) {
  .booking__inner { grid-template-columns: 1fr; }
}
.booking__aside-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.booking__aside-title em { color: var(--cyan); }
.booking__aside-lead {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 36px;
}
.booking__contact { display: flex; flex-direction: column; gap: 20px; }
.booking__contact div { display: flex; flex-direction: column; gap: 4px; }
.booking__contact dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.booking__contact dd, .booking__contact a {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.5;
  transition: color 0.2s;
}
.booking__contact a:hover { color: var(--cyan); }

/* Formulario */
.booking__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.booking__field { display: flex; flex-direction: column; gap: 10px; }
.booking__label {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.booking__field-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.booking__field-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.booking__input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.booking__input:focus { border-color: var(--cyan); }
.booking__input::placeholder { color: var(--gray-mid); }
.booking__select { cursor: pointer; }
.booking__textarea { resize: vertical; min-height: 90px; }
.booking__field--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex-direction: row;
}
.booking__submit {
  width: 100%;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  color: var(--bg);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 32px;
  transition: background 0.3s, transform 0.2s;
}
.booking__submit:hover {
  background: var(--cyan);
}
.booking__alt {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-mid);
}
.booking__wa-link {
  color: var(--cyan);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.booking__wa-link:hover { border-color: var(--cyan); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer__logo-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 100px) 0;
}
.footer__logo {
  width: clamp(160px, 22vw, 240px);
  height: auto;
  border-radius: 4px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.footer__logo:hover { opacity: 1; }

.footer__display {
  white-space: nowrap;
  overflow: hidden;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.footer__display span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.02em;
  animation: marquee-left 18s linear infinite;
  white-space: nowrap;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__col {
  background: var(--bg);
  padding: clamp(32px,4vw,52px);
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer__address, .footer__transport {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer__transport-label {
  font-size: 0.78rem;
  color: var(--gray-mid);
}
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact-list li {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.5;
}
.footer__contact-list a {
  transition: color 0.2s;
  display: inline-flex;
  gap: 8px;
}
.footer__contact-list a:hover { color: var(--white); }
.footer__contact-list span { color: var(--gray-mid); }
.footer__map iframe {
  display: block;
  filter: grayscale(80%) brightness(0.6);
  transition: filter 0.4s;
}
.footer__map iframe:hover { filter: grayscale(20%) brightness(0.9); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(24px,6vw,100px);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
}
.footer__legal a { transition: color 0.2s; }
.footer__legal a:hover { color: var(--white); }
.footer__top { margin-left: auto; }
.footer__credits { color: var(--gray-mid); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
/* Defensivo: si JS no dispara, el contenido es visible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}
/* JS añade .reveal--init para preparar la animación */
.reveal--init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--in {
  opacity: 1 !important;
  transform: none !important;
}

/* ─── UTILIDADES ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--gray-mid); }

/* ─── FOCO ACCESIBLE ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .aurora, .grain, #cursor, #splash, #nav, .side-mark,
  .marquee-neon, .gallery, .hero__scroll { display: none; }
  body { background: white; color: black; }
}
