:root {
  --bg: #eef3ff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6ff;
  --text: #131a33;
  --muted: #5b6486;
  --primary: #4f7cff;
  --primary-2: #8b5cff;
  --accent: #00bfa6;
  --pink: #ff4b8b;
  --cyan: #18c9ff;
  --border: rgba(20, 30, 70, 0.10);
  --shadow: 0 20px 45px rgba(70, 90, 170, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: radial-gradient(1100px 700px at 85% -5%, rgba(139, 92, 255, 0.16), transparent 60%),
              radial-gradient(1000px 650px at -5% 5%, rgba(79, 124, 255, 0.16), transparent 58%),
              radial-gradient(900px 600px at 50% 110%, rgba(0, 191, 166, 0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- FONDO TECNOLÓGICO ANIMADO ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Cuadrícula tipo circuito */
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(79, 124, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 124, 255, 0.10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 78%);
  animation: grid-pan 28s linear infinite;
}
@keyframes grid-pan {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 46px 46px, 46px 46px; }
}

/* Luces de neón */
.bg-glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}
.bg-glow-1 {
  background: radial-gradient(circle, rgba(79, 124, 255, 0.5), transparent 70%);
  top: -140px; left: -120px;
  animation: float-glow 16s ease-in-out infinite;
}
.bg-glow-2 {
  background: radial-gradient(circle, rgba(139, 92, 255, 0.45), transparent 70%);
  bottom: -160px; right: -120px;
  animation: float-glow 20s ease-in-out infinite reverse;
}
@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.15); }
}

/* Símbolos de PlayStation flotando */
.ps-symbols { position: absolute; inset: 0; }
.ps {
  position: absolute;
  font-weight: 700;
  text-shadow: 0 0 22px currentColor;
  animation: ps-float linear infinite;
  user-select: none;
}
.ps-tri   { left: 8%;  top: 18%;  font-size: 3.4rem; color: rgba(0, 191, 166, 0.28);  animation-duration: 22s; }
.ps-cir   { left: 82%; top: 12%;  font-size: 2.8rem; color: rgba(255, 75, 139, 0.28);  animation-duration: 26s; animation-delay: -4s; }
.ps-cross { left: 70%; top: 60%;  font-size: 3.8rem; color: rgba(79, 124, 255, 0.30);  animation-duration: 30s; animation-delay: -8s; }
.ps-sq    { left: 15%; top: 70%;  font-size: 3rem;   color: rgba(139, 92, 255, 0.28); animation-duration: 24s; animation-delay: -2s; }
.ps-tri2  { left: 45%; top: 40%;  font-size: 2.4rem; color: rgba(24, 201, 255, 0.24);  animation-duration: 34s; animation-delay: -10s; }
.ps-cir2  { left: 30%; top: 30%;  font-size: 2.2rem; color: rgba(255, 75, 139, 0.22);  animation-duration: 28s; animation-delay: -6s; }
.ps-cross2{ left: 90%; top: 78%;  font-size: 2.6rem; color: rgba(79, 124, 255, 0.26);  animation-duration: 32s; animation-delay: -12s; }
.ps-sq2   { left: 55%; top: 85%;  font-size: 2.2rem; color: rgba(139, 92, 255, 0.22); animation-duration: 27s; animation-delay: -5s; }
@keyframes ps-float {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-40px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Respeta a quien prefiere menos animación */
@media (prefers-reduced-motion: reduce) {
  .bg-grid, .bg-glow, .ps { animation: none; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, .brand-name { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 12px 30px rgba(79, 124, 255, 0.35);
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79, 124, 255, 0.45); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(70, 90, 170, 0.10);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header .brand-name { color: #fff; }
.site-header .nav-links a { color: var(--text); }
.site-header .nav-links a:hover { color: var(--primary); }
.site-header .nav-links a.btn { color: #fff; }
.site-header .nav-toggle span { background: #fff; }

.site-header.scrolled,
.site-header.nav-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(70, 90, 170, 0.08);
}
.site-header.scrolled .brand-name,
.site-header.nav-solid .brand-name { color: var(--text); }
.site-header.scrolled .nav-links a,
.site-header.nav-solid .nav-links a { color: var(--muted); }
.site-header.scrolled .nav-links a:hover,
.site-header.nav-solid .nav-links a:hover { color: var(--text); }
.site-header.scrolled .nav-links a.btn,
.site-header.nav-solid .nav-links a.btn { color: #fff; }
.site-header.scrolled .nav-toggle span,
.site-header.nav-solid .nav-toggle span { background: var(--text); }

/* Opción activa del menú */
.site-header .nav-links a.active { color: var(--primary); }
.site-header .nav-links a.btn.active { color: #fff; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
}
.brand-name .cap {
  font-size: 1.3em;
}
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #05070f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Menú desplegable (siempre tipo hamburguesa) */
.nav-links {
  position: fixed;
  top: 70px; left: 0;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 16px 0;
  padding: 20px 26px;
  gap: 18px;
  display: flex;
  transform: translateX(-120%);
  transition: transform 0.3s ease;
  min-width: 210px;
  z-index: 60;
  box-shadow: 8px 12px 30px rgba(0, 0, 0, 0.18);
}
.nav-links.open { transform: translateX(0); }
.nav-links a { color: var(--text); font-weight: 500; transition: color 0.18s ease; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn { color: #fff; }

/* Botón de 3 rayitas, a la izquierda */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  left: 0;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(760px 460px at 78% 28%, rgba(24, 150, 255, 0.32), transparent 62%),
    radial-gradient(620px 420px at 8% 82%, rgba(99, 102, 255, 0.24), transparent 62%),
    linear-gradient(160deg, #0a1640 0%, #060c24 55%, #04081a 100%);
  border-bottom: 1px solid rgba(60, 140, 255, 0.25);
}
/* Cuadrícula tipo circuito dentro de la portada */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(70, 150, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 150, 255, 0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 45%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
/* Textos claros sobre el fondo oscuro de la portada */
.hero .hero-text p { color: #c7d3f5; }
.hero .hero-stats span { color: #8ea0d4; }
.hero .hero-stats strong { color: var(--cyan); }
.hero .badge {
  background: rgba(24, 201, 255, 0.16);
  color: #5fe0ff;
  border-color: rgba(24, 201, 255, 0.4);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(25, 227, 177, 0.12);
  color: var(--accent);
  border: 1px solid rgba(25, 227, 177, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(110deg, var(--primary) 0%, var(--primary-2) 45%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-chips li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 6px 16px rgba(70, 90, 170, 0.08);
}
.hero-text p { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-review {
  margin: 0 0 36px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  max-width: 520px;
  backdrop-filter: blur(4px);
}
.hero-review-stars { color: #ffc94d; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 8px; }
.hero-review blockquote { margin: 0 0 8px; color: #e8eefc; font-size: 1.02rem; line-height: 1.5; font-style: italic; }
.hero-review figcaption { color: var(--cyan); font-weight: 600; font-size: 0.9rem; }
.hero-stats { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--accent); }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }
.hero .hero-stats .hero-stat-ico { font-size: 1.5rem; color: inherit; margin-bottom: 4px; }
.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 90, 220, 0.45);
  border: 1px solid rgba(70, 150, 255, 0.35);
  aspect-ratio: 3 / 2;
  background: #05070f;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECCIONES ---------- */
.section { padding: 80px 0; }
.section-alt { background: linear-gradient(180deg, rgba(79, 124, 255, 0.06), rgba(139, 92, 255, 0.04)); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.apps-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- TARJETAS DE SERVICIO ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(79,124,255,0.4); box-shadow: var(--shadow); }
.card-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,124,255,0.25), rgba(122,92,255,0.25));
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.card .price {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-head);
}
.card.clickable { cursor: pointer; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.card.clickable:hover .card-more { gap: 10px; }

/* ---------- VENTANA (MODAL) DE SERVICIO ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 30, 0.6);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px 30px;
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal-close:hover { background: #e6ebff; }
.modal-ico {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,124,255,0.2), rgba(139,92,255,0.2));
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.modal-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-card .price {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 12px;
}
.modal-card #smDetalle {
  color: var(--muted);
  white-space: pre-line;
  margin-bottom: 20px;
  line-height: 1.7;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.modal-gallery img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.modal-gallery img:hover { transform: scale(1.02); }

/* ---------- APPS ---------- */
.app-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app-card.clickable { cursor: pointer; }
.app-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #131a33, #1a2344); }
.app-media img, .app-media video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.app-body .card-more { margin-top: 4px; }
.app-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.app-body h3 { font-size: 1.25rem; }
.app-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }

/* ---------- GALERÍA ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.9rem; font-weight: 600;
}

/* ---------- SOBRE MÍ ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; }
.about-media { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: #05070f; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { white-space: pre-line; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 10px 0 16px; }
.about-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }

/* ---------- CONTACTO ---------- */
.contact { display: block; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.contact-card:hover { border-color: rgba(25,227,177,0.4); transform: translateX(3px); }
.contact-ico { font-size: 1.5rem; }
.contact-card strong { display: block; font-family: var(--font-head); }
.contact-card em { color: var(--muted); font-style: normal; font-size: 0.95rem; }
.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 20px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer-inner p { color: var(--muted); }
.social { display: flex; gap: 14px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.social a:hover { transform: translateY(-3px); background: var(--surface-2); }
.copyright { font-size: 0.88rem; }

/* Redes sociales dentro de la tarjeta de contacto */
.contact-card-social { align-items: flex-start; }
.contact-card-social .social { margin-top: 10px; }
.contact-card-social .social a { width: 38px; height: 38px; }

/* Redes sociales en el pie de página */
.footer-social { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-social-label { font-family: var(--font-head); font-weight: 600; }

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  z-index: 40;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 8, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}

/* ---------- ANIMACIÓN DE APARICIÓN ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 360px; }
  .contact { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}

@media (max-width: 980px) {
  .hero-stats { gap: 18px; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.15rem; }
  .brand-logo { width: 42px; height: 42px; }
}

@media (max-width: 460px) {
  .gallery { columns: 1; }
}
