/* ======================================== */
/* VARIABLES DE DISEÑO */
/* ======================================== */
:root {
    --color-primary: #2b2b2b;
    --color-secondary: #e7edede4;
    --color-accent: #a53d3d;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #f1f3f4;
    
    --font-primary: 'Montserrat Alternates', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --max-width: 1200px;
}

/* ======================================== */
/* RESET Y BASE */
/* ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/recepcion-img.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* ======================================== */
/* HERO SECTION - CONTRASTE MEJORADO */
/* ======================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-card {
    padding: 2rem;
    background: rgba(43, 43, 43, 0.6);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card h1 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--color-white) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero video {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.2);
    padding: 10px;
}

/* ======================================== */
/* SCANNER VIDEOS - ARMONIZADOS */
/* ======================================== */
.scanner-videos {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.scanner-video-main video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scanner-video-side video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .scanner-videos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scanner-video-main video,
    .scanner-video-side video {
        height: 250px;
    }
}

/* ======================================== */
/* CONTACT SECTION - LAYOUT CORREGIDO */
/* ======================================== */
.contact {
    background-color: rgba(105, 105, 105, 0.7);
}

.contact h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-buttons {
    margin-bottom: 2rem;
}

.phone-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.phone-card img {
    width: 50px;
    height: 50px;
}

.phone-number {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Carousel al lado del formulario */
.results-carousel {
    margin-top: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.results-carousel h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.form-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
}

.form-card form input,
.form-card form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.2);
    background: transparent;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-card form input:focus,
.form-card form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-card form button {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition-speed);
    width: 100%;
}

.form-card form button:hover {
    background: #8a2f2f;
}

@media (max-width: 992px) {
    .contact-left-column {
        margin-bottom: 2rem;
    }
    
    .results-carousel {
        margin-top: 2rem;
    }
}

/* ======================================== */
/* RESTO DEL CSS SIN CAMBIOS */
/* ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary) !important;
    transition: color var(--transition-speed);
}

.navbar-nav .nav-link:hover {
    color: var(--color-accent) !important;
}

.about, .team, .location {
    background-color: rgba(43, 43, 43, 0.85);
    backdrop-filter: blur(5px);
}

.about h2, .team h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--color-accent);
    border: none;
    margin: 20px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    backdrop-filter: blur(5px);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-card-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid var(--color-accent);
}

.team-card-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
}

.team-card-content .credentials {
    font-weight: 600;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 1rem;
}

.team-card-content p {
    color: var(--color-text-light);
    text-align: center;
}

.treatments {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('img/recepcion-dos-img.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.treatments-card {
    background: rgba(231, 237, 237, 0.9);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 3rem;
}

.treatments-card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.treatments-list {
    list-style: none;
    padding: 0;
}

.treatments-list li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.treatments-list li:last-child {
    border-bottom: none;
}

.treatments-list a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.treatments-list a:hover {
    text-decoration: underline;
}

.scanner-section {
    color: var(--color-white);
}

.scanner-section h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
}

.location {
    background-color: rgba(43, 43, 43, 0.85);
}

.address-card {
    background: var(--color-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.address-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-primary);
}

.transport-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.transport-buttons button {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.transport-buttons button:hover {
    background: #8a2f2f;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.site-footer {
    background: rgba(255, 255, 255, 0.95);
}

.footer-logo {
    width: 150px;
    height: auto;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform var(--transition-speed);
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-card h1 {
        font-size: 2rem;
    }
    
    .about .row {
        flex-direction: column-reverse;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .transport-buttons button {
        width: 100%;
        max-width: 300px;
    }
}