* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* ===========================
   QUIENES SOMOS SECTION
   =========================== */
.quienes-somos {
    background: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content {
    padding-right: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    border-bottom: 3px solid #D4AF37;
    display: inline-block;
    padding-bottom: 5px;
}

.description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.description strong {
    color: #333;
    font-weight: 600;
}

.image-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 450px;
    height: auto;

    /* Forma de espejo rectangular con bordes redondeados */
    border-radius: 20px;

    /* Marco dorado tipo espejo de peluquería */
    border: 10px solid #D4AF37;
    box-shadow:
        /* Sombra principal del espejo */
        0 15px 40px rgba(0, 0, 0, 0.3),
        /* Brillo interno del marco dorado */
        inset 0 0 0 3px rgba(255, 255, 255, 0.4),
        inset 0 0 0 6px #C9A961,
        /* Sombra del marco */
        0 0 0 15px rgba(212, 175, 55, 0.1),
        /* Resplandor dorado exterior */
        0 0 35px rgba(212, 175, 55, 0.25);

    /* Efecto de cristal/espejo */
    position: relative;
    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 0 3px rgba(255, 255, 255, 0.5),
        inset 0 0 0 6px #D4AF37,
        0 0 0 15px rgba(212, 175, 55, 0.15),
        0 0 45px rgba(212, 175, 55, 0.35);
}

/* Efecto de reflejo de luz visible en el espejo - animado */
.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(110deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.8) 55%,
            rgba(255, 255, 255, 0.6) 60%,
            transparent 70%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: mirror-shine 8s ease-in-out infinite;
}

@keyframes mirror-shine {

    0%,
    100% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 120%;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }
}

/* Efecto de brillo estático adicional en esquina */
.profile-image::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 15%;
    width: 30%;
    height: 40%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.25) 30%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
}

/* Decoración en las esquinas del espejo */
.image-content::before,
.image-content::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid #D4AF37;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.image-content::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 25px 0 0 0;
}

.image-content::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 25px 0;
}

/* ===========================
   SERVICIOS SECTION
   =========================== */
.servicios {
    background: white;
    padding: 80px 0;
}

.servicios-header {
    text-align: center;
    margin-bottom: 50px;
}

.servicios-icon {
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.servicios-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.servicios-subtitle {
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid #D4AF37;
    display: inline-block;
    padding-bottom: 5px;
}

.servicios-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    padding: 0 20px;
}

/* ===========================
   SERVICIOS GRID - HEXAGONAL
   =========================== */
.servicios-grid {
    display: none;
    /* Old grid hidden */
}

.hexagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 40px 20px;
    gap: 20px;
}

.hexagon-item {
    width: 320px;
    height: 350px;
    position: relative;
    margin: 10px;
}

/* Offset every other hexagon to create honeycomb pattern - 9 hexagons */
.hexagon-item:nth-child(2),
.hexagon-item:nth-child(4),
.hexagon-item:nth-child(6),
.hexagon-item:nth-child(8) {
    margin-top: -40px;
}

.hexagon {
    width: 100%;
    height: 100%;
    position: relative;
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hexagon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(184, 134, 11, 0.9) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hexagon-item:hover .hexagon-overlay {
    opacity: 1;
}

.hexagon-item:hover .hexagon-inner {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hexagon-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.hexagon-item:hover .hexagon-content {
    transform: translateY(0);
    opacity: 1;
}

.hexagon-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hexagon-details {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.hexagon-item:hover .hexagon-details {
    opacity: 1;
    transform: translateY(0);
}

.hexagon-details p {
    margin-bottom: 12px;
    font-weight: 500;
}

.hexagon-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.hexagon-features li {
    padding: 4px 0;
    position: relative;
    padding-left: 18px;
}

.hexagon-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 14px;
}

/* Title indicator on non-hover */
.hexagon-inner::after {
    content: attr(data-title);
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(184, 134, 11, 0.95));
    border-radius: 8px;
    transition: opacity 0.3s ease;
    max-width: 200px;
    line-height: 1.3;
}

/* Add data-title via CSS content for each service */
.hexagon-item[data-service="1"] .hexagon-inner::after {
    content: 'Mechas y Reflejos';
}

.hexagon-item[data-service="2"] .hexagon-inner::after {
    content: 'Tintes Permanentes';
}

.hexagon-item[data-service="3"] .hexagon-inner::after {
    content: 'Corrección de Color';
}

.hexagon-item[data-service="4"] .hexagon-inner::after {
    content: 'Coloración Vegana';
}

.hexagon-item[data-service="5"] .hexagon-inner::after {
    content: 'Alisados y Queratina';
}

.hexagon-item[data-service="6"] .hexagon-inner::after {
    content: 'Eventos';
}

.hexagon-item[data-service="7"] .hexagon-inner::after {
    content: 'Celebraciones Especiales';
}

.hexagon-item[data-service="8"] .hexagon-inner::after {
    content: 'Graduaciones';
}

.hexagon-item[data-service="9"] .hexagon-inner::after {
    content: 'Maquillaje Social';
}

.hexagon-item:hover .hexagon-inner::after {
    opacity: 0;
}

/* ===========================
   SERVICIOS FOOTER
   =========================== */
.servicios-footer {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ===========================
   SOCIAL SHARE
   =========================== */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.youtube {
    background: #ff0000;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hexagon-grid {
        max-width: 700px;
    }

    .hexagon-item {
        width: 280px;
        height: 310px;
    }

    .hexagon-item:nth-child(2),
    .hexagon-item:nth-child(4),
    .hexagon-item:nth-child(6),
    .hexagon-item:nth-child(8) {
        margin-top: -30px;
    }

    .hexagon-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-content {
        padding-right: 0;
    }

    .image-content {
        text-align: center;
    }

    .profile-image {
        max-width: 350px;
    }

    .section-title {
        font-size: 28px;
    }

    .servicios-title {
        font-size: 32px;
    }

    .hexagon-grid {
        max-width: 100%;
        padding: 20px;
    }

    .hexagon-item {
        width: 250px;
        height: 280px;
        margin: 10px auto;
    }

    .hexagon-item:nth-child(2),
    .hexagon-item:nth-child(4),
    .hexagon-item:nth-child(6),
    .hexagon-item:nth-child(8) {
        margin-top: 10px;
    }

    .hexagon-title {
        font-size: 18px;
    }

    .hexagon-details {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .quienes-somos {
        padding: 50px 0;
    }

    .servicios {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .servicios-title {
        font-size: 28px;
    }

    .profile-image {
        max-width: 100%;
    }

    .hexagon-item {
        width: 220px;
        height: 250px;
    }

    .hexagon-title {
        font-size: 16px;
    }

    .hexagon-inner::after {
        font-size: 16px;
        padding: 10px 15px;
    }
}
/* ===========================
   MODAL POPUPS
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: #D4AF37;
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    color: white;
    text-align: center;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 400;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Gallery */
.modal-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
}

.gallery-images {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #D4AF37;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #D4AF37;
    transform: scale(1.3);
}

/* Modal Details */
.modal-details {
    padding: 40px 30px;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.detail-features h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.detail-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: #666;
}

.detail-features li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
    font-size: 18px;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 24px;
}

.info-label {
    font-size: 14px;
    color: #666;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-left: auto;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #C9A961);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .modal-gallery {
        height: 300px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-details {
        padding: 30px 20px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .detail-info {
        grid-template-columns: 1fr;
    }
}
