/* --- HEADER REFINADO (REEMPLAZAR) --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 80px; /* Más aire a los lados */
    background: rgba(10, 10, 10, 0.9); 
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    display: flex;
    justify-content: space-between; /* Logo a la izq, Menú a la der */
    align-items: center; /* Alineación vertical perfecta */
    transition: all 0.4s ease;
    box-sizing: border-box;
}

/* El logo se mantiene imponente */
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: white;
}

.logo span {
    color: var(--gold);
    font-weight: 300;
}

/* Navegación limpia y espaciada */
nav {
    display: flex;
    gap: 35px; /* Espacio uniforme entre links */
    align-items: center;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

/* Hover y Activo: El toque dorado */
nav a:hover, nav a.active {
    color: var(--gold);
}

/* Indicador de página activa (Punto minimalista) */
nav a.active {
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

/* --- ESTILO DE CABECERA DE PÁGINA --- */
.page-header {
    padding: 150px 0 80px 0;
    text-align: center;
    background-color: var(--dark);
}

.page-header h1 {
    font-size: 5rem; /* Grande, estilo Envato */
    line-height: 1;
    margin: 20px 0;
    color: var(--white);
}

.page-header h1 i {
    color: var(--gold);
    font-style: italic;
}

.page-subtitle {
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- GRID DE CASOS (EL ESQUEMA) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas grandes */
    gap: 60px;
    padding-bottom: 100px;
}

.case-item {
    cursor: pointer;
}

.case-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #111; /* Color de fondo mientras no hay fotos */
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
}

.case-item:hover .case-image-placeholder {
    border-color: var(--gold);
}

.placeholder-text {
    color: #333;
    letter-spacing: 2px;
    font-size: 0.7rem;
    font-weight: bold;
}

.case-meta {
    margin-top: 25px;
}

.case-category {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.case-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--white);
}

:root {
    --gold: #c5a059;
    --dark: #0a0a0a;
    --dark-grey: #161616;
    --text-grey: #a1a1a1;
}

body {
    margin: 0;
    background-color: var(--dark);
    color: white;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* HEADER ELEGANTE */
header {
    padding: 30px 50px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.logo span { color: var(--gold); }

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover { color: var(--gold); }

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* IMAGEN DE FONDO REALISTA */
    background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); /* Esto es lo que le da el toque premium dark */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.top-label {
    color: var(--gold);
    letter-spacing: 6px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

h1 i { font-family: 'Cormorant Garamond', serif; }

.hero-content p {
    color: var(--text-grey);
    font-size: 1.1rem;
    margin: 30px auto;
    max-width: 500px;
}

.cta-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 40px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: 0.4s;
}

.cta-gold:hover {
    background: var(--gold);
    color: black;
}

/* --- SECCIÓN PROCESO --- */
.process {
    padding: 120px 0;
    background-color: #0d0d0d; /* Un tono ligeramente diferente para resaltar */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-right: 20px;
}

.step-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    opacity: 0.3;
}

.process-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--white);
}

.process-step p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 90%;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .step-line {
        display: none;
    }
}

/* SECCIÓN ABOUT */
.about {
    padding: 150px 0;
    display: flex;
    justify-content: center;
}

.about-wrapper {
    display: flex;
    max-width: 1200px;
    align-items: center;
    gap: 100px;
}

.about-image img {
    width: 450px;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
}

.about-info { max-width: 500px; }

.gold-line {
    display: block;
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 20px;
}

.section-tag {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 4px;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.about-info p {
    color: var(--text-grey);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--grey-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.link-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.img-wrapper {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Borde sutil dorado */
    padding: 15px;
}

.img-wrapper img {
    width: 100%;
    filter: grayscale(0.4) contrast(1.1);
}

/* --- SECCIÓN SERVICIOS --- */
.services {
    padding: 100px 0;
    background-color: #0f0f0f; /* Un gris casi negro para separar secciones */
}

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

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

.service-card {
    background-color: var(--card-bg);
    padding: 50px 40px;
    border: 1px solid #222;
    transition: 0.5s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    width: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--grey-text);
    font-size: 0.95rem;
}

.service-card.active {
    background-color: var(--gold);
}

.service-card.active h3, 
.service-card.active p, 
.service-card.active .service-icon {
    color: var(--bg-black);
    border-color: var(--bg-black);
}

/* --- SECCIÓN RESULTADOS (ANTES Y DESPUÉS) --- */
.results {
    padding: 120px 0;
    background-color: var(--dark);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.result-card {
    background: white; /* Contraste para resaltar el contenido */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
}

.result-card:hover {
    transform: translateY(-15px);
}

.result-img-container {
    height: 300px;
    overflow: hidden;
}

.result-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    padding: 30px;
    text-align: center;
}

.result-info h3 {
    color: var(--dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.result-info p {
    color: #666;
    font-size: 0.9rem;
}

/* --- SECCIÓN TURISMO DENTAL (BANNER) --- */
.tourism {
    padding-bottom: 120px;
}

.tourism-card {
    display: flex;
    background-color: #eef2f3; /* Color suave para destacar del fondo negro */
    border-radius: 25px;
    overflow: hidden;
    align-items: center;
    color: var(--dark);
}

.tourism-content {
    padding: 80px;
    flex: 1;
}

.tourism-content h2 {
    font-size: 3rem;
    color: var(--dark);
    margin: 20px 0;
}

.tourism-content h2 span {
    color: var(--gold);
    font-style: italic;
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.check-list li span {
    color: var(--gold);
    margin-right: 10px;
    font-weight: bold;
}

.tourism-image {
    flex: 1;
    height: 100%;
}

.tourism-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-gold-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-gold-outline:hover {
    background-color: var(--dark);
    color: var(--gold);
}

/* --- CONTENEDOR MULTIMEDIA PROFESIONAL --- */
.case-media-container {
    width: 100%;
    aspect-ratio: 16 / 10; /* Proporción cinematográfica */
    background: #111;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.case-video, .case-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que el video/foto llene el cuadro sin deformarse */
    transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Efecto de máscara oscura que se aclara al pasar el mouse */
.media-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.media-overlay span {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 20px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.case-item:hover .media-overlay {
    opacity: 1;
}

.case-item:hover .case-video, 
.case-item:hover .case-img {
    transform: scale(1.05); /* Zoom suave al estilo Envato */
}

/* --- MEJORA DE ESPACIADO GENERAL --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px; /* Mucho espacio entre filas para que respiren los casos */
    padding: 100px 0;
}

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

/* --- SECCIÓN FEATURES (Diferenciadores) --- */
.features {
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.feature-item {
    position: relative;
    padding: 40px;
    background: #0f0f0f;
    transition: 0.5s ease;
}

.feature-item:hover {
    background: #151515;
    transform: translateY(-5px);
}

.feature-number {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

.feature-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- SECCIÓN CTA BANNER (Impacto visual) --- */
.cta-banner {
    padding: 100px 5%;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    background: #111;
    overflow: hidden;
}

.cta-image {
    flex: 1;
    height: 500px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: 1s ease;
}

.cta-wrapper:hover .cta-image img {
    filter: grayscale(0%) contrast(1); /* Efecto llamativo al pasar el mouse */
    transform: scale(1.05);
}

.cta-text {
    flex: 1;
    padding: 80px;
}

.cta-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.cta-text p {
    color: var(--text-grey);
    margin-bottom: 40px;
}

/* Estado inicial de los elementos (ocultos y un poco abajo) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Estado cuando se vuelven visibles */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retraso en las tarjetas de beneficios para que aparezcan una tras otra */
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.4s; }

.cta-image {
    position: relative;
    overflow: hidden;
}

/* Sombra interna para que la imagen se funda con el texto negro */
.cta-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 20%);
}

/* --- ARREGLO DE VISIBILIDAD --- */
.reveal {
    opacity: 1; /* Por defecto se ve */
    transform: translateY(0);
    transition: all 1s ease-out;
}

/* Solo si el JS está activo, aplicamos el estado oculto inicial */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(40px);
}

.js-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILO DE LA GALERÍA (Para que no se vea vacío) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    padding: 80px 0;
}

.case-image-wrapper {
    background: #111;
    aspect-ratio: 16 / 10;
    position: relative;
    border: 1px solid #222;
    overflow: hidden;
}

.placeholder-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #333;
    font-size: 0.6rem;
    letter-spacing: 4px;
}

.case-info {
    margin-top: 25px;
}

.case-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--white);
    margin-top: 10px;
}

/* --- COMPACT GALLERY --- */
.compact-gallery {
    padding: 80px 0;
    background: var(--dark);
}

.compact-header {
    margin-bottom: 50px;
}

.compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos casos por fila */
    gap: 30px;
}

.compact-item {
    display: flex; /* Alinea media y texto uno al lado del otro */
    background: #111;
    border: 1px solid #1a1a1a;
    transition: 0.4s ease;
    height: 250px; /* Altura fija para que sea compacto */
}

.compact-item:hover {
    border-color: var(--gold);
    background: #161616;
}

/* Espacio de la Imagen/Video */
.compact-media {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.compact-media img, .compact-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: black;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 3px 8px;
    letter-spacing: 1px;
}

/* Espacio del Texto */
.compact-detail {
    flex: 1.2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-cat {
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.compact-detail h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.compact-detail p {
    color: var(--text-grey);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.view-case {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    border-bottom: 1px solid var(--gold);
    align-self: flex-start;
    padding-bottom: 2px;
}
/* Subtítulos que flotan (Minimalismo puro) */
.media-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

.masonry-item:hover .media-caption {
    opacity: 1;
    transform: translateY(0);
}

.media-caption .tag {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    display: block;
}

.media-caption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: white;
}

/* --- CORRECCIÓN PROCESS CARD --- */
.process-refined {
    padding: 100px 0;
    background: var(--dark);
}

.process-card {
    display: flex;
    align-items: stretch;
    background: #0f0f0f;
    border: 1px solid rgba(197, 160, 89, 0.2);
    min-height: 450px;
    overflow: hidden;
}

.process-image {
    flex: 1;
    position: relative;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.image-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: black;
    padding: 5px 15px;
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.process-info {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-info h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 20px 0;
    color: white;
}

.process-info h2 i {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
}

.process-info p {
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 450px;
}

/* Responsivo para que en Mac/Laptop se vea perfecto */
@media (max-width: 992px) {
    .process-card {
        flex-direction: column;
    }
    .process-info {
        padding: 40px;
    }
}

/* --- NUEVA SECCIÓN MÉTODO DIGITAL --- */
.method-refined {
    padding: 100px 5%; /* Aire a los lados y arriba/abajo */
    background: var(--dark);
}

.method-card {
    display: flex; /* Diseño horizontal imagen-texto */
    align-items: stretch; /* Mismo alto para ambas partes */
    background: #0d0d0d; /* Un negro ligeramente distinto para profundidad */
    border: 1px solid rgba(197, 160, 89, 0.1);
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s ease;
}

.method-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Espacio Multimedia */
.method-media {
    flex: 1.1; /* Un poco más de espacio para la imagen */
    position: relative;
    overflow: hidden;
}

.method-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llenado perfecto sin deformar */
    transition: 0.8s ease;
}

.method-card:hover .method-media img {
    transform: scale(1.05); /* Zoom suave al estilo Envato */
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.image-overlay span {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

/* Espacio de Texto Refinado */
.method-info {
    flex: 1; /* Espacio equilibrado para el texto */
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label-gold {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 20px;
}

.method-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    line-height: 1.1;
    color: white;
}

.method-info h2 i {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
}

.method-info p {
    color: var(--text-grey);
    line-height: 1.8;
    margin: 30px 0 40px 0;
    font-size: 1rem;
    max-width: 450px;
}

/* El botón de lujo que abre el Pop-up */
.btn-lujo {
    align-self: flex-start;
    border-bottom: 1px solid var(--gold);
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-lujo:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* --- ESTILOS DEL MODAL --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #111;
    margin: 5% auto;
    padding: 50px;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 20px; right: 30px;
    color: var(--gold);
    font-size: 30px;
    cursor: pointer;
}

.modal-header h2 span {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.modal-body {
    margin-top: 30px;
}

.info-item {
    margin-bottom: 20px;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.info-item h4 {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-grey);
    font-size: 0.8rem;
}

.whatsapp-action {
    margin-top: 40px;
    text-align: center;
}

.btn-whatsapp {
    display: flex; /* Flexbox para alinear icono y texto */
    align-items: center;
    justify-content: center;
    gap: 12px; /* Espacio entre icono y texto */
    background: #25d366; /* Verde oficial de WhatsApp */
    color: white;
    padding: 18px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: 0.3s;
    border-radius: 4px;
}

.btn-whatsapp:hover {
    background: #128c7e; /* Verde más oscuro al pasar el mouse */
    transform: scale(1.02);
}

.btn-whatsapp svg {
    fill: white;
}

/* --- FOOTER STYLE --- */
.main-footer {
    background-color: #050505; /* Un negro más profundo para el cierre */
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2); /* Línea dorada muy sutil */
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col-brand p {
    color: var(--text-grey);
    margin: 25px 0;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

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

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

.footer-col ul li a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links a {
    color: var(--gold);
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 8px 12px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    color: black;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #444;
}

.footer-bottom a {
    color: #444;
    text-decoration: none;
    margin-left: 20px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col-brand p {
        margin: 25px auto;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Estilos del Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Fondo oscuro traslúcido */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a; /* Negro Injoe */
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #c5a059; /* Borde dorado */
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #c5a059;
    font-size: 28px;
    cursor: pointer;
}

.appointment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.opt-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.opt-btn:hover {
    background: #c5a059;
    color: black;
    border-color: #c5a059;
    transform: translateY(-2px);
}

/* Contenedor de Navegación */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px; /* Espacio amplio entre links como en la referencia */
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px; /* Toque elegante de la referencia */
    text-transform: uppercase;
    transition: 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #c5a059; /* Dorado */
}

/* Línea sutil debajo de la opción activa */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #c5a059;
}

/* Selector de Idioma */
.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #c5a059;
    padding: 5px 12px;
    cursor: pointer;
    font-family: 'Montserrat';
    font-size: 0.75rem;
    border-radius: 4px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #c5a059;
    min-width: 100px;
    z-index: 100;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown span {
    display: block;
    padding: 10px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
}

.lang-dropdown span:hover {
    background: #c5a059;
    color: black;
}