/* ==========================================================================
   R&M DECORACIONES - ESTILOS MODERNOS DE CONTACTO (css/contacto.css)
   ========================================================================== */
/* NAVBAR */

header{
width:100%;
position:fixed;
top:0;
left:0;
z-index:999;
background:rgba(0,0,0,0.65);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,0.08);
}

.navbar{
max-width:1400px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 5%;
}

.logo{
font-size:2rem;
font-weight:800;
letter-spacing:2px;
color:#fff;
}

.logo span{
color:#c9a46b;
}

.nav-links{
display:flex;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:white;
font-weight:500;
transition:0.3s;
position:relative;
}

.nav-links a:hover{
color:#c9a46b;
}

.nav-links a::after{
content:'';
position:absolute;
left:0;
bottom:-8px;
width:0%;
height:2px;
background:#c9a46b;
transition:0.3s;
}

.nav-links a:hover::after{
width:100%;
}

/* =================================
   MENÚ RESPONSIVE
================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* =================================
   CELULARES Y TABLETS
================================= */

@media (max-width: 768px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #111;

        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0;

        max-height: 0;
        overflow: hidden;

        transition: max-height 0.35s ease,
                    padding 0.35s ease;

        z-index: 1000;
    }

    /* MENÚ ABIERTO */

    .nav-links.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }

}




/* 1. FUENTES Y RESET DE PÁGINA DE CONTACTO */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: #0c0c0c;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 2. SECCIÓN PRINCIPAL DE CONTACTO CON FONDO LUXURY */
.section.contact {
  padding: 100px 6% 120px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  background: 
    radial-gradient(circle at 15% 20%, rgba(201, 164, 107, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 40%),
    #0c0c0c;
}

/* Título de la sección */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 30%, #c9a46b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.contact-subtitle {
  color: #aaaaaa;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

/* 3. OPCIÓN 1: ROTADOR / BANNER DE ASIGNACIÓN AUTOMÁTICA */
.rotator-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(201, 164, 107, 0.12) 100%);
  border: 1px solid rgba(201, 164, 107, 0.35);
  border-radius: 28px;
  padding: 45px 30px;
  max-width: 850px;
  margin: 0 auto 70px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.rotator-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 164, 107, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Badge con pulso de luz verde */
.rotator-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.rotator-badge span {
  width: 10px;
  height: 10px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 12px #25d366;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.rotator-banner h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.rotator-banner p {
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Botón principal de WhatsApp Rotatorio */
.btn-whatsapp-rotator {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}

.btn-whatsapp-rotator:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28e16f 0%, #20b859 100%);
}

.btn-whatsapp-rotator svg {
  transition: transform 0.3s ease;
}

.btn-whatsapp-rotator:hover svg {
  transform: rotate(12deg) scale(1.1);
}

/* 4. OPCIÓN 2: ELECCIÓN DIRECTA DE VENDEDOR */
.vendedores-header {
  text-align: center;
  margin-bottom: 40px;
}

.vendedores-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #c9a46b;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.vendedores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-bottom: 80px;
}

/* Tarjeta individual de Vendedor */
.vendedor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.vendedor-card:hover {
  transform: translateY(-10px);
  background: rgba(201, 164, 107, 0.06);
  border-color: rgba(201, 164, 107, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 164, 107, 0.15);
}

/* Avatar con inicial */
.vendedor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a46b 0%, #7c6138 100%);
  color: #0c0c0c;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background-color: #25d366;
  border: 3px solid #141414;
  border-radius: 50%;
  box-shadow: 0 0 8px #25d366;
}

.vendedor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
}

.vendedor-role {
  font-size: 0.88rem;
  color: #c9a46b;
  font-weight: 500;
  margin-bottom: 22px;
}

/* Botón individual de WhatsApp en Tarjetas */
.btn-vendedor {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-vendedor:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transform: scale(1.02);
}

/* 5. SECCIÓN DE SUCURSALES */
.sucursales-header {
  text-align: center;
  margin-bottom: 35px;
}

.sucursales-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #c9a46b;
}

.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 950px;
  margin: 0 auto;
}

.sucursal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  position: relative;
}

.sucursal-card:hover {
  border-color: #c9a46b;
  transform: translateY(-6px);
  background: rgba(201, 164, 107, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.sucursal-card h4 {
  color: #c9a46b;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sucursal-card p {
  color: #dddddd;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.sucursal-card p strong {
  color: #ffffff;
}

/* 6. ADAPTABILIDAD RESPONSIVE */
@media (max-width: 900px) {
  .section-title h2 {
    font-size: 2.3rem;
  }
  .rotator-banner {
    padding: 35px 20px;
  }
  .rotator-banner h3 {
    font-size: 1.5rem;
  }
  .vendedores-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .section.contact {
    padding: 70px 5% 90px;
  }
  .section-title h2 {
    font-size: 1.9rem;
  }
  .btn-whatsapp-rotator {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1rem;
  }
  .vendedores-grid {
    grid-template-columns: 1fr;
  }
  .sucursales-grid {
    grid-template-columns: 1fr;
  }
}