/* --- 1. CONFIGURACIÓN BASE Y DARK MODE --- */
:root {
    --primary-color: #2a9d8f;
    --secondary-color: #264653;
    --accent-color: #e9c46a;
    --text-color: #333;
    --bg-color: #f4f4f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --border-color: #dddddd;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --white: #1e1e1e; 
    --secondary-color: #0d1b1e;
    --border-color: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* --- 2. HEADER Y NAVBAR --- */
header {
    background-color: var(--secondary-color);
    /* Aumentamos el padding para hacerlo más "largo" hacia abajo */
    padding: 2rem 5%; 
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 { 
    /* Logo más grande */
    font-size: 2.2rem; 
    color: white; 
}
.logo span { color: var(--primary-color); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { 
    /* Más separación entre los ítems */
    padding: 0 25px; 
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600; /* Un poco más de grosor */
    /* Letras más grandes */
    font-size: 1.3rem; 
    transition: var(--transition);
}

/* --- LÓGICA DEL MEGA-MENÚ --- */
.has-megamenu {
    position: relative; /* Para que el menú se posicione respecto al link */
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px); /* Empieza un poco más abajo */
    background-color: var(--white); /* Cambia con el Dark Mode */
    display: grid;
    grid-template-columns: repeat(2, 180px); /* Dos columnas */
    gap: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    
    /* Efecto de ocultar/mostrar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Mostrar al pasar el mouse por el LI padre */
.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Estilos de las columnas internas */
.menu-column h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.menu-column ul {
    list-style: none;
}

.menu-column ul li {
    padding: 5px 0 !important; /* Quitamos el padding lateral del navbar */
}

.menu-column a {
    color: var(--text-color) !important; /* Usamos la variable de texto */
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.menu-column a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px; /* Pequeña animación al hover */
}

/* El botón también debe crecer un poco para no quedar pequeño */
#theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 8px 18px; 
    border-radius: 25px;
    font-size: 1.4rem;
    transition: var(--transition);
}

#theme-toggle:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* --- 3. HERO SECTION (VIDEO FULL SCREEN) --- */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.hero-video-container iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1.3); /* Evita bordes negros */
    pointer-events: none;
}

.hero-overlay {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.animate-text { font-size: 3rem; margin-bottom: 10px; }

/* --- 4. DESTINOS GRID (3 COLUMNAS) --- */
.container { padding: 4rem 5%; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; color: var(--text-color); }

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover img { transform: scale(1.1); }

.card-info {
    position: absolute;
    bottom: 0; width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* --- 5. STATS --- */
.stats {
    background: var(--secondary-color);
    color: white;
    padding: 3rem;
    text-align: center;
}

.counter-anim::after {
    content: "500";
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* --- 6. TESTIMONIOS --- */
.testimonials {
    background: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.carousel { max-width: 800px; margin: auto; overflow: hidden; position: relative; }
.slides { display: flex; transition: transform 0.5s ease; }
.slide { min-width: 100%; padding: 20px; }
.slide p { font-size: 1.2rem; font-style: italic; color: var(--text-color); }

.carousel input { display: none; }
#slide1:checked ~ .slides { transform: translateX(0); }
#slide2:checked ~ .slides { transform: translateX(-100%); }
#slide3:checked ~ .slides { transform: translateX(-200%); }

.controls label {
    display: inline-block;
    width: 12px; height: 12px;
    background: #bbb;
    border-radius: 50%;
    margin: 10px 5px;
    cursor: pointer;
}

#slide1:checked ~ .controls label:nth-child(1),
#slide2:checked ~ .controls label:nth-child(2),
#slide3:checked ~ .controls label:nth-child(3) { background: var(--primary-color); }

/* --- 7. FOOTER --- */
.main-footer { background: var(--secondary-color); color: white; padding: 3rem 5%; }
.footer-container { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 2rem; }

.newsletter-form input {
    width: 100%; padding: 10px; margin-bottom: 10px;
    border-radius: 5px; border: none; background: var(--white); color: var(--text-color);
}

.btn-primary {
    background: var(--primary-color); color: white;
    padding: 10px 20px; text-decoration: none; border-radius: 5px; display: inline-block;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .destinos-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .destinos-grid { grid-template-columns: 1fr; }
    .animate-text { font-size: 2rem; }
}


/* --- PUNTO 2: PÁGINA DE DESTINOS (JUJUY) --- */

/* Filtros con :checked */
.filter-system input[type="radio"] {
    display: none; /* Escondemos los radios */
}

.filter-labels {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-labels label {
    padding: 10px 25px;
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-color);
}

/* Estado activo de los filtros */
#todos:checked ~ .filter-labels label[for="todos"],
#quebrada:checked ~ .filter-labels label[for="quebrada"],
#puna:checked ~ .filter-labels label[for="puna"],
#yungas:checked ~ .filter-labels label[for="yungas"] {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(42, 157, 143, 0.3);
}

/* Lógica de filtrado de las cards */
#quebrada:checked ~ .masonry-grid .dest-card:not(.quebrada),
#puna:checked ~ .masonry-grid .dest-card:not(.puna),
#yungas:checked ~ .masonry-grid .dest-card:not(.yungas) {
    display: none;
}

/* Galería Masonry con CSS Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px; /* Altura base */
    gap: 20px;
    grid-auto-flow: dense; /* Importante para que no queden huecos */
}

.dest-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

/* Clase para que algunas imágenes sean más altas (Masonry) */
.dest-card.tall {
    grid-row: span 2;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Overlay con efectos de zoom y hover */
.dest-overlay {
    position: absolute;
    inset: 0;
    background: rgba(38, 70, 83, 0.7); /* Color secundario con transparencia */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
    padding: 1rem;
}

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

.dest-card:hover img {
    transform: scale(1.15); /* Efecto Zoom solicitado */
}

.dest-overlay h3 {
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.dest-card:hover .dest-overlay h3 {
    transform: translateY(0);
}



/* --- TABLA RESPONSIVA --- */
.price-section {
    margin-top: 5rem;
    padding-bottom: 5rem;
}

.table-wrapper {
    overflow-x: auto; /* Scroll para celulares */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    color: var(--text-color);
}

.responsive-table th {
    background: var(--secondary-color);
    color: white;
    padding: 20px;
    text-align: left;
}

.responsive-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.responsive-table tbody tr:hover {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
}

/* Ajuste móvil para la tabla */
@media (max-width: 600px) {
    .responsive-table th, .responsive-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* --- PUNTO 3: PÁGINA DE AGENCIAS (FLIP CARDS) --- */

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

/* Contenedor principal de la card */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px; /* Necesario para el efecto 3D */
}

/* Contenedor de las caras */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d; /* Permite que los hijos vivan en el espacio 3D */
}

/* Efecto al pasar el mouse */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Estilo común para ambas caras */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Oculta la cara de atrás cuando se gira */
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Cara de adelante */
.flip-card-front {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.flip-card-front h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.flip-card-front p {
    opacity: 0.8;
}

.flip-card-front img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Cara de atrás (ya rotada 180 grados) */
.flip-card-back {
    background-color: var(--secondary-color);
    color: white;
    transform: rotateY(180deg);
}

/* --- SISTEMA DE RATING (STARS) --- */
.rating {
    display: flex;
    flex-direction: row-reverse; /* Truco para que las estrellas se pinten de izq a der */
    justify-content: center;
    margin: 20px 0;
}

.rating input { display: none; }

.rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

/* Efecto al pasar el mouse y al seleccionar */
.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
    transform: scale(1.2);
}

/* Animación cuando haces clic */
.rating label:active {
    transform: scale(0.9);
}

/* --- PUNTO 4: FORMULARIO DE CONTACTO (ESPECÍFICO) --- */

/* Contenedor principal del formulario */
.contact-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Grilla interna solo para el formulario de contacto */
.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-bottom: 20px;
}

/* Estilos de los grupos de input */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Estilo de los campos del formulario de contacto */
.contact-form input, 
.contact-form textarea,
.contact-form select {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    width: 100%;
}

.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(42, 157, 143, 0.1);
}

/* Validación visual :valid e :invalid */
.contact-form input:not(:placeholder-shown):invalid {
    border-color: #e74c3c;
}

.contact-form input:not(:placeholder-shown):valid {
    border-color: #2ecc71;
}

.contact-form .error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    display: none;
}

.contact-form input:not(:placeholder-shown):invalid ~ .error-msg {
    display: block;
}

/* Clase para que el mensaje y el select ocupen 2 columnas */
.contact-form .full-width {
    grid-column: span 2;
}

/* BOTÓN DE ENVÍO CON SPINNER */
.btn-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    min-height: 55px;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Efecto Spinner al hacer clic (:active) */
.btn-submit:active .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-submit:active .spinner {
    display: block;
}

.spinner {
    display: none; 
    width: 26px;
    height: 26px;
    border: 4px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsividad del Formulario */
@media (max-width: 768px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form .full-width {
        grid-column: span 1;
    }
}

/* MODAL DE CONFIRMACIÓN (:target) */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 1000;
}

.modal:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    color: #333;
}

/* --- PUNTO 5: TABLA DE PRECIOS Y TOOLTIPS --- */

.table-container {
    overflow-x: auto; /* Para que sea responsiva en celulares */
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.precios-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white); 
    color: var(--text-color);
    text-align: left;
}

.precios-table th, 
.precios-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.precios-table th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

/* 5.1 Efecto de resaltado al pasar el cursor (Hover) */
.precios-table tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

.precios-table tbody tr:hover {
    background-color: rgba(42, 157, 143, 0.15); /* Color primario muy suave */
    transform: scale(1.01); /* Efecto sutil de crecimiento */
}

/* 5.2 Tooltips Explicativos (CSS-Only) */
.tooltip {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    cursor: help;
    margin-left: 5px;
    font-weight: bold;
}

/* El cuadro del mensaje */
.tooltip::after {
    content: attr(data-tooltip); /* Toma el texto del atributo HTML */
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 10;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    border: 1px solid var(--primary-color);
}

/* La flechita del tooltip */
.tooltip::before {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

/* Mostrar al hacer hover */
.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* --- PUNTO 6: BLOG ESTILO REVISTA (CÓDIGO FINAL UNIFICADO) --- */

/* 1. BOTONES DE FILTRADO */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px 0;
}

/* Ocultamos el radio button original */
.blog-filters input[type="radio"] {
    display: none;
}

/* Estilo de los Labels como botones modernos */
.blog-filters label {
    padding: 10px 22px;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.blog-filters label:hover {
    background-color: #e2e2e2;
    transform: translateY(-2px);
}

/* Estilo cuando el filtro está seleccionado */
.blog-filters input[type="radio"]:checked + label {
    background-color: var(--primary-color, #2a9d8f);
    color: white;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
    border-color: var(--primary-color, #2a9d8f);
}

/* LÓGICA DE FILTRADO CSS */
/* Si selecciono Aventura, oculto lo que NO es aventura en la grilla hermana */
.blog-filters:has(#aventura:checked) ~ .blog-grid .post:not(.aventura) {
    display: none;
}

/* Si selecciono Cultura, oculto lo que NO es cultura */
.blog-filters:has(#cultura:checked) ~ .blog-grid .post:not(.cultura) {
    display: none;
}

/* Si selecciono Gastronomía, oculto lo que NO es gastronomía */
.blog-filters:has(#gastronomia:checked) ~ .blog-grid .post:not(.gastronomia) {
    display: none;
}

/* 2. GRILLA TIPO NEWSPAPER */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-top: 3px solid #222; 
    padding-top: 25px;
}

/* Configuración de celdas asimétricas */
.post.featured {
    grid-column: span 2;
    grid-row: span 2;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.post.span-2 { grid-column: span 2; }
.post.tall { grid-row: span 2; }

/* 3. TARJETAS DE NOTICIAS */
.post {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.post-img-container {
    overflow: hidden;
    margin-bottom: 15px;
}

.post-img-container.landscape { height: 350px; }
.post-img-container.portrait { height: 100%; min-height: 400px; }
.post-img-container.small { height: 180px; }

.post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post:hover img { transform: scale(1.05); }

/* Tipografía */
.post h2 { font-size: 2.2rem; margin: 10px 0; color: var(--text-color); line-height: 1.1; }
.post h3 { font-size: 1.4rem; margin: 8px 0; color: var(--text-color) }
.post p { font-size: 0.95rem; line-height: 1.6; color: var(--text-color); margin-bottom: 10px; flex-grow: 1; }

.post .tag {
    background: #f1f1f1;
    color: var(--primary-color, #2a9d8f);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    width: fit-content;
}

/* 4. EFECTO SCROLL REVEAL */
.post {
    animation: reveal linear forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(60px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 5. SECCIÓN DE COMENTARIOS (CARDS) */
.comments-section {
    margin-top: 60px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.comments-section h3 {
    margin-bottom: 25px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color, #2a9d8f);
    display: inline-block;
}

.comment {
    display: flex;
    gap: 20px;
    background: var(--bg-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.comment:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color, #2a9d8f);
}

/* AVATARES CSS */
.avatar-css {
    width: 60px;
    min-width: 60px;
    height: 60px;
    background: #88c0d0;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.avatar-css::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 10px;
    left: 19px;
}

.avatar-css::after {
    content: "";
    position: absolute;
    width: 44px;
    height: 24px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    bottom: -2px;
    left: 8px;
}

.avatar-css.user-2 { filter: hue-rotate(90deg); }
.avatar-css.user-3 { filter: hue-rotate(180deg); }
.avatar-css.user-4 { filter: hue-rotate(240deg); }

.comment-body strong { display: block; font-size: 1rem; color: var(--primary-color); }
.comment-body p { margin: 4px 0 0; font-size: 0.95rem; color: var(--text-color) }

/* RESPONSIVIDAD */
@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .post.featured, .post.tall, .post.span-2 { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .comment { flex-direction: column; }
}