/* ===========================
   VARIABLES DE COLOR
=========================== */
:root {
    --negro: #050608;
    --gris-oscuro: #1b1d21;
    --plata: #c0c4cc;
    --verde-pastel: #9ad3b5;
    --madera: #8b6b4a;
    --blanco: #ffffff;
    --radius: 12px;
}

/* ===========================
   RESETEO
=========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1f242c 0, #050608 60%);
    color: var(--blanco);
    line-height: 1.5;
}

/* ===========================
   HEADER
=========================== */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 8, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* HAMBURGER BUTTON */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--verde-pastel);
    position: relative;
    transition: 0.3s;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--verde-pastel);
    left: 0;
    transition: 0.3s;
}

.nav-toggle span::before {
    top: -8px;
}

.nav-toggle span::after {
    bottom: -8px;
}

/* Morph into X */
.nav-toggle.active span {
    background: transparent;
}

.nav-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.logo-texts h1 {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.tagline {
    color: var(--plata);
    font-size: 0.75rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.main-nav a {
    color: var(--plata);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--verde-pastel);
}

.admin-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
}

.cta-header .btn-outline {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--verde-pastel);
    border-radius: 999px;
    text-decoration: none;
    color: var(--verde-pastel);
    transition: 0.2s ease;
}

.cta-header .btn-outline:hover {
    background: var(--verde-pastel);
    color: var(--negro);
}

/* ===========================
   BOTONES & UTILIDADES
=========================== */
.mobile-only {
    display: none;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--verde-pastel), #b5f1d1);
    color: var(--negro);
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--verde-pastel);
    border: 1px solid rgba(154, 211, 181, 0.6);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-secondary:hover {
    background: rgba(154, 211, 181, 0.08);
}

/* ===========================
   RESPONSIVE (MOBILE NAV & CALENDAR)
=========================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .logo-img {
        width: 80px;
        height: 80px;
    }

    .logo-texts h1 {
        font-size: 1.1rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .cta-header .admin-btn {
        display: none !important;
    }

    .logo-texts .tagline {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .cta-header {
        gap: 0.5rem;
    }

    .cta-header .btn-outline {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    /* CALENDAR RESPONSIVE */
    .calendario-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .calendario-grid {
        gap: 0.2rem !important;
    }

    .calendario-grid .dia {
        padding: 0.3rem !important;
        min-height: 60px !important;
        font-size: 0.8rem !important;
    }

    .calendario-grid .dia .numero {
        font-size: 1rem !important;
    }

    .calendario-grid .dia .badge-reservas,
    .calendario-grid .dia .badge-barberos {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
    }

    .calendario-panel {
        padding: 0.8rem !important;
    }
}

.full-width {
    width: 100%;
}

/* ===========================
   HERO
=========================== */
.hero {
    padding: 0;
}

.hero-with-media {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ELIMINACIÓN DEFINITIVA DEL PLAY BUTTON */
.hero-media video {
    pointer-events: none !important;
    /* Bloquea mouse */
}

/* VIDEO CONTROLS REMOVED */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.3), rgba(5, 6, 8, 0.96));
    z-index: 2;
    pointer-events: none;
    /* Permitir clicks a través del overlay si es necesario, o bloquear si se quiere */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 3.5rem 1.5rem 3rem;
}

.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--verde-pastel);
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff !important;
    /* BLANCO PURO SIN GRADIENTES */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.15rem;
    color: #f5f5f5;
    /* Casi blanco */
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-badge {
    color: var(--verde-pastel);
    font-size: 0.9rem;
}

/* ===========================
   Estilos Destacados (IMÁGENES)
=========================== */
.estilos {
    background: radial-gradient(circle at center, #1f242c 0, #050608 80%);
}

.estilos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.estilo-card {
    flex: 0 1 300px;
    max-width: 320px;
    background: rgba(18, 20, 25, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(192, 196, 204, 0.16);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.estilo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--verde-pastel);
}

.estilo-imagen-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
}

.estilo-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.estilo-overlay-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.estilo-card:hover .estilo-overlay-icon {
    opacity: 1;
}

.estilo-overlay-icon span {
    font-size: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.estilo-info {
    padding: 1rem;
    text-align: center;
    background: #0e1116;
}

.estilo-info h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--verde-pastel);
}

/* ===========================
   SECCIONES GENERALES
=========================== */
section {
    padding: 2.8rem 1.5rem;
}

section h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    margin-left: 3rem;
    text-align: left;
}

.section-subtitle {
    color: var(--plata);
    margin-bottom: 1.4rem;
    margin-left: 3rem;
    text-align: left;
}

/* ===========================
   EXPERIENCIA (MODIFICADO - SIMETRÍA)
=========================== */
.experiencia {
    background: radial-gradient(circle at top right, #262a32 0, #050608 70%);
}

.experiencia-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Simetría 50/50 */
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .experiencia-layout {
        grid-template-columns: 1fr;
    }
}

.experiencia-col-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experiencia-texto p {
    color: var(--plata);
    margin-bottom: 1rem;
}

.experiencia-lista {
    list-style: none;
    color: var(--plata);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experiencia-lista li::before {
    content: "• ";
    color: var(--verde-pastel);
}

.experiencia-img-small img {
    width: 100%;
    height: 250px;
    /* Controlar altura */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.video-feature:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--verde-pastel);
    color: #000;
}

/* ===========================
   MEMBRESÍAS
=========================== */
.membresias {
    background: #050608;
}

.membresias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.membresia-card {
    background: rgba(19, 22, 28, 0.96);
    border: 1px solid rgba(154, 211, 181, 0.2);
    padding: 1.8rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.membresia-card:hover {
    transform: translateY(-5px);
    border-color: var(--verde-pastel);
}

.membresia-card h3 {
    margin-bottom: 1.2rem;
    color: var(--blanco);
    font-size: 1.2rem;
}

.membresia-card ul {
    color: var(--plata);
    list-style: none;
    font-size: 0.9rem;
    text-align: left;
    display: inline-block;
}

.membresia-card li {
    margin-bottom: 0.5rem;
}

.membresia-card li::before {
    content: "• ";
    color: var(--verde-pastel);
}

/* ===========================
   EQUIPO
=========================== */
.equipo {
    background: radial-gradient(circle at bottom, #1f242c 0, #050608 70%);
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    gap: 2rem;
    justify-content: center;
}

.equipo-card {
    background: rgba(18, 20, 25, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(192, 196, 204, 0.16);
    padding: 1rem;
    text-align: center;
}

.equipo-foto {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.equipo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipo-rol {
    color: var(--verde-pastel);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.equipo-desc {
    color: var(--plata);
    font-size: 0.9rem;
}

/* ===========================
   RESERVAS (2 COLUMNAS)
=========================== */
.reservas {
    background: #07090c;
}

.reserva-form {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(192, 196, 204, 0.15);
    background: rgba(14, 17, 22, 0.95);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.date-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-wrapper input[type="date"] {
    width: 100%;
    padding-right: 2.5rem;
}

.date-trigger {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.date-trigger::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 2px;
    border: 1px solid #1674ff;
    background: #ffffff;
    position: relative;
}

.date-trigger::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40%;
    background: #1674ff;
    box-sizing: border-box;
}

.form-group.full-width-form,
.reserva-form .btn-primary {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #050608;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: var(--blanco);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .reserva-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .form-group.full-width-form,
    .reserva-form .btn-primary {
        grid-column: span 1;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 1px solid var(--verde-pastel);
}

.mensaje-reserva {
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* ===========================
   CALENDARIO
=========================== */
.calendario {
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calendario-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 1rem;
    margin-top: 1rem;
}

.calendario-panel {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(14, 17, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.calendario-controles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cal-btn {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--blanco);
    cursor: pointer;
}

.cal-btn:hover {
    background: rgba(154, 211, 181, 0.1);
}

#mesActual {
    font-weight: 600;
    text-transform: capitalize;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}

.dia {
    background: rgba(5, 6, 8, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    min-height: 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.dia.header {
    background: transparent;
    border: none;
    text-align: center;
    cursor: default;
    font-weight: bold;
    color: var(--plata);
}

.dia.empty {
    visibility: hidden;
}

.dia .numero {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.dia .badge-reservas {
    color: var(--verde-pastel);
    font-size: 0.7rem;
}

.dia .badge-barberos {
    color: var(--plata);
    font-size: 0.7rem;
}

.dia.hoy {
    border-color: var(--verde-pastel);
}

/* MEJORA VISUAL CALENDARIO */
.calendario-grid .dia {
    background: rgba(10, 12, 16, 0.85);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem;
    min-height: 75px;
    color: var(--blanco);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .2s ease;
}

.calendario-grid .dia:hover:not(.header):not(.empty) {
    background: rgba(154, 211, 181, .12);
    transform: scale(1.05);
    border-color: var(--verde-pastel);
}

.calendario-grid .dia.hoy {
    border-color: var(--verde-pastel);
    box-shadow: 0 0 10px rgba(154, 211, 181, .35);
}

.calendario-grid .dia.selected {
    background: rgba(154, 211, 181, .22);
    border-color: var(--verde-pastel);
    transform: scale(1.07);
}

.calendario-grid .dia .numero {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: .2rem;
}

/* LATERAL DEL CALENDARIO */
.calendario-lateral {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detalle-dia,
.panel-disponibilidad {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(14, 17, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lista-simple {
    list-style: none;
    color: var(--plata);
}

.lista-simple li {
    margin-bottom: 0.3rem;
}

/* ===========================
   GALERÍA
=========================== */
.galeria {
    background: radial-gradient(circle at center, #1b222a 0, #050608 70%);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

.galeria-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   CONTACTO (3 COLUMNAS COMPACTAS)
=========================== */
.contacto {
    background: #050608;
}

.contacto-grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    max-width: 1100px;
    width: 100%;
    margin: 2rem auto 6rem;
    height: 400px !important;
    /* Estricto 400px */
}

/* Homogeneizar botones en el grid de contacto */
.contacto-grid-3col .btn-primary,
.contacto-grid-3col .btn-secondary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 48px !important;
    padding: 0 1.5rem !important;
    font-size: 0.9rem !important;
    box-sizing: border-box;
    width: 100% !important;
    /* Forzar ancho completo */
    margin-top: auto;
}

.video-card-footer,
.ig-feed-footer {
    width: 100%;
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .contacto-grid-3col {
        grid-template-columns: 1fr 1fr;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .contacto-grid-3col {
        grid-template-columns: 1fr;
        height: auto !important;
        gap: 1.5rem;
    }
}

.mapa-moderno {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* Fix para bordes redondeados */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
}

.mapa-moderno iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

.video-llegada-card,
.instagram-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Cambio clave: flex-start para controlar con margin-auto */
    align-items: center;
    background: #0e1116;
    padding: 0.8rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.video-llegada-card h3,
.instagram-card h3 {
    margin-bottom: 0.5rem;
    /* Reducido de 1rem */
    color: var(--plata);
    font-size: 1.1rem;
    font-weight: 700;
}

.mini-video-trigger {
    width: 100%;
    max-height: 450px;
    flex-grow: 1;
    /* Para que ocupe el máximo espacio posible */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.mini-video-trigger video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* INSTAGRAM RICH FEED LOOK */
.instagram-feed-container {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ig-feed-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ig-feed-header img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ig-header-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ig-user {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.ig-location {
    font-size: 0.7rem;
    color: var(--plata);
}

.ig-feed-content {
    padding: 0.2rem;
    background: #000;
}

.ig-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
}

.ig-post-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    border-radius: 4px;
}

.ig-post-item:hover {
    filter: brightness(1.2);
}

.ig-feed-footer {
    padding: 0.8rem;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}



/* ===========================
   REDES SOCIALES (ESPACIADO EXTRA)
=========================== */
.redes-sociales {
    margin-top: 5rem;
    /* Aumentado de 2rem a 5rem */
    /* MÁS ESPACIO para evitar encimado */
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 10;
    clear: both;
    /* Asegurar limpieza */
}

.redes-sociales h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--plata);
}

.iconos-redes {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.iconos-redes a {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: 0.3s;
    color: var(--plata);
}

.iconos-redes a svg {
    width: 32px;
    height: 32px;
}

/* Colores Hover con !important */
.iconos-redes a.ig:hover {
    background: #fff;
    color: #E1306C !important;
    transform: translateY(-8px);
}

.iconos-redes a.fb:hover {
    background: #1877F2;
    color: #fff !important;
    transform: translateY(-8px);
}

.iconos-redes a.tk:hover {
    background: #000;
    color: #00f2ea !important;
    transform: translateY(-8px);
    border: 1px solid #00f2ea;
}

/* ===========================
   FOOTER
=========================== */
.main-footer {
    text-align: center;
    padding: 1rem;
    color: var(--plata);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ===========================
   LOGIN / ADMIN
=========================== */
.login-main {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    max-width: 420px;
    width: 100%;
    background: rgba(14, 17, 22, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8rem 1.5rem;
}

.login-card h2 {
    margin-bottom: 0.3rem;
}

.login-volver {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-volver a {
    color: var(--verde-pastel);
    text-decoration: none;
}

.login-volver a:hover {
    text-decoration: underline;
}

.admin-main {
    padding: 2rem 1.5rem;
}

.admin-resumen {
    margin-bottom: 2rem;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.admin-card {
    background: rgba(14, 17, 22, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem;
}

.admin-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}