/* Reset y configuración base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navigation */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.nav-brand a {
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    border: 2px solid #667eea;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

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

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Secciones */
.features-section, .departamentos-section, .experiencias-section, .ciudades-section, .lugares-turisticos {
    padding: 3rem 0;
}

.features-section h2, 
.departamentos-section h2, 
.experiencias-section h2, 
.ciudades-section h2,
.lugares-turisticos h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

/* Grid de departamentos y ciudades */
.departamentos-grid, .experiencias-grid, .ciudades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* Acciones de sección */
.section-actions {
    text-align: center;
    margin-top: 5rem;
    padding-top: 3rem;
    margin-bottom: 4rem;
}

/* Sección CTA para botones de acción */
.cta-section {
    padding: 4rem 0;
    background: rgba(255,255,255,0.8);
    text-align: center;
}

.cta-content {
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2d5a87;
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Página hero para páginas internas */
.page-hero {
    background: linear-gradient(135deg, #2d5a87 0%, #1e3a5f 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(255,255,255,0.9);
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2d5a87;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* Información del departamento en las cards de ciudades */
.departamento-info {
    font-size: 0.9rem;
    color: #2d5a87;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Sección de volver */
.back-section {
    background: rgba(255,255,255,0.5);
    padding: 2rem 0;
    text-align: center;
}

.back-actions {
    margin-top: 1rem;
}

.departamento-card, .experiencia-card, .ciudad-card {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
}

.departamento-card:hover, .experiencia-card:hover, .ciudad-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.departamento-card::before, .experiencia-card::before, .ciudad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 24px 24px 0 0;
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.departamento-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.card-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Estilo específico para información del departamento en ciudades */

.card-actions {
    margin-top: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-item, .experiencia-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover, .experiencia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.feature-icon, .experiencia-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-item:hover .feature-icon, 
.experiencia-card:hover .experiencia-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3, .experiencia-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.2rem;
}

/* Páginas de departamento */
.breadcrumb {
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.breadcrumb a {
    text-decoration: none;
    color: #667eea;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #764ba2;
}

.departamento-hero, .lugar-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    height: 100%;
}

.hero-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.6));
    display: flex;
    align-items: center;
}

.departamento-title, .lugar-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.departamento-subtitle {
    font-size: 1.4rem;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-ubicacion {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.3rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lugar-ubicacion-hero {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.lugar-descripcion-hero {
    font-size: 1.2rem;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.departamento-description, .lugar-info-detallada {
    padding: 3rem 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    position: relative;
}

.departamento-description::before, .lugar-info-detallada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    z-index: -1;
}

.description-content h2, .info-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d3748;
    text-align: left;
}

.description-text, .descripcion-detallada {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: left;
}

/* Estilos para HTML en descripción larga */
.descripcion-detallada h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #2d3748;
}

.descripcion-detallada h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem 0;
    color: #4a5568;
}

.descripcion-detallada p {
    margin-bottom: 1.5rem;
}

.descripcion-detallada ul, .descripcion-detallada ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.descripcion-detallada li {
    margin-bottom: 0.5rem;
}

.descripcion-detallada strong {
    color: #667eea;
    font-weight: 600;
}

.descripcion-detallada blockquote {
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    padding: 1rem 0 1rem 2rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Lugares turísticos */
.lugares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.lugar-card {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.lugar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.lugar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 24px 24px 0 0;
}

.lugar-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.lugar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lugar-card:hover .lugar-image img {
    transform: scale(1.1);
}

.lugar-content {
    padding: 2rem;
}

.lugar-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.lugar-ubicacion, .lugar-tipo {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.lugar-tipo {
    color: #667eea;
    font-weight: 500;
}

.lugar-descripcion {
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-ver-mas {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Información práctica */
.info-practica {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fbff, #e8f4f8);
}

.info-practica h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #2d3748;
}

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

.info-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.2rem;
}

/* Otros lugares */
.otros-lugares {
    padding: 6rem 0;
    background: white;
}

.otros-lugares h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #2d3748;
}

.lugares-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.lugar-mini-card {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.lugar-mini-card:hover {
    transform: translateY(-8px);
}

.mini-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.lugar-mini-card:hover .mini-card-image img {
    transform: scale(1.1);
}

.mini-tipo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mini-card-content {
    padding: 2rem;
}

.mini-card-content h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.8rem;
    color: #2d3748;
    font-size: 1.2rem;
}

.mini-card-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ver-todos-lugares {
    text-align: center;
}

/* Espacios de publicidad */
.ad-container {
    margin: 2rem 0;
    text-align: center;
}

/* Ocultar contenedor de ad cuando el placeholder está vacío (ej. en local sin Ezoic) */
.ad-container:has(> div:empty) {
    display: none;
    margin: 0;
}

/* Contenedor dinámico para anuncios In-Article */
.inarticle-ad-wrapper {
    display: block;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    margin: 1.5rem 0;
    clear: both;
}

.ad-placeholder {
    background: linear-gradient(135deg, #f8fbff, #e8f4f8);
    border: 2px dashed #cbd5e0;
    padding: 4rem;
    border-radius: 20px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-placeholder::before {
    content: "📢 Espacio Publicitario";
    color: #4a5568;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
}

.no-lugares, .no-content {
    text-align: center;
    padding: 4rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    color: #4a5568;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: #f7fafc;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f7fafc;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        gap: 2rem;
        padding: 6rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .departamentos-grid, .ciudades-grid, .lugares-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .departamentos-grid, .ciudades-grid, .lugares-grid, .experiencias-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .departamento-title, .lugar-title {
        font-size: 3rem;
    }
    
    .departamento-subtitle {
        font-size: 1.2rem;
    }
    
    .lugar-image {
        height: 220px;
    }
    
    .departamento-hero, .lugar-hero {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .nav-brand h1 a {
        font-size: 1.4rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .departamento-title, .lugar-title {
        font-size: 2.5rem;
    }
    
    .departamento-subtitle {
        font-size: 1.1rem;
    }
    
    .features-section h2, 
    .departamentos-section h2, 
    .experiencias-section h2, 
    .ciudades-section h2,
    .lugares-turisticos h2 {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .feature-icon, .experiencia-icon {
        font-size: 3.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .lugar-image {
        height: 200px;
    }
    
    .lugar-content, .card-content {
        padding: 1.5rem;
    }
    
    .mini-card-image {
        height: 180px;
    }
    
    .mini-card-content {
        padding: 1.5rem;
    }
    
    .ad-placeholder {
        padding: 3rem 2rem;
        min-height: 150px;
    }
    
    .ad-placeholder::before {
        font-size: 1.1rem;
    }
    
    .departamento-hero, .lugar-hero {
        height: 50vh;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.departamento-card, .ciudad-card, .lugar-card, .experiencia-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item {
    animation: slideInLeft 0.6s ease-out;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
}

/* Imágenes de ciudad — bloque completo, sin float */
.ciudad-image-container {
    display: block;
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: white;
    border: 1px solid #e2e8f0;
}

.ciudad-content-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ciudad-image-container:hover .ciudad-content-image {
    transform: scale(1.02);
}

.image-caption {
    padding: 1rem 1.5rem;
    margin: 0;
    background: rgba(248,250,252,0.98);
    color: #4a5568;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .ciudad-content-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .ciudad-content-image {
        height: 220px;
    }

    .image-caption {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* Controles de tamaño de texto */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.text-size-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.text-size-controls label {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    margin-right: 0.5rem;
}

.text-size-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #4a5568;
}

.text-size-btn:first-of-type {
    font-size: 0.75rem;
}

.text-size-btn:nth-of-type(2) {
    font-size: 0.9rem;
}

.text-size-btn:last-of-type {
    font-size: 1.1rem;
}

.text-size-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.text-size-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Tamaños de texto variables */
.descripcion-detallada {
    line-height: 1.7;
    color: #2d3748;
}

/* Tamaño pequeño */
.descripcion-detallada.text-size-small {
    font-size: 0.85rem;
    line-height: 1.6;
}

.descripcion-detallada.text-size-small h1 { font-size: 1.8rem; }
.descripcion-detallada.text-size-small h2 { font-size: 1.5rem; }
.descripcion-detallada.text-size-small h3 { font-size: 1.2rem; }
.descripcion-detallada.text-size-small h4 { font-size: 1.1rem; }
.descripcion-detallada.text-size-small h5 { font-size: 1rem; }
.descripcion-detallada.text-size-small h6 { font-size: 0.9rem; }

/* Tamaño mediano (por defecto) */
.descripcion-detallada.text-size-medium,
.descripcion-detallada:not([class*="text-size-"]) {
    font-size: 0.95rem;
    line-height: 1.7;
}

.descripcion-detallada.text-size-medium h1,
.descripcion-detallada:not([class*="text-size-"]) h1 { font-size: 2rem; }
.descripcion-detallada.text-size-medium h2,
.descripcion-detallada:not([class*="text-size-"]) h2 { font-size: 1.7rem; }
.descripcion-detallada.text-size-medium h3,
.descripcion-detallada:not([class*="text-size-"]) h3 { font-size: 1.3rem; }
.descripcion-detallada.text-size-medium h4,
.descripcion-detallada:not([class*="text-size-"]) h4 { font-size: 1.15rem; }
.descripcion-detallada.text-size-medium h5,
.descripcion-detallada:not([class*="text-size-"]) h5 { font-size: 1.05rem; }
.descripcion-detallada.text-size-medium h6,
.descripcion-detallada:not([class*="text-size-"]) h6 { font-size: 0.95rem; }

/* Tamaño grande */
.descripcion-detallada.text-size-large {
    font-size: 1.1rem;
    line-height: 1.8;
}

.descripcion-detallada.text-size-large h1 { font-size: 2.4rem; }
.descripcion-detallada.text-size-large h2 { font-size: 2rem; }
.descripcion-detallada.text-size-large h3 { font-size: 1.6rem; }
.descripcion-detallada.text-size-large h4 { font-size: 1.4rem; }
.descripcion-detallada.text-size-large h5 { font-size: 1.2rem; }
.descripcion-detallada.text-size-large h6 { font-size: 1.1rem; }

/* Responsive para controles de texto */
@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-size-controls {
        align-self: center;
        margin-top: 1rem;
    }

    .text-size-controls label {
        font-size: 0.8rem;
    }

    .text-size-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .text-size-controls {
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }

    .text-size-controls label {
        display: none;
    }

    .text-size-btn {
        width: 30px;
        height: 30px;
    }
}

/* === Firma de Autora === */
.author-signature {
    background: linear-gradient(135deg, #e8f8f5 0%, #fef9e7 100%);
    border-top: 3px solid #1abc9c;
    padding: 2.5rem 0;
    margin-top: 1rem;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem 2.2rem;
    box-shadow: 0 4px 24px rgba(26, 188, 156, 0.13);
    border: 1px solid rgba(26, 188, 156, 0.22);
    max-width: 680px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1abc9c, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(26, 188, 156, 0.35);
}

.author-initials {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #999;
    margin: 0;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.author-handle {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.6rem 0;
}

.author-fb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877F2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 600;
    width: fit-content;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.author-fb-link:hover {
    background: #1464d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
    color: #fff;
}

.author-fb-link svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .author-info {
        align-items: center;
    }

    .author-fb-link {
        margin: 0 auto;
    }
}
