/* =============================================
   JOALEX - Asesoría Integral | style.css
   ============================================= */

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

:root {
  /* ── Brushed Gold / Copper Palette ── */
  --gold: #BC8B5D;
  /* Brushed Gold Base */
  --gold-light: #D4A373;
  /* Bright Copper */
  --gold-dark: #916840;
  /* Antique Bronze */
  --gold-bright: #F7D5B0;
  /* Soft Highlight Spark */
  --gold-champagne: #C89F70;
  /* Warm Gold */
  --gold-deep: #61462E;
  /* Dark Bronze Anchor */

  /* ── Brushed Gold Gradients ── */
  --grad-gold: linear-gradient(90deg, #916840 0%, #BC8B5D 40%, #D4A373 60%, #BC8B5D 100%);
  --grad-gold-v: linear-gradient(135deg, #61462E 0%, #916840 35%, #BC8B5D 65%, #D4A373 100%);
  --grad-gold-text: linear-gradient(90deg, #916840 0%, #D4A373 40%, #BC8B5D 70%, #916840 100%);
  --grad-gold-border: linear-gradient(135deg, rgba(188, 139, 93, 0.9) 0%, rgba(212, 163, 115, 0.4) 50%, rgba(145, 104, 64, 0.1) 100%);

  /* ── Dark Backgrounds (Oyster Navy) ── */
  --cream: #091221;
  /* Steel Blue / Naval */
  --cream-dark: #060c16;
  /* Deepest Oyster */
  --dark: #101c30;
  /* Soft Steel Navy */
  --dark-2: #16243e;
  /* Midnight Steel */

  /* ── Text ── */
  --text: #F1F5F9;
  --text-light: rgba(241, 245, 249, 0.7);
  --white: #FFFFFF;

  /* ── Branded Colors ── */
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --fb-blue: #1877F2;
  --fb-dark: #0C5FCF;

  /* ── Shadows & Copper Glows ── */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --glow-gold-sm: 0 0 18px rgba(188, 139, 93, 0.25);
  --glow-gold-md: 0 0 36px rgba(188, 139, 93, 0.35);
  --glow-gold-lg: 0 0 64px rgba(188, 139, 93, 0.2);

  --radius: 16px;
  --radius-sm: 10px;
}

/* ===================== GLOBAL ===================== */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #060c16;
  background-image:
    radial-gradient(circle at 85% 10%, rgba(188, 139, 93, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(37, 211, 102, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 28, 48, 0.5) 0%, transparent 80%),
    radial-gradient(ellipse at top center, #101c30 0%, #060c16 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 84px; /* compensates fixed header height */
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SVG Icons ---- */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 16, 34, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(165, 142, 94, 0.15);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 84px; /* 56px logo + 14px top + 14px bottom — prevents header collapse */
}

/* Force consistent logo size across all pages */
.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-link img {
  height: 56px !important;
  width: auto !important;
  display: block !important;
}

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

.badge-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(188, 139, 93, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
  padding: 4px;
}

.badge-logo:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 0 2px rgba(188, 139, 93, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-j {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  font-style: normal;
  margin-bottom: 3px;
}

.badge-name {
  font-size: 0.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.badge-sub {
  font-size: 0.35rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.header-link svg {
  width: 16px;
  height: 16px;
}

.header-link:hover {
  color: var(--gold);
}

.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.header-location svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid rgba(145, 104, 64, 0.15);
  padding: 12px 24px 20px;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(145, 104, 64, 0.1);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: 'Open Sans', sans-serif;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

@keyframes shimmerBtn {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.btn-primary {
  background: linear-gradient(120deg, var(--wa-green) 0%, var(--wa-dark) 40%, #5af697 50%, var(--wa-dark) 60%, var(--wa-green) 100%);
  background-size: 250% auto;
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  animation: shimmerBtn 4s linear infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-call {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold-dark) 40%, #fffcb0 50%, var(--gold-dark) 60%, var(--gold-light) 100%);
  background-size: 250% auto;
  color: var(--cream-dark);
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(188, 139, 93, 0.35);
  position: relative;
  overflow: visible;
  animation: shimmerBtn 4.5s linear infinite;
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(188, 139, 93, 0.5);
  color: var(--cream-dark);
}

.btn-call svg {
  width: 18px;
  height: 18px;
}

.call-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  border: 2px solid var(--gold-light);
  animation: callRing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes callRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* --- Call Dropdown --- */
.call-dropdown {
  position: relative;
  display: inline-block;
}

.call-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 4px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.call-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.call-menu::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--gold);
}

.call-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.25s;
  color: #1a202c;
}

.call-menu-item:hover {
  background: rgba(165, 142, 94, 0.08);
}

.call-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-menu-text {
  display: flex;
  flex-direction: column;
}

.call-menu-text strong {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #718096;
  margin-bottom: 0px;
}

.call-menu-text span {
  font-size: 1.0rem;
  font-weight: 800;
  color: #0f172a;
}

.call-menu-divider {
  height: 1px;
  background: rgba(165, 142, 94, 0.1);
  margin: 2px 10px;
}

@media (max-width: 768px) {
  .call-menu {
    min-width: 220px;
  }
}

.btn-active {
  transform: scale(0.96);
  background: var(--gold-dark) !important;
}

/* ===================== SECTIONS ===================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.5vw + 0.3rem, 1.08rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

section {
  padding: clamp(48px, 8vw, 100px) 0;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: visible;
  padding: 0;
  background: transparent;
  color: white;
  display: flex;
  flex-direction: column;
}

/* La imagen llena la pantalla completa con los autos al centro */
.hero-image-band {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-image-band img {
  width: 100%;
  height: 88vh;          /* imagen alta para que los autos queden centrados */
  object-fit: cover;
  object-position: center 45%; /* centra verticalmente los autos */
  display: block;
}

/* Título en la zona superior (cielo/edificio de la foto) */
.hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 85px 16px 80px;  /* 85px = navbar, 80px abajo = espacio antes de los autos */
  text-align: center;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(6, 12, 22, 0.55) 0%,
    rgba(6, 12, 22, 0.15) 70%,
    transparent 100%
  );
}

/* Subtítulo en la zona inferior (suelo de la foto) */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 16px 130px;
  text-align: center;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(6, 12, 22, 0.55) 0%,
    rgba(6, 12, 22, 0.15) 70%,
    transparent 100%
  );
}

@media (max-width: 768px) {
  .hero-image-band img {
    height: 80vh;              /* más alto para distribuir bien los 3 elementos */
    object-position: center 35%; /* muestra más cielo arriba, autos al centro */
  }
  .hero-top {
    padding: 92px 20px 60px;   /* 92px = navbar 84px + 8px margen */
  }
  .hero-bottom {
    padding: 60px 20px 160px;  /* subtítulo bien arriba del suelo */
  }
}





/* global-fixed-bg removed — image now rendered as <img> in hero-image-band */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 26, 54, 0.45) 0%, rgba(12, 26, 54, 0.20) 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 12, 22, 0.5) 0%, rgba(6, 12, 22, 0.25) 60%, rgba(6, 12, 22, 0.5) 100%);
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(145, 104, 64, 0.08);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 50px;
  margin-top: 12px;
  margin-bottom: 28px;
  /* Gradient text */
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Gradient border via outline trick */
  box-shadow: 0 0 0 1px rgba(145, 104, 64, 0.4);
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-name-accent {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(90deg, var(--gold-light) 0%, #fffadb 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  display: inline-block;
  position: relative;
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* J inicial dorada al estilo del logo */
.hero-name-j {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  font-size: 1.15em;
  display: inline-block;
  line-height: 1;
}

/* Secuencia de aparición para Josue Daniel Alegre */
.hero-seq-word {
  opacity: 0;
  display: inline-block;
  transform: translateY(15px);
  animation: heroSeqFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.3s + var(--seq-delay, 0s));
}

@keyframes heroSeqFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Línea decorativa marca dorado completo */
.hero-name-brand-line {
  display: block;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 10px auto 20px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw + 0.4rem, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.tag {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 420px;
  line-height: 1.7;
}

/* Hero card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(18, 40, 76, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  max-width: 440px;
  animation: floatCard 6s ease-in-out infinite;
  color: white;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.avatar-initials {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 8px 28px rgba(145, 104, 64, 0.35);
  letter-spacing: 0.05em;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.offer-list h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.offer-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.check {
  color: var(--wa-green);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===================== MARCAS ===================== */
.marcas {
  background: var(--cream-dark);
  border-top: 1px solid rgba(145, 104, 64, 0.1);
  border-bottom: 1px solid rgba(145, 104, 64, 0.1);
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.marca-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(145, 104, 64, 0.15);
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: all 0.25s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
}

.marca-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.marca-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(145, 104, 64, 0.15), 0 0 16px rgba(188, 139, 93, 0.1);
  transform: translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.06);
}

.marca-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.marca-logo svg {
  width: 100%;
  height: 100%;
}

.marca-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-align: center;
}

.marca-url {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.marca-card:hover .marca-url {
  opacity: 1;
}

/* ===================== MARCA CARD DARK (legacy) ===================== */
.marca-card-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px 22px;
  background: rgba(16, 28, 48, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(188, 139, 93, 0.2);
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: all 0.28s ease;
  cursor: pointer;
}
.marca-card-dark:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(145, 104, 64, 0.25); transform: translateY(-5px); background: rgba(22, 36, 62, 0.95); }
.marca-logo-dark { width: 72px; height: 72px; border-radius: 16px; background: rgba(188,139,93,0.1); border: 1px solid rgba(188,139,93,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.28s ease; }
.marca-card-dark:hover .marca-logo-dark { background: rgba(188,139,93,0.18); border-color: rgba(188,139,93,0.45); }
.marca-name-dark { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.9); text-align: center; }
.marca-url-dark { font-size: 0.7rem; color: var(--gold); font-weight: 500; text-align: center; opacity: 0; transition: opacity 0.2s; }
.marca-card-dark:hover .marca-url-dark { opacity: 1; }

/* ===================== NUEVA SECCIÓN MARCAS (referencia con fondo cálido) ===================== */
.marcas-nuevo-section {
  position: relative;
  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--dark);
  overflow: hidden;
}

.marcas-nuevo-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(145,104,64,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(60,30,10,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(30,50,80,0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0e1a2e 0%, #121c2f 50%, #0c1520 100%);
  z-index: 1;
}

.marcas-nuevo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.marcas-gold-word {
  background: linear-gradient(90deg, #BC8B5D 0%, #D4A373 50%, #BC8B5D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.marcas-nuevo-sub {
  font-size: clamp(0.92rem, 1.4vw, 1.06rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Grid */
.marcas-nuevo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

/* Tarjeta individual */
.mnc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* empuja el botón al fondo */
  gap: 10px;
  padding: 22px 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  text-decoration: none;
  color: #1a202c;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  height: 100%; /* hace que todas las tarjetas sean del mismo tamaño */
  box-sizing: border-box;
}

.mnc:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3), 0 0 0 2px var(--gold);
  background: #fff;
}

.mnc-logo {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mnc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a202c;
  text-align: center;
}

.mnc-btn {
  display: inline-block;
  background: linear-gradient(135deg, #916840 0%, #BC8B5D 50%, #D4A373 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.mnc:hover .mnc-btn {
  opacity: 0.9;
  transform: scale(1.05);
}

/* VW: contenedor de dos botones en fila */
.mnc-vw-btns {
  display: flex;
  flex-direction: row;
  gap: 7px;
  width: 100%;
  justify-content: center;
}

.mnc-vw-btns .mnc-btn,
.mnc-vw-btns .mnc-btn--secondary {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

/* Botón secundario VW Comerciales (azul marino VW) */
.mnc-btn--secondary {
  background: linear-gradient(135deg, #001E50 0%, #003087 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.mnc-vw:hover .mnc-btn,
.mnc-vw:hover .mnc-btn--secondary {
  opacity: 0.9;
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .mnc-vw-btns {
    flex-direction: column;
  }
}



/* CTA block */
.marcas-nuevo-cta {
  background: rgba(10, 18, 32, 0.7);
  border: 1px solid rgba(188, 139, 93, 0.22);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.marcas-nuevo-cta-divider {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.marcas-nuevo-cta h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  line-height: 1.3;
}

.marcas-nuevo-cta p {
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.65);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 28px;
}

.marcas-nuevo-cta p strong {
  color: rgba(255, 255, 255, 0.88);
}

.btn-mnc-cta {
  display: inline-block;
  background: linear-gradient(135deg, #916840 0%, #BC8B5D 50%, #D4A373 100%);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 6px 24px rgba(145, 104, 64, 0.35);
}

.btn-mnc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(145, 104, 64, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .marcas-nuevo-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .marcas-nuevo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .marcas-nuevo-cta { padding: 32px 20px; }
}


/* ===================== ALIADOS FINANCIEROS (index) ===================== */
.aliados-wrap { margin-top: 64px; padding-top: 44px; border-top: 1px solid rgba(188,139,93,0.18); margin-bottom: 60px; text-align: center; }
.aliados-label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 28px; font-weight: 700; }
.aliados-grupo { margin-bottom: 12px; }
.aliados-grupo-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; margin-bottom: 18px; }
.aliados-tag-alt { background: rgba(0,200,120,0.12); color: #4ade80; border: 1px solid rgba(0,200,120,0.3); }
.aliados-tag-trad { background: rgba(188,139,93,0.1); color: var(--gold-light); border: 1px solid rgba(188,139,93,0.3); }
.aliados-sep { margin: 28px 0 20px; }
.aliados-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.aliado-logo-card { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform 0.22s ease, filter 0.22s ease; opacity: 0.82; }
.aliado-logo-card:hover { transform: translateY(-3px); opacity: 1; filter: drop-shadow(0 4px 12px rgba(188,139,93,0.35)); }
.aliado-name { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
@media (max-width: 640px) { .aliados-row { gap: 10px; } .aliado-logo-card svg { width: auto !important; height: 28px !important; } }

/* ===================== SERVICIOS ===================== */
.servicios {
  background: var(--dark);

}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Flip Card 3D ── */
.flip-card {
  perspective: 1200px;
  min-height: 160px;
  transition: min-height 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  align-self: start;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1), min-height 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card:hover {
  min-height: 360px;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
  min-height: 360px;
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
}

.flip-front {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 36px 28px;
}

.flip-back {
  transform: rotateY(180deg);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  overflow: hidden;
}

.flip-front-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: rgba(145, 104, 64, 0.15);
  border: 1.5px solid rgba(188, 139, 93, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(145, 104, 64, 0.15);
  transition: transform 0.3s ease;
}

.flip-front-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--gold-light);
}

.flip-card:hover .flip-front-icon {
  transform: scale(1.08);
}

.flip-front-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.25;
  margin: 0;
}

.flip-hint {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* Override: las caras del flip no participan en la animación de entrada */
.flip-front.servicio-card,
.flip-front.servicio-card.visible {
  opacity: 1 !important;
  transform: none !important;
}

.flip-back.servicio-card,
.flip-back.servicio-card.visible {
  opacity: 1 !important;
  transform: rotateY(180deg) !important;
}

/* El flip-inner sí hace el giro al hacer hover */
.flip-card:hover .flip-front.servicio-card {
  transform: none !important;
}

.flip-card:hover .flip-back.servicio-card {
  transform: rotateY(180deg) !important;
}

.servicio-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius);
  padding: 36px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.01);
  transition: all 0.4s ease;
}

.servicio-card.visible {
  opacity: 1;
  transition: opacity 0.5s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.servicio-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(188, 139, 93, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(188, 139, 93, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

/* Micro-interacción: texto y ícono reaccionan al hover */
.servicio-card:hover h3 {
  color: var(--gold-light) !important;
  transition: color 0.25s ease;
}

.servicio-card:hover p {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color 0.25s ease;
}

.servicio-card:hover .flip-front-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(188, 139, 93, 0.25);
  border-color: rgba(188, 139, 93, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.servicio-card:hover .servicio-tags span {
  background: rgba(145, 104, 64, 0.18);
  color: var(--gold-light);
  border-color: rgba(145, 104, 64, 0.38);
  transition: all 0.25s ease;
}

.servicio-card.featured {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-top-color: rgba(188, 139, 93, 0.3);
  color: white;
}

.servicio-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(145, 104, 64, 0.1);
}

.servicio-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.servicio-card.featured .servicio-icon {
  background: rgba(145, 104, 64, 0.2);
}

.servicio-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.servicio-card.featured h3 {
  color: var(--gold-light);
}

.servicio-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.servicio-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.servicio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.servicio-tags span {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(145, 104, 64, 0.09);
  color: var(--gold-dark);
  border: 1px solid rgba(145, 104, 64, 0.2);
}

.servicio-card.featured .servicio-tags span {
  background: rgba(145, 104, 64, 0.2);
  color: var(--gold-light);
  border-color: rgba(145, 104, 64, 0.35);
}

/* ===================== RESUMEN ===================== */
.visual-section {
  background: var(--dark);
  overflow: hidden;
}

.resumen-grid-visual {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.resumen-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  margin: 0;
}

.resumen-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}

.resumen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  display: block;
}

.img-crossfade {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  animation: fader 10s ease-in-out infinite;
}

@keyframes fader {

  0%,
  40% {
    opacity: 0;
  }

  50%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.resumen-img:hover {
  transform: scale(1.05);
}

.align-left {
  text-align: left;
}

.resumen-text-content .section-header {
  margin-bottom: 30px;
}

.minimal-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(145, 104, 64, 0.15);
}

.minimal-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.minimal-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 14px;
}

.icon-gold {
  color: var(--gold);
  stroke: var(--gold);
  width: 24px;
  height: 24px;
}

.mt-4 {
  margin-top: 24px !important;
}

.text-center {
  text-align: center !important;
}

.habilidades {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.habilidades li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.check-gold {
  color: var(--gold);
  font-size: 0.9rem;
}

.commitment-box {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(145, 104, 64, 0.15), rgba(145, 104, 64, 0.05));
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  line-height: 1.7;
}

/* ===================== EXPERIENCIA JOALEX ===================== */
.experiencia {
  background: var(--dark);
  color: white;
}

.experiencia .section-title {
  color: white;
}

.experiencia .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.gallery-track {
  padding-bottom: 24px;
}

/* ── Carrusel Galería: 2 por slide ── */
.gallery-slide {
  flex: 0 0 100%;
  display: flex;
  gap: 16px;
  scroll-snap-align: start;
  padding: 0 4px;
}

.gallery-card {
  flex: 1 1 0;
  min-width: 0;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(145, 104, 64, 0.35);
  border: 1.5px solid rgba(145, 104, 64, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}


/* Tarjeta de video — cursor e indicación visual */
.gallery-card-video {
  cursor: pointer;
  position: relative;
}

.gallery-card-video video {
  transition: transform 0.6s ease;
}

.gallery-card-video:hover video {
  transform: scale(1.03);
}


.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 40px 20px 20px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.experiencia-note {
  background: rgba(145, 104, 64, 0.12);
  border: 1px solid rgba(145, 104, 64, 0.25);
  border-radius: var(--radius);
  padding: 24px 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Proceso Pasos */
.proceso-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 60px;
}

.paso {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.paso:hover {
  transform: translateY(-10px);
}

.paso:hover .paso-num {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(188, 139, 93, 0.25), inset 0 2px 5px rgba(255, 255, 255, 0.2);
  border-color: var(--gold-light);
}

.connector {
  flex: 0 0 auto;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(145, 104, 64, 0.3));
  margin-top: 35px;
  position: relative;
}

.connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gold-light);
  border-right: 2px solid var(--gold-light);
  transform: rotate(45deg);
}

.paso-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  width: 72px;
  height: 72px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 16px rgba(12, 26, 54, 0.8), inset 0 2px 5px rgba(255, 255, 255, 0.1);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: all 0.4s ease;
}

.paso h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.paso:hover h3 {
  color: var(--gold-light);
}

.paso p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.mt-5 {
  margin-top: 48px !important;
}

/* ===================== TESTIMONIOS ===================== */
.testimonios {
  background: #111A24;
}

/* Carrusel de Testimonios */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 24px;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .testimonio-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

@media (max-width: 1000px) {
  .carousel-track .testimonio-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .carousel-track .testimonio-card {
    flex: 0 0 85%;
  }
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  z-index: 10;
  background: var(--dark-2);
  color: var(--gold-light);
  border: 1px solid rgba(188, 139, 93, 0.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(188, 139, 93, 0.4);
}

.carousel-btn.prev {
  left: -20px;
}

.carousel-btn.next {
  right: -20px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active,
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content,
.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--gold-light);
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 32px;
  border-radius: var(--radius);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  max-height: 260px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(145, 104, 64, 0.3);
}

.testimonio-rating {
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonio-rating svg {
  width: 18px;
  height: 18px;
}

.testimonio-texto {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: normal;
  flex: 1;
  margin-bottom: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.testimonio-autor {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.testimonio-autor strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.testimonio-autor strong {
  color: white;
  font-size: 1rem;
}

.testimonio-autor span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

/* Star Rating Interactivo */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(188, 139, 93, 0.4);
}

.star-rating label:hover {
  transform: scale(1.15);
}

/* ===================== CONTACTO ===================== */
.contacto {
  background: var(--dark);
}

/* Nuevo layout de contacto (3 columnas) */
.contacto-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.otros-servicios-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius);
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
}

.otros-servicios-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold-light);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.otros-servicios-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Botones de contacto directo mini */
.contact-direct-buttons-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-direct-buttons-mini.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.mini-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.facebook-btn {
  background: linear-gradient(135deg, #1877F2, #0C5FCF);
}

.facebook-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
}

.email-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(145, 104, 64, 0.3);
}

.maps-btn {
  background: linear-gradient(135deg, #34A853, #1E7E34);
}

.maps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.3);
}

/* Formulario centrado */
.form-centered {
  max-width: 640px;
  margin: 0 auto;
}



/* Formulario */
.form-container {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius);
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.form-container h3,
.modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.form-note {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(145, 104, 64, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: 'Open Sans', sans-serif;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(145, 104, 64, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}



/* ===================== FOOTER ===================== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(145, 104, 64, 0.1);
}

#footerGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(145, 104, 64, 0.15);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: inline-block;
  text-decoration: none;
  width: fit-content;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: lighten;
}

.footer-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(145, 104, 64, 0.2);
  transition: all 0.25s ease;
  width: 150px;
  justify-content: flex-start;
}


.social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


.social-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.social-btn.instagram:hover {
  background: #E1306C;
  border-color: #E1306C;
  color: white;
}

.social-btn.tiktok:hover {
  background: #010101;
  border-color: #69C9D0;
  color: white;
}

.footer-title {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(145, 104, 64, 0.05);
  transition: all 0.2s;
}

.footer-links a span {
  color: var(--gold-light);
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-links a:hover span {
  transform: scale(1.2);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  padding: 4px 0;
}

.footer-contact-list li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-contact-list a:hover {
  color: white;
}

.footer-legal-bar {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-legal-info p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-privacy-box {
  max-width: 450px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-privacy-box svg {
  width: 14px;
  height: 14px;
  color: rgba(145, 104, 64, 0.7);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-privacy-box p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
}

.footer-privacy-box strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ===================== WA FLOTANTE ===================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.08);
  }
}


/* ===================== HELPER CLASSES ===================== */
.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.max-w-900 {
  max-width: 900px;
}

.max-w-850 {
  max-width: 850px;
}

.m-auto {
  margin: 0 auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-content-optimized {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-tags-optimized {
  justify-content: center;
  max-width: 950px;
}

.hero-ctas-optimized {
  justify-content: center;
}

.badge-gold-bg {
  background: rgba(145, 104, 64, 0.2) !important;
  border-color: var(--gold) !important;
  color: white !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.beneficio-banner {
  grid-column: 1 / -1;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.beneficio-icon-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.beneficio-icon {
  background: rgba(145, 104, 64, 0.15) !important;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beneficio-text h4 {
  color: var(--gold-light) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.beneficio-text p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.beneficio-btn-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.visitanos-card-optimized {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid rgba(145, 104, 64, 0.15) !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===================== DARK THEME OVERRIDES ===================== */

/* Body principal — azul medio (respira más) */
body {
  background: #0d1f3c !important;
  color: white !important;
}

/* Header, Hero, Footer */
.header,
.hero,
.footer {
  background: #071022;
  color: #ffffff;
}

.header-link,
.hero-subtitle,
.hero-note {
  color: rgba(255, 255, 255, 0.8);
}

/* Marcas — Fondo azul medio para que los logos sean visibles */
.marcas {
  background: linear-gradient(160deg, #152848 0%, #1a3362 100%) !important;
  border-top: 1px solid rgba(145, 104, 64, 0.2) !important;
  border-bottom: 1px solid rgba(145, 104, 64, 0.2) !important;
  position: relative;
}

.marca-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(145, 104, 64, 0.25) !important;
  color: #12284c !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

.marca-name {
  color: #12284c !important;
}

.marca-card:hover {
  background: #ffffff !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(188, 139, 93, 0.5) !important;
  transform: translateY(-5px) !important;
}

/* Servicios — nivel 2 (un poco más claro que body) */
.servicios {
  background: #162d52;
}

.section-title {
  color: white;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.servicio-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(145, 104, 64, 0.2);
  box-shadow: var(--shadow-sm);
}

.servicio-card h3,
.servicio-card h4 {
  color: white !important;
}

.servicio-card p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.servicio-icon {
  background: rgba(145, 104, 64, 0.12);
}

.servicio-card:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--gold-light);
}

/* Servicio Destacado */
.servicio-card.featured {
  background: linear-gradient(145deg, var(--dark), var(--dark-2));
  border-color: var(--gold);
}

.servicio-card.featured h3 {
  color: var(--gold-light) !important;
}

.servicio-card.featured p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Resumen Ejecutivo — nivel 1 (same as body) */
.visual-section {
  background: #0d1f3c;
}

.minimal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(145, 104, 64, 0.2);
  box-shadow: var(--shadow-sm);
}

.minimal-card h3 {
  color: var(--gold-light);
}

.minimal-card p {
  color: rgba(255, 255, 255, 0.7);
}

.minimal-card .commitment-box {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(145, 104, 64, 0.12);
}

.habilidades li {
  color: rgba(255, 255, 255, 0.85);
}

/* Experiencia — nivel 2 */
.experiencia {
  background: #162d52;
}

.experiencia .section-title {
  color: white;
}

.experiencia .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.experiencia-note {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(145, 104, 64, 0.25);
  background: rgba(145, 104, 64, 0.12);
}

.paso-num {
  color: var(--gold-light);
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
}

.paso-content h3 {
  color: white;
}

.paso-content p {
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonios — nivel 1 */
.testimonios {
  background: #0d1f3c;
}

/* Fix Review CTA */
.review-cta {
  background: rgba(145, 104, 64, 0.08) !important;
  border-color: rgba(145, 104, 64, 0.4) !important;
}

.review-cta h3 {
  color: white !important;
}

.review-cta p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Contacto — degradado hacia el footer */
.contacto {
  background: linear-gradient(180deg, #0d1f3c 0%, #071022 100%) !important;
}

.otros-servicios-card,
.visitanos-card,
.form-container {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(145, 104, 64, 0.18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.contacto .section-title {
  color: white !important;
}

.contacto .section-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
}

.form-group label {
  color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(145, 104, 64, 0.3);
  color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group select option {
  background: #0f1e38;
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
}

.visitanos-card p,
.otros-servicios-card p,
.otros-servicios-card li {
  color: rgba(255, 255, 255, 0.75) !important;
}

.visitanos-card p strong {
  color: white !important;
}

/* Fix botones de contacto directo */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: white !important;
}

.email-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: white !important;
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3) !important;
}

.email-btn:hover {
  box-shadow: 0 8px 24px rgba(145, 104, 64, 0.3) !important;
}

/* Fixes for texts in form */
.form-note {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-divider {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-divider span {
  background: rgba(0, 0, 0, 0.1) !important;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(145, 104, 64, 0.4) !important;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(145, 104, 64, 0.6) !important;
}

/* Google Style Button */
.btn-google {
  background: #1A73E8 !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3) !important;
}

.btn-google:hover {
  background: #1557B0 !important;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4) !important;
  transform: translateY(-2px);
}

/* Modal Fixes — Dark Theme */
.modal-content {
  background: #0f1e38 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(145, 104, 64, 0.25) !important;
}

.modal-content h3,
.modal-content label {
  color: white !important;
}

/* Testimonio Cards (Dark Blue style like featured service) */
.testimonio-card {
  background: linear-gradient(145deg, #1e3a8a, #0f172a) !important;
  border: 1px solid var(--gold) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonio-texto {
  color: rgba(255, 255, 255, 0.9) !important;
}

.testimonio-autor strong {
  color: var(--gold-light) !important;
}

.testimonio-autor span {
  color: rgba(255, 255, 255, 0.7) !important;
}

.testimonio-rating svg {
  color: var(--gold-light) !important;
}

/* Star Rating Hollow Style */
.star-rating label {
  color: transparent !important;
  -webkit-text-stroke: 1.5px var(--gold-light) !important;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
  color: var(--gold-light) !important;
  -webkit-text-stroke: 0px !important;
}

/* Fix Testimonial Card Sizing & Layout homologation */
.testimonio-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 300px !important;
  height: 100% !important;
}

.testimonio-texto {
  flex-grow: 1 !important;
  word-wrap: break-word !important;
  white-space: normal !important;  /* pre-wrap rompía el line-clamp */
  color: rgba(255,255,255,0.9) !important;
}

.testimonios-track {
  align-items: stretch !important;
}

/* Fix Modal Close Button Visibility */
.modal-close {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 2.5rem !important;
  font-weight: normal !important;
  z-index: 10 !important;
  top: 12px !important;
  right: 18px !important;
}

.modal-close:hover {
  color: var(--gold-light) !important;
  transform: scale(1.1);
}


/* =======================================================
   RESPONSIVE DESIGN (MOBILE LAST OVERRIDES)
   ======================================================= */

@media (max-width: 1024px) {
  .marcas-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #footerGrid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-about {
    grid-column: span 2 !important;
    border-bottom: 1px solid rgba(145, 104, 64, 0.1) !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    padding: 0 20px !important;
  }

  .hero-title {
    font-size: 2.8rem !important;
  }

  .hero-name-accent {
    font-size: 3.2rem !important;
  }

  .servicios-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .resumen-grid-visual {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .contacto-grid-new {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .marcas-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .proceso-grid {
    flex-direction: column !important;
    align-items: center !important;
  }

  .connector {
    width: 4px !important;
    height: 36px !important;
    margin: 12px 0 !important;
    background: var(--gold) !important;
    border-radius: 4px !important;
    position: relative !important;
  }

  .connector::after {
    content: '' !important;
    position: absolute !important;
    bottom: -11px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
    border-top: 12px solid var(--gold) !important;
    border-bottom: none !important;
    top: auto !important;
    right: auto !important;
    background: none !important;
  }

  .align-left {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  #footerGrid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 32px !important;
  }

  .footer-col {
    width: 100% !important;
    align-items: center !important;
  }

  .footer-social-links {
    justify-content: center !important;
  }

  .footer-links a {
    justify-content: center !important;
  }

  .footer-contact-list {
    align-items: center !important;
  }

  .footer-contact-list li {
    justify-content: center !important;
    text-align: center !important;
  }

  .footer-legal-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .footer-privacy-box {
    max-width: 100% !important;
    justify-content: center !important;
  }

  /* Gallery: todas las fotos de 1 en 1 en móvil */
  .gallery-slide {
    display: contents !important;
    /* wrapper transparente: tarjetas fluyen directo al track */
  }

  .gallery-card {
    flex: 0 0 100% !important;
    min-width: 0 !important;
    height: 300px !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }

  /* Restaurar segunda tarjeta (visible en móvil también) */
  .gallery-card+.gallery-card {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 10px 0 !important;
  }

  .header-contact {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .hero {
    padding: 0 !important;  /* sin banda oscura arriba ni abajo */
  }

  .hero-image-band img {
    height: 100svh;  /* cubre todo el viewport en móvil, sin bandas */
    object-position: center 35%;
  }

  .hero-tags {

    justify-content: center !important;
    gap: 8px !important;
  }

  .tag {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  .marcas-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .marca-card {
    padding: 14px 8px !important;
  }

  .section-title {
    font-size: 1.7rem !important;
  }

  .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }

  .hero-ctas {
    width: 100% !important;
    max-width: 290px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .form-container {
    padding: 20px 16px !important;
  }

  section {
    padding: 40px 0 !important;
  }

  .wa-float {
    width: 50px !important;
    height: 50px !important;
    bottom: 20px !important;
    right: 20px !important;
  }

  /* Services & Benefits Mobile Fix */
  .beneficio-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 32px 20px !important;
    gap: 24px !important;
    align-items: center !important;
    height: auto !important;
  }

  .beneficio-icon-wrap {
    flex-direction: column !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .beneficio-btn-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-shrink: 1 !important;
  }

  .beneficio-banner .btn {
    width: 100% !important;
    max-width: 300px !important;
  }

  .flip-card,
  .flip-inner {
    min-height: 160px !important;
  }

  .flip-card:hover,
  .flip-card:hover .flip-inner {
    min-height: 440px !important;
  }

  .flip-back {
    padding: 24px 20px !important;
  }

  .flip-front-title {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .marcas-grid {
    grid-template-columns: 1fr !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }

  .hero-title {
    font-size: 1.7rem !important;
  }

  .hero-name-accent {
    font-size: 2.2rem !important;
  }

  /* Testimonios smaller for small screens */
  .carousel-track .testimonio-card {
    flex: 0 0 92% !important;
  }
}

/* =======================================================
   SCROLL REVEAL ANIMATIONS
   ======================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  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 {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.delay-1 {
  transition-delay: 0.1s !important;
}

.delay-2 {
  transition-delay: 0.2s !important;
}

.delay-3 {
  transition-delay: 0.3s !important;
}

.delay-4 {
  transition-delay: 0.45s !important;
}

.delay-5 {
  transition-delay: 0.6s !important;
}

/* =======================================================
   SHIMMER ON PRIMARY BUTTONS
   ======================================================= */
.btn-primary,
.btn-call,
.btn-gold {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-call::after,
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
}

.btn-primary:hover::after,
.btn-call:hover::after,
.btn-gold:hover::after {
  left: 150%;
  transition: left 0.55s ease;
}

/* =======================================================
   PROCESO — PASO ACTIVE GLOW
   ======================================================= */
.paso.paso-active .paso-num {
  box-shadow: 0 0 0 4px rgba(188, 139, 93, 0.2), 0 0 20px rgba(188, 139, 93, 0.35), 0 8px 16px rgba(12, 26, 54, 0.8);
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: linear-gradient(135deg, #1e3765, var(--dark-2));
}

.paso.paso-active h3 {
  color: var(--gold-light);
}

.connector-animated {
  position: relative;
  overflow: hidden;
}

.connector-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gold-light);
  transition: width 0.8s ease 0.4s;
}

.connector-animated.filled::before {
  width: 100%;
}

/* =======================================================
   MARCAS — Title colors & dot texture
   ======================================================= */
.marcas .section-title {
  color: white !important;
}

.marcas .section-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
}

.marcas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(145, 104, 64, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.marcas .container {
  position: relative;
  z-index: 1;
}

/* =======================================================
   HERO FADE-IN ON LOAD
   ======================================================= */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner>* {
  animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-inner>*:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-inner>*:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-inner>*:nth-child(3) {
  animation-delay: 0.25s;
}

.hero-inner>*:nth-child(4) {
  animation-delay: 0.35s;
}

.hero-inner>*:nth-child(5) {
  animation-delay: 0.45s;
}

.hero-inner>*:nth-child(6) {
  animation-delay: 0.55s;
}

.hero-inner>*:nth-child(7) {
  animation-delay: 0.65s;
}

/* =======================================================
   TESTIMONIO CARD SMOOTH TRANSITIONS
   ======================================================= */
.testimonio-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* =======================================================
   ✨ SISTEMA PREMIUM GOLD — DEGRADADOS
   ======================================================= */

/* ── 1. Section Titles con degradado dorado ── */
.section-title {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Excepción: títulos en contacto y marcas — texto dorado visible */
.contacto .section-title,
#contacto .section-title,
.marcas .section-title {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gold-light);
}

/* Excepción: testimonios — título siempre visible en blanco */
.testimonios .section-title,
.testimonios .section-subtitle {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
  color: white !important;
}

/* ── 2. Línea decorativa dorada bajo section-header ── */
.section-header::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-header.align-left::after {
  margin-left: 0;
}

/* ── 3. Cards con borde degradado dorado ── */
.servicio-card,
.testimonio-card,
.otros-servicios-card,
.form-container,
.visitanos-card-optimized,
.minimal-card {
  position: relative;
}

.servicio-card::before,
.testimonio-card::before,
.minimal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-gold-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.servicio-card:hover::before,
.testimonio-card:hover::before,
.minimal-card:hover::before {
  opacity: 1;
}

/* ── 4. Ambient Gold Glow en secciones dark ── */
.servicios,
.visual-section,
.experiencia {
  position: relative;
  overflow: clip;
}

.servicios::before,
.visual-section::before,
.experiencia::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40%;
  background: radial-gradient(ellipse at center,
      rgba(188, 139, 93, 0.06) 0%,
      rgba(188, 139, 93, 0.02) 50%,
      transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.servicios .container,
.visual-section .container,
.experiencia .container {
  position: relative;
  z-index: 1;
}

/* ── 5. Testimonios — ambient glow inferior ── */
.testimonios {
  position: relative;
  overflow: hidden;
}

.testimonios::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 30%;
  background: radial-gradient(ellipse at center bottom,
      rgba(188, 139, 93, 0.08) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.testimonios .container {
  position: relative;
  z-index: 1;
}

/* ── 6. Botón CALL (llamar) — degradado dorado premium ── */
.btn-call {
  background: linear-gradient(135deg,
      #5C4A1E 0%,
      #A58E5E 20%,
      #D4AF37 50%,
      #F5D060 65%,
      #D4AF37 80%,
      #A58E5E 100%) !important;
  background-size: 200% 100% !important;
  animation: goldShift 4s ease-in-out infinite;
  color: #071022 !important;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(188, 139, 93, 0.4), var(--glow-gold-sm) !important;
}

@keyframes goldShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-call:hover {
  box-shadow: 0 10px 36px rgba(188, 139, 93, 0.6), var(--glow-gold-md) !important;
  transform: translateY(-3px) !important;
}

/* ── 7. Btn-gold — multi-stop premium ── */
.btn-gold {
  background: linear-gradient(135deg,
      #7A6540 0%,
      #D4AF37 35%,
      #F5D060 55%,
      #D4AF37 75%,
      #A58E5E 100%) !important;
  color: #071022 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 24px rgba(188, 139, 93, 0.35), var(--glow-gold-sm) !important;
  letter-spacing: 0.01em;
}

.btn-gold:hover {
  background: linear-gradient(135deg,
      #A58E5E 0%,
      #F5D060 40%,
      #D4AF37 65%,
      #7A6540 100%) !important;
  box-shadow: 0 10px 36px rgba(188, 139, 93, 0.55), var(--glow-gold-md) !important;
  transform: translateY(-3px) !important;
}

/* ── 8. Paso números — degradado dorado en círculos ── */
.paso.paso-active .paso-num {
  background: var(--grad-gold-v) !important;
  color: #071022 !important;
  font-weight: 900;
  box-shadow:
    0 0 0 4px rgba(188, 139, 93, 0.15),
    0 0 24px rgba(188, 139, 93, 0.4),
    0 8px 20px rgba(12, 26, 54, 0.8) !important;
  border-color: var(--gold-bright) !important;
}

/* ── 9. Gold separator line animado ── */
@keyframes goldLineSweep {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.section-header::after {
  background: linear-gradient(90deg,
      #7A6540 0%,
      #D4AF37 30%,
      #F5D060 50%,
      #D4AF37 70%,
      #7A6540 100%);
  background-size: 200% 100%;
  animation: goldLineSweep 3s linear infinite;
}

/* ── 10. Review CTA — degradado de fondo ── */
.review-cta {
  background: linear-gradient(135deg,
      rgba(92, 74, 30, 0.2) 0%,
      rgba(145, 104, 64, 0.12) 50%,
      rgba(188, 139, 93, 0.08) 100%) !important;
  border: 1px solid rgba(188, 139, 93, 0.3) !important;
  box-shadow: var(--glow-gold-sm) !important;
}

/* ── 11. Header — borde inferior con degradado dorado ── */
.header {
  border-bottom: 1px solid transparent !important;
  background-image:
    linear-gradient(rgba(7, 16, 34, 0.97), rgba(7, 16, 34, 0.97)),
    var(--grad-gold) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
}

/* ── 12. Marca card hover — glow dorado ── */
.marca-card:hover {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.3),
    var(--glow-gold-sm),
    0 0 0 1px rgba(188, 139, 93, 0.3) !important;
}

/* ── 13. WA Float — glow sutil dorado ── */
.wa-float:hover {
  box-shadow:
    0 10px 36px rgba(37, 211, 102, 0.55),
    0 0 20px rgba(188, 139, 93, 0.15) !important;
}

/* =======================================================
   ✨ TEXT ANIMATION SYSTEM
   ======================================================= */

/* ── Word Reveal (JS splits text into .word spans) ── */
.word-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}

.word-reveal.words-visible .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger for each word */
.word-reveal .word:nth-child(1) .word-inner {
  transition-delay: 0.00s;
}

.word-reveal .word:nth-child(2) .word-inner {
  transition-delay: 0.06s;
}

.word-reveal .word:nth-child(3) .word-inner {
  transition-delay: 0.12s;
}

.word-reveal .word:nth-child(4) .word-inner {
  transition-delay: 0.18s;
}

.word-reveal .word:nth-child(5) .word-inner {
  transition-delay: 0.24s;
}

.word-reveal .word:nth-child(6) .word-inner {
  transition-delay: 0.30s;
}

.word-reveal .word:nth-child(7) .word-inner {
  transition-delay: 0.36s;
}

.word-reveal .word:nth-child(8) .word-inner {
  transition-delay: 0.42s;
}

.word-reveal .word:nth-child(9) .word-inner {
  transition-delay: 0.48s;
}

.word-reveal .word:nth-child(10) .word-inner {
  transition-delay: 0.54s;
}

/* ── Title Animate: fade-up on whole element (preserves gradient) ── */
.title-animate {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.title-animate.title-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for subtitle that comes after title */
.section-header .section-subtitle {
  opacity: 0;
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
  transform: translateY(12px);
}

.section-header .section-subtitle.word-reveal {
  /* word-inner handles the per-word reveal — reset the parent */
  opacity: 1;
  transform: none;
}

.section-title:hover {
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(188, 139, 93, 0.4));
}

/* ── Underline grow on hover ── */
.section-header::after {
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header:hover::after {
  width: 120px;
}

/* ── Stat counter animation ── */
.stat-num {
  transition: transform 0.3s ease;
}

.stat-num.counting {
  animation: countPulse 0.15s ease;
}

@keyframes countPulse {
  0% {
    transform: scale(1.15);
    color: var(--gold-bright);
  }

  100% {
    transform: scale(1);
  }
}

/* ── Hero badge subtle pulse ── */
@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(145, 104, 64, 0.4);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(145, 104, 64, 0.2), 0 0 16px rgba(188, 139, 93, 0.2);
  }
}

.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

/* ── Paso título animado ── */
.paso h3 {
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.paso:hover h3 {
  letter-spacing: 0.01em;
}

/* ── Text gradient sweep on hover (headings) ── */
@keyframes goldSweepText {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.section-title:hover {
  background-size: 200% auto;
  animation: goldSweepText 1.2s linear forwards;
}

/* =======================================================
   📱 RESPONSIVE TYPOGRAPHY — MOBILE FIRST
   ======================================================= */

/* ── Base mobile type scale ── */
@media (max-width: 640px) {

  /* Hero */
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
  }

  .hero-name-accent {
    font-size: clamp(2.4rem, 10vw, 3.2rem) !important;
    letter-spacing: -0.03em !important;
  }

  .hero-subtitle {
    font-size: 0.97rem !important;
    line-height: 1.65 !important;
    max-width: 90% !important;
  }

  .hero-badge {
    font-size: 0.72rem !important;
    padding: 7px 16px !important;
    letter-spacing: 0.05em !important;
  }

  .hero-note {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  /* Sections */
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
  }

  .section-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    max-width: 95% !important;
    padding: 0 8px;
  }

  .section-header {
    margin-bottom: 36px !important;
  }

  /* Cards text */
  .servicio-card h3,
  .flip-front-title {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
  }

  .servicio-card p {
    font-size: 0.88rem !important;
  }

  /* Proceso */
  .paso h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }

  .paso p {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }

  .paso-num {
    font-size: 1.4rem !important;
    width: 58px !important;
    height: 58px !important;
  }

  /* Testimonios */
  .testimonio-texto {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }

  .testimonio-autor strong {
    font-size: 0.95rem !important;
  }

  /* Contacto */
  .otros-servicios-card h3 {
    font-size: 1.15rem !important;
  }

  .otros-servicios-card p {
    font-size: 0.88rem !important;
  }

  /* Footer */
  .footer-title {
    font-size: 0.78rem !important;
  }

  .footer-links a,
  .footer-contact-list li {
    font-size: 0.83rem !important;
  }

  /* Resumen */
  .minimal-card h3 {
    font-size: 1rem !important;
  }

  .minimal-card p {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }

  .commitment-box {
    font-size: 0.86rem !important;
  }
}

/* ── Tablet adjustments ── */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem) !important;
  }

  .hero-name-accent {
    font-size: clamp(2.8rem, 7vw, 4.2rem) !important;
  }

  .section-title {
    font-size: clamp(1.7rem, 4vw, 2.3rem) !important;
  }

  .section-subtitle {
    font-size: 1rem !important;
  }
}

/* ── Preserve gradient-text for section-title even when overriding color ── */
@media (max-width: 900px) {
  .section-title {
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  /* Exception: testimonials title must remain visible */
  .testimonios .section-title,
  .testimonios .section-subtitle {
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
  }
}

/* ── Container padding responsive ── */
.container {
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ── Word spacing better on mobile ── */
@media (max-width: 480px) {

  p,
  li {
    word-break: break-word;
    hyphens: auto;
  }

  .hero-title {
    word-spacing: -0.02em;
  }
}

/* =======================================================
   ✦ NAVIGATION — DESKTOP & MOBILE
   ======================================================= */

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(145, 104, 64, 0.08);
}

.nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* ── Dropdown ── */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10, 20, 42, 0.97);
  border: 1px solid rgba(145, 104, 64, 0.25);
  border-radius: 16px;
  padding: 8px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(145, 104, 64, 0.1);
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: rgba(145, 104, 64, 0.25);
}

/* Solo se abre via JS con aria-expanded="true" — sin hover para evitar sobreposición */
.nav-dropdown-btn[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-btn[aria-expanded="true"] ~ * .nav-arrow,
.nav-dropdown-btn[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(145, 104, 64, 0.12);
  color: var(--gold-light);
  padding-left: 18px;
}

.nav-drop-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

.nav-dropdown-item:hover .nav-drop-icon {
  transform: translateX(2px) scale(1.15);
}

/* ── Header WA CTA ── */
.header-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  flex-shrink: 0;
}

.header-wa-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

@media (max-width: 860px) {
  .header-wa-cta {
    display: none;
  }
}

/* ── Mobile Nav Links ── */
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(145, 104, 64, 0.1);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--gold-light);
}

.mobile-wa-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 8px;
  padding: 14px 20px !important;
  margin-top: 20px !important;
  margin-bottom: 8px !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  border-bottom: none !important;
  letter-spacing: 0.5px;
}

/* ── Mobile Accordion ── */
.mobile-accordion {
  border-bottom: 1px solid rgba(145, 104, 64, 0.1);
}

.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.mobile-accordion-btn:hover {
  color: var(--gold-light);
}

.mobile-acc-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  color: var(--gold);
}

.mobile-accordion-btn[aria-expanded="true"] .mobile-acc-arrow {
  transform: rotate(90deg);
}

.mobile-accordion-body {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 16px;
  padding-bottom: 8px;
}

.mobile-accordion-body.open {
  display: flex;
}

.mobile-accordion-body a {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(145, 104, 64, 0.06);
  transition: color 0.2s;
}

.mobile-accordion-body a:hover {
  color: var(--gold-light);
}

@media (min-width: 960px) {
  .main-nav {
    display: flex !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* =======================================================
   ✦ SEMINUEVOS / PDF CARDS
   ======================================================= */

.seminuevos-section {
  background: var(--dark);
  padding: clamp(60px, 8vw, 100px) 0;
}

.seminuevos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

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

@media (max-width: 580px) {
  .seminuevos-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}

.pdf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(145, 104, 64, 0.2);
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pdf-card:hover {
  border-color: rgba(145, 104, 64, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(188, 139, 93, 0.08);
  transform: translateY(-4px);
}

.pdf-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(145, 104, 64, 0.12);
  border: 1.5px solid rgba(188, 139, 93, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pdf-card-icon-wrap svg {
  width: 36px;
  height: 36px;
  stroke: var(--gold-light);
}

.pdf-type-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--cream-dark);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
}

.pdf-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.85);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pdf-dl-btn {
  padding: 10px 28px !important;
  font-size: 0.88rem !important;
}

/* ===================== PDF PREVIEW MOBILE FIX ===================== */
@media (max-width: 768px) {
  .pdf-preview-desktop {
    display: none !important;
  }
  .pdf-preview-mobile {
    display: flex !important;
  }
}

.seminuevos-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  justify-content: center;
  text-align: center;
}

/* =======================================================
   ✦ SUB-PAGE HERO (acerca-de, mision, objetivo, servicios)
   ======================================================= */

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-hero {
  background: linear-gradient(135deg, var(--cream-dark) 0%, rgba(9, 18, 33, 0.95) 100%);
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(145, 104, 64, 0.15);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(188, 139, 93, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(241, 245, 249, 0.5);
  margin-bottom: 24px;
}

.page-hero-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.page-hero-breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero-breadcrumb span {
  color: rgba(241, 245, 249, 0.3);
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.page-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(241, 245, 249, 0.75);
  max-width: 900px;
  line-height: 1.75;
}

/* =======================================================
   ✦ CONTENT SECTIONS (acerca-de)
   ======================================================= */

.content-section {
  padding: clamp(60px, 7vw, 90px) 0;
}

.content-section:nth-child(even) {
  background: var(--cream-dark);
}

.content-section:nth-child(odd) {
  background: var(--dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse>* {
  direction: ltr;
}

.content-body p {
  font-size: 1rem;
  color: rgba(241, 245, 249, 0.78);
  line-height: 1.85;
  margin-bottom: 18px;
}

.content-body p:last-child {
  margin-bottom: 0;
}

.content-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.content-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(145, 104, 64, 0.12) 0%, rgba(145, 104, 64, 0.04) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
  margin: 32px 0;
}

.highlight-box p {
  font-size: 1.05rem;
  font-style: normal;
  color: rgba(241, 245, 249, 0.88);
  line-height: 1.8;
  margin: 0;
}

.diff-card {
  background: linear-gradient(135deg, rgba(188, 139, 93, 0.15) 0%, rgba(188, 139, 93, 0.04) 100%);
  border: 1px solid rgba(188, 139, 93, 0.25);
  border-radius: 20px;
  padding: 40px;
}

.diff-card .diff-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.diff-card p {
  font-size: 1.15rem;
  color: rgba(241, 245, 249, 0.9);
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
}

.diff-card p strong {
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pillar-item {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.15);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar-item:hover {
  border-color: rgba(188, 139, 93, 0.4);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.65);
  line-height: 1.4;
}

.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: rgba(241, 245, 249, 0.82);
  line-height: 1.65;
}

.process-list .pl-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(145, 104, 64, 0.18);
  border: 1px solid rgba(188, 139, 93, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 800;
  margin-top: 2px;
}

/* CTA Banner */
.page-cta {
  background: linear-gradient(135deg, var(--cream-dark), rgba(9, 18, 33, 0.98));
  border-top: 1px solid rgba(145, 104, 64, 0.15);
  padding: clamp(60px, 8vw, 90px) 0;
  text-align: center;
}

.page-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.page-cta p {
  color: rgba(241, 245, 249, 0.65);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col.reverse {
    direction: ltr;
  }

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

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

/* =======================================================
   ✦ SERVICIOS PAGE (svc-cards, aliados)
   ======================================================= */

.svc-section {
  background: var(--dark);
  padding: clamp(70px, 9vw, 100px) 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.svc-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.15);
  border-radius: 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-card:hover {
  border-color: rgba(188, 139, 93, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(188, 139, 93, 0.08);
  transform: translateY(-5px);
}

.svc-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(145, 104, 64, 0.12);
  border: 1.5px solid rgba(188, 139, 93, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(145, 104, 64, 0.12);
}

.svc-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-light);
}

.svc-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.svc-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(188, 139, 93, 0.12);
  border-radius: 50px;
  padding: 3px 10px;
  width: fit-content;
}

.svc-card-desc {
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.6);
  line-height: 1.7;
  margin-top: auto;
}

.zone-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(145, 104, 64, 0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(145, 104, 64, 0.2);
  border-radius: 50px;
  padding: 3px 10px;
  margin-top: 8px;
  margin-right: 4px;
}

/* Aliados section */
.aliados-section {
  background: var(--cream-dark);
  padding: clamp(70px, 9vw, 100px) 0;
  border-top: 1px solid rgba(145, 104, 64, 0.1);
}

.aliados-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 56px;
}

.aliados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aliado-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.15);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.aliado-card:hover {
  border-color: rgba(188, 139, 93, 0.4);
  transform: translateY(-4px);
}

.aliado-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.aliado-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.88);
  line-height: 1.4;
}

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

  .aliados-intro {
    grid-template-columns: 1fr;
  }

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

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

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

/* =======================================================
   ✦ MISIÓN · VISIÓN · VALORES PAGE
   ======================================================= */

.mvv-page-section {
  padding: clamp(70px, 9vw, 110px) 0;
}

.mvv-page-section:nth-child(even) {
  background: var(--cream-dark);
}

.mvv-page-section:nth-child(odd) {
  background: var(--dark);
}

.mvv-two-col {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.mvv-icon-big {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: rgba(145, 104, 64, 0.1);
  border: 1.5px solid rgba(188, 139, 93, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(145, 104, 64, 0.18);
}

.mvv-icon-big svg {
  width: 56px;
  height: 56px;
  stroke: var(--gold-light);
}

.mvv-big-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.mvv-big-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  line-height: 1.1;
}

.mvv-big-text {
  font-size: 1.1rem;
  color: rgba(241, 245, 249, 0.82);
  line-height: 1.85;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.valor-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.18);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s;
}

.valor-chip:hover {
  border-color: rgba(188, 139, 93, 0.45);
  transform: translateY(-3px);
}

.valor-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(188, 139, 93, 0.5);
}

.valor-chip-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.88);
}

.quote-section {
  background: var(--cream-dark);
  padding: clamp(70px, 9vw, 110px) 0;
  text-align: center;
  border-top: 1px solid rgba(145, 104, 64, 0.12);
}

.big-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  font-style: normal;
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.55;
  max-width: 1000px;
  margin: 0 auto 24px;
}

.big-quote span {
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.quote-attribution {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.4);
}

@media (max-width: 900px) {
  .mvv-two-col {
    grid-template-columns: 1fr;
  }

  .mvv-icon-big {
    width: 80px;
    height: 80px;
  }

  .mvv-icon-big svg {
    width: 38px;
    height: 38px;
  }

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

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

/* =======================================================
   ✦ OBJETIVO PAGE
   ======================================================= */

.obj-section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.obj-section:nth-child(even) {
  background: var(--cream-dark);
}

.obj-section:nth-child(odd) {
  background: var(--dark);
}

.obj-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.obj-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.15;
}

.obj-lead {
  font-size: 1.05rem;
  color: rgba(241, 245, 249, 0.7);
  line-height: 1.8;
  max-width: 900px;
  margin-bottom: 40px;
}

.bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.15);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s;
}

.bullet-item:hover {
  border-color: rgba(188, 139, 93, 0.4);
  transform: translateY(-3px);
}

.bullet-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(145, 104, 64, 0.14);
  border: 1px solid rgba(188, 139, 93, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-light);
}

.bullet-text {
  font-size: 0.92rem;
  color: rgba(241, 245, 249, 0.82);
  line-height: 1.55;
  font-weight: 500;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.role-card {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(188, 139, 93, 0.15);
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.role-card:hover {
  border-color: rgba(188, 139, 93, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(188, 139, 93, 0.1);
  transform: translateY(-5px);
}

.role-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.role-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.92);
  margin-bottom: 10px;
}

.role-desc {
  font-size: 0.88rem;
  color: rgba(241, 245, 249, 0.55);
  line-height: 1.65;
}

.allies-section {
  background: var(--cream-dark);
  padding: clamp(60px, 8vw, 96px) 0;
}

.allies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.ally-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ally-center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(145, 104, 64, 0.25), rgba(145, 104, 64, 0.08));
  border: 2px solid rgba(188, 139, 93, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 0 40px rgba(145, 104, 64, 0.2);
}

.ally-arms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.ally-arm {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(188, 139, 93, 0.18);
  border-radius: 12px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.78);
}

.ally-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ally-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.55;
}

.ally-list .al-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

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

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

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

  .ally-arms {
    grid-template-columns: 1fr 1fr;
  }
}

/* =======================================================
   ✦ CONTACT METHODS (servicios contact section)
   ======================================================= */

.contact-methods-inner {
  padding: 8px 0;
}

/* =======================================================
   ✦ FEATURE CARDS (Kavak-style benefit carousel) — v3
   ======================================================= */

.fc-section {
  padding: 0 0 4px;
  background: var(--dark);
}

.fc-track-outer {
  position: relative;
  overflow: hidden;  /* CRÍTICO: limita scrollIntoView al track, no a la página */
}

.fc-track {
  display: flex;
  gap: 0;                    /* sin gap entre grupos — cada grupo es exactamente offsetWidth */
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  padding: 32px 0 8px;       /* sin padding horizontal para que offsetWidth = viewport */
  overscroll-behavior-x: contain;
}

.fc-track::-webkit-scrollbar { display: none; }
.fc-track.grabbing { cursor: grabbing; }

/* ── Grupo de 3 tarjetas (un "slide") ── */
.fc-slide-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex: 0 0 100%;            /* exactamente el viewport del track */
  scroll-snap-align: start;
  min-width: 0;
  padding: 0 40px;           /* padding visual dentro de cada grupo */
  box-sizing: border-box;
}

/* ── Tarjeta base ── */
.fc-card {
  flex: 0 0 400px;          /* ancho fijo, visible como tarjeta */
  height: 260px;
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Dentro de un grupo, las tarjetas se reparten el ancho equitativamente */
.fc-slide-group .fc-card {
  flex: 1 1 0;
  min-width: 0;
  scroll-snap-align: none;
}

.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(0,0,0,0.65);
}

/* ── Zona de texto (izquierda) ── */
.fc-card-body {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px 24px 24px;
  z-index: 2;
}

.fc-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.fc-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* ── Zona de imagen (derecha) ── */
.fc-card-img-wrap {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
}

.fc-card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.fc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.fc-card:hover .fc-card-img-wrap img {
  transform: scale(1.06);
}

/* ── Flechas ── */
.fc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(188,139,93,0.45);
  background: rgba(8,18,38,0.85);
  color: var(--gold-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.fc-nav:hover {
  background: rgba(145,104,64,0.3);
  border-color: var(--gold-light);
}

.fc-nav-prev { left: 8px; }
.fc-nav-next { right: 8px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .fc-track { padding: 20px 0 8px; gap: 0; }
  /* En móvil los grupos desaparecen — cada tarjeta scrollea individualmente */
  .fc-slide-group {
    display: contents;
  }
  .fc-slide-group .fc-card {
    flex: 0 0 85vw;
    height: 210px;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .fc-slide-group .fc-card { flex: 0 0 90vw; height: 190px; }
  .fc-card-body { padding: 18px 12px 18px 18px; }
}

/* ── Tarjeta CTA separada ── */
.fc-card-cta-card {
  background: linear-gradient(135deg, #916840 0%, #bc8b5d 50%, #7a5430 100%) !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.fc-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 36px;
  height: 100%;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
  margin-bottom: 14px;
}

.btn-gold:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
  color: #fff;
}

.fc-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.18);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.03em;
}

.fc-call-btn:hover {
  background: rgba(0,0,0,0.32);
  border-color: #fff;
  color: #fff;
}

/* ── Dots indicadores ── */
.fc-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 8px;
  background: var(--dark);
}

.fc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
}

.fc-dot.active {
  background: var(--gold-light);
  transform: scale(1.25);
}
/* ===================== PRUEBA DE MANEJO ===================== */
@media (max-width: 768px) {
  #prueba .container > div { grid-template-columns: 1fr !important; gap: 40px !important; }
  #prueba [style*='grid-template-columns:repeat(3'] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  #prueba [style*='grid-template-columns:repeat(3'] { grid-template-columns: 1fr !important; }
}

/* =====================================================================
   TEMA JOALEX — AJUSTE QUIRÚRGICO
   Reglas SOLO para secciones con fondo claro.
   Secciones oscuras (hero, vision, mision, cards dark) heredan blanco.
   ===================================================================== */

/* ── Variables ── */
:root {
  --ds-bg:      #EDF2FA;
  --ds-white:   #FFFFFF;
  --ds-navy:    #0F2D5E;
  --ds-blue:    #1E5FA8;
  --ds-sky:     #4A90D9;
  --ds-text:    #1F2937;
  --ds-muted:   #4B5563;
  --ds-subtle:  #9CA3AF;
  --ds-border:  rgba(15,45,94,0.12);
  --ds-shadow:  0 4px 20px rgba(15,45,94,0.08);
  --ds-shadowH: 0 12px 40px rgba(15,45,94,0.15);
}

/* 1. Body → azul muy claro. NO tocar color de texto global  */
body {
  background-color: var(--ds-bg) !important;
  background-image: none !important;
}

/* 2. Header → oscuro original (sin override, ya funciona) */

/* 3. Fondos de secciones intermedias claras */
.servicios       { background: var(--ds-white) !important; background-image: none !important; }
.visual-section  { background: var(--ds-bg)    !important; background-image: none !important; }
.experiencia     { background: var(--ds-white) !important; background-image: none !important; }
.marcas-nuevo-section { background: var(--ds-bg) !important; background-image: none !important; }
.mvv-page-section     { background: var(--ds-bg) !important; background-image: none !important; }
.marcas-nuevo-overlay { display: none !important; }

/* 4. Textos en secciones claras: usar clases específicas, no tag global */
.servicios .section-title,
.visual-section .section-title,
.experiencia .section-title,
.marcas-nuevo-section .section-title {
  color: var(--ds-navy) !important;
}
.servicios .section-subtitle,
.visual-section .section-subtitle,
.experiencia .section-subtitle,
.marcas-nuevo-section .section-subtitle {
  color: var(--ds-muted) !important;
}

/* 5. Cards de servicios → blancas con borde izq azul */
.servicio-card {
  background: var(--ds-white) !important;
  border: 1px solid var(--ds-border) !important;
  border-left: 4px solid var(--ds-blue) !important;
  border-top: none !important;
  box-shadow: var(--ds-shadow) !important;
}
.servicio-card:hover {
  border-left-color: var(--gold) !important;
  box-shadow: var(--ds-shadowH) !important;
}
/* Texto de cards → oscuro (solo para cards con fondo claro) */
.servicio-card .flip-front-title { color: var(--ds-navy) !important; }
.servicio-card .flip-hint         { color: var(--ds-subtle) !important; }
.servicio-card h3                 { color: var(--ds-navy) !important; }
.servicio-card p                  { color: var(--ds-muted) !important; }
.servicio-card:hover h3           { color: var(--ds-blue) !important; }
.servicio-card:hover p            { color: var(--ds-text) !important; }
.servicio-icon                    { background: rgba(30,95,168,0.08) !important; }
.servicio-icon svg                { stroke: var(--ds-blue) !important; }
.servicio-tags span {
  background: rgba(30,95,168,0.07) !important;
  color: var(--ds-blue) !important;
  border-color: rgba(30,95,168,0.2) !important;
}

/* 6. Cards de marcas → blancas */
.marca-card {
  background: var(--ds-white) !important;
  border: 1px solid var(--ds-border) !important;
}
.marca-card:hover { border-color: var(--gold) !important; }
.marca-name, .mnc-name { color: var(--ds-navy) !important; }

/* 7. Minimal cards / resumen */
.minimal-card {
  background: var(--ds-white) !important;
  border: 1px solid var(--ds-border) !important;
  box-shadow: var(--ds-shadow) !important;
}
.minimal-card h3 { color: var(--ds-blue) !important; }
.minimal-card p  { color: var(--ds-muted) !important; }
.habilidades li  { color: var(--ds-text) !important; }
.commitment-box  {
  background: rgba(30,95,168,0.06) !important;
  border-left-color: var(--ds-blue) !important;
  color: var(--ds-navy) !important;
}

/* 8. CTA bloque marcas → fondo oscuro con texto blanco */
.marcas-nuevo-cta {
  background: var(--ds-navy) !important;
  border: none !important;
}
.marcas-nuevo-cta h3              { color: #FFFFFF !important; }
.marcas-nuevo-cta p               { color: rgba(255,255,255,0.82) !important; }
.marcas-nuevo-cta p strong        { color: #FFFFFF !important; }
.marcas-nuevo-title               { color: var(--ds-navy) !important; }
.marcas-nuevo-sub                 { color: var(--ds-muted) !important; }

/* 9. MVV page section headers (NOT hero/dark sections) */
.mvv-page-section .section-title  { color: var(--ds-navy) !important; }
.mvv-page-section .section-subtitle { color: var(--ds-muted) !important; }
.step-box h3                       { color: var(--ds-navy) !important; }
.step-box p                        { color: var(--ds-muted) !important; }

/* 10. Formularios → bordes y labels visibles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
select,
textarea {
  border: 1.5px solid rgba(15,45,94,0.25) !important;
  border-radius: 8px !important;
  font-family: 'Open Sans', sans-serif !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: var(--ds-blue) !important;
  box-shadow: 0 0 0 3px rgba(30,95,168,0.12) !important;
}
input[type="radio"], input[type="checkbox"] {
  accent-color: var(--ds-blue) !important;
  width: auto !important;
  padding: 0 !important;
}

/* 11. Dropdowns nav */
.nav-dropdown-menu    { background: var(--ds-white) !important; border: 1px solid var(--ds-border) !important; }
.nav-dropdown-item    { color: var(--ds-navy) !important; }
.nav-dropdown-item:hover { background: var(--ds-bg) !important; color: var(--ds-blue) !important; }

/* 12. Aliados */
.aliado-name { color: var(--ds-muted) !important; }
.aliados-label { color: var(--ds-blue) !important; }

/* 13. SVG alineación en flex */
[style*="display:flex"] > svg { display: block !important; flex-shrink: 0 !important; }

/* 14. Banners CTA en Seminuevos y Galeria (Fondo oscuro para destacar textos blancos) */
.beneficio-banner,
.seminuevos .container > div[style*="background:rgba(255,255"] {
  background: var(--ds-navy) !important;
  border: none !important;
  box-shadow: var(--ds-shadow) !important;
}
.beneficio-text h4 {
  color: var(--gold) !important;
}
.beneficio-text p {
  color: rgba(241, 245, 249, 0.85) !important;
  line-height: 1.7;
}

/* Fix para Mision en movil (Texto primero) */
@media (max-width: 768px) {
  .mision-img-half {
    order: 2;
  }
  .mision-text-half {
    order: 1;
  }
}


