/* =====================================================
   OKULUS — Estilos globales (HTML/CSS/JS estático)
   ===================================================== */

/* ── Fonts ── */

@font-face {
  font-family: 'Modern Age';
  src: url('/fonts/ModernAge.otf') format('opentype'),
       url('/fonts/ModernAge.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Modern Age';
  src: url('/fonts/ModernAge-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --gold:       #bca06b;
  --gold-dark:  #9a8050;
  --gold-light: #d6be8f;
  --dark:       #111111;
  --charcoal:   #1A1A1A;
  --off-white:  #F5F0E8;
  --border:     #e5e0d8;
  --gray-500:   #6b7280;
  --gray-400:   #9ca3af;
  --white:      #ffffff;
  --green-wa:   #25D366;
  --radius:     0.25rem;
  --font-main:  'Inter', system-ui, sans-serif;
  --font-brand: 'Modern Age', 'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-brand);
  letter-spacing: 0.01em;
}

/* ── Main content ── */
main { flex: 1; }

/* ── Container ── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Gold divider ── */
.gold-line { height: 4px; background: var(--gold); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--dark);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.navbar__logo { flex-shrink: 0; }
.navbar__logo img { height: 2rem; width: auto; }
.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.navbar__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: color 0.2s;
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--gold); }
.navbar__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}
.navbar__cta:hover { background: var(--gold-dark); }
.navbar__burger {
  padding: 0.5rem;
  color: var(--white);
}
.navbar__burger i { pointer-events: none; }

/* Mobile menu */
.navbar__mobile {
  display: none;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.navbar__mobile.is-open { display: block; }
.navbar__mobile nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
}
.navbar__mobile a {
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover { color: var(--gold); }
.navbar__mobile .mobile-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.25rem;
  border-bottom: none;
}

@media (min-width: 768px) {
  .navbar__links { display: flex; }
  .navbar__cta  { display: inline-flex; }
  .navbar__burger { display: none; }
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.footer__logo { height: 1.75rem; width: auto; margin-bottom: 1rem; }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 20rem;
}
.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__links li + li { margin-top: 0.625rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer__contact-item i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
a.footer__contact-item:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-block: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a:hover { color: var(--gold); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* =====================================================
   SECTION REVEAL (IntersectionObserver)
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
  transform: translateX(-35px);
}
.reveal-right {
  transform: translateX(35px);
}
.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* =====================================================
   TRIÁNGULOS flotantes
   ===================================================== */
@keyframes tri-float {
  0%, 100% { transform: translateY(0) rotate(var(--tri-rot, 0deg)); }
  50%       { transform: translateY(-18px) rotate(calc(var(--tri-rot, 0deg) + 6deg)); }
}
.tri-float {
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
  animation: tri-float var(--tri-dur, 7s) ease-in-out var(--tri-delay, 0s) infinite;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 1rem 2rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--gold); color: var(--dark); }

.btn-sm { padding: 0.875rem 1.75rem; }

/* =====================================================
   ETIQUETA LABEL GOLD
   ===================================================== */
.label-gold {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =====================================================
   PAGE HEADER (sección oscura de título)
   ===================================================== */
.page-header {
  background: var(--dark);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}
.page-header__tri {
  position: absolute;
  top: 0; right: 0;
  pointer-events: none;
  width: 0; height: 0;
  border-top: 200px solid var(--gold);
  border-left: 320px solid transparent;
}
.page-header .label-gold { margin-bottom: 0.75rem; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); }

/* =====================================================
   HOME — HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(to right, rgba(17,17,17,0.96) 45%, rgba(17,17,17,0.55) 100%),
    url('/img/monitoring-room.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__tri-corner-top {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-top: 280px solid var(--gold);
  border-left: 420px solid transparent;
  pointer-events: none;
}
.hero__tri-corner-bottom {
  position: absolute; bottom: 0; right: 0;
  width: 0; height: 0;
  border-bottom: 160px solid var(--gold);
  border-left: 260px solid transparent;
  pointer-events: none;
  opacity: 0.4;
}
.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-block: 6rem;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  max-width: 42rem;
  margin-bottom: 2rem;
}
.hero h1 span { color: var(--gold); }
.hero__desc {
  color: rgba(255,255,255,0.55);
  font-size: 1.125rem;
  max-width: 28rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

/* =====================================================
   QUIÉNES SOMOS (home + nosotros)
   ===================================================== */
.who-section { background: var(--white); padding-block: 6rem; }
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
/* Imagen izquierda */
.who-img-col {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.who-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
/* Contenido derecho */
.who-content-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.who-mission {
  padding: 2.5rem 0 0;
}
.who-mission h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}
.who-mission p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.who-mission .btn { margin-top: 1.5rem; }
.dark-card {
  background: var(--dark);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.dark-card__tri {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-top: 80px solid var(--gold);
  border-left: 80px solid transparent;
  pointer-events: none;
  opacity: 0.7;
}
.dark-card__logo { height: 1.25rem; width: auto; margin-bottom: 2rem; opacity: 0.6; }
.dark-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.dark-card p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

.who-checklist { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.who-check-item { display: flex; gap: 1rem; }
.who-check-icon {
  width: 2rem; height: 2rem;
  background: var(--gold);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
}
.who-check-item p { font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 0.125rem; }
.who-check-item span { font-size: 0.875rem; color: var(--gray-500); }

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
  margin-top: 2rem;
}
.link-gold:hover { color: var(--gold-dark); }

@media (min-width: 1024px) {
  .who-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 4rem; }
  .who-img-col { border-radius: 6px; }
  .who-full-img { min-height: 100%; max-height: 700px; }
}

/* =====================================================
   SERVICIOS OVERVIEW (home)
   ===================================================== */
.services-dark {
  background: var(--dark);
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}
.services-dark__tri {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-bottom: 200px solid var(--gold);
  border-right: 300px solid transparent;
  pointer-events: none;
  opacity: 0.3;
}
.services-dark h2 { font-size: 2.5rem; font-weight: 700; color: var(--white); margin-bottom: 0; }
.services-dark .section-head { margin-bottom: 3.5rem; }

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  height: 100%;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--gold); }
.service-card__icon { color: var(--gold); } /* ya correcto — el <i>/<svg> está directamente aquí */
.service-card h3 { font-weight: 700; font-size: 1.125rem; color: var(--white); }
.service-card p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55); flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}
.service-card:hover .service-card__link { gap: 0.5rem; }

@media (min-width: 768px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   PLATAFORMA (home + servicios)
   ===================================================== */
.platform-section { background: var(--off-white); padding-block: 6rem; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.platform-section h2 { font-size: 2.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; }
.platform-section p { color: var(--gray-500); line-height: 1.7; margin-bottom: 2.5rem; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
}
.feature-item i { color: var(--gold); flex-shrink: 0; }

/* platform on dark */
.platform-dark {
  background: var(--dark);
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}
.platform-dark__tri {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-bottom: 220px solid var(--gold);
  border-right: 340px solid transparent;
  pointer-events: none;
  opacity: 0.2;
}
.platform-dark .platform-grid { position: relative; z-index: 10; }
.platform-dark h2 { color: var(--white); }
.platform-dark p { color: rgba(255,255,255,0.6); }
.platform-dark .feature-item {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-left: none;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}
.platform-dark .feature-item:hover { border-color: var(--gold); }
.platform-dark .feature-item span { color: rgba(255,255,255,0.8); }
.platform-header { margin-bottom: 3rem; }
.platform-grid-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.platform-screenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
}
/* Laptop mockup */
.laptop-mockup {
  position: relative;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.7));
}
.laptop-screen {
  background: #111;
  border: 10px solid #252525;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.laptop-camera-bar {
  height: 16px;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-camera-bar::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #333;
}
.laptop-base {
  background: linear-gradient(180deg, #2e2e2e 0%, #222 100%);
  height: 20px;
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
}
.laptop-notch {
  width: 88px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
}
/* Browser inside laptop */
.browser-mockup {
  overflow: hidden;
}
.browser-bar {
  background: #222;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #444;
}
.browser-url {
  flex: 1;
  background: #181818;
  border-radius: 4px;
  padding: 3px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  max-width: 160px;
  margin: 0 auto;
  font-family: monospace;
}
.browser-mockup .platform-screenshot {
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.04);
}
@media (min-width: 1024px) {
  .platform-grid-visual { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .platform-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: var(--dark);
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}
.cta-section__tri {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-top: 180px solid var(--gold);
  border-left: 280px solid transparent;
  pointer-events: none;
}
.origami-deco {
  position: absolute;
  left: -60px;
  bottom: -40px;
  width: 380px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.cta-section__inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255,255,255,0.55); font-size: 1.125rem; margin-bottom: 2.5rem; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* Small CTA (servicios, nosotros) */
.cta-small {
  background: var(--dark);
  padding-block: 4rem;
}
.cta-small__inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.cta-small h2 { font-size: 1.875rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.cta-small p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; }

/* =====================================================
   SERVICIOS PAGE — HEX CARDS
   ===================================================== */
.section-head-left {
  margin-bottom: 3.5rem;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}
.section-head-left .label-gold { margin-bottom: 0.5rem; }
.section-head-left h2 { font-size: 1.875rem; font-weight: 700; color: var(--dark); }
.section-head-left p { color: var(--gray-500); margin-top: 0.75rem; max-width: 36rem; }

/* On dark bg */
.section-head-left.on-dark h2 { color: var(--white); }
.section-head-left.on-dark p { color: rgba(255,255,255,0.6); }

.hex-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .hex-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.hex-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.2s;
}
.hex-card:hover { transform: scale(1.02); }
.hex-container {
  position: relative;
  width: 7rem;
  height: 7rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.hex-outer {
  position: absolute;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-inner {
  position: absolute;
  inset: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--dark);
  color: var(--gold); /* heredado por <svg> que Lucide inyecta */
}
.hex-inner.on-dark { background: var(--charcoal); }
.hex-card h3 { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.hex-card p { font-size: 0.875rem; line-height: 1.6; color: var(--gray-500); }
.hex-card.on-dark h3 { color: var(--white); }
.hex-card.on-dark p { color: rgba(255,255,255,0.55); }

/* Services page sections */
.servicios-moviles { background: var(--white); padding-block: 6rem; }
.servicios-fijas { background: var(--off-white); padding-block: 6rem; }

/* =====================================================
   NOSOTROS — VALORES
   ===================================================== */
.valores-section { background: var(--off-white); padding-block: 6rem; }
.section-head-center { text-align: center; margin-bottom: 3.5rem; }
.section-head-center .label-gold { margin-bottom: 0.75rem; }
.section-head-center h2 { font-size: 1.875rem; font-weight: 700; color: var(--dark); }

.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .valores-grid { grid-template-columns: repeat(3, 1fr); }
}
.valor-card {
  background: var(--white);
  padding: 2rem;
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.valor-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); /* currentColor para <svg> de Lucide */
}
.valor-card h3 { font-weight: 700; font-size: 1rem; color: var(--dark); }
.valor-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* =====================================================
   CONTACTO PAGE
   ===================================================== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding-block: 6rem;
}
@media (min-width: 1024px) {
  .contacto-grid { grid-template-columns: 1fr 1fr; }
}
.contacto-grid h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.contacto-grid > div > p { color: var(--gray-500); line-height: 1.7; margin-bottom: 2.5rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
a.contact-item:hover .contact-item__label { color: var(--gold); }
a.contact-item:hover .contact-item__icon { background: var(--gold); }
a.contact-item:hover .contact-item__icon i,
a.contact-item:hover .contact-item__icon svg { color: var(--dark); }
.contact-item__icon {
  width: 3rem; height: 3rem;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-item__icon i { color: var(--gold); transition: color 0.2s; }
.contact-item__icon.wa { background: var(--green-wa); }
.contact-item__icon.wa i { color: var(--white); }
.contact-item__small { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin-bottom: 0.125rem; }
.contact-item__label { font-weight: 600; color: var(--dark); transition: color 0.2s; }
.contact-item__sub { font-size: 0.875rem; color: var(--gray-500); }

.brand-bar {
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
  padding-block: 0.5rem;
  margin-top: 3rem;
}
.brand-bar p { font-size: 0.875rem; color: var(--gray-500); }
.brand-bar a { font-weight: 700; color: var(--dark); transition: color 0.2s; }
.brand-bar a:hover { color: var(--gold); }

/* Form box */
.form-box { background: var(--off-white); padding: 2.5rem; }
.form-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; }

/* ── Contact Form ── */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr 1fr; }
}
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--dark);
  margin-bottom: 0.375rem;
}
.contact-form label .req { color: var(--gold); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form input:disabled,
.contact-form textarea:disabled { opacity: 0.5; }
.contact-form textarea { resize: none; }
.contact-form .form-error { font-size: 0.875rem; color: #dc2626; margin-top: 0.5rem; display: none; }
.contact-form .form-error.is-visible { display: block; }
.contact-form .btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--dark);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.875rem;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.contact-form .btn-submit:hover { background: var(--gold); color: var(--dark); }
.contact-form .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Form success state */
.form-success {
  display: none;
  padding-block: 2.5rem;
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success h4 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.form-success p { font-size: 0.875rem; color: var(--gray-500); }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 1s linear infinite; }

/* =====================================================
   CASOS PAGE
   ===================================================== */
.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .casos-grid { grid-template-columns: repeat(3, 1fr); }
}
.caso-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.caso-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  color: var(--gray-500);
}
.caso-card h3 { font-weight: 600; }
.caso-card p { font-size: 0.875rem; color: var(--gray-500); }

/* =====================================================
   BLOG PAGE
   ===================================================== */
.blog-list { max-width: 48rem; margin-inline: auto; padding-block: 4rem; }
.blog-article {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.blog-article:last-child { border-bottom: none; }
.blog-cat { font-size: 0.75rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-article h2 { font-size: 1.25rem; font-weight: 600; margin-block: 0.25rem 0.5rem; }
.blog-article p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.blog-date { font-size: 0.75rem; color: var(--gray-400); }

/* =====================================================
   PRIVACIDAD PAGE
   ===================================================== */
.privacidad-content {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 4rem;
}
.privacidad-content .priv-section { margin-bottom: 2.5rem; }
.privacidad-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}
.privacidad-content p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.privacidad-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.7;
}
.privacidad-content ul li { margin-bottom: 0.25rem; }
.privacidad-content a { color: var(--gold); }
.privacidad-content a:hover { text-decoration: underline; }

/* =====================================================
   LUCIDE ICONS — fix de color global
   Lucide reemplaza <i data-lucide> con <svg>.
   El <svg> usa currentColor para stroke, así que
   necesita heredar `color` del contenedor, no de <i>.
   ===================================================== */
.feature-item i,
.feature-item svg         { color: var(--gold); flex-shrink: 0; }
.footer__contact-item i,
.footer__contact-item svg { color: var(--gold); }
.navbar__cta i,
.navbar__cta svg          { color: var(--dark); }
.navbar__burger i,
.navbar__burger svg       { color: var(--white); }
.mobile-cta i,
.mobile-cta svg           { color: var(--gold); }
.contact-item__icon i,
.contact-item__icon svg   { color: var(--gold); transition: color 0.2s; }
.contact-item__icon.wa i,
.contact-item__icon.wa svg { color: var(--white); }
.link-gold i,
.link-gold svg            { color: var(--gold); }
.service-card__link i,
.service-card__link svg   { color: var(--gold); }

/* =====================================================
   UTILITIES
   ===================================================== */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.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;
}
