/* Global Styles */
html {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: #FAF7F5;
    color: #4A4A4A;
    overflow-x: hidden;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

body.loading {
    overflow: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FAF7F5, #F5F0EB);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(107, 78, 61, 0.2));
}

.loader-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #A98467;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #D4B896;
    animation-delay: 0.3s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #6B4E3D;
    animation-delay: 0.6s;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #6B4E3D;
    margin: 0;
    letter-spacing: 2px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('/src/assets/images/test.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-align: center;
    padding: 100px 20px 0 20px;
    box-sizing: border-box;
    background-attachment: fixed;
    background-size: cover;
}

.hero.parallax-active {
    will-change: transform;
}

/* Canvas de partículas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 78, 61, 0.75), rgba(169, 132, 103, 0.6));
    backdrop-filter: blur(2px);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(169, 132, 103, 0.2) 0%,
        transparent 40%,
        transparent 60%,
        rgba(107, 78, 61, 0.2) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translateX(-10%) translateY(-10%);
        opacity: 0.5;
    }
    50% {
        transform: translateX(10%) translateY(10%);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
    flex: 1;
}

.tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    color: #E8D5C4;
    animation: fadeIn 1.5s ease-in;
    position: relative;
    opacity: 0.95;
}

.tagline::before,
.tagline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8D5C4, transparent);
    transform: translateY(-50%);
}

.tagline::before {
    left: -40px;
}

.tagline::after {
    right: -40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 300;
    margin: 0;
    animation: fadeIn 2s ease-in;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    margin: 0;
    animation: fadeIn 2.5s ease-in;
    font-weight: 300;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    padding: 14px 30px;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 3s ease-in;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.3);
    position: relative;
    overflow: hidden;
}

/* Efecto shine/glow */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107, 78, 61, 0.5);
    cursor: pointer;
    background: linear-gradient(135deg, #8B6F47, #A98467);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 20px rgba(107, 78, 61, 0.4);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hero Footer */
/* Hero Footer */
.hero-footer {
    position: relative;
    width: 100%;
    background: rgba(250, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    color: #6B4E3D;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(107, 78, 61, 0.1);
    z-index: 2;
    box-sizing: border-box;
    animation: fadeIn 2s ease-in;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 800px;
    gap: 15px;
}

.footer-item {
    text-align: center;
    flex: 1;
}

.footer-item h4 {
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #A98467;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.footer-item p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6B4E3D;
    font-weight: 300;
}

/* Divider between items */
.footer-divider {
    height: 25px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(107, 78, 61, 0.3), transparent);
    align-self: center;
}

/* Ajustes para pantallas medianas */
@media (max-width: 540px) {
    .hero {
        padding: 80px 15px 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-item h4 {
        font-size: 0.6rem;
    }

    .footer-item p {
        font-size: 0.7rem;
    }

    .footer-divider {
        display: none;
    }
}

/* Ocultar el Hero Footer en pantallas pequeñas */
@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 0 15px;
    }
    
    .hero-footer {
        padding: 10px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
}

/* Ajustes para 280px */
@media (max-width: 280px) {
    .hero {
        padding: 70px 10px 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-item h4 {
        font-size: 0.55rem;
    }

    .footer-item p {
        font-size: 0.6rem;
    }

    .footer-divider {
        display: none;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator .arrow {
    width: 24px;
    height: 24px;
    border-bottom: 3px solid #A98467;
    border-right: 3px solid #A98467;
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .arrow {
    border-color: #D4B896;
    opacity: 1;
    animation-play-state: paused;
    transform: rotate(45deg) scale(1.2);
}

/* Efecto de pulsación */
.scroll-indicator::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #A98467;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator:hover::before {
    animation-play-state: paused;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.8;
    }
    40% {
        transform: rotate(45deg) translateY(10px);
        opacity: 1;
    }
    60% {
        transform: rotate(45deg) translateY(5px);
        opacity: 0.9;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


/* About Us Section */
.about-us {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background-color: #FFFFFF;
    gap: 60px;
}

.about-image {
    position: relative;
    width: 400px;
    height: 450px;
    margin: 0;
    overflow: visible;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #A98467;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(45deg, #6B4E3D, #A98467, #D4B896, #6B4E3D);
    background-size: 300% 300%;
    animation: gradient-border 4s ease infinite;
    padding: 2px;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.about-image:hover::before {
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border-color: #D4B896;
    box-shadow: 0 15px 40px rgba(169, 132, 103, 0.3);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(169, 132, 103, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(107, 78, 61, 0.2);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(107, 78, 61, 0.3);
}

.about-content {
    max-width: 550px;
    text-align: left;
    margin: 0;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #A98467;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #4A4A4A;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.about-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #6B6B6B;
    line-height: 1.9;
    margin-bottom: 35px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .about-us {
        flex-direction: column;
    }

    .about-image {
        width: 250px;
        height: 250px;
    }

    .about-content {
        text-align: center;
    }

    .about-title {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-image {
        width: 200px;
        height: 200px;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-heading {
        font-size: 2rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Smooth scroll animation for About Us section */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .tagline::before,
    .tagline::after {
        width: 20px;
    }

    .info-block {
        flex: 1 1 100%;
        text-align: center;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-heading {
        font-size: 2.5rem;
    }

    .about-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .tagline::before,
    .tagline::after {
        display: none;
    }

    .about-title {
        font-size: 1.2rem;
    }

    .about-heading {
        font-size: 2rem;
    }

    .about-description {
        font-size: 0.9rem;
    }
}

/* Fade In Animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #FAF7F5, #F5F0EB);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 50%, rgba(169, 132, 103, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(107, 78, 61, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Líneas conectoras entre stats */
.stats-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(169, 132, 103, 0.2), transparent);
    z-index: 0;
}

.stat {
    flex: 1;
    min-width: 200px;
    margin: 20px;
    position: relative;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(169, 132, 103, 0.2);
    box-shadow: 0 8px 32px rgba(107, 78, 61, 0.1);
}

.stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 50px rgba(107, 78, 61, 0.2);
    border-color: rgba(169, 132, 103, 0.4);
}

/* Icono de estadísticas */
.stat-icon {
    font-size: 3rem;
    color: #A98467;
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(169, 132, 103, 0.2));
}

.stat:hover .stat-icon {
    transform: scale(1.15) rotateY(360deg);
    color: #6B4E3D;
    filter: drop-shadow(0 8px 25px rgba(169, 132, 103, 0.35));
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: #6B4E3D;
    font-weight: 300;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #6B4E3D, #A98467, #D4B896);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 5px 15px rgba(107, 78, 61, 0.1);
}

.stat-number.counting {
    transform: scale(1.15);
    animation: numberPulse 0.5s ease-in-out;
}

.stat:hover .stat-number {
    background-position: 100% 50%;
    transform: scale(1.1);
}

.stat-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #8B6F47;
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.stat:hover .stat-text {
    color: #6B4E3D;
}

/* Animaciones */
@keyframes statCircle {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 30px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-text {
        font-size: 0.9rem;
    }

    .stat {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 60px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-text {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .stat::before {
        width: 60px;
        height: 60px;
    }
}

/* Tratamientos Section */
.treatments-section {
    padding: 80px 40px;
    background-color: #FFFFFF;
    text-align: center;
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: #4A4A4A;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    text-align: center;
}

.section-title h3 {
    text-align: center;
}

.treatments-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.treatment-card {
    background: transparent;
    width: 320px;
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(45deg, #6B4E3D, #A98467, #D4B896, #A98467, #6B4E3D);
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-border 5s ease infinite;
    pointer-events: none;
}

.treatment-card:hover::before {
    opacity: 0.6;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.treatment-card:hover .card-inner,
.treatment-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px 30px;
    box-sizing: border-box;
    top: 0;
    left: 0;
}

.card-front {
    background: linear-gradient(135deg, #FFFFFF, #FAF7F5);
    border: 1px solid rgba(107, 78, 61, 0.1);
    box-shadow: 0 10px 40px rgba(107, 78, 61, 0.08);
    position: relative;
    overflow: hidden;
    transform: rotateY(0deg);
    z-index: 2;
}

/* Decoraciones en esquinas */
.card-corner-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #A98467;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.card-corner-decoration.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.card-corner-decoration.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.treatment-card:hover .card-corner-decoration {
    opacity: 0.8;
    transform: scale(1.2);
}

/* Efecto shine */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.treatment-card:hover .card-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Badge popular */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #D4B896, #A98467);
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(169, 132, 103, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(169, 132, 103, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(169, 132, 103, 0.5);
    }
}

.card-icon {
    font-size: 3.5rem;
    color: #A98467;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6B4E3D, #A98467);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-front h3 {
    font-size: 1.5rem;
    color: #4A4A4A;
    margin: 15px 0;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
}

.card-front .price {
    font-size: 1.8rem;
    color: #6B4E3D;
    margin: 20px 0;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.card-hint {
    font-size: 0.75rem;
    color: #A98467;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    opacity: 0.8;
}

.card-back {
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    transform: rotateY(180deg);
    box-shadow: 0 20px 50px rgba(107, 78, 61, 0.25);
    justify-content: space-between;
    z-index: 1;
}

.card-back .description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
}

.card-cta {
    background: #FFFFFF;
    color: #6B4E3D;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-cta:hover {
    background: #E8D5C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .treatments-container {
        flex-direction: column;
        align-items: center;
    }

    .treatment-card {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .treatment-card {
        width: 95%;
        height: 380px;
    }

    .card-front h3 {
        font-size: 1.3rem;
    }

    .card-front .price {
        font-size: 1.5rem;
    }

    .card-back .description {
        font-size: 0.85rem;
    }

    .card-icon {
        font-size: 3rem;
    }
}

/* Animación para que los elementos vayan apareciendo de abajo hacia arriba */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .treatments-container {
        flex-direction: column;
        align-items: center;
    }

    .treatments-left, .treatments-right {
        width: 90%; /* Aumentamos el tamaño de las columnas en pantallas medianas */
        margin-bottom: 20px; /* Espaciado entre las columnas */
    }

    .section-title h2 {
        font-size: 2rem; /* Tamaño de fuente más pequeño en pantallas pequeñas */
    }

    .treatment-list ul li {
        font-size: 1rem; /* Texto más pequeño en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .treatments-left, .treatments-right {
        width: 100%; /* Las columnas ocupan el 100% del ancho en pantallas muy pequeñas */
    }

    .section-title h2 {
        font-size: 1.8rem; /* Texto aún más pequeño en pantallas muy pequeñas */
    }

    .treatment-list ul li {
        font-size: 0.9rem; /* Texto más pequeño para mejor lectura */
    }
}

/* Faq Section */
 
.faq-section {
    font-family: 'Poppins', sans-serif;
    padding: 100px 50px;
    background: linear-gradient(135deg, #FAF7F5, #FFFFFF);
    position: relative;
}

.faq-icon-header {
    font-size: 3.5rem;
    color: #A98467;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6B4E3D, #A98467);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 3rem;
    color: #4A4A4A;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

.faq-subtitle {
    font-size: 1rem;
    color: #8B6F47;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.faq-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

.faq-questions {
    width: 60%;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(107, 78, 61, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #6B4E3D, #A98467, #D4B896, #6B4E3D);
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-border 4s ease infinite;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 78, 61, 0.12);
}

.faq-item.active {
    border-color: #A98467;
    box-shadow: 0 0 30px rgba(169, 132, 103, 0.3);
}

.faq-question {
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: white;
    padding: 22px 25px;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question:hover {
    background: linear-gradient(135deg, #8B6F47, #A98467);
}

.faq-text {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: rgba(255, 255, 255, 0.3);
}

.faq-answer {
    max-height: 0;
    padding: 0 25px;
    background-color: #FFFFFF;
    color: #6B6B6B;
    line-height: 1.9;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 25px;
    opacity: 1;
    border-top: 1px solid rgba(107, 78, 61, 0.1);
}

.faq-image {
    width: 35%;
    text-align: center;
}

.faq-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-contact {
    text-align: center;
    margin-top: 30px;
}

.cta-button {
    padding: 12px 24px;
    background-color: #8b5e3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #a6784d;
}

@media (max-width: 768px) {
    .faq-content {
        flex-direction: column;
        align-items: center;
    }

    .faq-questions, .faq-image {
        width: 100%;
    }

    .faq-image {
        margin-top: 30px;
    }

    .faq-section {
        padding: 60px 30px;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-icon-header {
        font-size: 2.5rem;
    }

    .faq-subtitle {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .faq-icon {
        font-size: 1rem;
        width: 25px;
        height: 25px;
    }
}
  
  /* Professional Profile Section */
.professional-profile {
    padding: 100px 40px;
    background: linear-gradient(135deg, #FFFFFF, #FAF7F5);
    position: relative;
    overflow: hidden;
}

.professional-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(169, 132, 103, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 78, 61, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(107, 78, 61, 0.12);
    position: relative;
    z-index: 1;
}

/* Lado Izquierdo */
.profile-left {
    flex: 0 0 350px;
    text-align: center;
}

.profile-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
}

.profile-image-border {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #6B4E3D, #A98467, #E8D5C4);
    box-shadow: 0 15px 50px rgba(107, 78, 61, 0.2);
}

.profile-image-border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #FFFFFF;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(169, 132, 103, 0.3), rgba(107, 78, 61, 0.2));
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.profile-image-wrapper:hover .profile-glow {
    opacity: 1;
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 400;
    color: #4A4A4A;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.profile-title {
    font-size: 1rem;
    color: #8B6F47;
    margin-bottom: 25px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(107, 78, 61, 0.2);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(107, 78, 61, 0.3);
    background: linear-gradient(135deg, #8B6F47, #A98467);
}

/* Lado Derecho */
.profile-right {
    flex: 1;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.profile-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #4A4A4A;
    font-weight: 300;
    margin: 0;
}

.profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(107, 78, 61, 0.2);
}

.profile-quote {
    position: relative;
    background: linear-gradient(135deg, #FAF7F5, #F5F0EB);
    padding: 25px 30px;
    border-left: 4px solid #A98467;
    border-radius: 10px;
    margin-bottom: 30px;
}

.quote-icon {
    font-size: 1.5rem;
    color: #A98467;
    opacity: 0.3;
    margin-bottom: 10px;
}

.profile-quote p {
    font-style: italic;
    color: #6B6B6B;
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.profile-bio {
    margin-bottom: 30px;
}

.profile-bio h3,
.profile-specialties h3,
.profile-certifications h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #6B4E3D;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.profile-bio p {
    color: #6B6B6B;
    line-height: 1.9;
    font-size: 0.95rem;
    font-weight: 300;
}

.profile-stats-mini {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(107, 78, 61, 0.08);
    flex: 1;
    min-width: 150px;
}

.mini-stat i {
    font-size: 2rem;
    background: linear-gradient(135deg, #6B4E3D, #A98467);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4A4A4A;
    font-family: 'Playfair Display', serif;
}

.mini-label {
    display: block;
    font-size: 0.75rem;
    color: #8B6F47;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-specialties {
    margin-bottom: 30px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-tag {
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 78, 61, 0.2);
}

.specialty-tag i {
    font-size: 0.7rem;
}

.cert-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-badge {
    background: #FFFFFF;
    border: 2px solid #E8D5C4;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.cert-badge:hover {
    border-color: #A98467;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 78, 61, 0.15);
}

.cert-badge i {
    font-size: 1.5rem;
    color: #A98467;
}

.cert-badge span {
    font-size: 0.9rem;
    color: #4A4A4A;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-container {
        flex-direction: column;
        padding: 40px 30px;
    }

    .profile-left {
        flex: none;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 30px 20px;
    }

    .profile-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-heading {
        font-size: 2rem;
    }

    .profile-stats-mini {
        flex-direction: column;
    }

    .specialty-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .professional-profile {
        padding: 60px 20px;
    }

    .profile-container {
        padding: 25px 15px;
    }

    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-heading {
        font-size: 1.6rem;
    }

    .cert-badges {
        flex-direction: column;
    }
}


/* Gallery Section */
.gallery-section {
    text-align: center;
    padding: 100px 50px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F5 100%);
    position: relative;
}

.gallery-section h1 {
    font-size: 3.5rem;
    color: #4A4A4A;
    margin-bottom: 15px;
    display: inline-block;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.gallery-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #A98467, #6B4E3D);
    border-radius: 3px;
}

.gallery-section h2 {
    font-size: 1.1rem;
    color: #8B6F47;
    margin-bottom: 50px;
    font-weight: 300;
    position: relative;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-section .golden-line {
    display: none;
}

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(107, 78, 61, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    cursor: pointer;
    height: 320px;
  }
  
  .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 78, 61, 0.1), rgba(169, 132, 103, 0.1));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
  }

  /* Gallery Overlay con información */
  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(107, 78, 61, 0.95), rgba(107, 78, 61, 0.7), transparent);
    padding: 25px 20px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
  }

  .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
  }

  .overlay-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
  }

  .overlay-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.4;
  }
  
  .gallery-item:hover {
    box-shadow: 0 15px 45px rgba(107, 78, 61, 0.15);
    transform: translateY(-8px) scale(1.02);
  }
  
  .gallery-item:hover::before {
    opacity: 1;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
  }
  
  /* Diferentes tamaños para las imágenes */
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    height: 480px;
  }
  
  .gallery-item:nth-child(5) {
    grid-column: span 2;
    height: 320px;
  }
  
  .gallery-item:nth-child(9) {
    height: 480px;
  }
  
  /* Efecto zoom al pasar el mouse */
  .gallery-item:hover img {
    transform: scale(1.08);
  }
  
  /* Diseño responsive */
  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    
    .gallery-section {
      padding: 60px 30px;
    }
    
    .gallery-section h1 {
      font-size: 2.5rem;
    }
    
    .gallery-section h2 {
      font-size: 0.95rem;
    }

    .gallery-item {
      height: 280px;
    }
  
    .gallery-item:nth-child(1) {
      grid-column: span 2;
      height: 350px;
    }
    
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(9) {
      grid-column: span 1;
      height: 280px;
    }
  }

  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .gallery-section {
      padding: 50px 20px;
    }
    
    .gallery-section h1 {
      font-size: 2rem;
    }
    
    .gallery-section h1::after {
      width: 60px;
      height: 3px;
    }
    
    .gallery-section h2 {
      font-size: 0.85rem;
    }

    .gallery-item {
      height: 300px;
    }
  
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(9) {
      grid-column: span 1;
      height: 300px;
    }

    .overlay-content h3 {
      font-size: 1rem;
    }

    .overlay-content p {
      font-size: 0.75rem;
    }
  }

/* ============================================
   LIGHTBOX MODAL - Sistema moderno de visualización
   ============================================ */

  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
  }

  .lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
  }

  .lightbox-info {
    background: linear-gradient(135deg, rgba(107, 78, 61, 0.95), rgba(139, 111, 71, 0.95));
    padding: 25px 30px;
    margin-top: 15px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(107, 78, 61, 0.3);
  }

  .lightbox-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
  }

  .lightbox-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
  }

  /* Botón de cerrar */
  .lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #FFFFFF;
    background: rgba(107, 78, 61, 0.8);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    line-height: 1;
    backdrop-filter: blur(10px);
  }

  .lightbox-close:hover {
    background: rgba(169, 132, 103, 0.95);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(107, 78, 61, 0.4);
  }

  /* Botones de navegación */
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #FFFFFF;
    background: rgba(107, 78, 61, 0.7);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
  }

  .lightbox-prev {
    left: 30px;
  }

  .lightbox-next {
    right: 30px;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    background: rgba(169, 132, 103, 0.95);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(107, 78, 61, 0.4);
  }

  /* Contador de imágenes */
  .lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(107, 78, 61, 0.9);
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }

  /* Animaciones */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes zoomIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Responsive para lightbox */
  @media (max-width: 768px) {
    .lightbox-close {
      top: 15px;
      right: 15px;
      width: 45px;
      height: 45px;
      font-size: 2.2rem;
    }

    .lightbox-prev,
    .lightbox-next {
      width: 45px;
      height: 45px;
      font-size: 2rem;
    }

    .lightbox-prev {
      left: 15px;
    }

    .lightbox-next {
      right: 15px;
    }

    .lightbox-info h3 {
      font-size: 1.4rem;
    }

    .lightbox-info p {
      font-size: 0.9rem;
    }

    .lightbox-counter {
      bottom: 20px;
      font-size: 0.85rem;
      padding: 10px 20px;
    }
  }

  @media (max-width: 480px) {
    .lightbox-content {
      max-width: 95%;
    }

    .lightbox-info {
      padding: 20px;
      margin-top: 10px;
    }

    .lightbox-info h3 {
      font-size: 1.2rem;
    }

    .lightbox-info p {
      font-size: 0.8rem;
    }
  }

  .section-divider {
    position: relative;
    width: 100%;
    height: 80px;
    margin: 0;
    background: linear-gradient(135deg, #FAF7F5, #FFFFFF, #FAF7F5);
    overflow: hidden;
}

/* Línea decorativa central */
.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A98467, #D4B896, #A98467, transparent);
    animation: dividerGlow 3s ease-in-out infinite;
}

/* Icono central ornamental */
.section-divider::after {
    content: '\2726';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #A98467;
    background: #FAF7F5;
    padding: 10px 20px;
    z-index: 1;
    animation: dividerPulse 4s ease-in-out infinite;
}

/* Efectos decorativos laterales */
.section-divider {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(169, 132, 103, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(107, 78, 61, 0.05) 0%, transparent 50%);
}

/* Animaciones */
@keyframes dividerGlow {
    0%, 100% {
        opacity: 0.5;
        filter: blur(0px);
    }
    50% {
        opacity: 1;
        filter: blur(1px);
    }
}

@keyframes dividerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* Animación de desvanecimiento */
@keyframes fadeInDivider {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ============================================
   FOOTER MODERNO - DISEÑO MEJORADO
   ============================================ */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #2C1810 0%, #4A2C1A 50%, #2C1810 100%);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(169, 132, 103, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 78, 61, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Wave Divider Superior */
.footer-wave {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.footer-wave path {
    fill: #FAF7F5;
}

/* Footer Content Container */
.footer-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
    z-index: 1;
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Columnas del Footer */
.footer-col {
    position: relative;
}

/* Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(169, 132, 103, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.1) rotate(5deg);
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #E8D5C4;
    letter-spacing: 1px;
}

/* Footer Description */
.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 25px;
}

/* Social Icons en Footer */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icons .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(169, 132, 103, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8D5C4;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-icons .social-link:hover {
    background: linear-gradient(135deg, #A98467, #8B6F47);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(169, 132, 103, 0.4);
    border-color: #A98467;
}

/* Títulos de Columnas */
.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #E8D5C4;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #A98467, transparent);
    border-radius: 2px;
}

/* Enlaces del Footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.footer-links a i {
    color: #A98467;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #E8D5C4;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Información de Contacto */
.footer-contact-info .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-info .contact-item i {
    font-size: 1.2rem;
    color: #A98467;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact-info .contact-item p,
.footer-contact-info .contact-item a {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 300;
}

.footer-contact-info .contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info .contact-item a:hover {
    color: #E8D5C4;
}

/* Divider Decorativo */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(169, 132, 103, 0.5) 20%, 
        rgba(169, 132, 103, 0.5) 80%, 
        transparent
    );
    margin: 40px 0 30px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 50px;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    font-weight: 300;
}

.footer-bottom strong {
    color: #E8D5C4;
    font-weight: 500;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.footer-credits i {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-credits a {
    color: #E8D5C4;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #A98467;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-wave svg {
        height: 60px;
    }
    
    .footer-content {
        padding: 40px 20px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact-info .contact-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-description,
    .footer-links a,
    .footer-contact-info .contact-item p,
    .footer-contact-info .contact-item a {
        font-size: 0.85rem;
    }
}
        justify-content: center;
    }
}

/* 🔹 El modal empieza oculto y solo se muestra al hacer clic en una imagen */
.modal {
    display: none; /* Ocultar por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
    justify-content: center; /* 🔹 CENTRAR en horizontal */
    align-items: center; /* 🔹 CENTRAR en vertical */
}

/* 🔹 Contenedor de la imagen en el modal */
.modal-content-container {
    display: flex;
    justify-content: center; /* 🔹 Asegura que la imagen esté centrada */
    align-items: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* 🔹 Imagen dentro del modal (Tamaño normal en móviles) */
.modal-content {
    width: auto; /* Mantiene el aspecto proporcional */
    max-width: 90%; /* No sobrepasa el ancho de la pantalla */
    max-height: 80vh; /* No sobrepasa el alto de la pantalla */
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}

/* 🔹 Ocultar la "X" por defecto */
.modal .close {
    display: none; /* La "X" estará oculta hasta que se abra el modal */
}

/* 🔹 Mostrar la "X" solo cuando el modal esté activo */
.modal.active .close {
    display: block;
}

/* 🔹 Botón de cierre */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

/* 🔹 Efecto hover en la X */
.close:hover {
    color: #ff0000;
}

/* 🔹 Asegurar que las imágenes de la galería sean clickeables */
.zoomable {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* 🔹 Ajuste en pantallas grandes (PC) */
@media screen and (min-width: 1024px) {
    .modal-content {
        max-width: 90%; /* 🔹 Reduce el tamaño de la imagen en PC */
        max-height: 60vh;
    }
}

/* Texto fijo de orientación centrado */
.click-orientative-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    color: #8B6F47;
    margin-bottom: 30px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Ícono dentro del texto */
.click-orientative-text i {
    margin-right: 10px;
}

/* Ícono del mouse animado */
.click-icon {
    position: absolute;
    font-size: 1.5rem;
    color: #6B4E3D;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.5s ease-out;
}

/* Animación de clic */
.click-icon i.click-animation {
    animation: clickEffect 0.4s ease;
}

/* Efecto de pulsación simulando el clic */
@keyframes clickEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tarjeta de tratamiento */
.treatment-card {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Resalte de la tarjeta cuando se simula el clic */
.treatment-card.active {
    border: 2px solid rgba(169, 132, 103, 0.4);
    box-shadow: 0 15px 45px rgba(107, 78, 61, 0.2);
    transform: scale(1.02);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B4E3D, #8B6F47);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #8B6F47, #A98467);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(107, 78, 61, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top i {
    position: relative;
    z-index: 2;
    animation: arrowBounce 2s ease-in-out infinite;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.1s;
    stroke-dasharray: 169.56;
    stroke-dashoffset: 169.56;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   CUSTOM CURSOR (HERO SECTION)
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #A98467;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #D4B896;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(169, 132, 103, 0.1);
    border-color: #D4B896;
}

/* ============================================
   TESTIMONIALS CAROUSEL SECTION
   ============================================ */
.testimonials-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #FAF7F5 0%, #F5F0EB 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(169, 132, 103, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(107, 78, 61, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #6B4E3D;
    margin-bottom: 15px;
}

.testimonials-header p {
    font-size: 1.1rem;
    color: #8B6F47;
    opacity: 0.9;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(107, 78, 61, 0.1);
    text-align: center;
    border: 1px solid rgba(169, 132, 103, 0.2);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: testimonialFadeIn 0.6s ease;
}

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

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 3px solid #A98467;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    margin-bottom: 20px;
}

.star {
    color: #D4B896;
    font-size: 1.2rem;
    margin: 0 3px;
    animation: starPulse 2s ease-in-out infinite;
}

.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.1s; }
.star:nth-child(3) { animation-delay: 0.2s; }
.star:nth-child(4) { animation-delay: 0.3s; }
.star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.testimonial-text {
    font-size: 1.15rem;
    color: #6B4E3D;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.testimonial-author {
    font-weight: 600;
    color: #6B4E3D;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-role {
    color: #8B6F47;
    font-size: 0.9rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(169, 132, 103, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #A98467;
    transform: scale(1.3);
}

/* ============================================
   PROCESS TIMELINE SECTION
   ============================================ */
.process-timeline-section {
    padding: 100px 20px;
    background: #FFFFFF;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #6B4E3D;
    margin-bottom: 15px;
}

.timeline-header p {
    font-size: 1.1rem;
    color: #8B6F47;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #D4B896 0%, #A98467 50%, #6B4E3D 100%);
    transform: translateX(-50%);
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #D4B896;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(212, 184, 150, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 40px 30px 30px 30px;
    background: rgba(250, 247, 245, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(107, 78, 61, 0.1);
    border: 1px solid rgba(169, 132, 103, 0.2);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B4E3D, #A98467);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.3);
    z-index: 2;
}

.timeline-icon {
    font-size: 2.5rem;
    color: #A98467;
    margin-bottom: 15px;
    margin-top: 10px;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #6B4E3D;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1rem;
    color: #6B6B6B;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        cursor: auto;
    }
    
    .custom-cursor,
    .custom-cursor-dot {
        display: none;
    }
    
    .testimonials-header h2,
    .timeline-header h2 {
        font-size: 2rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-content {
        width: 100%;
        text-align: left !important;
    }
    
    .timeline-number {
        left: 30px;
    }
}

/* ============================================
   NAV LOGO (IZQUIERDA)
   ============================================ */
.nav-logo-container {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 1001;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.nav-logo-container.scrolled {
    top: 15px;
    left: 25px;
}

.nav-logo-container.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.nav-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(107, 78, 61, 0.2));
    transition: all 0.3s ease;
}

.nav-logo-container.scrolled .nav-logo {
    width: 60px;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(107, 78, 61, 0.3));
}

/* ============================================
   BREADCRUMB NAVIGATION (NAVBAR PRINCIPAL)
   ============================================ */
.breadcrumb-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(107, 78, 61, 0.15);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
    border: 1px solid rgba(169, 132, 103, 0.2);
}

.breadcrumb-nav.scrolled {
    top: 15px;
    padding: 10px 25px;
    box-shadow: 0 8px 35px rgba(107, 78, 61, 0.2);
}

.breadcrumb-nav.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6B4E3D;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
}

.breadcrumb-item.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, #6B4E3D, #A98467);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(107, 78, 61, 0.3);
}

.breadcrumb-item:not(.active):hover {
    color: #A98467;
    background: rgba(169, 132, 103, 0.1);
}

.breadcrumb-item i {
    font-size: 0.95rem;
}

.breadcrumb-separator {
    color: #D4B896;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .nav-logo-container {
        top: 65px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-logo-container.scrolled {
        top: 55px;
    }
    
    .nav-logo {
        width: 50px;
    }
    
    .nav-logo-container.scrolled .nav-logo {
        width: 40px;
    }
    
    .breadcrumb-nav {
        top: 10px;
        padding: 8px 15px;
        max-width: 95%;
        width: auto;
        border-radius: 40px;
    }
    
    .breadcrumb-nav.scrolled {
        top: 8px;
        padding: 6px 12px;
    }
    
    .breadcrumb-list {
        gap: 4px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .breadcrumb-list::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb-item {
        font-size: 0.75rem;
        padding: 6px 10px;
        gap: 5px;
    }
    
    .breadcrumb-item i {
        font-size: 0.75rem;
    }
    
    .breadcrumb-separator {
        font-size: 0.65rem;
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .nav-logo-container {
        top: 55px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-logo-container.scrolled {
        top: 48px;
    }
    
    .nav-logo {
        width: 40px;
    }
    
    .nav-logo-container.scrolled .nav-logo {
        width: 35px;
    }
    
    .breadcrumb-nav {
        top: 8px;
        padding: 6px 12px;
        max-width: 96%;
        border-radius: 35px;
    }
    
    .breadcrumb-nav.scrolled {
        top: 6px;
        padding: 5px 10px;
    }
    
    .breadcrumb-list {
        gap: 3px;
    }
    
    .breadcrumb-item {
        font-size: 0.7rem;
        padding: 5px 8px;
        gap: 4px;
    }
    
    .breadcrumb-item i {
        font-size: 0.7rem;
    }
    
    .breadcrumb-separator {
        font-size: 0.6rem;
        opacity: 0.5;
    }
}

@media (max-width: 360px) {
    .nav-logo-container {
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-logo-container.scrolled {
        top: 45px;
    }
    
    .nav-logo {
        width: 35px;
    }
    
    .nav-logo-container.scrolled .nav-logo {
        width: 30px;
    }
    
    .breadcrumb-nav {
        top: 6px;
        padding: 5px 10px;
        max-width: 98%;
        border-radius: 30px;
    }
    
    .breadcrumb-list {
        gap: 2px;
    }
    
    .breadcrumb-item {
        font-size: 0.65rem;
        padding: 4px 7px;
        gap: 3px;
    }
    
    .breadcrumb-item i {
        font-size: 0.65rem;
    }
    
    .breadcrumb-separator {
        font-size: 0.55rem;
        opacity: 0.4;
    }
}
