/* --- 1. VARIABLES Y BASE --- */
:root {
    --primary: #d63384;
    --accent: #ff99cc;
    --dark: #1a0b12;
    --light: #fff0f5;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    overflow-x: hidden;
    padding-top: 0;
}

/* --- 2. CURSOR Y FONDO --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

@media (min-width: 992px) {
    * {
        cursor: none;
    }

    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top left, #fff0f5, #fff);
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: moveBlob 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #ffc2d1;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #ffe5ec;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: #ff99cc;
    animation-duration: 25s;
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* --- 3. COMPONENTES COMUNES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.4);
    border: none;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    margin-left: 10px;
}

.btn:hover {
    transform: scale(1.05);
}

/* --- 4. HEADER & NAV --- */
header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 40px;
    border-radius: 50%;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-cta {
    background: var(--dark);
    color: white !important;
    padding: 8px 18px;
    border-radius: 30px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- 5. HERO SECTION --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 60px;
}

.hero-background-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    top: 0;
    left: 0;
}

.hero-background-slider img.active {
    opacity: 1;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 10px;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

/* --- 6. MARQUEE & SECTIONS --- */
.marquee-container {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-1deg) translateY(-15px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about-section,
.services,
.gallery,
.testimonials,
.prices,
.location,
.contact {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0;
}

/* --- 7. ABOUT & GRID LAYOUTS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image-wrapper {
    text-align: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-img-main {
    width: 90%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transform: rotate(-2deg);
    border: 4px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    text-align: center;
    border-radius: 15px;
}

.exp-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 15px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border-radius: 20px;
}

.bento-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.6s ease;
}

.bento-content {
    background: rgba(255, 255, 255, 0.92);
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    z-index: 2;
}

.bento-content h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

/* --- 8. PRECIOS --- */
.prices-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.col-title {
    color: var(--primary);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-align: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.price-group {
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
}

.price-group h4 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span:first-child {
    font-weight: 600;
    color: #555;
}

.price-row span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.price-list {
    margin-top: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.service-dots {
    flex: 1;
    margin: 0 10px;
    border-bottom: 1px dotted #aaa;
}

.service-price {
    font-weight: 700;
    color: var(--primary);
}

/* --- 9. TESTIMONIOS --- */
.testimonials-swiper {
    padding-bottom: 40px;
}

.testimonial-card {
    text-align: center;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.testimonial-card .stars {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 10px 0;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

/* --- 10. UBICACIÓN --- */
.location-container {
    padding: 0;
    overflow: hidden;
}

.map-responsive {
    width: 100%;
    height: 300px;
}

.location-details {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
}

.loc-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.loc-item h4 {
    margin: 5px 0;
    font-family: var(--font-heading);
}

.loc-item p {
    font-size: 0.9rem;
    color: #555;
}

/* --- 11. FORMS & CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

.contact-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.btn-whatsapp {
    background: #25D366;
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #bc1888);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.4);
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* --- 12. GALERÍA & MODAL --- */
.gallery-swiper .swiper-slide {
    width: 260px;
    height: 300px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 95%;
    max-height: 80vh;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    padding: 8px;
    border-radius: 50px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background: #25D366;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #bc1888);
}

/* --- 13. FOOTER (UPDATED) --- */
footer {
    text-align: center;
    padding: 30px;
    background: white;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
}

.erb-creation {
    margin-top: 15px;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.erb-creation p {
    font-size: 0.9rem;
    color: var(--dark);
    margin: 0;
}

.erb-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.erb-link:hover {
    color: var(--dark);
    text-decoration: underline;
}

.erb-socials {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.erb-socials a {
    color: var(--dark);
    transition: transform 0.3s, color 0.3s;
}

.erb-socials a:hover {
    transform: scale(1.2);
    color: var(--primary);
}

/* --- 14. RESPONSIVE --- */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item.featured {
        grid-column: span 2;
        height: 300px;
    }

    .bento-item {
        height: 250px;
    }

    .prices-grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 20px;
        width: 250px;
        background: white;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
    }

    .nav-cta {
        display: block;
        margin-top: 10px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-img-main {
        transform: rotate(0);
        width: 100%;
        margin-bottom: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bento-item,
    .bento-item.featured {
        width: 100%;
        height: 250px;
        grid-column: auto;
        grid-row: auto;
    }

    .location-details {
        flex-direction: column;
        gap: 20px;
    }
}