/* Variables CSS */
:root {
    --primary-color: #d4a574;
    --secondary-color: #f4e4d1;
    --accent-color: #8b6f47;
    --text-dark: #2c2c2c;
    --text-light: #6c6c6c;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d4a574 0%, #f4e4d1 100%);
    --gradient-secondary: linear-gradient(45deg, #f4e4d1 0%, #ffffff 100%);
    --shadow-light: 0 10px 40px rgba(212, 165, 116, 0.1);
    --shadow-medium: 0 20px 60px rgba(212, 165, 116, 0.15);
    --border-radius: 20px;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Utilidades */
.rounded-custom {
    border-radius: var(--border-radius) !important;
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    border-top: 3px solid var(--primary-color);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 8px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-cookie.accept {
    background: var(--primary-color);
    color: var(--white);
}

.btn-cookie.accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-cookie.reject {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-light);
}

.btn-cookie.reject:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Navegación */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar-brand .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4a574' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Botones personalizados */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

footer .contact-info{
    background: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: var(--gradient-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shape-1, .hero-shape-2, .hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
    animation: float 4s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    box-shadow: var(--shadow-medium);
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
    min-width: 120px;
}

.floating-card-content i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.floating-card-content span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.floating-card-content small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Sección Filosofía */
.filosofia-section {
    background: var(--white);
    position: relative;
}

.filosofia-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.filosofia-item:hover {
    background: var(--secondary-color);
    transform: translateX(10px);
}

.filosofia-icon {
    min-width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.filosofia-text h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.filosofia-text p {
    color: var(--text-light);
    margin: 0;
}

.filosofia-image img {
    box-shadow: var(--shadow-light);
}

/* Antes y Después */
.antes-despues-section {
    background: var(--gradient-secondary);
    position: relative;
}

.antes-despues-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.antes-despues-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.antes-despues-card .card-image {
    height: 250px;
    overflow: hidden;
}

.antes-despues-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.antes-despues-card:hover .card-image img {
    transform: scale(1.05);
}

.antes-despues-card .card-content {
    padding: 25px;
}

.antes-despues-card .card-content h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.antes-despues-card .card-content p {
    color: var(--text-light);
    margin: 0;
}

/* Experiencia Section */
.experiencia-section {
    background: var(--white);
    position: relative;
}

.experiencia-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.experiencia-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.experiencia-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.experiencia-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 2;
}

.experiencia-card .card-header {
    padding: 30px 25px 20px;
    text-align: center;
    background: var(--gradient-secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.experiencia-card .card-header h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.precio {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
}

.experiencia-card .card-body {
    padding: 25px;
}

.duracion {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.duracion i {
    color: var(--primary-color);
}

.descripcion {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.beneficios {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.beneficios li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.beneficios li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Testimonios */
.testimonios-section {
    background: var(--gradient-secondary);
    position: relative;
}

.testimonio-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.estrellas {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonio-texto {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
}

.testimonio-texto::before,
.testimonio-texto::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    position: absolute;
    opacity: 0.3;
}

.testimonio-texto::before {
    top: -15px;
    left: -10px;
}

.testimonio-texto::after {
    bottom: -35px;
    right: -10px;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.autor-imagen {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.autor-info h6 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.autor-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Galería */
.galeria-section {
    background: var(--white);
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 12px!important;
    height: 12px!important;
    border: none;
}

/* Footer */
.footer-section {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: var(--white);
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .filosofia-item {
        flex-direction: column;
        text-align: center;
    }
    
    .filosofia-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .testimonio-autor {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .precio {
        font-size: 2rem;
    }
    
    .experiencia-card .card-header,
    .experiencia-card .card-body {
        padding: 20px;
    }
    
    .testimonio-card {
        padding: 20px;
    }
}