/* Premium Typography & Colors */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #C9B097; /* Elegant Nude */
    --secondary-light: #E5D1B8;
    --accent-color: #fcf9f6;
    --text-color: #2D2D2D;
    --text-light: #7A7A7A;
    --bg-color: #ffffff;
    --section-bg: #FAF7F2;
    --gradient: linear-gradient(135deg, #C9B097 0%, #A68B6F 100%);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 20px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 2rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: #000;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 300;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Services Grid Premium */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
}

/* WhatsApp Float Premium */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

#whatsapp-popup {
    border: none !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
    animation: fadeIn 0.3s ease-out;
}

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

/* Responsive */
/* Carousel Section */
.carousel-container {
    padding: 80px 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-slide {
    min-width: calc(50% - 10px);
    height: 400px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Detailed Services Expansion */
.detailed-services-list {
    margin-top: 4rem;
}

.service-detail-block {
    margin-bottom: 6rem;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-detail-header h3 {
    font-size: 2rem;
    margin-bottom: 0;
}

.service-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-item ul {
    list-style: none;
    font-size: 0.95rem;
}

.info-item ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-item ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Location Section */
.location-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.map-container {
    flex: 1.5;
    min-width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.location-item {
    margin-bottom: 2.5rem;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Premium Conversion Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-premium {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: var(--transition);
}

.service-card-premium:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}


.card-content-premium {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.card-content-premium i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: block;
}

.card-content-premium h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.card-content-premium p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-card i {
    font-size: 0.8rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.service-card-premium:hover .btn-card i {
    transform: translateX(5px);
}

/* Expert Edition: Treatment Card V4 (Side-by-Side Professional) */
.treatment-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.treatment-card-v4 {
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 320px;
    border: 1px solid rgba(0,0,0,0.02);
}

.treatment-card-v4:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.card-img-side {
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
}

.card-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info-side {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-info-side h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.card-info-side p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expert-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sticky Mobile Contact Bar */
.sticky-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    display: none; /* Mobile only */
    padding: 1rem 1.5rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .sticky-contact-bar {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }
    .treatment-card-v4 {
        flex-direction: column;
    }
    .card-img-side {
        flex: 0 0 auto;
        height: 250px;
    }
}

.sticky-btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sticky-btn.wa {
    background: #25D366;
    color: white;
}

.sticky-btn.call {
    background: var(--primary-color);
    color: white;
}

/* Before & After Boutique Gallery */
.ba-section {
    padding: 8rem 0;
    background: var(--bg-color);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.ba-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.ba-images {
    display: flex;
    gap: 1rem;
}

.ba-img {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.ba-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 5px;
    text-transform: uppercase;
}

/* Global Compact Refinement */
.container {
    max-width: 1200px;
}

section {
    padding: 4rem 0; /* Extremely Compact */
}

.section-header {
    margin-bottom: 2.5rem; /* Reduced */
}

h1 { font-size: 3.5rem; }
h2.section-title { font-size: 2.5rem; }

/* Canales Digitales Prominence */
.social-bar {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-bar a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-bar a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .social-bar {
        padding: 0.8rem 0;
    }
    .social-bar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
        padding: 0 1rem;
    }
    .social-bar a {
        margin: 0;
        font-size: 0.75rem;
    }
    /* Ocultar TikTok y YouTube en móviles muy pequeños si molestan, 
       o simplemente dejarlos que envuelvan */
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%;
    }
}

/* Responsive Refinement */
@media (max-width: 768px) {
    .container { 
        padding: 0 1.2rem; 
        text-align: center;
    }
    
    .logo {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .header-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    header {
        padding: 1.5rem 0;
    }
    
    section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 0.2rem;
    }

    .service-card {
        padding: 2rem 1rem;
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .service-detail-block {
        margin-bottom: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-info-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .info-item {
        padding: 1.2rem;
        text-align: left;
    }

    .map-container {
        height: 220px;
        min-width: 100% !important;
    }

    .carousel-slide {
        height: 220px;
    }

    /* Hide floating bubble on mobile to avoid conflict with sticky bar */
    .whatsapp-float {
        display: none !important;
    }

    .nav-links { 
        display: none; 
    }

    .card-info-side {
        padding: 1.5rem !important;
    }

    .btn-card-action {
        display: flex;
        width: 100%;
        justify-content: center;
        background: var(--secondary-color);
        color: white !important;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        font-weight: 700;
    }

    .treatment-card-v4 {
        margin-bottom: 1rem;
    }
}
