/* =============================================
   GRÁFICA ROCA — Hoja de Estilos Principal
   ============================================= */

/* --- VARIABLES --- */
:root {
  --purple:       #7b2d8b;
  --purple-light: #a040b8;
  --purple-dark:  #4a1457;
  --purple-glow:  rgba(123, 45, 139, 0.4);
  --black:        #0d0d0d;
  --dark:         #111111;
  --dark-mid:     #1a1a1a;
  --dark-card:    #161616;
  --white:        #ffffff;
  --gray:         #888888;
  --gray-light:   #cccccc;
  --accent:       #d45cff;

  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Exo 2', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-serif:   'Exo 2', sans-serif;

  --header-h:     80px;
  --nav-h:        52px;

  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--dark);
  font-family: var(--font-body);
  color: var(--white);
  overflow-x: hidden;
}

/* --- CURSOR PERSONALIZADO --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid var(--purple-light);
  background: transparent;
  transition: width 0.2s var(--ease-smooth),
              height 0.2s var(--ease-smooth),
              background 0.2s ease,
              opacity 0.3s ease;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 56px;
  height: 56px;
  background: var(--purple-glow);
}

/* --- PAGE LOADER --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 0.9;
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
}

.loader-logo span {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--purple-light);
  font-size: 1em;
  letter-spacing: 0.28em;
  background: linear-gradient(135deg, var(--purple-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  width: 0%;
  animation: loaderAnim 1.4s var(--ease-smooth) forwards;
}

@keyframes loaderAnim {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* =============================================
   HEADER
   ============================================= */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  padding: 0 28px;
  top: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  border-bottom: 1px solid rgba(123, 45, 139, 0.2);
  transition: height 0.4s var(--ease-smooth),
              background 0.4s ease,
              border-color 0.4s ease;
}

.header.scrolled {
  height: 64px;
  border-bottom-color: rgba(123, 45, 139, 0.5);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.logo {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-bounce), filter 0.4s ease, box-shadow 0.4s ease;
  filter: drop-shadow(0 0 10px var(--purple-glow));
  box-shadow: 0 0 0 2px rgba(123, 45, 139, 0.35);
}

.logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--purple-light);
  letter-spacing: 2px;
}

.logo-link:hover .logo {
  transform: scale(1.08);
  filter: drop-shadow(0 0 18px var(--purple-light));
  box-shadow: 0 0 0 2px var(--purple-light);
}

.header-texto {
  flex: 1;
  text-align: center;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.22em;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.subtitulo {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--purple-light);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.75;
}

/* Botón hamburguesa (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   NAVEGACIÓN
   ============================================= */
.botonera {
  position: fixed;
  top: var(--header-h);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  z-index: 90;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: top 0.4s var(--ease-smooth);
}

.header.scrolled ~ .botonera {
  top: 64px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--purple-light);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--white);
}

.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  border-radius: 4px;
  margin-left: 12px;
  padding: 8px 20px;
  transition: background 0.3s ease, transform 0.3s var(--ease-bounce),
              box-shadow 0.3s ease;
}

.nav-cta:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--purple-glow);
}

.nav-cta::after { display: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: calc(var(--header-h) + var(--nav-h));
}

.fondo-rollo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rollo-inner {
  display: flex;
  height: 100%;
  animation: scrollFilm 50s linear infinite;
  width: max-content;
}

.rollo-inner img {
  height: 100%;
  width: auto;
  min-width: 400px;
  object-fit: cover;
  margin-right: 2px;
}

@keyframes scrollFilm {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(75, 20, 87, 0.6) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + var(--nav-h) + 20px) 8% 80px;
}

.hero-content {
  max-width: 760px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.9;
}

.hero-tag::before {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-light));
}

.hero-titulo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6.5vw, 100px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-titulo em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--accent) 60%, #ff9ef5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  padding-bottom: 0.15em;
  line-height: 1.1;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 460px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 3px;
  border: 2px solid var(--purple);
  transition: background 0.3s ease, transform 0.3s var(--ease-bounce),
              box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.hero-btn:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--purple-glow);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.22);
  transition: border-color 0.3s ease, background 0.3s ease,
              transform 0.3s var(--ease-bounce);
}

.hero-btn-ghost:hover {
  border-color: var(--purple-light);
  background: rgba(123,45,139,0.15);
  transform: translateY(-3px);
}

/* Marquee inferior del hero */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--purple);
  overflow: hidden;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  text-transform: uppercase;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   SECCIÓN SERVICIOS
   ============================================= */
.seccion-servicios {
  background: var(--dark);
  padding: 100px 6%;
  position: relative;
}

.seccion-servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.seccion-header {
  text-align: center;
  margin-bottom: 64px;
}

.seccion-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 6px 18px;
  border: 1px solid var(--purple);
  border-radius: 20px;
  margin-bottom: 20px;
}

.tag-claro {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.18);
}

.seccion-titulo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 64px);
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.seccion-titulo em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: var(--purple-light);
  letter-spacing: 0.1em;
}

.seccion-desc {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

/* Grid de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}

/* Tarjeta de servicio */
.servicio-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s ease;
  overflow: hidden;
}

.servicio-card:hover {
  background: #1c1c1c;
}

.servicio-card[data-abierto="true"] {
  background: #1c1c1c;
  border-color: rgba(123, 45, 139, 0.3);
}

.servicio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.servicio-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.servicio-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.servicio-card:hover .servicio-num,
.servicio-card[data-abierto="true"] .servicio-num {
  opacity: 1;
}

.servicio-header h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.servicio-card:hover .servicio-header h3,
.servicio-card[data-abierto="true"] .servicio-header h3 {
  color: var(--purple-light);
}

/* Ícono toggle (+/−) */
.toggle-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease,
              transform 0.4s var(--ease-smooth);
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  transition: transform 0.4s var(--ease-smooth), opacity 0.3s ease;
}

.toggle-icon::before {
  width: 10px;
  height: 1.5px;
}

.toggle-icon::after {
  width: 1.5px;
  height: 10px;
}

.servicio-card[data-abierto="true"] .toggle-icon {
  border-color: var(--purple-light);
  background: var(--purple);
  transform: rotate(45deg);
}

/* Cuerpo desplegable */
.servicio-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-smooth), padding 0.4s ease;
  padding: 0 28px;
}

.servicio-card[data-abierto="true"] .servicio-body {
  max-height: 400px;
  padding: 0 28px 28px;
}

.servicio-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.servicio-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

/* Placeholder vacío (sin imagen real aún) */
.foto-placeholder {
  background: rgba(123, 45, 139, 0.08);
  border: 1px dashed rgba(123, 45, 139, 0.3);
  border-radius: 8px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.3s var(--ease-smooth);
}

/* Placeholder CON imagen real */
.foto-placeholder:has(img) {
  border-style: solid;
  border-color: rgba(123, 45, 139, 0.2);
  cursor: zoom-in;
}

.foto-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  display: block;
  transition: transform 0.45s var(--ease-smooth),
              filter 0.3s ease;
}

.foto-placeholder:has(img):hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.foto-placeholder:has(img):hover {
  border-color: var(--purple-light);
  box-shadow: 0 8px 32px rgba(123, 45, 139, 0.3);
  transform: translateY(-2px);
}

/* Ícono lupa sobre la imagen */
.foto-placeholder:has(img)::after {
  content: '🔍';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.foto-placeholder:has(img):hover::after {
  opacity: 1;
}

/* Placeholder vacío hover */
.foto-placeholder:not(:has(img)):hover {
  background: rgba(123, 45, 139, 0.14);
  border-color: var(--purple-light);
}

.foto-placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox-overlay.activo {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7),
              0 0 0 1px rgba(123, 45, 139, 0.3);
  transform: scale(0.88);
  transition: transform 0.4s var(--ease-bounce);
  cursor: default;
  display: block;
}

.lightbox-overlay.activo img {
  transform: scale(1);
}

.lightbox-cerrar {
  position: absolute;
  top: -44px;
  right: -4px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s var(--ease-bounce);
  line-height: 1;
}

.lightbox-cerrar:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  transform: scale(1.12) rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   SECCIÓN NOSOTROS
   ============================================= */
.seccion-nosotros {
  background: var(--dark-mid);
  padding: 120px 6%;
  position: relative;
  overflow: hidden;
}

.nosotros-bg-text {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 20vw, 300px);
  color: rgba(123, 45, 139, 0.04);
  pointer-events: none;
  letter-spacing: -0.02em;
  user-select: none;
}

.nosotros-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.nosotros-titulo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 54px);
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--white);
  margin: 20px 0 36px;
  text-transform: uppercase;
}

.nosotros-titulo em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: var(--purple-light);
  letter-spacing: 0.1em;
}

.nosotros-texto {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.58);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.nosotros-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.04em;
  color: var(--purple-light);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 10px;
}

/* =============================================
   SECCIÓN UBICACIÓN
   ============================================= */
.seccion-ubicacion {
  background: var(--dark);
  padding: 100px 6%;
  position: relative;
}

.seccion-ubicacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.ubicacion-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.info-bloque {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-smooth);
}

.info-bloque:hover {
  border-color: rgba(123, 45, 139, 0.4);
  background: #1a1a1a;
  transform: translateX(6px);
}

.info-icono {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-bloque h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 6px;
}

.info-bloque p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.wa-link {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #25D366;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.wa-link:hover {
  color: #5ff090;
}

.mapa {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(123, 45, 139, 0.3);
  box-shadow: 0 0 60px rgba(123, 45, 139, 0.15);
  transition: box-shadow 0.4s ease;
}

.mapa:hover {
  box-shadow: 0 0 80px rgba(123, 45, 139, 0.3);
}

.mapa iframe {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(123, 45, 139, 0.2);
  padding: 60px 6% 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 40px;
  margin-bottom: 24px;
}

.footer-marca {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--purple-light);
  margin-top: 5px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--purple-light);
}

.footer-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  text-align: center;
}

/* =============================================
   BOTONES FLOTANTES
   ============================================= */
.whatsapp {
  position: fixed;
  bottom: 30px;
  right: 10px;
  z-index: 999;
  background: #25D366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5);
}

.whatsapp img {
  width: 32px;
  height: 32px;
  display: block;
}

.scroll-top {
  position: fixed;
  bottom: 150px;
  right: 28px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(20,20,20,0.9);
  color: var(--white);
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.3s var(--ease-bounce), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

/* =============================================
   ANIMACIONES DE REVEAL (scroll)
   ============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-card.visible {
  opacity: 1;
  transform: none;
}

/* Delay escalonado para cards */
.reveal-card:nth-child(1) { transition-delay: 0ms; }
.reveal-card:nth-child(2) { transition-delay: 60ms; }
.reveal-card:nth-child(3) { transition-delay: 120ms; }
.reveal-card:nth-child(4) { transition-delay: 180ms; }
.reveal-card:nth-child(5) { transition-delay: 240ms; }
.reveal-card:nth-child(6) { transition-delay: 300ms; }
.reveal-card:nth-child(7) { transition-delay: 360ms; }
.reveal-card:nth-child(8) { transition-delay: 420ms; }
.reveal-card:nth-child(9) { transition-delay: 480ms; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nosotros-contenido {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ubicacion-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .nosotros-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .botonera {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-smooth),
                top 0.4s var(--ease-smooth);
    padding: 0 20px;
    gap: 0;
    top: var(--header-h);
  }

  .botonera.open {
    max-height: 400px;
    padding: 16px 20px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-link::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .hero-titulo {
    font-size: clamp(28px, 9vw, 52px);
    letter-spacing: 0.03em;
  }

  .hero-titulo em {
    letter-spacing: 0.03em;
  }

  .hero-sub {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .hero-overlay {
    padding: calc(var(--header-h) + var(--nav-h) + 16px) 6% 60px;
    justify-content: flex-end;
    padding-bottom: 80px;
  }

  .hero-tag {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-btn,
  .hero-btn-ghost {
    font-size: 9px;
    padding: 12px 24px;
    letter-spacing: 0.18em;
  }

  .nosotros-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 460px) {
  .servicio-fotos {
    grid-template-columns: 1fr;
  }

  .seccion-servicios,
  .seccion-nosotros,
  .seccion-ubicacion {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media (max-width: 680px) {
  .whatsapp {
    bottom: 80px;
  }
  .scroll-top {
    bottom: 152px;
  }
}

@media (max-width: 400px) {
  .hero-titulo {
    font-size: clamp(24px, 8vw, 36px);
    letter-spacing: 0.02em;
  }

  .hero-titulo em {
    letter-spacing: 0.02em;
  }

  .hero-overlay {
    padding-left: 5%;
    padding-right: 5%;
  }
}