/* =========================================================
   Diamonds Smile – VERSIÓN ORGANIZADA Y CORREGIDA
   Archivo: assets/css/main.css
   ========================================================= */

/* ------------------------------
   Variables de tema
------------------------------ */
:root{
  /* Colores base */
  --primary-color: #C9AA71;          /* Dorado Luxury */
  --primary-600: #b8945a;
  --accent-color: #FFD451;           /* Estrellas, highlights */
  --text-dark: #111317;
  --text-base: #2a2f36;
  --text-muted: #6b7280;
  --text-light: #8a8f98;
  --text-white: #ffffff;

  --bg-page: #f7f8fb;                 /* fondo base claro */
  --bg-card: #1d1f22;                 /* base card */
  --bg-card-soft: #212428;            /* card suave */
  --bg-soft: #f4f5f8;
  --bg-soft-2: #eef1f5;

  /* Tipografía */
  --font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: .78rem;
  --font-size-sm: .9rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.35rem;
  --font-size-2xl: clamp(1.8rem, 3.2vw, 2.4rem);
  --font-size-3xl: clamp(2.2rem, 4.2vw, 3rem);

  /* Espaciado y radios */
  --space-2xs: .25rem;
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.25rem;
  --space-3xl: 3rem;

  --radius-sm: .5rem;
  --radius-md: .8rem;
  --radius-lg: 1.2rem;
  --radius-xl: 1.6rem;
  --radius-pill: 999px;

  /* Sombras y transiciones */
  --shadow-sm: 0 6px 14px rgba(0,0,0,.06);
  --shadow-md: 0 12px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 45px rgba(0,0,0,.12);
  --shadow-xl: 0 35px 70px rgba(0,0,0,.16);
  --shadow-gold: 0 10px 32px rgba(201,170,113,.28);

  --transition-fast: .18s cubic-bezier(.4,0,.2,1);
  --transition: .28s cubic-bezier(.4,0,.2,1);
  --transition-slow: .45s cubic-bezier(.4,0,.2,1);

  /* Gradientes */
  --gradient-gold: linear-gradient(135deg, #F8E39A, #E9C871 48%, #C9AA71 80%, #8f6b36);
  --gradient-gold-soft: linear-gradient(135deg, #fff8dc, #f3e6c1 45%, #e9d3a9 100%);

  /* Z-index */
  --z-bg: -3;
  --z-content: 1;
  --z-header: 10;
  --z-modal: 1000;
}

/* ------------------------------
   Reset ligero + Base
------------------------------ */
*{ 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html, body{ 
  height: 100%; 
  overflow-x: hidden !important;
  width: 100% !important;
}

html{ 
  scroll-behavior: smooth; 
}

body{
  font-family: var(--font-family);
  color: var(--text-base);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  padding-top: 80px !important;
}

img{ 
  max-width: 100%; 
  display: block; 
}
a{ 
  color: inherit; 
  text-decoration: none; 
}
button{ 
  font: inherit; 
}

/* ------------------------------
   Contenedores y utilidades
------------------------------ */
.container{
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section-title{
  font-size: var(--font-size-2xl);
  text-align: center;
  margin: 0 0 var(--space-xl);
  color: var(--text-dark);
  letter-spacing: .2px;
}

.section-title + .title-underline{
  width: 72px; 
  height: 6px; 
  border-radius: var(--radius-pill);
  margin: var(--space-sm) auto 0;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-gold);
}

/* ------------------------------
   Fondo VIDEO Diamante - OPTIMIZADO
------------------------------ */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(135deg, #f7f8fb 0%, #f5f6f8 50%, #eef1f5 100%);
  width: 100vw;
  height: 100vh;
}

.bg-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100vw + 40px);
  height: calc(100vh + 40px);
  min-width: calc(100vw + 40px);
  min-height: calc(100vh + 40px);
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%) scale(1.02);
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.04) brightness(1.02);
  opacity: 0.8 !important; 
  z-index: -1;
  will-change: transform;
}


/* Corrección para diferentes relaciones de aspecto */
@media (aspect-ratio > 16/9) {
  .bg-video video {
    width: auto;
    height: calc(100vh + 40px);
    min-width: calc(100vw + 40px);
  }
}

@media (aspect-ratio < 16/9) {
  .bg-video video {
    width: calc(100vw + 40px);
    height: auto;
    min-height: calc(100vh + 40px);
  }
}

/* Fallback para navegadores antiguos */
@supports not (object-fit: cover) {
  .bg-video video {
    width: calc(100vw + 40px);
    height: calc(100vh + 40px);
    object-fit: none;
  }
}

.bg-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent !important;
  /* background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.88) 0 30%, rgba(255,255,255,.52) 50%, rgba(255,255,255,0) 75%),
    linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.15)); */
  mix-blend-mode: screen;
  opacity: 0; /* bajar (o eliminar) */
    mix-blend-mode: normal; /* opcional: elimina el efecto 'screen' */
    z-index: 1;
}

.bg-shine {
  position: absolute;
  inset: -30%;
  z-index: 2;
  pointer-events: none;
  background: transparent !important;
/*   background: linear-gradient(135deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 70%); */
  transform: translate3d(-35%,-35%,0);
  animation: shineSweep 8s cubic-bezier(.4,0,.2,1) infinite;
  /* opacity: 0.15; */
  mix-blend-mode: screen;
  will-change: transform;
}

@keyframes shineSweep {
  0%   { transform: translate3d(-35%,-35%,0); }
  50%  { transform: translate3d(35%,35%,0); }
  100% { transform: translate3d(35%,35%,0); }
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
  .bg-video {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, #f7f8fb 0%, #f5f6f8 50%, #eef1f5 100%) !important;
  }
  
  .bg-video video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: calc(100vw + 40px) !important;
    height: calc(100vh + 40px) !important;
    min-width: calc(100vw + 40px) !important;
    min-height: calc(100vh + 40px) !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(1.05) contrast(1.04) brightness(1.02) !important;
    opacity: 0 !important;
    z-index: 0 !important;
    will-change: transform !important;
    display: block !important;
    visibility: visible !important;
    /* Atributos para móvil */
    -webkit-playsinline: true !important;
    -moz-playsinline: true !important;
    playsinline: true !important;
  }
}

@media (max-width: 480px) {
  .bg-video video {
    transform: translate(-50%, -50%) scale(1.1) !important;
  }
}

/* Orientación portrait en móvil */
@media (max-width: 768px) and (orientation: portrait) {
  .bg-video video {
    width: calc(100vh + 40px) !important;
    height: calc(100vw + 40px) !important;
    min-width: calc(100vh + 40px) !important;
    min-height: calc(100vw + 40px) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
  }
}

/* Orientación landscape en móvil */
@media (max-width: 768px) and (orientation: landscape) {
  .bg-video video {
    transform: translate(-50%, -50%) scale(1.02) !important;
  }
}
/* ------------------------------
   Header + Nav - ESPACIADO PERFECTO
------------------------------ */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    height: 80px !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    height: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative !important;
}

/* Logo */
.logo {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    background: var(--gradient-gold) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    z-index: 1001 !important;
}

/* Navegación desktop */
.nav {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: center !important;
}

.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.nav-links a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color) !important;
    background: rgba(201, 170, 113, 0.1) !important;
}

/* Botón CTA */
.cta-button {
    padding: 12px 24px !important;
    background: var(--gradient-gold) !important;
    color: #111 !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    z-index: 1001 !important;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(201, 170, 113, 0.3) !important;
}

/* Botón hamburguesa */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    z-index: 1001 !important;
    position: relative !important;
}

.mobile-menu-toggle span {
    width: 25px !important;
    height: 3px !important;
    background: var(--text-dark) !important;
    margin: 3px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Animación del botón hamburguesa cuando está activo */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
    background: var(--primary-color) !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
    background: var(--primary-color) !important;
}
/* ================================================
   RESPONSIVE - MÓVIL
   ================================================ */

@media (max-width: 768px) {
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Ocultar navegación y CTA en móvil */
    .nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: 30px 20px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    /* Navegación móvil activa */
    .nav.mobile-active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Enlaces en móvil */
    .nav-links {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .nav-links li {
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-links a {
        display: block !important;
        width: 100% !important;
        padding: 20px !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(201, 170, 113, 0.2) !important;
        border-radius: 0 !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--gradient-gold) !important;
        color: #111 !important;
    }
    
    /* Ocultar CTA en móvil */
    .cta-button {
        display: none !important;
    }
    
    /* Ajustar logo en móvil */
    .logo {
        font-size: 1.3rem !important;
    }
    
    /* Header más compacto en móvil */
    .header {
        height: 70px !important;
    }
    
    .header-container {
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .header {
        height: 65px !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .mobile-menu-toggle span {
        width: 22px !important;
    }
    
    .nav {
        top: 65px !important;
        padding: 25px 15px !important;
    }
    
    .nav-links a {
        padding: 18px !important;
        font-size: 1rem !important;
    }
}

/* ================================================
   OVERLAY PARA MÓVIL (OPCIONAL)
   ================================================ */

.mobile-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.mobile-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ================================================
   CORRECCIONES ADICIONALES
   ================================================ */

/* Prevenir scroll cuando menú está abierto */
body.menu-open {
    overflow: hidden !important;
}

/* Asegurar que el contenido principal tenga padding-top */
main {
    padding-top: 80px !important;
}

@media (max-width: 768px) {
    main {
        padding-top: 70px !important;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 65px !important;
    }
}

/* Corrección para páginas internas */
.equipo-page main,
.servicios-page main,
.contacto-page main {
    padding-top: 0 !important;
}

.equipo-page .breadcrumb-section,
.servicios-page .breadcrumb-section,
.contacto-page .breadcrumb-section {
    padding-top: 100px !important;
}

@media (max-width: 768px) {
    .equipo-page .breadcrumb-section,
    .servicios-page .breadcrumb-section,
    .contacto-page .breadcrumb-section {
        padding-top: 90px !important;
    }
}

@media (max-width: 480px) {
    .equipo-page .breadcrumb-section,
    .servicios-page .breadcrumb-section,
    .contacto-page .breadcrumb-section {
        padding-top: 85px !important;
    }
}
/* ------------------------------
   Hero - ESPACIADO CORREGIDO
------------------------------ */
.hero{ 
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); 
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: var(--z-content);
}

.hero-container{
  width: min(1140px, 92vw);
  margin-inline: auto;
  display: grid; 
  grid-template-columns: 1.2fr .95fr; 
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1{
  font-size: var(--font-size-3xl); 
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--text-dark);
}

.hero .highlight{
  background: var(--gradient-gold);
  -webkit-background-clip: text; 
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  transition: var(--transition);
}

.hero .highlight:hover{
  transform: scale(1.02);
  filter: drop-shadow(0 2px 8px rgba(201,170,113,.3));
}

.hero p{ 
  font-weight: bold;
  color: var(--text-dark); 
  max-width: 56ch; 
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Stats mejoradas */
.hero-stats{
  display: grid; 
  grid-template-columns: repeat(3,minmax(0,1fr)); 
  gap: 1.5rem;
  margin: var(--space-2xl) 0;
}

.stat{
  background: rgb(255 255 255 / 48%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,170,113,.15);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,170,113,0.1), transparent);
  transition: left 0.6s ease;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
  background: rgba(255,255,255,0.95);
}

.stat-number{
  font-weight: 800; 
  font-size: 1.4rem; 
  color: var(--text-dark);
  background: var(--primary-600);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.stat:hover .stat-number {
  animation: numberPulse 0.6s ease;
}

@keyframes numberPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.stat-label{ 
  color: var(--text-dark); 
  font-size: .85rem;
  font-weight: 500;
}

/* Botones */
.hero-buttons{ 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
  margin-top: var(--space-xl);
}

.btn-primary{
  background: var(--gradient-gold); 
  color: #111; 
  font-weight: 700;
  padding: .9rem 1.15rem; 
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold); 
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before{
  left: 100%;
}

.btn-primary:hover{ 
  transform: translateY(-3px); 
  box-shadow: 0 16px 40px rgba(201,170,113,.4);
}

.btn-secondary{
  background: transparent; 
  color: var(--text-dark);
      border: 2px solid rgb(121 95 47 / 41%);
  padding: .85rem 1.05rem; 
  border-radius: var(--radius-pill);
  font-weight: 600; 
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover{ 
  background: rgba(201,170,113,.12);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Placeholders con animaciones */
.hero-image .hero-image-placeholder,
.about .about-image-placeholder {
  height: clamp(320px, 40vw, 450px);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0, #a0aec0);
  border: 2px solid rgba(201,170,113,.2);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: #64748b;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  will-change: transform;
}

.hero-image-placeholder::before,
.about-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.3) 25%, 
    rgba(201,170,113,0.2) 50%, 
    rgba(255,255,255,0.3) 75%, 
    transparent
  );
  transition: left 0.8s ease-in-out;
  z-index: 1;
}

.hero-image-placeholder:hover::before,
.about-image-placeholder:hover::before {
  left: 100%;
}

.hero-image-placeholder:hover,
.about-image-placeholder:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,.15), 0 0 30px rgba(201,170,113,.2);
  border-color: var(--primary-color);
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.placeholder-content i {
  transition: all 0.3s ease;
  color: #64748b;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  font-size: 3rem;
}

.hero-image-placeholder:hover .placeholder-content i,
.about-image-placeholder:hover .placeholder-content i {
  color: var(--primary-color);
  transform: scale(1.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1.1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.8; 
  }
}

.placeholder-content p {
  font-weight: 600;
  text-align: center;
  color: #64748b;
  margin: 0;
  font-size: var(--font-size-base);
  line-height: 1.4;
}

.hero-image-placeholder:hover .placeholder-content p,
.about-image-placeholder:hover .placeholder-content p {
  color: var(--primary-600);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  font-size: var(--font-size-xl);
  animation: bounceEnhanced 2.5s infinite;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.hero-scroll-indicator:hover {
  background: rgba(255,255,255,0.95);
  transform: translateX(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

@keyframes bounceEnhanced {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  25% {
    transform: translateX(-50%) translateY(-15px);
  }
  45% {
    transform: translateX(-50%) translateY(-8px);
  }
  65% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ------------------------------
   Services - ESPACIADO CORREGIDO
------------------------------ */
.services-preview{ 
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: var(--z-content);
  clear: both;
}

.services-preview .services-grid{
  width: min(1140px, 92vw); 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.services-cta{ 
  width: min(1140px,92vw); 
  margin: 1.4rem auto 0; 
  display: flex; 
  justify-content: center; 
}

.services-cta .btn-primary{ 
  padding: .95rem 1.3rem; 
}

/* ------------------------------
   About - ESPACIADO CORREGIDO PARA EVITAR SUPERPOSICIÓN
------------------------------ */
.about{ 
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: var(--z-content);
  clear: both;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.about-container{
  width: min(1140px, 92vw); 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: .95fr 1.1fr; 
  gap: clamp(2rem, 4vw, 3rem); 
  align-items: center;
}

.about h2{ 
  font-size: var(--font-size-2xl); 
  color: var(--text-dark); 
  margin: 0 0 var(--space-lg); 
}

.about p{ 
  color: var(--text-dark); 
  /* margin: 0 0 var(--space-xl);  */
  font-size: var(--font-size-lg);
}

.about-features{ 
  display: grid; 
  gap: var(--space-lg); 
}

.feature{
  display: flex; 
  gap: var(--space-lg); 
  align-items: flex-start;
  background: rgb(255 255 255 / 44%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,170,113,.15);
  border-radius: var(--radius-lg); 
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.feature:hover{
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  background: rgba(255,255,255,.95);
}

.feature i{
  width: 42px; 
  height: 42px; 
  border-radius: 999px;
  display: grid; 
  place-items: center; 
  font-size: 18px; 
  color: #6b530f;
  background: var(--gradient-gold-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  transition: var(--transition);
}

.feature:hover i{
  transform: scale(1.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), var(--shadow-gold);
}

.feature h4{ 
  margin: 0 0 .25rem; 
  color: var(--text-dark); 
}

.feature p{ 
  margin: 0; 
  color: var(--text-dark); 
}

/*revsion opacidad*/

.float,
.hero .float,
.hero [style*="animation: float"],
.hero [style*="background: rgba(201,170,113)"],
.hero div[style*="width: 4px"],
.hero div[style*="height: 4px"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ------------------------------
   Testimonials - SLIDER CORREGIDO (UNO POR UNO)
------------------------------ */
.testimonials{ 
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: var(--z-content);
  clear: both;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.testimonials .section-title{ 
  margin-bottom: .4rem; 
}

.testimonials .title-underline{ 
  margin-top: .6rem; 
}

/* Contenedor principal del slider */
.testimonials-slider {
    position: relative;
    overflow: hidden !important; /* IMPORTANTE: ocultar contenido que se sale */
    width: 100%;
    margin: 0 auto;
    max-width: 800px; /* Limitar ancho máximo */
}

/* Track que contiene todos los slides */
.testimonials-track {
    display: flex !important; /* Alinear slides horizontalmente */
    width: 600% !important; /* 6 slides x 100% = 600% */
    transition: transform 0.5s ease !important;
    transform: translateX(0%) !important; /* Posición inicial */
}

/* Cada slide individual */
.testimonial-slide {
    width: 16.666% !important; /* 100% / 6 slides = 16.666% */
    flex-shrink: 0 !important; /* No permitir que se contraigan */
    padding: 0 20px !important; /* Espacio interno entre slides */
    box-sizing: border-box !important;
}

/* Tarjeta de testimonio dentro del slide */
.testimonial-card {
    background: rgb(255 255 255 / 38%);
    backdrop-filter: blur(15px);
    color: var(--text-base);
    padding: var(--s-9);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    width: 100% !important; /* Ocupar todo el ancho del slide */
    margin: 0 !important; /* Sin márgenes externos */
}

/* Controles del slider */
.testimonials-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

/* Botones de navegación */
.testimonials-controls .prev-btn,
.testimonials-controls .next-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--gradient-gold) !important;
    border: none !important;
    color: #111 !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--shadow-gold) !important;
}

.testimonials-controls .prev-btn:hover,
.testimonials-controls .next-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 32px rgba(201,170,113,0.4) !important;
}

/* Dots de navegación */
.testimonial-dots {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.testimonial-dots .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(201,170,113,0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.testimonial-dots .dot.active {
    background: var(--primary-color) !important;
    border-color: rgba(201,170,113,0.4) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 0 0 4px rgba(201,170,113,0.2) !important;
}

.testimonial-dots .dot:hover {
    background: var(--primary-color) !important;
    transform: scale(1.1) !important;
}

/* ================================================
   CLASES PARA JAVASCRIPT - POSICIONES DEL SLIDER
   ================================================ */

/* Slide 1 - Posición inicial */
.testimonials-track.slide-0 {
    transform: translateX(0%) !important;
}

/* Slide 2 */
.testimonials-track.slide-1 {
    transform: translateX(-16.666%) !important;
}

/* Slide 3 */
.testimonials-track.slide-2 {
    transform: translateX(-33.333%) !important;
}

/* Slide 4 */
.testimonials-track.slide-3 {
    transform: translateX(-50%) !important;
}

/* Slide 5 */
.testimonials-track.slide-4 {
    transform: translateX(-66.666%) !important;
}

/* Slide 6 */
.testimonials-track.slide-5 {
    transform: translateX(-83.333%) !important;
}

/* ================================================
   RESPONSIVE - SLIDER TESTIMONIOS
   ================================================ */

@media (max-width: 768px) {
    .testimonials-slider {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .testimonial-slide {
        padding: 0 10px !important;
    }
    
    .testimonial-card {
        min-height: 280px;
        padding: var(--s-8);
    }
    
    .testimonials-controls .prev-btn,
    .testimonials-controls .next-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
    
    .testimonials-controls {
        gap: 20px !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        padding: 0 15px;
    }
    
    .testimonial-slide {
        padding: 0 5px !important;
    }
    
    .testimonial-card {
        min-height: 250px;
        padding: var(--s-7);
    }
    
    .testimonials-controls .prev-btn,
    .testimonials-controls .next-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .testimonial-dots .dot {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ================================================
   CORRECCIÓN ADICIONAL - ELEMENTOS INTERNOS
   ================================================ */

.testimonial-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: var(--s-7);
    background: linear-gradient(135deg, #e8eaed, #d9dce1);
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 8px rgba(201,170,113,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7a88;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0 !important; /* No permitir que se contraiga */
}

.stars {
    color: var(--accent-color);
    margin-bottom: var(--s-7);
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2px;
    justify-content: center;
    flex-shrink: 0 !important;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.testimonial-content p {
    color: var(--text-base);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--s-7);
    quotes: '"' '"';
    text-align: center;
    flex: 1;
}

.testimonial-content h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: var(--s-6);
    font-size: 1.1rem;
    text-align: center;
}

.testimonial-content span {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* ------------------------------
   CTA - ESPACIADO CORREGIDO
------------------------------ */
.cta-section{ 
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  z-index: var(--z-content);
  clear: both;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.cta-content{
  width: min(940px, 92vw); 
  margin: 0 auto; 
  text-align: center;
}

.cta-content h2{ 
  font-size: var(--font-size-2xl); 
  margin: 0 0 .45rem; 
}

.cta-content p{ 
  color: var(--text-dark); 
  margin: 0 0 1.1rem;
  font-size: var(--font-size-lg);
}

.cta-buttons{ 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  flex-wrap: wrap; 
}

/* ------------------------------
   Footer - ESPACIADO CORREGIDO
------------------------------ */
.footer{
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,170,113,.2);
  position: relative;
  z-index: var(--z-content);
  margin-top: clamp(4rem, 8vw, 6rem);
  clear: both;
}

.footer::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer .footer-content{
  width: min(1140px, 92vw); 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr; 
  gap: 2rem;
}

.footer h3, .footer h4{ 
  margin: 0 0 1rem; 
  color: var(--text-dark); 
  font-weight: 700;
}

.footer h3{
  font-size: var(--font-size-xl);
  display: flex; 
  align-items: center; 
  gap: .5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer p, .footer li, .footer a{ 
  color: var(--text-light); 
  line-height: 1.7;
  transition: var(--transition);
}

.footer ul{ 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: .6rem; 
}

.footer ul li a{
  padding: .3rem 0;
  display: block;
  border-radius: .25rem;
  padding-left: 0;
  transition: all var(--transition);
}

.footer ul li a:hover{
  color: var(--primary-color);
  padding-left: .5rem;
  background: rgba(201,170,113,.05);
}

.footer .social-links{ 
  display: flex; 
  gap: .75rem; 
  margin-top: 1rem; 
}

.footer .social-links a{
  width: 40px; 
  height: 40px; 
  border-radius: 999px; 
  display: grid; 
  place-items: center;
  background: rgba(201,170,113,.12); 
  color: var(--primary-color); 
  transition: var(--transition);
  border: 1px solid rgba(201,170,113,.2);
}

.footer .social-links a:hover{ 
  background: var(--gradient-gold); 
  color: #111;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}

.footer .contact-info{
  display: grid;
  gap: .6rem;
}

.footer .contact-info p{
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
}

.footer .contact-info i{
  color: var(--primary-color);
  margin-top: .2rem;
  flex-shrink: 0;
  width: 18px;
  font-size: .9rem;
}

.footer-bottom{
  width: min(1140px, 92vw); 
  margin: 1.8rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,170,113,.15);
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 1rem;
  color: var(--text-light); 
  font-size: .95rem;
}

.footer-bottom .footer-links{ 
  display: flex; 
  gap: 1.2rem; 
}

.footer-bottom .footer-links a{
  transition: var(--transition);
  padding: .25rem .5rem;
  border-radius: .25rem;
}

.footer-bottom .footer-links a:hover{ 
  color: var(--primary-color);
  background: rgba(201,170,113,.08);
}

/* ------------------------------
   CORRECCIONES PÁGINAS INTERNAS
------------------------------ */
.equipo-page .breadcrumb-section,
.servicios-page .breadcrumb-section,
.contacto-page .breadcrumb-section {
  padding-top: 120px !important;
  background: var(--bg-page) !important;
}

.equipo-page .page-hero,
.servicios-page .page-hero,
.contacto-page .page-hero {
  padding-top: 140px !important;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ------------------------------
   Utilidades y Animaciones
------------------------------ */
.d-none{ 
  display: none !important; 
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

/* ------------------------------
   Optimizaciones para Performance
------------------------------ */
.hero-image-placeholder,
.about-image-placeholder,
.service-card,
.stat,
.feature {
  will-change: transform;
}

.bg-video video {
  loading: lazy;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-scroll-indicator {
    animation: none;
  }
  
  .stat:hover .stat-number,
  .placeholder-content i {
    animation: none;
  }
}

/* ------------------------------
   Responsive - OPTIMIZADO
------------------------------ */
@media (max-width: 1024px){
  .hero-container{ 
    grid-template-columns: 1fr; 
    gap: 3rem;
  }
  
  .hero-image{ 
    order: -1; 
  }
  
  .hero {
    min-height: auto;
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  }
  
  .services-preview .services-grid{ 
    grid-template-columns: 1fr 1fr; 
  }
  
  .about-container{ 
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
  
  .testimonials {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
}

@media (max-width: 768px){
  .header-container{ 
    padding: 0 var(--space-md);
    min-height: 70px;
  }
  
  .header {
    height: 70px;
    min-height: 70px;
  }
  
  .nav{ 
    display: none; 
  }
  
  .nav.active{
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,170,113,.25);
    padding: 1.5rem 0;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
  }
  
  .nav.active .nav-links{
    flex-direction: column;
    width: 100%;
    gap: .75rem;
    padding: 0 1.5rem;
  }
  
  .nav.active .nav-links a{
    padding: .85rem 1.25rem;
    text-align: center;
    background: rgba(201,170,113,.08);
    border-radius: .75rem;
    font-weight: 600;
  }
  
  .mobile-menu-toggle{
    display: block;
  }
  
  .hero{ 
    padding: clamp(2rem, 6vw, 3rem) 0 clamp(1.5rem, 4vw, 2rem);
  }
  
  .hero-stats{ 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem;
  }
  
  .services-preview .services-grid{ 
    grid-template-columns: 1fr; 
  }
  
  .services-preview,
  .about,
  .testimonials {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
  
  .hero-image-placeholder,
  .about-image-placeholder {
    height: clamp(250px, 35vw, 300px);
  }
  
  .testimonials-controls .prev-btn,
  .testimonials-controls .next-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .footer .footer-content{ 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem;
  }
  
  .footer-bottom{ 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem;
  }
  
  /* Correcciones para páginas internas en móvil */
  .equipo-page .breadcrumb-section,
  .servicios-page .breadcrumb-section,
  .contacto-page .breadcrumb-section {
    padding-top: 100px !important;
  }
  
  .equipo-page .page-hero,
  .servicios-page .page-hero,
  .contacto-page .page-hero {
    padding-top: 120px !important;
  }
}

@media (max-width: 480px){
  .hero-stats{ 
    grid-template-columns: 1fr; 
    gap: 1rem;
  }
  
  .btn-secondary{ 
    border-width: 1px; 
  }
  
  .hero {
    padding: clamp(1.5rem, 5vw, 2rem) 0 clamp(1rem, 3vw, 1.5rem);
  }
  
  .services-preview,
  .about,
  .testimonials {
    padding: clamp(1.5rem, 4vw, 2rem) 0;
  }
  
  .footer .footer-content{ 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .footer .social-links{ 
    justify-content: center; 
  }
  
  .footer-bottom{ 
    text-align: center; 
  }
  
  .hero-image-placeholder,
  .about-image-placeholder {
    height: clamp(200px, 30vw, 250px);
  }
  
  .cta-button {
    min-width: 120px;
    padding: var(--space-xs) var(--space-md);
  }
  
  .testimonials-controls .prev-btn,
  .testimonials-controls .next-btn {
    width: 40px;
    height: 40px;
    font-size: .9rem;
  }
}

/* =================================================
   ABOUT — Modo compacto y fix de layout
   ================================================= */
.about.about--compact .about-container{
  display: grid !important;
  grid-template-columns: 320px 1fr;   /* columna izquierda más angosta */
  gap: var(--space-lg);
  align-items: start;
}

/* ================================================
   CORRECCIÓN URGENTE - VIDEO REEL FORMATO VERTICAL
   ================================================ */

/* Asegurar que el contenedor de la imagen esté centrado */
.about.about--compact .about-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Contenedor del video - FORMATO REEL VERTICAL */
.about-video-container {
    width: 100% !important;
    max-width: 240px !important; /* Ancho máximo para reel */
    aspect-ratio: 9 / 16 !important; /* Formato vertical obligatorio */
    height: auto !important;
    min-height: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 
        0 20px 40px rgba(0,0,0,.15),
        0 0 0 3px rgba(201,170,113,.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    background: #000 !important;
    margin: 0 auto !important; /* Centrar el video */
}

/* Video dentro del contenedor - FORZAR DIMENSIONES */
.about-video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 24px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Hover effect del contenedor */
.about-video-container:hover {
    transform: scale(1.05) translateY(-8px) !important;
    box-shadow: 
        0 30px 60px rgba(0,0,0,.2),
        0 0 0 4px rgba(201,170,113,.5) !important;
}

/* Overlay con controles */
.video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 5 !important;
    border-radius: 24px !important;
}

.about-video-container:hover .video-overlay {
    opacity: 1 !important;
}

/* Botón de play/pause */
.video-play-pause {
    background: rgba(255,255,255,0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

.video-play-pause:hover {
    background: var(--gradient-gold) !important;
    color: #111 !important;
    transform: scale(1.1) !important;
}

/* Indicador de sonido */
.video-sound-hint {
    position: absolute !important;
    bottom: 15px !important;
    left: 15px !important;
    right: 15px !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
    z-index: 6 !important;
}

.video-sound-hint.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.video-sound-hint i {
    font-size: 0.9rem !important;
    color: var(--accent-color) !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .about-video-container {
        max-width: 280px !important;
        width: 100% !important;
        aspect-ratio: 9 / 16 !important; /* Mantener formato reel */
    }
    
    .video-play-pause {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .video-sound-hint {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .about-video-container {
        max-width: 250px !important;
        width: 100% !important;
        aspect-ratio: 9 / 16 !important;
    }
    
    .video-play-pause {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
}

/* IMPORTANTE: Sobrescribir cualquier otro CSS que interfiera */
.about.about--compact .about-video-container {
    width: 100% !important;
    max-width: 240px !important;
    aspect-ratio: 9 / 16 !important;
}

/* Ocultar el placeholder si existe */
.about-image-placeholder {
    display: none !important;
}
/* Placeholder izquierdo: tamaño controlado */
.about.about--compact .about-image{ display:flex; justify-content: center !important;
    align-items: center !important; }
.about.about--compact .about-image .about-image-placeholder{
     width: 100%;
    max-width: 240px; /* Más angosto para formato vertical */
    aspect-ratio: 9 / 16; /* Formato reel vertical */
    height: auto;
    min-height: 0 !important;
    padding: var(--space-lg);
    border-radius: var(--radius-xl); /* Más redondeado como reel */
    background: linear-gradient(135deg, 
        rgba(226,232,240,0.9), 
        rgba(203,213,224,0.9), 
        rgba(160,174,192,0.9)
    );
    border: 3px solid rgba(201,170,113,.4); /* Borde más grueso */
    box-shadow: 
        0 20px 40px rgba(0,0,0,.12),
        0 0 0 1px rgba(201,170,113,.2); /* Sombra más dramática */
    position: relative;
    overflow: hidden;
}

/* Ícono y texto del placeholder más chicos */
.about.about--compact .about-image .placeholder-content i{
  font-size: 1.6rem !important;  /* reduce el fa-4x si quedó en el HTML */
  line-height: 1;
}
.about.about--compact .about-image .placeholder-content p{
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  opacity: .85;
}

/* Título y párrafo inicial más cerrados */
.about.about--compact h2{
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.about.about--compact .about-content > p{
  margin: 0 0 var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Stats compactas */
.about.about--compact .about-stats{
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}
.about.about--compact .about-stat{ padding: var(--space-sm); }
.about.about--compact .about-stat .stat-number{ font-size: 1.3rem; }
.about.about--compact .about-stat .stat-label{ font-size: var(--font-size-xs); }

/* Features en 2 columnas y con menos aire */
.about.about--compact .about-features{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.about.about--compact .feature{
  padding: var(--space-md);
  gap: var(--space-md);
}
.about.about--compact .feature i{
  width: 34px; height: 34px; font-size: .95rem;
}
.about.about--compact .feature h4{
  margin: 0 0 4px;
  font-size: calc(var(--font-size-base) - 1px);
}
.about.about--compact .feature p{
  font-size: var(--font-size-xs);
  line-height: 1.35;
  /* Máx 2 líneas para que no crezcan en altura (opcional) */
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden;
}

/* Certificaciones más apretadas */
.about.about--compact .about-certifications{
  margin: var(--space-lg) 0;
  padding: var(--space-md);
}
.about.about--compact .about-certifications h4{ margin-bottom: var(--space-md); }
.about.about--compact .certifications-list{ gap: var(--space-sm); }
.about.about--compact .certification-badge{
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-xs);
  box-shadow: var(--shadow-sm);
}

/* Botones compactos en grilla */
.about.about--compact .about-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.about.about--compact .about-actions .btn-primary,
.about.about--compact .about-actions .btn-secondary{
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px){
  .about.about--compact .about-container{ grid-template-columns: 1fr; }
  .about.about--compact .about-image .about-image-placeholder{ max-width: 100%; }
  .about.about--compact .about-features{ grid-template-columns: 1fr; }
  .about.about--compact .about-actions{ grid-template-columns: 1fr; }
}

/*check*/

/* ================================================
   CHECKBOX EN LÍNEA - CORRECCIÓN CSS
   ================================================ */

/* Checkbox en línea horizontal */
.checkbox-group {
    margin: 20px 0 !important;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Checkbox personalizado */
.checkbox-label input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    flex-shrink: 0 !important; /* No se encoge */
    cursor: pointer !important;
}

/* Texto del checkbox */
.checkbox-label span:not(.checkmark) {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Si tienes checkmark personalizado */
.checkmark {
        width: 20px !important;
    height: 20px !important;
    border: 2px solid rgb(65 47 14) !important;
    border-radius: 4px !important;
    background: #00000024 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

/* Checkbox marcado */
.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-gold) !important;
    border-color: var(--primary-color) !important;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #111 !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

/* Ocultar el checkbox nativo si usas checkmark personalizado */
.checkbox-label input[type="checkbox"] {
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Si prefieres usar el checkbox nativo (más simple) */
.checkbox-label.native-checkbox input[type="checkbox"] {
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
    accent-color: var(--primary-color) !important;
}

/* Enlaces dentro del texto */
.checkbox-label a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.checkbox-label a:hover {
    color: var(--primary-600) !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .checkbox-label {
        gap: 10px !important;
        font-size: 0.85rem !important;
    }
    
    .checkmark {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ===============================================
   CHATBOT DENTAL - ESTILOS
   =============================================== */
.dental-chatbot * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dental-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-family);
    user-select: none;
}

/* ===============================================
   BOTÓN FLOTANTE
   =============================================== */

.chatbot-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    box-shadow: 0 8px 24px rgba(201,170,113,.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 10000;
}

.chatbot-toggle:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 32px rgba(201,170,113,.4);
}

.chatbot-toggle.active {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    z-index: 10001;
}

.chatbot-toggle i {
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.chatbot-toggle i.fa-comments {
    color: #111;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.chatbot-toggle i.fa-times {
    color: white;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.chatbot-toggle.active i.fa-comments {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.chatbot-toggle.active i.fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Notificación */
.chatbot-notification {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chatbotPulse 2s infinite;
    z-index: 10002;
    pointer-events: none;
}

@keyframes chatbotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

/* ===============================================
   VENTANA DEL CHAT
   =============================================== */

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 500px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(201,170,113,.1);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ===============================================
   HEADER DEL CHAT
   =============================================== */

.chatbot-header {
    background: var(--gradient-gold);
    color: #111;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px 16px 0 0;
    min-height: 64px;
    flex-shrink: 0;
}

.chatbot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.chatbot-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.chatbot-status {
    font-size: 0.8rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: chatbotPulse 2s infinite;
}

/* ===============================================
   ÁREA DE MENSAJES
   =============================================== */

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    min-height: 300px;
    max-height: calc(500px - 64px - 100px); /* altura total - header - footer */
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(201,170,113,0.08);
    border-radius: 3px;
    margin: 8px 0;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(201,170,113,0.4);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(201,170,113,0.6);
}

/* ===============================================
   MENSAJES
   =============================================== */

.chat-message {
    display: flex;
    gap: 10px;
    animation: chatFadeInUp 0.3s ease-out;
    margin-bottom: 4px;
}

@keyframes chatFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #111;
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.message-content {
    background: rgba(255,255,255,0.95);
    padding: 12px 14px;
    border-radius: 14px;
    max-width: 240px;
    word-wrap: break-word;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(201,170,113,0.15);
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-message.user .message-content {
    background: var(--gradient-gold);
    color: #111;
    border-color: rgba(201,170,113,0.3);
}

.message-text {
    margin-bottom: 3px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.6;
    text-align: right;
    font-weight: 500;
}

.chat-message.user .message-time {
    text-align: left;
}

/* ===============================================
   OPCIONES RÁPIDAS
   =============================================== */

.quick-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.quick-option {
    background: rgba(201,170,113,0.08);
    border: 1.5px solid rgba(201,170,113,0.4);
    color: var(--primary-color);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.quick-option:hover {
    background: var(--gradient-gold);
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(201,170,113,0.25);
    border-color: var(--primary-color);
}

/* ===============================================
   INDICADOR DE ESCRITURA
   =============================================== */

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    background: rgba(255,255,255,0.5);
    margin: 0 16px;
    border-radius: 12px;
}

.typing-indicator.active {
    opacity: 1;
    visibility: visible;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 80%, 100% {
        transform: scale(0.7);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-indicator span {
    margin-left: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===============================================
   FOOTER DEL CHAT - CORREGIDO PARA MOSTRAR BOTONES
   =============================================== */

.chatbot-footer {
    padding: 16px !important;
    background: rgba(255,255,255,0.98) !important;
    border-top: 1px solid rgba(201,170,113,0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    min-height: 100px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* BOTONES DE ACCIÓN - CORREGIDOS */
.action-buttons {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.action-btn {
    flex: 1 !important;
    padding: 14px 12px !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    min-height: 44px !important;
    white-space: nowrap !important;
}

.action-btn.primary {
    background: var(--gradient-gold) !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(201,170,113,0.2) !important;
}

.action-btn.primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(201,170,113,0.3) !important;
}

.action-btn.secondary {
    background: #22c55e !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(34,197,94,0.2) !important;
}

.action-btn.secondary:hover {
    background: #16a34a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(34,197,94,0.3) !important;
}

.action-btn i {
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}

/* TEXTO DEL FOOTER */
.footer-text {
    font-size: 0.75rem !important;
    text-align: center !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
    margin-top: 4px !important;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 768px) {
    .dental-chatbot {
        bottom: 16px;
        right: 16px;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        max-width: 340px;
        height: 460px;
        bottom: 65px;
        right: -8px;
    }

    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }

    .chatbot-toggle i {
        font-size: 1.2rem;
    }

    .chatbot-header {
        padding: 14px;
        min-height: 58px;
    }

    .chatbot-avatar {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .chatbot-info h3 {
        font-size: 0.9rem;
    }

    .chatbot-status {
        font-size: 0.75rem;
    }

    .chatbot-messages {
        padding: 14px;
        gap: 10px;
        min-height: 260px;
        max-height: calc(460px - 58px - 90px);
    }

    .message-content {
        max-width: 200px;
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .quick-option {
        font-size: 0.75rem;
        padding: 9px 12px;
    }

    .chatbot-footer {
        padding: 14px !important;
        min-height: 90px !important;
    }

    .action-btn {
        font-size: 0.8rem !important;
        padding: 12px 10px !important;
        gap: 6px !important;
        min-height: 40px !important;
    }

    .action-btn i {
        font-size: 0.9rem !important;
    }

    .footer-text {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        height: 440px;
        width: calc(100vw - 24px);
        max-width: none;
        right: -4px;
        bottom: 60px;
    }

    .chatbot-toggle {
        width: 48px;
        height: 48px;
    }

    .chatbot-toggle i {
        font-size: 1.1rem;
    }

    .chatbot-messages {
        min-height: 240px;
        max-height: calc(440px - 58px - 85px);
    }

    .message-content {
        max-width: 180px;
    }

    .chatbot-footer {
        padding: 12px !important;
        min-height: 85px !important;
    }

    .action-btn {
        font-size: 0.75rem !important;
        padding: 10px 8px !important;
        min-height: 38px !important;
    }
}

/* ===============================================
   ANIMACIONES SUAVES Y ELEGANTES
   =============================================== */

.chatbot-window {
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-message {
    animation-duration: 0.25s;
}

.quick-option {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   MEJORAS VISUALES SUTILES
   =============================================== */

.chatbot-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,170,113,0.3), transparent);
    z-index: 1;
}

.message-content {
    position: relative;
}

.message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    border-radius: 14px 14px 0 0;
}

/* Sombra suave en el toggle */
.chatbot-toggle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chatbot-toggle:hover::after {
    opacity: 1;
}

/*carillas diamond*/
/* ================================================
   CARILLAS DIAMOND EXCLUSIVE - ESTILO COHERENTE
   ================================================ */

/* Variables adicionales para elementos premium */
:root {
    --premium-gold: #FFD700;
    --premium-shine: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    --premium-glow: 0 0 20px rgba(255, 215, 0, 0.4);
    --premium-shadow: 0 12px 40px rgba(255, 215, 0, 0.25);
}

/* ================================================
   ELEMENTOS PREMIUM DEL HEADER
   ================================================ */
.exclusive-badge {
    font-size: 0.65rem;
    background: var(--gradient-gold);
    color: #111;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(201,170,113,0.3);
    animation: premiumBadgePulse 3s ease-in-out infinite;
}

@keyframes premiumBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-premium {
    background: var(--gradient-gold);
    color: #111;
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.cta-premium:hover::before {
    left: 100%;
}

.cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold), var(--premium-glow);
}

/* ================================================
   HERO PREMIUM (manteniendo estructura original)
   ================================================ */
.premium-hero {
    position: relative;
}

.premium-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-gold);
    color: #111;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-gold);
    animation: premiumFloat 4s ease-in-out infinite;
}

@keyframes premiumFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.premium-stats .premium-stat {
    background: rgb(255 255 255 / 19%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
}

.premium-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.premium-stat:hover {
    border-color: var(--primary-color);
    box-shadow: var(--premium-shadow);
}

.premium-stat .stat-number {
    background: darkgoldenrod;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botones Premium */
.btn-premium {
    background: var(--gradient-gold);
    color: #111;
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold), var(--premium-glow);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(255,215,0,0.6);
    backdrop-filter: blur(10px);
}

.btn-premium-outline:hover {
    background: rgba(255,215,0,0.1);
    border-color: var(--premium-gold);
    color: var(--text-dark);
}

/* Features Mini */
.premium-features-mini {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgb(255 255 255 / 14%);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 12px;
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition);
}

.feature-mini:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-3px);
    box-shadow: var(--premium-glow);
}

.feature-mini i {
    color: var(--shadow-gold);
    font-size: 1rem;
}

/* ================================================
   IMAGEN PREMIUM (manteniendo estructura original)
   ================================================ */
.premium-image {
    position: relative;
}

.premium-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.premium-placeholder {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 215, 0, 0.15) 100%);
    border: 3px solid var(--premium-gold);
    box-shadow: var(--premium-shadow);
    position: relative;
    overflow: hidden;
}

.premium-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    animation: premiumShine 3s infinite;
}

@keyframes premiumShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.premium-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--premium-shadow), var(--premium-glow);
}

.premium-note {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--premium-gold);
    font-weight: 600;
    background: rgba(255,215,0,0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-pill);
    margin-top: var(--space-sm);
    border: 1px solid rgba(255,215,0,0.4);
}

.premium-frame {
    position: absolute;
    inset: -8px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: linear-gradient(
45deg, #6d5e334d, transparent, #8f7f502e);
    background-size: 300% 300%;
    animation: premiumFrameAnimation 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes premiumFrameAnimation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ================================================
   SECCIÓN PREMIUM (manteniendo estructura de services)
   ================================================ */
.premium-section {
    background: rgb(255 255 255 / 0%);
    position: relative;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd70000, transparent);
}

.premium-section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-gold);
    color: #111;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: var(--font-size-sm);
    margin: 0 auto var(--space-xl);
    box-shadow: var(--shadow-gold);
    display: flex;
    justify-content: center;
    width: max-content;
}

.premium-underline {
    background: var(--premium-shine);
    box-shadow: var(--premium-glow);
}

.premium-grid .premium-card {
    background: rgb(255 255 255 / 11%);
    border: 2px solid rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 4px 16px rgba(255,215,0,0.4);
}

.premium-card:hover {
    border-color: var(--premium-gold);
    box-shadow: var(--premium-shadow);
    background: rgba(255, 255, 255, 0.95);
}

.premium-icon {
    background: var(--premium-shine);
    color: #111;
    box-shadow: var(--premium-shadow);
    border: 3px solid rgba(255,215,0,0.3);
}

.premium-card:hover .premium-icon {
    transform: scale(1.1);
    box-shadow: var(--premium-shadow), var(--premium-glow);
}

.premium-detail {
    font-size: var(--font-size-sm);
    color: #73560e;
    font-weight: 600;
    background: rgb(107 82 36 / 11%);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-pill);
    margin-top: var(--space-md);
    text-align: center;
    border:1px solid rgb(223 180 85 / 23%);
}

/* ================================================
   IMAGEN SECTION PREMIUM
   ================================================ */
.premium-image-section {
    margin-top: var(--space-3xl);
    display: flex;
    justify-content: center;
}

.premium-image-container-large {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.premium-placeholder-large {
    height: clamp(350px, 40vw, 450px);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 215, 0, 0.1) 100%);
    border: 3px solid var(--premium-gold);
    box-shadow: var(--premium-shadow);
}

/* ================================================
   CHATBOT PREMIUM
   ================================================ */
.dental-chatbot .chatbot-toggle {
    background: var(--gradient-gold);
    color: #111;
    box-shadow: var(--premium-shadow);
}

.dental-chatbot .chatbot-toggle:hover {
    box-shadow: var(--premium-shadow), var(--premium-glow);
}

.dental-chatbot .chatbot-notification {
    background: var(--premium-gold);
    color: #111;
    font-weight: 900;
    font-size: 0.6rem;
}

/* ================================================
   PROCESO PREMIUM (manteniendo estructura about)
   ================================================ */
.premium-process {
  /*   background: rgba(255,255,255,0.3);
    backdrop-filter: blur(20px); */
}

.process-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-base);
    margin-bottom: var(--space-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.premium-process-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.premium-video-section {
    position: relative;
}

.premium-video-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.premium-video-placeholder {
    height: clamp(400px, 45vw, 500px);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 215, 0, 0.1) 100%);
    border: 3px solid var(--premium-gold);
    box-shadow: var(--premium-shadow);
    cursor: pointer;
    transition: all var(--transition);
}

.premium-video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--premium-shadow), var(--premium-glow);
}

.premium-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d1ba838f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.8rem;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--premium-shadow);
    transition: all var(--transition);
    animation: premiumPlayPulse 2s ease-in-out infinite;
}

@keyframes premiumPlayPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.premium-video-placeholder:hover .premium-play-button {
    transform: scale(1.2);
    box-shadow: var(--premium-shadow), var(--premium-glow);
}

/* ================================================
   SECCIÓN VIDEO SHOWCASE - NUEVA
   ================================================ */
.premium-video-showcase {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.premium-video-section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.premium-video-featured {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.premium-video-featured .premium-image-container {
    position: relative;
}

.premium-video-featured .premium-video-container {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(201, 170, 113, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

.premium-video-featured .premium-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.premium-video-featured .premium-video-container:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.22),
                0 0 0 2px rgba(201, 170, 113, 0.6);
}

.premium-video-featured .premium-frame {
    position: absolute;
    inset: -6px;
    border: 3px solid rgba(201, 170, 113, 0.2);
    border-radius: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-video-featured .premium-video-container:hover ~ .premium-frame {
    opacity: 1;
}

/* Responsive para tablet */
@media (max-width: 768px) {
    .premium-video-showcase {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    .premium-video-featured {
        max-width: 100%;
        padding: 0 var(--space-lg);
    }

    .premium-video-featured .premium-video-container {
        aspect-ratio: 16 / 9;
        border-radius: 20px;
    }
}

/* Responsive para móvil */
@media (max-width: 480px) {
    .premium-video-showcase {
        padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .premium-video-featured {
        max-width: 100%;
        padding: 0 var(--space-md);
    }

    .premium-video-featured .premium-video-container {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }
}

.premium-video-placeholder .placeholder-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--premium-shadow);
    margin-bottom: var(--space-sm);
}

.premium-video-placeholder .placeholder-content p {
    color: var(--text-base);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

/* Steps Premium */
.premium-steps-content {
    position: relative;
}

.premium-steps {
    display: grid;
    gap: var(--space-xl);
}

.premium-step {
    background: rgb(255 255 255 / 18%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.premium-step:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--premium-gold);
    transform: translateX(8px);
    box-shadow: var(--premium-glow);
}

.premium-step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: darkgoldenrod;
    line-height: 1;
    margin-right: var(--space-md);
    flex-shrink: 0;
    text-shadow: 0 2px 8px rgba(255,215,0,0.3);
    font-family: 'Inter', sans-serif;
}

.premium-step h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.premium-step p {
    color: var(--text-base);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   RESPONSIVE PREMIUM PROCESS
   ================================================ */
@media (max-width: 1024px) {
    .premium-process-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .premium-video-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .premium-video-placeholder {
        height: clamp(300px, 40vw, 400px);
    }
    
    .premium-play-button {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .premium-step {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-lg);
    }
    
    .premium-step-number {
        font-size: 2rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .premium-video-container {
        max-width: 100%;
        padding: 0 var(--space-md);
    }
    
    .premium-video-placeholder {
        height: clamp(250px, 35vw, 300px);
    }
    
    .premium-step {
        padding: var(--space-md);
    }
    
    .premium-step-number {
        font-size: 1.8rem;
    }
}
@media (max-width: 1024px) {
    .premium-features-mini {
        justify-content: center;
    }
    
    .premium-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .premium-features-mini {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-mini {
        justify-content: center;
        min-width: 200px;
    }
    
    .premium-image-container,
    .premium-image-container-large {
        max-width: 100%;
        padding: 0 var(--space-md);
    }
    
    .premium-placeholder,
    .premium-placeholder-large {
        height: clamp(250px, 35vw, 300px);
    }
}

@media (max-width: 480px) {
    .premium-badge-hero {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }
    
    .premium-section-badge {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }
    
    .premium-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
    }
}

/*image hero*/


/* ================================================
   HERO CARILLAS DIAMOND - EFECTOS ELEGANTES
   ================================================ */

/* Contenedor de la imagen hero */
.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(201, 170, 113, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(201, 170, 113, 0.4),
        0 0 30px rgba(201, 170, 113, 0.3);
}

/* Imagen principal con efectos */
.hero-image-main {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    
    /* Efectos sutiles en la imagen */
    filter: 
        brightness(1.05)
        contrast(1.1)
        saturate(1.1);
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.hero-image-container:hover .hero-image-main {
    filter: 
        brightness(1.1)
        contrast(1.15)
        saturate(1.15);
}

/* Overlay elegante y sutil */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(201, 170, 113, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(201, 170, 113, 0.08) 70%,
        rgba(255, 215, 0, 0.06) 100%
    );
    border-radius: 20px;
    z-index: 3;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero-image-container:hover::before {
    opacity: 0.5;
}

/* Efecto de brillo diamante */
.hero-image-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 215, 0, 0.4) 50%,
        rgba(255, 255, 255, 0.3) 60%,
        transparent 70%
    );
    border-radius: 20px;
    z-index: 4;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.hero-image-container:hover::after {
    opacity: 1;
    animation: diamondShine 2s ease-in-out;
}

@keyframes diamondShine {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
        opacity: 0;
    }
}

/* Marco dorado elegante */
.hero-image-container {
    position: relative;
}

.hero-image-container::before {
    box-shadow: inset 0 0 0 2px rgba(201, 170, 113, 0.3);
}

/* Efecto de difuminado en los bordes */
.hero-image-main {
    mask: 
        linear-gradient(to right, black 0%, black 90%, transparent 100%),
        linear-gradient(to bottom, black 0%, black 90%, transparent 100%),
        linear-gradient(to left, black 0%, black 90%, transparent 100%),
        linear-gradient(to top, black 0%, black 90%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask: 
        linear-gradient(to right, black 0%, black 95%, rgba(0,0,0,0.8) 100%),
        linear-gradient(to bottom, black 0%, black 95%, rgba(0,0,0,0.8) 100%),
        linear-gradient(to left, black 0%, black 95%, rgba(0,0,0,0.8) 100%),
        linear-gradient(to top, black 0%, black 95%, rgba(0,0,0,0.8) 100%);
    -webkit-mask-composite: source-in;
}

/* Reflejo sutil en la imagen */
.hero-image-container {
    background: 
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(201, 170, 113, 0.05) 25%,
            rgba(255, 215, 0, 0.03) 50%,
            rgba(201, 170, 113, 0.05) 75%,
            rgba(255, 255, 255, 0.1) 100%
        );
    padding: 3px;
}

/* ================================================
   EFECTOS ADICIONALES PARA ELEGANCIA
   ================================================ */

/* Sombra proyectada elegante */
.hero-image {
    position: relative;
    filter: drop-shadow(0 15px 35px rgba(201, 170, 113, 0.2));
}

/* Efecto de flotación sutil */
.hero-image-container {
    animation: elegantFloat 6s ease-in-out infinite;
}

@keyframes elegantFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-image-container:hover {
    animation-play-state: paused;
}

/* ================================================
   RESPONSIVE hero image
   ================================================ */

@media (max-width: 768px) {
    .hero-image-container {
        border-radius: 16px;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.12),
            0 0 0 1px rgba(201, 170, 113, 0.15);
    }
    
    .hero-image-main {
        border-radius: 16px;
        max-height: 350px;
    }
    
    .hero-image-container:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        border-radius: 12px;
    }
    
    .hero-image-main {
        border-radius: 12px;
        max-height: 395px;
    }
}
/*video contenedor*/

/* ================================================
   VIDEO HERO DIAMOND - CONTENEDOR PREMIUM
   ================================================ */

.premium-video-container {
    width: 100% !important;
    max-width: 450px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 
        0 20px 60px rgba(0,0,0,.15),
        0 0 0 3px rgba(255,215,0,.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    background: #000 !important;
    margin: 0 auto !important;
}

/* Video principal */
.premium-video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 20px !important;
    
    /* Efectos de video premium */
    filter: 
        brightness(1.1)
        contrast(1.15)
        saturate(1.2) !important;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover effect del contenedor */
.premium-video-container:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 
        0 30px 80px rgba(0,0,0,.2),
        0 0 0 4px rgba(255,215,0,.5),
        0 0 30px rgba(255,215,0,.4) !important;
}

.premium-video-container:hover video {
    filter: 
        brightness(1.15)
        contrast(1.2)
        saturate(1.25) !important;
}

/* Overlay con controles */
.premium-video-container .video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 5 !important;
    border-radius: 20px !important;
}

.premium-video-container:hover .video-overlay {
    opacity: 1 !important;
}

/* Botón de play/pause premium */
.premium-video-container .video-play-pause {
    background: var(--gradient-gold) !important;
    border: 3px solid rgba(255,215,0,0.8) !important;
    border-radius: 50% !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1.8rem !important;
    color: #111 !important;
    box-shadow: 
        0 8px 25px rgba(255,215,0,0.4),
        0 0 20px rgba(255,215,0,0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.premium-video-container .video-play-pause::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.premium-video-container .video-play-pause:hover::before {
    left: 100% !important;
}

.premium-video-container .video-play-pause:hover {
    background: var(--premium-shine) !important;
    transform: scale(1.1) !important;
    box-shadow: 
        0 12px 35px rgba(255,215,0,0.5),
        0 0 30px rgba(255,215,0,0.4) !important;
    border-color: #FFD700 !important;
}

/* Badge de video exclusivo */
.video-exclusive-badge {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: var(--gradient-gold) !important;
    color: #111 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 
        0 4px 15px rgba(255,215,0,0.3),
        0 0 20px rgba(255,215,0,0.2) !important;
    z-index: 6 !important;
    animation: exclusiveBadgePulse 3s ease-in-out infinite !important;
}

@keyframes exclusiveBadgePulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(255,215,0,0.3), 0 0 20px rgba(255,215,0,0.2);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 6px 20px rgba(255,215,0,0.4), 0 0 25px rgba(255,215,0,0.3);
    }
}

.video-exclusive-badge i {
    font-size: 1rem !important;
    animation: crownSpin 4s linear infinite !important;
}

@keyframes crownSpin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* Indicador de sonido para video hero */
.premium-video-container .video-sound-hint {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    padding: 10px 16px !important;
    border-radius: 25px !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: all 0.4s ease !important;
    z-index: 6 !important;
    font-weight: 600 !important;
    border: 2px solid rgba(255,215,0,0.3) !important;
}

.premium-video-container .video-sound-hint.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.premium-video-container .video-sound-hint i {
    font-size: 1rem !important;
    color: var(--premium-gold) !important;
    animation: soundPulse 2s ease-in-out infinite !important;
}

@keyframes soundPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

/* Efecto de brillo diamante en el video */
.premium-video-container::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 215, 0, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 70%
    ) !important;
    border-radius: 20px !important;
    z-index: 7 !important;
    opacity: 0 !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    transition: all 0.8s ease !important;
    pointer-events: none !important;
}

.premium-video-container:hover::after {
    opacity: 1 !important;
    animation: videoDiamondShine 2s ease-in-out !important;
}

@keyframes videoDiamondShine {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
        opacity: 0;
    }}

    /* ===== Contacto – estilos solo para esta sección ===== */
.contact-info-section{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(16px,3vw,32px);
  margin-top: 20px;
}
.contact-info-section .info-card{
  background: rgb(255 255 255 / 11%);
  backdrop-filter: blur(12px);
  border:1px solid rgba(201,170,113,.25);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.contact-info-section h3{
  display:flex; align-items:center; gap:10px;
  margin:0 0 12px; font-weight:800; font-size:1.15rem;
}
.contact-info-section h3 i{ color:#C9AA71; }

/* Ubicación */
.location-info .address{ margin:0 0 10px; line-height:1.6; }
.location-info .address strong{ font-size:1rem; }
.google-map-container{ margin-top: 12px; }
.map-actions{ display:flex; gap:12px; margin-top:12px; flex-wrap:wrap; }
.map-button{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:12px; font-weight:700;
  background: rgba(201,170,113,.12); color:#6b552e; text-decoration:none;
  border:1px solid rgba(201,170,113,.35);
}
.map-button:hover{ background: rgba(201,170,113,.2); transform: translateY(-1px); }

/* Horarios */
.schedule{ display:grid; gap:8px; margin-top:6px; }
.schedule-item{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px; border-radius:12px;
  background:rgba(255,255,255,.6);
  border:1px dashed rgba(201,170,113,.35);
}
.schedule-item .day{ font-weight:700; }
.schedule-item .time{ font-weight:600; color:#444; }
.schedule-item.closed .time{ color:#6b552e; }

/* Urgencias */
.emergency-info{
  margin-top:16px; padding:14px; border-radius:14px;
  background: linear-gradient(135deg, rgb(143 127 87 / 8%), rgba(201, 170, 113, .08));
  border:1px solid rgba(173,48,54,.2);
}
.emergency-info h4{
  margin:0 0 6px; display:flex; align-items:center; gap:8px; color:#7f5c1d;;
}
.emergency-phone{
  display:inline-flex; align-items:center; gap:8px;
  margin:6px 0 4px; padding:8px 12px; border-radius:10px;
  color:#7f5c1d;; text-decoration:none; font-weight:800;
  background:rgb(173 136 48 / 10%);border:1px solid rgb(173 136 48 / 10%);
}
.emergency-phone:hover{ background:rgba(173,48,54,.12); }

/* Otros medios */
.contact-methods{ display:grid; gap:10px; margin-top:8px; }
.contact-method{
  display:flex; align-items:center; gap:12px; padding:12px; border-radius:14px;
  background:rgba(201,170,113,.08); border:1px solid rgba(201,170,113,.25);
  color:#333; text-decoration:none;
}
.contact-method i{
  width:38px; height:38px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#f2e5c9,#e7d5ac); color:#111;
}
.contact-method strong{ display:block; font-weight:800; }
.contact-method span{ display:block; font-size:.95rem; color:#555; }
.contact-method.whatsapp i{ background:#25D366; color:#fff; }
.contact-method:hover{ background:rgba(201,170,113,.15); }

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

/* ===== Redes header – estilo destacado ===== */
.header .social-links{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
}

.header .social-links a{
  width:40px; height:40px;
  border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:18px; line-height:1;
  color:#6b552e;
  background:rgba(201,170,113,.12);
  border:1px solid rgba(201,170,113,.45);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  position:relative; overflow:hidden;
}

/* halo dorado */
.header .social-links a::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius:inherit;
  background:radial-gradient(circle at 30% 30%, rgba(201,170,113,.28), transparent 55%);
  opacity:.0; transition:opacity .18s ease;
}

/* Hover/focus genérico */
.header .social-links a:hover,
.header .social-links a:focus-visible{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.header .social-links a:hover::before,
.header .social-links a:focus-visible::before{ opacity:.8; }

/* Colores de marca al hover */
.header .social-links a[aria-label="Facebook"]:hover{ 
  background:#1877F2; color:#fff; border-color:#1877F2;
}
.header .social-links a[aria-label="Instagram"]:hover{
  background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4);
  color:#fff; border-color:#DD2A7B;
}
.header .social-links a[aria-label="WhatsApp"]{
  /* un poco más de énfasis por ser contacto directo */
  box-shadow:0 0 0 2px rgba(37,211,102,.18) inset, 0 6px 18px rgba(0,0,0,.06);
}
.header .social-links a[aria-label="WhatsApp"]:hover{
  background:#25D366; color:#fff; border-color:#25D366;
}
.header .social-links a[aria-label="TikTok"]:hover{
  background:#000; color:#fff; border-color:#000;
}

/* Tamaños en móviles */
@media (max-width: 768px){
  .header .social-links{ gap:10px; }
  .header .social-links a{ width:36px; height:36px; font-size:16px; }
}

/* ——— Estilo sutil para el héroe de contacto ——— */
.hero-soft{ position:relative; overflow:hidden; isolation:isolate; }
.hero-soft::before{
  content:"";
  position:absolute; inset:-20%;
  z-index:-1;
}
.hero-soft::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,170,113,.45), transparent);
}

/* Título y acento */
.hero-title .highlight{
  background:linear-gradient(90deg, #856d40, #a98940);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* Divisor fino */
.hero-divider{
  width:84px; height:3px; margin:10px auto 0; border-radius:999px;
  background:linear-gradient(90deg, transparent, rgba(201,170,113,.85), transparent);
  filter:drop-shadow(0 2px 6px rgba(201,170,113,.3));
}

@media (max-width:768px){
  .hero-divider{ width:64px; height:2px; }
  
  /* Responsive para tarjeta Exclusive con video */
  .service-card.premium.featured[style*="flex-direction: row"] {
    flex-direction: column !important;
  }
}


/* EQUIPO (estilos embebidos) ====== -->*/

.team-section { margin: clamp(28px,5vw,72px) 0; }
.team-group { margin-top: clamp(16px,3vw,32px); }
.team-group .group-title{
  font-weight: 800; margin: 0 0 12px;
  background: linear-gradient(90deg, #69532b, #E7D5AC);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.team-grid{
  display:grid; gap: clamp(14px,2.5vw,24px);
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}
.member-card{
  background: rgb(255 255 255 / 15%);
  border:1px solid rgba(201,170,113,.28);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  padding: 14px; display:flex; flex-direction:column; overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.member-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,.12); }

.member-photo{
  height: 340px; border-radius: 16px; overflow:hidden; position:relative;
  background: linear-gradient(135deg, #e9e4d842, #f6f2e9);
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(201,170,113,.25);
}
.member-photo[style*="background-image"]{ background-size: cover; background-position: center 30%; }
.member-photo .ph{
  width:72px;height:72px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(201,170,113,.18); color:#6b552e; font-weight:800;
  box-shadow: inset 0 0 0 2px rgba(201,170,113,.35);
}

/* Imagen dentro de .member-photo (elemento <img>) */
.member-photo-img{
  width:100%;
  height:100%;
  display:block;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center center;
}

/* Altura del contenedor para pantallas pequeñas */
@media (max-width:480px){
  .member-photo{ height:280px; }
}

.member-body{ padding: 12px 4px 2px; }
.member-name{ font-weight: 800; margin: 8px 0 2px; }
.member-role{ color:#6b552e; font-weight:700; font-size:.95rem; margin:0 0 8px; }
.member-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.tag{
  padding:6px 10px; border-radius:999px; font-size:.82rem; font-weight:700;
  background: rgba(201,170,113,.12); color:#6b552e; border:1px solid rgba(201,170,113,.32);
}

/* Valores resumidos */
.values-section{ margin-top: clamp(24px,4vw,56px); }
.values-grid{
  display:grid; gap: clamp(12px,2.5vw,20px);
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.value-card{
  background: rgb(255 255 255 / 39%);
  border:1px solid rgba(201,170,113,.25);
  border-radius:16px; padding:14px;
  display:flex; gap:10px; align-items:flex-start;
}
.value-icon{
  width:40px;height:40px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#f2e5c9,#e7d5ac); color:#111;
}
.value-card h3{ margin:0 0 4px; font-weight:800; }
.value-card p{ margin:0; font-size:.95rem; color:#444; }


