@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
    --ocean-deep: #5D768B;
    --warm-beige: #c8b39b;
    --ivory: #F5F5F5;
    --soft-gold: #d6c39e;
    --light-blue: #BCEED6;
    --arena: #e4dac9;
    --piedra: #858f95;
    --verde-brisa: #8aa494;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--ocean-deep);
    background: white;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* HEADER / NAV */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    padding: 0;
    box-shadow: 0 2px 15px rgba(93, 118, 139, 0.1);
    padding: 20px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 2rem;
    padding: 1.2rem 5%;
}
header nav .container-fluid a img{
    width: 150px;
}
.logo {
    list-style: none;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--warm-beige);
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* WHATSAPP BUTTON FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* HERO SECTION */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(200, 179, 155, 0.08) 0%, transparent 70%);
    border-radius: 50% 40% 60% 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(188, 238, 214, 0.06) 0%, transparent 70%);
    border-radius: 60% 50% 40% 60%;
    pointer-events: none;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(5deg); }
}

.hero-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 6rem 5% 4rem 8%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 0.95;
    margin-bottom: 2rem;
    margin-top: 10rem;
    color: var(--ocean-deep);
    letter-spacing: -2px;
}

.hero-text h1 strong {
    font-weight: 700;
    display: block;
    color: var(--warm-beige);
    font-size: 5.5rem;
    margin-top: 0.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--piedra);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-weight: 300;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: var(--warm-beige);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(200, 179, 155, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 179, 155, 0.35);
    background: var(--soft-gold);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -5%;
    margin-top: -80px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: white;
    border-radius: 50%;
    z-index: 0;
    box-shadow: 0 10px 50px rgba(93, 118, 139, 0.08);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, rgba(188, 238, 214, 0.15), rgba(200, 179, 155, 0.12));
    border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
    z-index: -1;
    animation: morphing 15s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
    }
    50% {
        border-radius: 60% 40% 45% 55% / 40% 50% 60% 50%;
    }
}

.hero-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    object-position: center 25%;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 15px 50px rgba(93, 118, 139, 0.12));
    background: transparent;
}

img {
    background: transparent;
}

.treatment-image img,
.feature-icon img,
.value-icon img {
    background: transparent;
}

/* ABOUT SECTION */
.about {
    padding: 10rem 5% 8rem 5%;
    background: linear-gradient(to bottom, white 0%, var(--ivory) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 35%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(138, 164, 148, 0.08) 0%, transparent 70%);
    border-radius: 60% 40% 50% 60%;
    pointer-events: none;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-title {
    flex: 0 0 350px;
    position: sticky;
    top: 120px;
}

.about-title h2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--ocean-deep);
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-title h2 br {
    display: block;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--piedra);
    margin-bottom: 2rem;
}

.about-text strong {
    color: var(--ocean-deep);
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(200, 179, 155, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.feature-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid var(--ivory);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: opacity(0.7);
}

.feature-content {
    flex: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-beige), var(--verde-brisa));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(93, 118, 139, 0.1);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}

.feature p {
    font-size: 1rem;
    color: var(--piedra);
    margin: 0;
    line-height: 1.7;
}

/* TREATMENTS SECTION */
.treatments {
    padding: 10rem 5%;
    background: white;
    position: relative;
}

.treatments::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: -8%;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(200, 179, 155, 0.06) 0%, transparent 70%);
    border-radius: 50% 60% 40% 50%;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 4rem;
    font-weight: 300;
    color: var(--ocean-deep);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--piedra);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.treatments-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.treatment-card {
    background: white;
    border-radius: 25px;
    padding: 3.5rem 3rem;
    box-shadow: 0 8px 35px rgba(93, 118, 139, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 179, 155, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.treatment-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem auto;
    box-shadow: 0 8px 25px rgba(93, 118, 139, 0.12);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--warm-beige), var(--verde-brisa));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.treatment-card:hover {
    transform: translateY(-12px) rotate(0.5deg);
    box-shadow: 0 20px 60px rgba(93, 118, 139, 0.15);
}

.treatment-card:hover::before {
    transform: scaleX(1);
}

.treatment-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.treatment-card p {
    font-size: 1.05rem;
    color: var(--piedra);
    line-height: 1.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.treatment-features {
    list-style: none;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: left;
}

.treatment-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(93, 118, 139, 0.08);
    color: var(--piedra);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: padding-left 0.3s ease;
}

.treatment-features li:hover {
    padding-left: 10px;
}

.treatment-features li:before {
    content: "✓";
    margin-right: 12px;
    color: var(--verde-brisa);
    font-weight: 700;
}

.treatment-features li:last-child {
    border-bottom: none;
}

/* PHILOSOPHY SECTION */
.philosophy {
    padding: 8rem 5%;
    background: var(--ocean-deep);
    color: white;
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(188, 238, 214, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.philosophy h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.philosophy-text {
    font-size: 1.4rem;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.value p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* CONTACT SECTION */
.contact {
    padding: 8rem 5%;
    background: white;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--ocean-deep);
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--piedra);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail {
   /* padding: 1.5rem;*/
    background: var(--ivory);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-map {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.detail-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    flex: 1;
}

.detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail p {
    font-size: 1rem;
    color: var(--piedra);
    margin: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--warm-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-links a:hover {
    background: var(--soft-gold);
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    padding: 3rem 5%;
    background: var(--ocean-deep);
    color: white;
    text-align: center;
}

footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE MEJORADO
   ============================================ */

/* TABLET - 1024px y menos */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-text h1 strong {
        font-size: 4.5rem;
    }
    
    .about-content {
        gap: 5rem;
    }
    
    .about-title {
        flex: 0 0 280px;
    }
    
    .about-title h2 {
        font-size: 3rem;
    }
}

/* TABLET - 968px y menos */
@media (max-width: 968px) {
    /* NAV */
    nav {
        gap: 1rem;
        padding: 1rem 3%;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .logo {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* HERO */
    .hero {
        margin-top: 60px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 3rem 5% 2rem 5%;
        gap: 2rem;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-text h1 strong {
        font-size: 4rem;
    }
    
    .hero-text p {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-image {
        height: 400px;
        margin-right: 0;
        margin-top: 0;
    }
    
    .hero-image::before {
        width: 350px;
        height: 350px;
    }
    
    .hero-image::after {
        width: 380px;
        height: 380px;
    }
    
    .hero-image img {
        width: 320px;
        height: 320px;
    }
    
    /* ABOUT */
    .about {
        padding: 6rem 5%;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-title {
        position: static;
        flex: none;
        text-align: center;
    }
    
    .about-title h2 {
        font-size: 2.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* TREATMENTS */
    .treatments {
        padding: 6rem 5%;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* PHILOSOPHY */
    .philosophy {
        padding: 6rem 5%;
    }
    
    .philosophy h2 {
        font-size: 2.5rem;
    }
    
    .philosophy-text {
        font-size: 1.2rem;
    }
    
    .philosophy-values {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* CONTACT */
    .contact {
        padding: 6rem 5%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2 {
        font-size: 2.5rem;
    }
}

/* MOBILE - 640px y menos */
@media (max-width: 640px) {
    /* NAV */
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }
    
    .logo {
        padding: 0;
        order: -1;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    .nav-links li {
        flex: 0 0 auto;
    }
    
    .nav-links a {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    /* HERO */
    .hero {
        margin-top: 120px;
    }
    
    .hero-content {
        padding: 2rem 5%;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h1 strong {
        font-size: 3.5rem;
    }
    
    .hero-text p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
        line-height: 1.7;
    }
    
    .cta-button {
        padding: 1.2rem 3rem;
        font-size: 0.95rem;
    }
    
    .hero-image {
        height: 420px;
    }
    
    .hero-image::before {
        width: 340px;
        height: 340px;
    }
    
    .hero-image::after {
        width: 370px;
        height: 370px;
    }
    
    .hero-image img {
        width: 320px;
        height: 320px;
    }
    
    /* ABOUT */
    .about {
        padding: 4rem 5%;
    }
    
    .about-title h2 {
        font-size: 2.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .about-features {
        gap: 1.5rem;
        padding: 0;
    }
    
    .feature {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 90px;
        height: 90px;
        padding: 12px;
    }
    
    .feature h4 {
        font-size: 1.15rem;
    }
    
    .feature p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* TREATMENTS */
    .treatments {
        padding: 4rem 5%;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-card {
        padding: 2.5rem 2rem;
    }
    
    .treatment-image {
        width: 180px;
        height: 180px;
    }
    
    .treatment-card h3 {
        font-size: 1.7rem;
    }
    
    .treatment-card p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .treatment-features li {
        font-size: 1rem;
    }
    
    /* PHILOSOPHY */
    .philosophy {
        padding: 4rem 5%;
    }
    
    .philosophy h2 {
        font-size: 2.5rem;
    }
    
    .philosophy-text {
        font-size: 1.2rem;
        line-height: 1.8;
    }
    
    .value-icon {
        width: 90px;
        height: 90px;
    }
    
    .value h4 {
        font-size: 1.15rem;
    }
    
    .value p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* CONTACT */
    .contact {
        padding: 4rem 5%;
    }
    
    .contact-info h2 {
        font-size: 2.5rem;
    }
    
    .contact-info p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .detail {
        padding: 1.5rem;
    }
    
    .detail h4 {
        font-size: 1rem;
    }
    
    .detail p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .detail-map {
        width: 100px;
        height: 100px;
    }
    
    /* WHATSAPP BUTTON */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* MOBILE PEQUEÑO - 480px y menos */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h1 strong {
        font-size: 2.5rem;
    }
    
    .about-title h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .philosophy h2 {
        font-size: 1.8rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
}