/* ==================== VARIABLES ==================== */
:root {
    --primary-gradient: linear-gradient(135deg, #edb2b6 0%, #f7dbd8 100%);
    --primary-color: #edb2b6;
    --primary-light: #f7dbd8;
    --primary-hover: #e09ca1;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --accent-gold: #edb2b6;
    --accent-gold-hover: #e09ca1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    background: var(--accent-gold);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-bg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--accent-gold);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    margin-top: 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    display: none; /* Ocultado para mostrar banner sin opacidad */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 4rem 2rem;
    position: relative;
    display: none; /* Ocultado para mostrar banner limpio */
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-italic,
.title-italic {
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    max-width: 1400px;
    margin: 4rem auto 6rem;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.service-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.service-info {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-info p {
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    flex: 1;
}

/* Botón Ver más en servicios */
.service-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.service-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== CAROUSELS SECTION ==================== */
.carousels-section {
    background: #f5f5f5;
    padding: 6rem 0;
}

.carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.carousel-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    font-weight: 600;
}

.carousel-container {
    position: relative;
    padding: 0 4rem;
}

.carousel-track {
    overflow: hidden;
}

.carousel-items {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
    min-width: calc(25% - 1.125rem);
    max-width: 320px;
    background: var(--light-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.carousel-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.carousel-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-info p {
    color: #1a1a1a;
    font-size: 0.85rem;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Botón Cotizar en tarjetas del carrusel */
.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
}

.quote-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.quote-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(237, 178, 182, 0.95);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(224, 156, 161, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

/* ==================== LOCATION SECTION ==================== */
.location-section {
    background: #f5f5f5;
    padding: 6rem 0;
}

.location-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.location-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke: white;
}

.info-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.location-map {
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 900px) {
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    background: var(--light-bg);
    padding: 6rem 0;
}

.reviews-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.reviews-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 4rem;
    font-family: 'Playfair Display', serif;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.review-card {
    min-width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.review-content {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.review-avatar-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.review-author {
    text-align: left;
}

.review-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.review-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #FFD700;
    font-size: 1.5rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-services {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.review-services-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.review-services-list {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.review-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.review-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: var(--transition);
}

.review-indicator.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .review-content {
        padding: 2rem 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-author {
        text-align: center;
    }
    
    .review-text {
        font-size: 1rem;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-quote {
    margin-bottom: 2rem;
}

.footer-quote p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1400px) {
    .carousel-card {
        min-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 1024px) {
    .carousel-card {
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-card {
        min-width: 100%;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-content {
        padding: 3rem 1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .service-image,
    .carousel-image {
        height: 220px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.carousel-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }