@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Orbitron:wght@600;700;800&display=swap');

:root {
  /* backgrounds */
  --bg: #09090b;
  --bg-card: #18181b;
  --bg-elevated: #27272a;
  --bg-hover: #2a2a2e;
  /* borders */
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);
  /* text */
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  /* accents */
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59,130,246,0.18);
  --accent-2: #2563eb;
  /* colors */
  --gold: #f59e0b;
  --green: #22c55e;
  --purple: #a855f7;
  --cyan: #06b6d4;
  --orange: #f97316;
  --red: #ef4444;
  /* legacy aliases for shared components */
  --black: #09090b;
  --dark: #09090b;
  --dark-2: #18181b;
  --dark-3: #27272a;
  --gray-1: rgba(255,255,255,0.07);
  --gray-2: #3f3f46;
  --gray-3: #a1a1aa;
  --gray-4: #71717a;
  --white: #fafafa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.logo-image { height: 120px; width: auto; }
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  background: linear-gradient(to right, var(--accent), #7ab8ff);
  z-index: 200;
  transition: width 0.1s linear;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-up 0.65s ease both;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.25s; }
.reveal-delay-3 { animation-delay: 0.35s; }
.reveal-delay-4 { animation-delay: 0.45s; }
.reveal-delay-5 { animation-delay: 0.55s; }
.reveal-delay-6 { animation-delay: 0.65s; }

@keyframes wa-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
nav {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 4%;
  height: 108px;
  width: 100%;
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

nav.scrolled {
  height: 92px;
  background: rgba(9, 9, 11, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

nav.hidden {
  opacity: 0;
  pointer-events: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img, .logo svg { flex-shrink: 0; height: 96px; width: auto; }

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.005em;
  white-space: nowrap;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.logo-name-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mobile-only CTA block inside dropdown (hidden on desktop) */
.nav-mobile-cta { display: none; }

.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  transition: color 0.18s;
  white-space: nowrap;
}

.nav-links > li:not(.nav-mobile-cta) > a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-2);
  border-radius: 999px;
}
.nav-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.45); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 42px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.12);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(4px);
}

nav.mobile-open .nav-toggle-bars {
  background: transparent;
}

nav.mobile-open .nav-toggle-bars::before {
  transform: translateY(0) rotate(45deg);
}

nav.mobile-open .nav-toggle-bars::after {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 1024px) {
  nav {
    padding-left: 4%;
    padding-right: 4%;
  }

  .nav-links {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 860px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: calc(4% + 46px);
    height: 84px;
    overflow: visible;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(72px + 1.5rem) 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    flex-direction: column;
    justify-content: flex-start;
    background:
      radial-gradient(135% 55% at 50% -8%, rgba(37,99,235,0.30), transparent 60%),
      radial-gradient(90% 45% at 105% 102%, rgba(8,145,178,0.16), transparent 60%),
      linear-gradient(180deg, #0a0f1b 0%, #070a12 55%, #05060a 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1), visibility 0.3s ease;
    z-index: 120;
  }

  /* Corporate header label */
  .nav-links::before {
    content: "Menú";
    display: block;
    width: min(560px, 100%);
    margin: 0 auto 0.55rem;
    padding: 0 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted-2);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links li {
    list-style: none;
    width: min(560px, 100%);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.7, 0.2, 1);
  }

  nav.mobile-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav.mobile-open .nav-links li { opacity: 1; transform: none; }
  nav.mobile-open .nav-links li:nth-child(1) { transition-delay: 0.07s; }
  nav.mobile-open .nav-links li:nth-child(2) { transition-delay: 0.13s; }
  nav.mobile-open .nav-links li:nth-child(3) { transition-delay: 0.19s; }
  nav.mobile-open .nav-links li:nth-child(4) { transition-delay: 0.26s; }

  .nav-links a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #eaf1ff;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  }

  /* Icon badge per item */
  .nav-links a::before {
    content: "";
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid rgba(96,165,250,0.2);
    background: rgba(59,130,246,0.12) center / 21px 21px no-repeat;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  .nav-links a[href="index.html"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.6 12 4l9 6.6'/%3E%3Cpath d='M5.5 9.6V20h13V9.6'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
  }
  .nav-links a[href="bombillos.html"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.8' r='3.7'/%3E%3Cpath d='M10.2 13.2 19.5 3.9'/%3E%3Cpath d='M15 8.4l2.6 2.6'/%3E%3Cpath d='M17.6 5.8l2.4 2.4'/%3E%3C/svg%3E");
  }
  .nav-links a[href="cerraduras-digitales.html"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10' width='15' height='10.5' rx='2.2'/%3E%3Cpath d='M7.8 10V7.2a4.2 4.2 0 0 1 8.4 0V10'/%3E%3Ccircle cx='12' cy='15.2' r='1.4'/%3E%3C/svg%3E");
  }

  /* Chevron */
  .nav-links a::after {
    content: "";
    position: static;
    inset: auto;
    width: 18px;
    height: 18px;
    margin-left: auto;
    align-self: center;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    border-radius: 0;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(59,130,246,0.18), rgba(59,130,246,0.06));
    border-color: rgba(96,165,250,0.45);
  }
  .nav-links a:hover::after,
  .nav-links a:active::after { opacity: 1; transform: translateX(2px); }

  .nav-links a[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59,130,246,0.28), rgba(37,99,235,0.12));
    border-color: rgba(96,165,250,0.55);
    box-shadow: 0 10px 30px rgba(37,99,235,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
  }
  .nav-links a[aria-current="page"]::before {
    background-color: rgba(59,130,246,0.3);
    border-color: rgba(96,165,250,0.5);
  }
  .nav-links a[aria-current="page"]::after { opacity: 1; }

  /* Mobile dropdown CTA block */
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: min(560px, 100%);
    margin: 1.4rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mobile-note {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cbd6e6;
    padding: 0.42rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.35rem;
  }

  .nav-links .nav-mobile-call,
  .nav-links .nav-mobile-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.05rem 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
  }
  .nav-links .nav-mobile-call {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
  }
  .nav-links .nav-mobile-wa {
    color: #fff;
    background: linear-gradient(135deg, #25d366, #1aa851);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.32);
  }
  .nav-links .nav-mobile-call:hover,
  .nav-links .nav-mobile-wa:hover { filter: brightness(1.06); }
  .nav-links .nav-mobile-call::before,
  .nav-links .nav-mobile-wa::before,
  .nav-links .nav-mobile-call::after,
  .nav-links .nav-mobile-wa::after { display: none; }
  .nav-links .nav-mobile-call:active,
  .nav-links .nav-mobile-wa:active { transform: scale(0.98); }

  /* Corporate signature */
  .nav-mobile-cta::after {
    content: "Cerrajería Digital y Más · Valencia";
    display: block;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--muted-2);
    margin-top: 0.7rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 130;
  }

  nav.mobile-open .nav-toggle {
    background: rgba(77, 147, 240, 0.16);
    border-color: rgba(77, 147, 240, 0.5);
  }

  .logo {
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .logo-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    font-size: 1.62rem;
    letter-spacing: 0.01em;
    line-height: 1.08;
  }
  .logo-name-sub {
    font-size: 0.82rem;
    letter-spacing: 0.24em;
  }

  .logo img,
  .logo svg {
    height: 60px;
  }

  .nav-status {
    display: none;
  }
  .nav-right {
    margin-left: auto;
    margin-right: 0;
  }
  .nav-cta span {
    display: none;
  }
  .nav-cta {
    padding: 0.55rem 0.7rem;
  }
}

@media (max-width: 680px) {
  .logo-name {
    font-size: 1.4rem;
  }
  .logo-name-sub {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 480px) {
  nav {
    height: 78px;
    padding-left: 3.5%;
    padding-right: 3.5%;
    padding-right: calc(3.5% + 44px);
  }

  .nav-links {
    padding-top: calc(78px + 1.25rem);
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .logo img,
  .logo svg {
    display: block;
    height: 56px;
  }

  .logo {
    gap: 8px;
    max-width: 100%;
  }

  .nav-toggle {
    right: 3.5%;
  }

  .logo-name {
    font-size: 1.42rem;
    line-height: 1.05;
  }
  .logo-name-sub {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }
}

/* Pantallas muy pequeñas: evitar que el logo grande desborde */
@media (max-width: 360px) {
  .logo img,
  .logo svg {
    height: 48px;
  }
  .logo {
    gap: 6px;
  }
  .logo-name {
    font-size: 1.18rem;
  }
  .logo-name-sub {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
}
footer {
  position: relative;
  background: linear-gradient(180deg, #0f141b, #0c1015 62%);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2.3rem 8%;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 1.1rem 2rem;
  font-size: 0.8rem;
  color: var(--gray-4);
}

footer::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,164,111,0.42), transparent);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  min-width: 0;
}

.footer-brand strong {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-brand span {
  color: var(--gray-3);
  font-size: 0.76rem;
}

footer a {
  color: var(--gray-4);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-phone {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.footer-phone:hover {
  border-color: rgba(201,164,111,0.48);
  background: rgba(255,255,255,0.07);
}

@media (max-width: 860px) {
  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-phone {
    justify-self: start;
  }
}

@media (max-width: 580px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.95rem;
    padding-left: 6%;
    padding-right: 6%;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
  }

  .footer-phone {
    justify-self: center;
  }
}
.page-hero {
  padding: 7rem 8% 4rem;
  border-bottom: 1px solid var(--gray-1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.page-hero-text { max-width: 560px; }
.section-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; margin-bottom: 0.8rem; }
.page-hero p { font-size: 1rem; font-weight: 300; color: var(--gray-3); line-height: 1.7; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; color: var(--accent); text-decoration: none; transition: opacity 0.15s; white-space: nowrap; margin-top: 0.3rem; }
.back-link:hover { opacity: 0.75; }

@media (max-width: 860px) { .page-hero { flex-direction: column; } }
@media (max-width: 580px) {
  .page-hero {
    padding-top: 5.2rem;
    padding-bottom: 2.8rem;
    padding-left: 6%;
    padding-right: 6%;
  }

  .page-hero p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 6rem 6% 7rem; }
.legal-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.legal-wrap h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; margin-bottom: 0.5rem; }
.legal-date { font-size: 0.82rem; color: var(--gray-3); margin-bottom: 3rem; }
.legal-wrap h2 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 2.5rem 0 0.8rem; letter-spacing: -0.01em; }
.legal-wrap p { font-size: 0.92rem; font-weight: 300; color: var(--gray-3); line-height: 1.75; margin-bottom: 0.8rem; }
.legal-wrap ul { margin: 0.5rem 0 0.8rem 1.2rem; font-size: 0.92rem; font-weight: 300; color: var(--gray-3); line-height: 1.75; }
.legal-wrap ul li { margin-bottom: 0.3rem; }
.legal-wrap a { color: var(--accent); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.info-box { background: var(--dark-3); border: 1px solid var(--gray-1); border-left: 3px solid var(--accent); border-radius: 8px; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
.info-box p { margin: 0; }
.divider { border: none; border-top: 1px solid var(--gray-1); margin: 2rem 0; }

@media (max-width: 580px) {
	.legal-wrap {
		padding-top: 5rem;
		padding-bottom: 5rem;
		padding-left: 6%;
		padding-right: 6%;
	}

	.legal-date {
		margin-bottom: 2.1rem;
	}

	.legal-wrap h2 {
		margin-top: 1.9rem;
		margin-bottom: 0.65rem;
	}

	.legal-wrap p,
	.legal-wrap ul {
		font-size: 0.88rem;
		line-height: 1.65;
	}

	.info-box {
		padding: 0.9rem 1rem;
	}
}
.carousel { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.carousel .carousel-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s ease; object-fit: contain; padding: 1.5rem; box-sizing: border-box; }
.carousel .carousel-img.active { opacity: 1; }
.carousel .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.2s; line-height: 1; }
.carousel .carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel .carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel .carousel-dot { width: 7px; height: 7px; background: rgba(0,0,0,0.25); border-radius: 50%; cursor: pointer; transition: background 0.2s; }
.carousel .carousel-dot.active { background: rgba(0,0,0,0.7); }

.carousel-c { position: relative; overflow: hidden; background: #fff; }
.carousel-c .carousel-img { display: none; width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 1.5rem; background: #fff; filter: none; }
.carousel-c .carousel-img.active { display: block; }
.carousel-c .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.35); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; z-index: 2; }
.carousel-c .carousel-btn.prev { left: 10px; }
.carousel-c .carousel-btn.next { right: 10px; }
.carousel-c .carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.carousel-c .carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.25); cursor: pointer; border: none; }
.carousel-c .carousel-dot.active { background: #4d93f0; }
.carousel-image-contained { object-fit: contain; background: #fff; padding: 1.5rem; }
.carousel-image-unfiltered { filter: none; }

@media (max-width: 580px) {
	.carousel .carousel-btn,
	.carousel-c .carousel-btn {
		width: 30px;
		height: 30px;
		font-size: 0.95rem;
	}

	.carousel-prev,
	.carousel-c .carousel-btn.prev {
		left: 6px;
	}

	.carousel-next,
	.carousel-c .carousel-btn.next {
		right: 6px;
	}

	.carousel-c .carousel-img,
	.carousel-image-contained {
		padding: 0.95rem;
	}
}
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; text-decoration: none; padding: 0.75rem 1.2rem 0.75rem 1rem; border-radius: 980px; font-size: 0.88rem; font-weight: 500; box-shadow: 0 4px 20px rgba(37,211,102,0.35); transition: transform 0.2s, box-shadow 0.2s; animation: wa-in 0.6s ease 0.8s both; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
@media (max-width: 580px) { .wa-float span { display: none; } .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 0.85rem; border-radius: 50%; } }
body { background: var(--dark); }
.locks-section { padding: 5rem 8% 2rem; }
.locks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--gray-1); border-radius: 18px; overflow: hidden; align-items: stretch; }
.lock-card { background: var(--dark-3); display: flex; flex-direction: column; overflow: hidden; transition: background 0.2s; height: 100%; }
.lock-card:hover { background: #2a2a32; }
.lock-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.85) saturate(0.8); transition: filter 0.3s; }
.lock-img.contain { object-fit: contain; background: #fff; padding: 1.5rem; width: 100%; aspect-ratio: 4/3; }
.lock-card:hover .lock-img { filter: brightness(0.95) saturate(1); }
.lock-info { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.lock-type { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.lock-info h2 { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.lock-info p { font-size: 0.88rem; font-weight: 300; color: var(--gray-3); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.lock-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; min-height: 4.9rem; align-content: flex-start; }
.lock-tag { font-size: 0.72rem; background: var(--gray-1); color: var(--gray-3); padding: 4px 11px; border-radius: 20px; font-weight: 400; }
.lock-cta { display: inline-flex; align-items: center; gap: 7px; background: #25d366; color: #fff; text-decoration: none; padding: 0.7rem 1.3rem; border-radius: 980px; font-size: 0.85rem; font-weight: 500; transition: opacity 0.15s; align-self: flex-start; margin-top: auto; }
.lock-cta:hover { opacity: 0.88; }
.locks-note { margin-top: 2.5rem; padding: 1.2rem 1.5rem; background: transparent; border: none; border-left: 3px solid var(--accent); font-size: 0.85rem; font-weight: 300; color: var(--gray-3); line-height: 1.6; }

@media (max-width: 1200px) {
	.locks-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lock-info {
		padding: 1.6rem;
	}
}

@media (max-width: 860px) { .locks-grid { grid-template-columns: 1fr; } }

@media (max-width: 580px) {
	.locks-section {
		padding-top: 4.2rem;
		padding-left: 6%;
		padding-right: 6%;
		padding-bottom: 1.3rem;
	}

	.lock-info {
		padding: 1.25rem;
	}

	.lock-info h2 {
		font-size: 1.03rem;
		line-height: 1.25;
	}

	.lock-info p {
		font-size: 0.85rem;
		line-height: 1.55;
		margin-bottom: 1.15rem;
	}

	.lock-img.contain {
		padding: 1rem;
	}

	.lock-features {
		min-height: 0;
		margin-bottom: 1.05rem;
	}

	.lock-cta {
		width: 100%;
		justify-content: center;
	}

	.locks-note {
		margin-top: 1.4rem;
		padding: 1rem 1.05rem;
	}
}


/* ========================================
   ANIMACIONES GLOBALES
   ======================================== */
@keyframes wa-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--accent), var(--cyan));
  z-index: 200;
  transition: width 0.1s linear;
}

.reveal {
  animation: reveal-up 0.65s ease both;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.25s; }
.reveal-delay-3 { animation-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(8,145,178,0.1), transparent 60%),
    #07070a;
}

/* Locksmith key pattern background */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%2360a5fa' stroke-width='1.2' stroke-opacity='0.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(30 26) rotate(35 12 30)'%3E%3Ccircle cx='12' cy='10' r='8'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M12 18 V52 M12 40 h7 M12 47 h5'/%3E%3C/g%3E%3Cg transform='translate(132 110) rotate(-20 12 30)'%3E%3Ccircle cx='12' cy='10' r='8'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M12 18 V52 M12 40 h7 M12 47 h5'/%3E%3C/g%3E%3Cg transform='translate(140 28)'%3E%3Crect x='0' y='14' width='30' height='24' rx='5'/%3E%3Cpath d='M6 14 v-6 a9 9 0 0 1 18 0 v6'/%3E%3Ccircle cx='15' cy='25' r='3'/%3E%3C/g%3E%3Cg transform='translate(26 130)'%3E%3Crect x='0' y='14' width='30' height='24' rx='5'/%3E%3Cpath d='M6 14 v-6 a9 9 0 0 1 18 0 v6'/%3E%3Ccircle cx='15' cy='25' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 280px 280px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, black 5%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, black 5%, transparent 80%);
  animation: pattern-drift 70s linear infinite;
}

@keyframes pattern-drift {
  from { background-position: 0 0; }
  to   { background-position: 280px 280px; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 620px; height: 620px;
  top: -20%; right: -8%;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  animation: float-orb 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 480px; height: 480px;
  bottom: -15%; left: -10%;
  background: radial-gradient(circle, rgba(8,145,178,0.2) 0%, transparent 70%);
  animation: float-orb 17s ease-in-out infinite reverse;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 100%, rgba(7,7,10,0.7), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7rem 5% 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  text-align: left;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(96,165,250,0.3);
  background: rgba(59,130,246,0.1);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.hero-accent {
  position: relative;
  background: linear-gradient(120deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 2.4rem;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-wa:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* Hero lock illustration */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.hero-lock-glow {
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.35) 0%, rgba(8,145,178,0.12) 40%, transparent 70%);
  filter: blur(10px);
  animation: lock-pulse 5s ease-in-out infinite;
}
@keyframes lock-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero-lock {
  position: relative;
  width: clamp(280px, 32vw, 400px);
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(2,6,23,0.6));
  animation: lock-float 6s ease-in-out infinite;
}
@keyframes lock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-ring { transform-origin: 180px 270px; }
.hero-ring-1 { animation: spin 26s linear infinite; }
.hero-ring-2 { animation: spin 18s linear infinite reverse; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(24,24,27,0.75);
  border: 1px solid var(--border-2);
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.hero-chip svg { color: var(--accent-light); }
.hero-chip-1 {
  top: 14%; left: -4%;
  animation: chip-float 5s ease-in-out infinite;
}
.hero-chip-2 {
  bottom: 16%; right: -2%;
  animation: chip-float 5s ease-in-out infinite 2.5s;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-2);
  animation: scroll-hint 2s ease-in-out infinite;
  z-index: 2;
}

/* ========================================
   SERVICIOS (BENTO GRID)
   ======================================== */
.services {
  padding: 7rem 6% 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.8rem;
}

.section-h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 20% 20%, rgba(59,130,246,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover {
  border-color: var(--border-2);
  background: var(--bg-hover);
  transform: translateY(-3px);
}
.svc-card:hover::before { opacity: 1; }

/* Featured first card (same size, distinct style) */
.svc-large {
  background: linear-gradient(140deg, #0f1929 0%, #0d1520 100%);
  border-color: rgba(59,130,246,0.2);
}
.svc-large::before {
  background: radial-gradient(ellipse 70% 50% at 30% 30%, rgba(59,130,246,0.15), transparent);
  opacity: 1;
}
.svc-large:hover {
  border-color: rgba(59,130,246,0.4);
}
.svc-large h3 {
  font-size: 1.18rem;
  font-weight: 700;
}
.svc-large p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Degradado azul en las 3 tarjetas de la fila superior */
.services-bento .svc-card:nth-child(-n+3) {
  background: linear-gradient(140deg, #0f1929 0%, #0d1520 100%);
  border-color: rgba(59,130,246,0.2);
}
.services-bento .svc-card:nth-child(-n+3)::before {
  background: radial-gradient(ellipse 70% 50% at 30% 30%, rgba(59,130,246,0.15), transparent);
  opacity: 1;
}
.services-bento .svc-card:nth-child(-n+3):hover {
  background: linear-gradient(140deg, #0f1929 0%, #0d1520 100%);
  border-color: rgba(59,130,246,0.4);
}

.svc-card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}
.svc-icon-blue   { background: rgba(59,130,246,0.15); color: #60a5fa; }
.svc-icon-purple { background: rgba(168,85,247,0.15); color: #c084fc; }
.svc-icon-cyan   { background: rgba(6,182,212,0.15);  color: #22d3ee; }
.svc-icon-green  { background: rgba(34,197,94,0.15);  color: #4ade80; }
.svc-icon-orange { background: rgba(249,115,22,0.15); color: #fb923c; }
.svc-icon-red    { background: rgba(239,68,68,0.15);  color: #f87171; }

.svc-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.2rem;
}
.svc-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.svc-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
  flex: 1;
}
.svc-card-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}
.svc-card-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.svc-card-cta a:hover { background: var(--accent-2); transform: translateY(-1px); }

.svc-link-arrow {
  font-size: 0.82rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.8rem;
  transition: gap 0.15s;
}
.svc-card:hover .svc-link-arrow { color: var(--accent); }

/* ========================================
   STATS
   ======================================== */
.stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.stat-item {
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

/* ========================================
   PROCESO
   ======================================== */
.process {
  padding: 7rem 6% 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-connector {
  padding-top: 5rem;
  color: var(--border-2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 60px;
}
.process-connector::before {
  content: '— — —';
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.process-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.process-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--accent-light);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ========================================
   MARCAS (MARQUEE)
   ======================================== */
.brands {
  padding: 4rem 0 5rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.brands-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2rem;
}

.brands-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.brand-item {
  height: 80px;
  min-width: 160px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  flex-shrink: 0;
}
.brand-item img {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews {
  padding: 7rem 6% 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.rating-stars { color: #fbbf24; letter-spacing: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-light);
  flex-shrink: 0;
}
.review-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.review-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ========================================
   EMERGENCY CTA
   ======================================== */
.emergency-cta {
  position: relative;
  overflow: hidden;
  background: #060a14;
  border-top: 1px solid rgba(59,130,246,0.15);
  padding: 7rem 6%;
  text-align: center;
}

.emergency-cta-glow {
  position: absolute;
  width: 700px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.emergency-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

/* Two-column layout (text + image) */
.emergency-cta-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.2rem;
  text-align: left;
}
.emergency-cta-grid .emergency-cta-content {
  max-width: none;
  margin: 0;
}
.emergency-cta-grid .emergency-actions {
  justify-content: flex-start;
}

.emergency-visual {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(59,130,246,0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.emergency-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(59,130,246,0.12), transparent 55%);
  pointer-events: none;
}
.emergency-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.emergency-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.emergency-accent {
  background: linear-gradient(120deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.emergency-cta p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.emergency-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}
.btn-emergency:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(59,130,246,0.35);
}

.btn-emergency-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(37,211,102,0.4);
  color: #4ade80;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.btn-emergency-wa:hover {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.6);
  transform: translateY(-2px);
}

/* ========================================
   WA FLOAT
   ======================================== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  border-radius: 980px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-in 0.6s ease 0.8s both;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ========================================
   LEGACY / SHARED COMPONENT OVERRIDES
   ======================================== */
.logo-image { height: 48px; width: auto; }

/* Locks pages */
.locks-section { padding: 5rem 8% 2rem; }
.locks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--border); border-radius: 18px; overflow: hidden; align-items: stretch; }
.lock-card { background: var(--bg-card); display: flex; flex-direction: column; overflow: hidden; transition: background 0.2s; height: 100%; }
.lock-card:hover { background: var(--bg-hover); }
.lock-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.85) saturate(0.8); transition: filter 0.3s; }
.lock-img.contain { object-fit: contain; background: #fff; padding: 1.5rem; width: 100%; aspect-ratio: 4/3; }
.lock-card:hover .lock-img { filter: brightness(0.95) saturate(1); }
.lock-info { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.lock-type { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.lock-info h2 { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.lock-info p { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.lock-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; min-height: 4.9rem; align-content: flex-start; }
.lock-tag { font-size: 0.72rem; background: var(--border); color: var(--muted); padding: 4px 11px; border-radius: 20px; font-weight: 400; }
.lock-cta { display: inline-flex; align-items: center; gap: 7px; background: #25d366; color: #fff; text-decoration: none; padding: 0.7rem 1.3rem; border-radius: 980px; font-size: 0.85rem; font-weight: 500; transition: opacity 0.15s; align-self: flex-start; margin-top: auto; }
.lock-cta:hover { opacity: 0.88; }
.locks-note { margin-top: 2.5rem; padding: 1.2rem 1.5rem; background: transparent; border: none; border-left: 3px solid var(--accent); font-size: 0.85rem; font-weight: 300; color: var(--muted); line-height: 1.6; }

/* Section eyebrow for subpages */
.section-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-large {
    grid-column: span 1;
  }
  .hero-inner { gap: 1rem; }
  .hero-chip-1 { left: 2%; }
  .hero-chip-2 { right: 2%; }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.4rem;
    padding-top: 4.6rem;
  }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: 232px; order: -1; }
  .hero-lock { width: clamp(220px, 50vw, 300px); }
  .hero-lock-glow { width: 320px; height: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-top: 1px solid var(--border); }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .process-connector { display: none; }
  .emergency-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    max-width: 560px;
    text-align: center;
  }
  .emergency-cta-grid .emergency-cta-content { text-align: center; }
  .emergency-cta-grid .emergency-actions { justify-content: center; }
  .emergency-visual { order: -1; }
  .locks-grid { grid-template-columns: 1fr; }
  .locks-section { padding-left: 6%; padding-right: 6%; }
}

@media (max-width: 680px) {
  .hero-inner { padding-left: 5%; padding-right: 5%; padding-bottom: 2.2rem; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .services { padding: 3.4rem 4% 2.6rem; }
  .process { padding: 3.4rem 4% 2.6rem; }
  .reviews { padding: 3.4rem 4% 2.6rem; }
  .emergency-cta { padding: 3.6rem 4%; }
  .brands { padding: 2.6rem 0 3rem; }
  .services-header { margin-bottom: 2.1rem; }
  .process-header { margin-bottom: 2.3rem; }
  .reviews-header { margin-bottom: 2.1rem; }
  .services-bento { grid-template-columns: 1fr; }
  .svc-large { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-wa { justify-content: center; }
  .hero-trust { gap: 0.8rem 1.2rem; }
  .hero-chip { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 2rem 1rem; }
  .wa-float span { display: none; }
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 0.85rem; border-radius: 50%; }
  .emergency-actions { flex-direction: column; align-items: stretch; }
  .emergency-actions .btn-emergency,
  .emergency-actions .btn-emergency-wa { justify-content: center; }
  .locks-grid { grid-template-columns: 1fr; }
  .lock-info { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.7rem; }
  .brands-track { animation-duration: 18s; }
  .lock-info h2 { font-size: 1.03rem; }
}

/* Hero entry animations (no JS needed) */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim-1 { animation: hero-fade-up 0.7s ease 0.1s both; }
.hero-anim-2 { animation: hero-fade-up 0.7s ease 0.25s both; }
.hero-anim-3 { animation: hero-fade-up 0.7s ease 0.4s both; }
.hero-anim-4 { animation: hero-fade-up 0.7s ease 0.55s both; }
.hero-anim-5 { animation: hero-fade-up 0.7s ease 0.7s both; }
