/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette — Archetype 05 adapted: dark tech with cyan accent */
  --bg:          #090909;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --ink:         #f5f5f5;
  --ink-soft:    #a8a8a8;
  --ink-mute:    #5a5a5a;
  --accent:      #00c8ff;
  --accent-2:    #0066ff;
  --accent-3:    #00ff88;
  --gradient-1:  #0066ff;
  --gradient-2:  #00c8ff;
  --gradient-3:  #0033aa;
  --gradient-4:  #00ff88;
  --line:        rgba(245,245,245,0.08);

  /* Typography */
  --sans:    'Space Grotesk', 'Inter', sans-serif;
  --body:    'Inter', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 10vw, 9rem);

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

  /* Nav */
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.025em; font-family: var(--sans); }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

/* Reveal base */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   4. Typography
   ============================================================= */
.section-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================
   5. Components — Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(0,200,255,0);
}
.btn-primary:hover {
  background: #33d4ff;
  box-shadow: 0 8px 32px rgba(0,200,255,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(245,245,245,0.3);
  background: rgba(245,245,245,0.05);
}

.btn-nav {
  display: none;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn-nav:hover {
  background: var(--accent);
  color: var(--bg);
}

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

/* Tags */
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  background: var(--bg-3);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.tag--sm {
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9,9,9,0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 8px rgba(0,200,255,0.25));
}
.nav-logo-text {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nav-logo-sub {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: auto;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-socials {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto; /* empuja todo el bloque derecho al extremo */
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-social-link:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.07);
}
.btn-nav { margin-left: 0.5rem; flex-shrink: 0; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-hamburger.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9,9,9,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-link {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s;
  letter-spacing: -0.02em;
}
.mobile-link:hover { color: var(--ink); }
.mobile-link--cta {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 100px;
}
.mobile-link--cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* =============================================================
   6a. Sections — Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Hero canvas geometric animation */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

/* Mouse-reactive gradient */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle 700px at var(--mx, 30%) var(--my, 60%),
      rgba(0,102,255,0.18) 0%, transparent 55%),
    radial-gradient(circle 900px at calc(var(--mx, 30%) + 15%) calc(var(--my, 60%) - 10%),
      rgba(0,200,255,0.12) 0%, transparent 50%),
    radial-gradient(circle 500px at 80% 20%,
      rgba(0,255,136,0.07) 0%, transparent 50%);
  transition: background 0.05s linear;
}

/* Ambient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob--1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: rgba(0,102,255,0.12);
  top: -10%;
  right: -5%;
  animation: blobDrift1 18s ease-in-out infinite;
}
.hero-blob--2 {
  width: clamp(200px, 30vw, 450px);
  height: clamp(200px, 30vw, 450px);
  background: rgba(0,200,255,0.09);
  bottom: 5%;
  left: -5%;
  animation: blobDrift2 22s ease-in-out infinite;
}
.hero-blob--3 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: rgba(0,255,136,0.07);
  top: 40%;
  right: 20%;
  animation: blobDrift3 15s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grain */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: 2rem;
}

.hero-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-content--centered .hero-title {
  max-width: none;
}
.hero-content--centered .hero-sub {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-content--centered .hero-actions {
  justify-content: center;
}
.hero-content--centered .hero-kicker {
  justify-content: center;
}

/* Hero logo mark — logo unificado (prisma + texto dentro del PNG) */
.hero-logo-mark {
  margin-bottom: 1.8rem;
}
.hero-logo-mark img {
  width: clamp(240px, 80vw, 960px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 48px rgba(0,200,255,0.30));
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.kicker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent); }
  50% { box-shadow: 0 0 18px var(--accent), 0 0 32px rgba(0,200,255,0.4); }
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.4;
  animation: scrollFade 2s ease-in-out 2s infinite;
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink-mute));
}
.hero-scroll-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  writing-mode: vertical-lr;
}

/* =============================================================
   6b. Stats
   ============================================================= */
.stats {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem 4rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.stat-value {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-small {
  font-size: 0.55em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stat-sep {
  display: none;
  width: 1px;
  height: 50px;
  background: var(--line);
}

/* =============================================================
   6c. About
   ============================================================= */
.about {
  padding: var(--section-y) var(--gutter);
}
.about-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text { max-width: 60ch; }
.about-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-body strong { color: var(--ink); font-weight: 600; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* About visual */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-card {
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,200,255,0.25);
}
.about-card-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.about-card-label {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.about-card-sub {
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.about-card--accent {
  background: linear-gradient(135deg, rgba(0,102,255,0.08) 0%, rgba(0,200,255,0.05) 100%);
  border-color: rgba(0,200,255,0.15);
}
.about-card--float {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  padding: 1.2rem 1.6rem;
  background: var(--accent);
  border-color: transparent;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,200,255,0.3);
}
.about-card--float:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.about-float-num {
  display: block;
  font-family: var(--sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg);
  line-height: 1;
  letter-spacing: -0.04em;
}
.about-float-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(9,9,9,0.7);
}

/* =============================================================
   6d. Services
   ============================================================= */
.services {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
}
.services-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
}
.services-list {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.service-row {
  border-top: 1px solid var(--line);
  transition: background 0.3s;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: rgba(255,255,255,0.02); }

.service-row-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
}
.service-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  min-width: 2ch;
}
.service-title {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.2s;
}
.service-row:hover .service-title { color: var(--accent); }

.service-tags {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.service-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.35s var(--ease-out);
}
.service-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.service-toggle.is-open {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: rotate(45deg);
}
.service-toggle-icon {
  position: relative;
  width: 12px;
  height: 12px;
}
.service-toggle-icon::before,
.service-toggle-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.service-toggle-icon::before {
  width: 12px; height: 2px;
  top: 5px; left: 0;
}
.service-toggle-icon::after {
  width: 2px; height: 12px;
  top: 0; left: 5px;
}

.service-row-body {
  padding: 0 0 2rem 0;
  max-width: 65ch;
}
.service-row-body p {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.8;
}
.service-row-body[hidden] { display: none; }

/* =============================================================
   6e-gallery. Gallery mosaic
   ============================================================= */
.gallery {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
}
.gallery-header {
  max-width: 1360px;
  margin: 0 auto 3rem;
}

.gallery-mosaic {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-3);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out);
  filter: saturate(1.1) brightness(0.9);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.25) brightness(1.0);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9,9,9,0.5) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item--tall {
  grid-row: span 2;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}
.gallery-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ink);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.gallery-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* =============================================================
   6e. Marquee
   ============================================================= */
.marquee-section {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  padding: 0 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.marquee-dot {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =============================================================
   6f. Testimonials
   ============================================================= */
.testimonials {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
}
.testimonials-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
}
.testi-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testi-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,200,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.testi-card blockquote {
  margin-bottom: 1.5rem;
}
.testi-card blockquote p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.8;
  position: relative;
  padding-left: 1.5rem;
}
.testi-card blockquote p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.15em;
  font-family: var(--sans);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.testi-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-card footer strong {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.testi-card footer span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

/* =============================================================
   6g. CTA Section
   ============================================================= */
.cta-section {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
}
.cta-inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  text-align: center;
}
.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(0,102,255,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(0,200,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(0,255,136,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.cta-hours {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  text-align: center;
}
.cta-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 48ch;
  margin: 0 auto 1rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.cta-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.cta-address span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.cta-address svg { flex-shrink: 0; color: var(--accent); }

/* =============================================================
   6h. Footer
   ============================================================= */
.footer {
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand img {
  width: 32px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0,200,255,0.2));
}
.footer-brand span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
  max-width: 40ch;
}
.footer-social {
  display: flex;
  gap: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,200,255,0.06);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* =============================================================
   7. Custom cursor
   ============================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  top: -4px; left: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate3d(0,0,0);
  box-shadow: 0 0 8px var(--accent);
}
.cursor-ring {
  position: absolute;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,200,255,0.5);
  transform: translate3d(0,0,0);
  transition: transform 0.12s linear, width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
}
.cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: var(--accent);
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stat-sep { display: block; }
  .about-card--float { display: flex; flex-direction: column; }
}

@media (min-width: 720px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .service-tags { display: flex; }
  .stat-sep { display: block; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nav-socials { display: flex; }
  .btn-nav { display: inline-flex; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
  }
  .about-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .about-card { flex: 1 1 45%; }
  .about-card--float {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
  }
}

@media (min-width: 1280px) {
  .stat-sep { display: block; }
  .gallery-mosaic { grid-auto-rows: 300px; }
}

/* Gallery responsive */
@media (max-width: 719px) {
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
}
@media (max-width: 479px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item--wide { grid-column: span 1; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .kicker-dot { animation: none; }
  .hero-scroll { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================================
   10. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
}
.wa-float:hover {
  background: #1ebe5c;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-float svg { flex-shrink: 0; }
.wa-float-label { white-space: nowrap; }

@media (max-width: 480px) {
  .wa-float { padding: 0.85rem; border-radius: 50%; bottom: 1.25rem; right: 1.25rem; }
  .wa-float-label { display: none; }
}

/* =============================================================
   11. Google Reviews
   ============================================================= */
.greviews {
  padding: var(--section-y) var(--gutter);
  background: var(--bg-2);
}
.greviews-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.greviews-header { text-align: center; }

/* Badge de rating */
.greviews-badge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 2rem;
}
.greviews-badge-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.greviews-score-num {
  font-family: var(--sans);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.greviews-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.greviews-score-label {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.greviews-glogo { flex-shrink: 0; opacity: 0.9; }

/* Grid de tarjetas */
.greviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.greview-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s, transform 0.25s var(--ease-out);
}
.greview-card:hover {
  border-color: rgba(0,200,255,0.25);
  transform: translateY(-4px);
}
.greview-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.greview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.greview-avatar--b { background: #34A853; }
.greview-avatar--c { background: #EA4335; }
.greview-name {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}
.greview-stars { display: flex; gap: 2px; }
.greview-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}
.greview-date {
  font-size: 0.72rem;
  color: var(--ink-mute);
  font-family: var(--mono);
}

/* CTA dejar reseña */
.greviews-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease-out), background 0.2s;
}
.btn-google:hover {
  background: var(--bg);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.greviews-cta-note {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-family: var(--mono);
  text-align: center;
}

.greviews-score-count {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .greviews-grid { grid-template-columns: 1fr; }
  .greviews-badge { flex-direction: column; gap: 1rem; padding: 1.25rem; }
}
