/*
Theme Name: TurismoMedellin
Theme URI: https://turismoenmedellin.com
Author: TurismoMedellin
Description: Tema para agencia de turismo en Medellín con soporte Gutenberg y personalización completa.
Version: 1.4.15
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: turismomedellin
Tags: tourism, travel, gutenberg, custom-colors
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --color-primary: #1176BC;
    --color-secondary: #FFD251;
    --color-accent: #FFD251;
    --color-dark: #333333;
    --color-footer: #0d5a8a;
    --color-topbar: #0e6aad;
    --color-topbar-text: #ffffff;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-text: #444444;
    --color-btn-text: #ffffff;
    --color-border: #e0e0e0;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --border-radius: 8px;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); line-height: 1.7; font-size: 16px; background: var(--color-white); padding-top: calc(36px + 70px); }
.home body, body.home { padding-top: 0; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-footer); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--color-dark); line-height: 1.3; font-weight: 700; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 15px; color: var(--color-dark); }
.section-subtitle { text-align: center; color: #666; margin-bottom: 50px; font-size: 1.05rem; }
.btn { display: inline-block; padding: 12px 30px; border-radius: var(--border-radius); font-weight: 600; cursor: pointer; transition: var(--transition); border: none; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: var(--color-btn-text); }
.btn-primary:hover { background: var(--color-footer); color: var(--color-btn-text); transform: translateY(-2px); }
.btn-secondary { background: var(--color-secondary); color: var(--color-dark); }
.btn-secondary:hover { background: var(--color-accent); color: var(--color-dark); transform: translateY(-2px); }
.btn-hero { background: #25d366; color: #fff !important; font-size: 1.1rem; padding: 15px 40px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); letter-spacing: 0.5px; }
.btn-hero:hover { background: #1da851; color: #fff !important; transform: translateY(-3px); box-shadow: 0 6px 25px rgba(0,0,0,0.5); }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar { background: var(--color-topbar); color: var(--color-topbar-text); padding: 7px 0; font-size: 0.82rem; position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.top-bar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar-left a { color: var(--color-topbar-text); display: inline-flex; align-items: center; gap: 5px; }
.top-bar-left a:hover { color: var(--color-secondary); }
.top-bar-whatsapp { color: #25d366 !important; font-weight: 600; }
.top-bar-sep { color: rgba(255,255,255,0.4); }
.top-bar-rnt { color: var(--color-topbar-text); opacity: 0.85; display: inline-flex; align-items: center; gap: 4px; }
.top-bar-right { display: flex; gap: 12px; align-items: center; }
.top-bar-right a { color: var(--color-topbar-text); opacity: 0.85; display: inline-flex; align-items: center; transition: var(--transition); }
.top-bar-right a:hover { color: var(--color-secondary); opacity: 1; }

/* =============================================
   HEADER
   ============================================= */
#masthead { background: var(--color-white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: fixed; top: 36px; left: 0; width: 100%; z-index: 1000; transition: var(--transition); }
#masthead.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 15px; min-height: 90px; }
.site-branding .site-title-link { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }
.site-branding .site-title-link:hover { color: var(--color-footer); }
.site-branding img,
.site-branding .custom-logo { width: 210px; height: 70px; display: block; object-fit: contain; }
.site-branding .custom-logo-link { display: flex; align-items: center; line-height: 0; width: 210px; height: 70px; }
.header-cta { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.btn-pse-header { display: inline-flex; align-items: center; flex-shrink: 0; }
.btn-pse-header .pse-btn-img { height: 56px; width: auto; display: block; transition: var(--transition); }
.btn-pse-header:hover .pse-btn-img { opacity: 0.85; transform: translateY(-1px); }
.btn-whatsapp-header { background: #25d366; color: #fff !important; padding: 9px 18px; border-radius: var(--border-radius); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; transition: var(--transition); }
.btn-whatsapp-header:hover { background: #1da851; color: #fff; transform: translateY(-1px); }

/* =============================================
   NAVIGATION
   ============================================= */
.main-navigation { display: flex; align-items: center; margin-left: auto; }
.main-navigation ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-navigation ul li { position: relative; }
.main-navigation ul li a { padding: 9px 13px; display: block; color: var(--color-dark); font-weight: 500; border-radius: 5px; font-size: 0.9rem; white-space: nowrap; transition: var(--transition); }
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a { color: var(--color-primary); background: rgba(17,118,188,0.08); }
/* Dropdown arrow indicator */
.main-navigation ul li.menu-item-has-children > a::after { content: ' ▾'; font-size: 0.7rem; color: var(--color-primary); }
/* Dropdown panel */
.main-navigation ul li ul { display: flex; flex-direction: column; position: absolute; top: calc(100% + 5px); left: 0; background: var(--color-white); min-width: 260px; max-height: 70vh; overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-radius: var(--border-radius); border-top: 3px solid var(--color-primary); opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 200; }
.main-navigation ul li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul li ul li a { padding: 9px 18px; border-radius: 0; border-bottom: 1px solid #f0f0f0; font-size: 0.875rem; color: var(--color-text); white-space: normal; }
.main-navigation ul li ul li:last-child a { border-bottom: none; }
.main-navigation ul li ul li a:hover { background: rgba(17,118,188,0.06); color: var(--color-primary); padding-left: 22px; }
/* Scrollbar for long dropdowns */
.main-navigation ul li ul::-webkit-scrollbar { width: 4px; }
.main-navigation ul li ul::-webkit-scrollbar-track { background: #f0f0f0; }
.main-navigation ul li ul::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 2px; }
/* Mobile toggle */
.menu-toggle { display: none; background: none; border: 2px solid var(--color-primary); color: var(--color-primary); padding: 7px 10px; border-radius: 5px; cursor: pointer; line-height: 1; }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider { position: relative; height: 100vh; min-height: 500px; overflow: hidden; }
.admin-bar .hero-slider { height: calc(100vh - 32px); }
.admin-bar .top-bar { top: 32px; }
.admin-bar #masthead { top: calc(32px + 36px); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.40); }
.hero-slide-content { position: relative; z-index: 3; text-align: center; padding: 30px 20px; max-width: 750px; }
.hero-slide-content h1 { font-size: 2.8rem; color: var(--color-white); margin-bottom: 18px; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); line-height: 1.2; }
.hero-slide-content p { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 30px; text-shadow: 1px 1px 4px rgba(0,0,0,0.4); }
.hero-slide-content .btn-secondary { font-size: 1rem; padding: 13px 35px; }
/* Slider arrows */
.hero-prev, .hero-next { position: absolute; top: 50%; z-index: 10; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.6); color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.4); }
/* Slider dots */
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--color-secondary); transform: scale(1.3); }

/* Legacy hero section (for other pages) */
.hero-section { position: relative; min-height: 500px; display: flex; align-items: center; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-footer) 100%); background-size: cover; background-position: center; color: var(--color-white); overflow: hidden; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.hero-content h1 { font-size: 3rem; color: var(--color-white); margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.25rem; margin-bottom: 35px; color: rgba(255,255,255,0.9); }
.wp-block-cover.hero-section { min-height: 500px; }

/* =============================================
   CATEGORY GRID (Homepage)
   ============================================= */
.category-grid { padding: 0; }
.cat-grid-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; max-width: 1520px; margin: 0 auto; }
.cat-col { display: flex; flex-direction: column; gap: 6px; }
.cat-card { position: relative; overflow: hidden; display: block; min-height: 280px; background: #194656; cursor: pointer; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 25px 20px; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); transition: var(--transition); }
.cat-card:hover .cat-card-overlay { background: linear-gradient(to top, rgba(17,118,188,0.85) 0%, rgba(17,118,188,0.3) 70%, transparent 100%); }
.cat-card-overlay h2 { color: #fff; font-size: 1.6rem; text-align: center; margin-bottom: 8px; font-weight: 700; line-height: 1.2; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }
.cat-card-overlay h2 span { font-weight: 700; }
.cat-card-overlay p { color: rgba(255,255,255,0.88); font-size: 0.88rem; text-align: center; margin-bottom: 12px; display: none; }
.cat-card:hover .cat-card-overlay p { display: block; }
.cat-link { display: inline-block; background: var(--color-secondary); color: var(--color-dark); padding: 7px 22px; border-radius: 4px; font-weight: 700; font-size: 0.88rem; transition: var(--transition); }
.cat-link:hover { background: var(--color-accent); }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { padding: 80px 0; background: var(--color-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.service-card { background: var(--color-white); border-radius: var(--border-radius); padding: 40px 30px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card .icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--color-primary); }
.service-card p { color: #666; }

/* =============================================
   TOURS GRID
   ============================================= */
.tours-section { padding: 80px 0; }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.tour-card { background: var(--color-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tour-card-image { position: relative; overflow: hidden; height: 220px; }
.tour-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .tour-card-image img { transform: scale(1.05); }
.tour-card-badge { position: absolute; top: 15px; left: 15px; background: var(--color-secondary); color: var(--color-dark); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.tour-card-body { padding: 25px; }
.tour-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tour-card-body p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.tour-card-footer { display: flex; justify-content: space-between; align-items: center; }
.tour-price { font-size: 1.2rem; font-weight: 700; color: var(--color-primary); }

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us-section { padding: 80px 0; background: var(--color-light); }
.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.why-us-item { text-align: center; padding: 30px 20px; }
.why-us-item .icon { font-size: 3.5rem; margin-bottom: 20px; }
.why-us-item h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--color-primary); }
.why-us-item p { color: #666; font-size: 0.95rem; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner { background: linear-gradient(135deg, var(--color-primary), var(--color-footer)); color: var(--color-white); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: 2.2rem; color: var(--color-white); margin-bottom: 15px; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 35px; color: rgba(255,255,255,0.9); }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp { background: #25d366; color: #fff !important; display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--border-radius); font-weight: 700; font-size: 1rem; transition: var(--transition); }
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { 
    padding: 0 0 80px 0; 
    position: relative;
}
/* Banner de encabezado de testimonios (solo el área del título) */
.testimonials-banner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 0;
    margin-bottom: 0;
}
.testimonials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.testimonials-banner .section-title,
.testimonials-banner .section-subtitle {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.testimonial-card { background: var(--color-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); border-left: 4px solid var(--color-secondary); position: relative; z-index: 1; }
.testimonial-card-img { width: 100%; height: 200px; overflow: hidden; }
.testimonial-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-card-body { padding: 30px; }
.testimonial-card-body p { color: #666; font-style: italic; margin-bottom: 20px; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--color-secondary); }
.testimonial-author { font-weight: 700; color: var(--color-primary); }
.stars { color: var(--color-secondary); font-size: 1.1rem; margin-bottom: 15px; }

/* =============================================
   BLOG / POSTS
   ============================================= */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--color-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card-image { height: 200px; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 25px; }
.post-meta { color: #999; font-size: 0.85rem; margin-bottom: 10px; }
.post-card-body h2, .post-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-card-body p { color: #666; font-size: 0.9rem; }

/* =============================================
   SINGLE POST/PAGE
   ============================================= */
.single-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.single-content h1 { font-size: 2.2rem; margin-bottom: 20px; }
.post-thumbnail { margin-bottom: 40px; border-radius: var(--border-radius); overflow: hidden; }
.post-thumbnail img { width: 100%; max-height: 500px; object-fit: cover; }
.entry-content h2 { font-size: 1.6rem; margin: 30px 0 15px; }
.entry-content h3 { font-size: 1.3rem; margin: 25px 0 12px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 20px 0 20px 30px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { border-left: 4px solid var(--color-secondary); padding: 20px 30px; background: var(--color-light); margin: 30px 0; font-style: italic; }

/* Cabecera de post con imagen de fondo */
.post-header-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.post-header-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-footer) 100%);
}
.post-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
    z-index: 1;
}
.post-header-title {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    width: 100%;
}
/* Video de fondo en hero */
.post-header-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* Alineaciones del título */
.post-header-align-left   { text-align: left; }
.post-header-align-center { text-align: center; }
.post-header-align-right  { text-align: right; }
.post-header-title h1 {
    font-size: 2.4rem;
    color: #fff !important;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 8px;
    line-height: 1.2;
}
.post-header-title .post-meta {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    margin: 0;
}
@media (max-width: 768px) {
    .post-header-title h1 { font-size: 1.6rem; }
    .post-header-title { padding: 20px; }
}
/* Eliminar padding-top del .single-content cuando hay cabecera hero */
.single-content { max-width: 800px; margin: 0 auto; padding: 40px 20px 60px; }

/* =============================================
   SIDEBAR
   ============================================= */
.content-area { display: grid; grid-template-columns: 1fr 300px; gap: 40px; max-width: var(--container-width); margin: 0 auto; padding: 60px 20px; }
.widget { background: var(--color-white); border-radius: var(--border-radius); padding: 25px; box-shadow: var(--shadow); margin-bottom: 30px; }
.widget-title { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--color-secondary); }

/* =============================================
   PAGE HERO (para páginas internas)
   ============================================= */
.page-hero { background: linear-gradient(135deg, var(--color-primary), var(--color-footer)); color: var(--color-white); padding: 80px 0; text-align: center; }
.page-hero h1 { color: var(--color-white); font-size: 2.5rem; }
.page-content { max-width: var(--container-width); margin: 0 auto; padding: 60px 20px; }

/* =============================================
   404 PAGE
   ============================================= */
.error-404 { text-align: center; padding: 120px 20px; }
.error-404 .error-number { font-size: 8rem; font-weight: 900; color: var(--color-primary); opacity: 0.2; line-height: 1; }
.error-404 h1 { font-size: 2rem; margin-bottom: 15px; }
.error-404 p { color: #666; margin-bottom: 30px; }
.search-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto 30px; }
.search-form input { flex: 1; padding: 12px 20px; border: 2px solid var(--color-border); border-radius: var(--border-radius); font-size: 1rem; }
.search-form button { background: var(--color-primary); color: white; border: none; padding: 12px 25px; border-radius: var(--border-radius); cursor: pointer; }

/* =============================================
   FOOTER
   ============================================= */

/* Fondo verde principal del footer */
.site-footer {
    color: rgba(255,255,255,0.90);
    /* Gradiente vertical: verde medio arriba (donde caerá el skyline) -> verde oscuro abajo */
    background: linear-gradient(to bottom, #2fa830 0%, #1a6b1a 25%, #0d4a0d 100%);
    position: relative;
    overflow: hidden;
}

/* ---------- SKYLINE ----------
   La imagen fondociudad.jpg tiene fondo blanco con silueta verde.
   mix-blend-mode: multiply hace que el blanco desaparezca (blanco × verde = verde)
   y la silueta oscura se funda perfectamente con el gradiente. */
.footer-skyline {
    line-height: 0;       /* elimina espacio debajo del inline img */
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.footer-skyline img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;   /* clave: funde el blanco con el verde del footer */
}

/* ---------- CONTENIDO 4 COLUMNAS ---------- */
.footer-main {
    position: relative;
    z-index: 1;
    /* Pequeño solapamiento hacia arriba para que las columnas "entren" en el skyline */
    margin-top: -4px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr 1.2fr;
    gap: 40px;
    padding: 50px 20px 60px;
}

/* Títulos de columna */
.footer-col h3 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Columna 1: info empresa */
.footer-col-info h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.88);
}

.footer-icon {
    flex-shrink: 0;
    width: 18px;
    margin-top: 2px;
    color: rgba(255,255,255,0.75);
}

.footer-icon svg { display: block; }

/* Columnas de links */
.footer-col-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links ul li {
    position: relative;
    padding-left: 14px;
}

.footer-col-links ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.4;
}

.footer-col-links ul li a {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: var(--transition);
}

.footer-col-links ul li a:hover {
    color: var(--color-white);
    padding-left: 3px;
}

/* Columna 4: logo Medellín me encanta */
.footer-col-medellin h3 {
    margin-bottom: 20px;
}

.footer-medellin-logo {
    max-width: 220px;
    height: auto;
    border-radius: 6px;
}

/* ---------- BARRA INFERIOR ---------- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.35);
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.70);
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}

.footer-credits {
    margin-top: 4px !important;
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.50) !important;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 5px; border: 1px solid var(--color-border); }
.pagination .current { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* =============================================
   GUTENBERG BLOCKS CUSTOMIZATION
   ============================================= */
.wp-block-button__link { border-radius: var(--border-radius) !important; }
.wp-block-cover { min-height: 500px; }
.wp-block-quote { border-left-color: var(--color-secondary) !important; }
.wp-block-separator { border-color: var(--color-secondary); }
.has-primary-color { color: var(--color-primary) !important; }
.has-secondary-color { color: var(--color-secondary) !important; }
.has-primary-background-color { background-color: var(--color-primary) !important; }
.has-secondary-background-color { background-color: var(--color-secondary) !important; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .main-navigation ul li a { padding: 9px 10px; font-size: 0.85rem; }
    .cat-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .services-grid, .tours-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .content-area { grid-template-columns: 1fr; }
    .hero-slide-content h1 { font-size: 2.2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: row; flex-wrap: wrap; gap: 4px; justify-content: space-between; }
    .top-bar-left { justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
    .site-branding img,
    .site-branding .custom-logo { width: 180px; height: 60px; }
    .site-branding .custom-logo-link { width: 180px; height: 60px; }
    .hidden-mobile { display: none !important; }
    .menu-toggle { display: flex; }
    .header-cta { display: none; }
    .main-navigation ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; box-shadow: var(--shadow); padding: 15px 0; gap: 0; z-index: 500; max-height: 80vh; overflow-y: auto; }
    .main-navigation.is-open ul { display: flex; }
    .main-navigation ul li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; padding-left: 15px; max-height: none; border-left: 3px solid var(--color-secondary); margin: 0; background: #f9f9f9; }
    .main-navigation ul li.menu-item-has-children > a::after { float: right; }
    .hero-slider { height: 100vh !important; min-height: 380px; }
    .hero-slide-content h1 { font-size: 1.7rem; }
    .hero-slide-content p { font-size: 1rem; }
    .cat-grid-wrapper { grid-template-columns: 1fr; }
    .cat-card { min-height: 220px; }
    .cat-card img { min-height: 220px; }
    .services-grid, .tours-grid, .testimonials-grid, .posts-grid { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .section-title { font-size: 1.6rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .why-us-grid { grid-template-columns: 1fr; }
    .hero-slide-content h1 { font-size: 1.4rem; }
    .cta-banner h2 { font-size: 1.7rem; }
    .hero-slider { height: 100vh !important; min-height: 320px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Video Section ──────────────────────────────────── */
.video-section { background: #111; }
.video-section .section-title { color: var(--color-dark); }
.video-section .section-subtitle { color: #666; }
.video-section > .container {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    margin-bottom: 20px;
}
.video-slider-mode { padding: 0 !important; }

/* Wrapper del slider */
.video-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
.video-slider-wrapper:active { cursor: grabbing; }

/* Track */
.video-slider-track { display: flex; width: 100%; }

/* Cada slide */
.video-slide { flex: 0 0 100%; width: 100%; display: none; position: relative; }
.video-slide.active { display: block; }
.video-slide-player { width: 100%; display: block; }

/* Flechas */
.vslider-prev,
.vslider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    width: 46px; height: 46px;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s, opacity 0.25s;
    opacity: 0.75;
}
.vslider-prev { left: 18px; }
.vslider-next { right: 18px; }
.vslider-prev:hover, .vslider-next:hover { background: rgba(0,0,0,0.75); opacity: 1; }
@media (max-width: 480px) {
    .vslider-prev { left: 8px; } .vslider-next { right: 8px; }
    .vslider-prev, .vslider-next { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* Dots */
.video-slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.vslider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 2px solid rgba(255,255,255,0.7); cursor: pointer; transition: background 0.3s, transform 0.2s; }
.vslider-dot.active { background: #fff; transform: scale(1.25); }

/* Controles flotantes por slide (mute + fullscreen) */
.vslide-controls {
    position: absolute;
    bottom: 14px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 25;
}
.vslide-btn {
    background: rgba(0,0,0,0.50);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.vslide-btn:hover { background: rgba(0,0,0,0.80); transform: scale(1.1); }
.vslide-btn svg { pointer-events: none; display: block; }
@media (max-width: 480px) {
    .vslide-controls { bottom: 10px; right: 10px; gap: 6px; }
    .vslide-btn { width: 32px; height: 32px; }
    .vslide-btn svg { width: 16px; height: 16px; }
}
