/*
Theme Name: Shamotrip
Theme URI: https://shamotrip.com
Author: Shamir
Description: Blog de turismo bilingüe - Mérida, México y el mundo
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: shamotrip
*/

:root {
  --navy:       #12304D;
  --navy-dark:  #0D1F2D;
  --navy-mid:   #1E4A6E;
  --teal:       #76B4B2;
  --teal-pale:  #E8F6F6;
  --coral:      #E8604A;
  --coral-pale: #FDF0EE;
  --white:      #FFFFFF;
  --off-white:  #F8F8F8;
  --light-gray: #F0F0F0;
  --mid-gray:   #888888;
  --dark-gray:  #333333;
  --border:     #EEEEEE;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--off-white); color: var(--dark-gray); line-height: 1.7; }
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.97); border-bottom: 0.5px solid var(--border); backdrop-filter: blur(8px); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 68px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--navy); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.current { color: var(--coral); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; gap: 4px; }
.lang-btn { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 4px; border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s; background: transparent; color: var(--mid-gray); }
.lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-nav-app { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; background: var(--coral); color: #fff; padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; transition: opacity 0.2s; }
.btn-nav-app:hover { opacity: 0.85; }

/* ── HERO ── */
.hero { position: relative; height: 55vh; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; margin-top: 68px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,31,45,0.3) 0%, rgba(13,31,45,0.6) 60%, rgba(13,31,45,0.85) 100%), url('https://images.unsplash.com/photo-1518638150340-f706e86654de?w=1600&q=80') center/cover no-repeat; }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 2rem 5rem; }
.hero-tag { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(118,180,178,0.5); padding: 5px 14px; border-radius: 20px; margin-bottom: 1.2rem; background: rgba(118,180,178,0.1); }
.hero h1 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(36px, 5vw, 64px); color: #fff; line-height: 1.05; max-width: 700px; margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p { font-family: 'Lora', serif; font-size: 17px; font-style: italic; color: rgba(255,255,255,0.8); max-width: 520px; margin-bottom: 2rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.5px; background: var(--coral); color: #fff; padding: 14px 28px; border-radius: 6px; border: none; cursor: pointer; transition: opacity 0.2s; display: inline-block; }
.btn-primary:hover { opacity: 0.85; color: #fff; }
.btn-outline-white { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.5px; background: transparent; color: #fff; padding: 13px 28px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-scroll span { font-family: 'Outfit', sans-serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollDown 1.5s ease-in-out infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── SECTIONS ── */
.section { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2.5rem; }
.section-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 30px; color: var(--navy); }
.section-link { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--coral); transition: opacity 0.2s; }
.section-link:hover { opacity: 0.75; }

/* ── DESTINOS ── */
.destinos-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.destino-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.destino-card.big { height: 420px; }
.destino-card.sm { height: 200px; }
.destino-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.destino-card:hover .destino-img { transform: scale(1.05); }
.destino-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,31,45,0.8) 0%, rgba(13,31,45,0.1) 50%, transparent 100%); transition: background 0.3s; }
.destino-card:hover .destino-overlay { background: linear-gradient(to top, rgba(232,96,74,0.5) 0%, rgba(13,31,45,0.2) 60%, transparent 100%); }
.destino-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; }
.destino-label { font-family: 'Outfit', sans-serif; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.destino-name { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; line-height: 1.1; }
.destino-card.big .destino-name { font-size: 28px; }
.destino-card.sm .destino-name { font-size: 18px; }
.right-col { display: flex; flex-direction: column; gap: 14px; }

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; border: 0.5px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(18,48,77,0.1); }
.blog-thumb { height: 200px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.blog-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,31,45,0.3), transparent); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.25rem; }
.blog-badge { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 9px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.blog-title { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 16px; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.blog-excerpt { font-family: 'Lora', serif; font-size: 13px; color: var(--mid-gray); line-height: 1.7; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; font-size: 11px; color: var(--mid-gray); border-top: 0.5px solid var(--border); padding-top: 12px; }
.blog-meta-dot { color: var(--border); }
.blog-center { text-align: center; margin-top: 3rem; }

/* ── CATEGORÍAS ── */
.cats-bg { background: #FDF0EE; border-top: 0.5px solid rgba(232,96,74,0.15); border-bottom: 0.5px solid rgba(232,96,74,0.15); position: relative; overflow: hidden; }
.cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 1.5rem 1rem; border-radius: 12px; border: 0.5px solid var(--border); background: #fff; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-align: center; overflow: hidden; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(18,48,77,0.08); }
.cat-emoji { font-size: 24px; line-height: 1; }
.cat-name { font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; word-break: break-word; hyphens: auto; line-height: 1.3; }

/* ── APP BANNER ── */
.app-banner-wrap { background: var(--navy-dark); padding: 5rem 0; }
.app-banner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.app-text { flex: 1; }
.app-label { font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.app-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 36px; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
.app-title em { font-style: italic; color: var(--teal); }
.app-desc { font-family: 'Lora', serif; font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; max-width: 420px; margin-bottom: 2rem; }
.app-mockup { flex-shrink: 0; width: 280px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; height: 340px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.app-mockup-inner { font-family: 'Syne', sans-serif; font-size: 13px; color: rgba(255,255,255,0.3); letter-spacing: 1px; text-transform: uppercase; text-align: center; }

/* ── NEWSLETTER ── */
.newsletter-wrap { background: #FDF0EE; border-top: 0.5px solid rgba(232,96,74,0.15); border-bottom: 0.5px solid rgba(232,96,74,0.15); padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden; }
.newsletter-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.newsletter-sub { font-family: 'Lora', serif; font-size: 15px; font-style: italic; color: var(--mid-gray); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter-input { flex: 1; font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--dark-gray); padding: 12px 18px; border-radius: 6px; border: 1px solid rgba(118,180,178,0.4); background: #fff; outline: none; }
.newsletter-input:focus { border-color: var(--teal); }
.newsletter-note { font-family: 'Outfit', sans-serif; font-size: 11px; color: var(--mid-gray); margin-top: 12px; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.6fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 0.5px solid rgba(255,255,255,0.1); margin-bottom: 2rem; }
.footer-brand-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 6px; }
.footer-brand-name span { color: var(--coral); }
.footer-slogan { font-family: 'Outfit', sans-serif; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.footer-desc { font-family: 'Lora', serif; font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-family: 'Outfit', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.social-btn:hover { border-color: var(--teal); color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: 'Outfit', sans-serif; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-copy span { color: var(--teal); }

/* ── WHITE BG SECTIONS ── */
.bg-white { background: #fff; border-bottom: none; }
.bg-offwhite { background: var(--off-white); }

/* ── RESPONSIVE ── */
.hamburger { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    z-index: 99;
    border-bottom: 0.5px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .nav-links.open li { border-bottom: 0.5px solid var(--border); }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open a { padding: 14px 0; font-size: 14px; display: block; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .destinos-grid { grid-template-columns: 1fr; }
  .destino-card.big, .destino-card.sm { height: 260px; }
  .right-col { flex-direction: row; }
  .blog-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-banner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
}

/* ── ADMIN BAR FIX ── */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* ── MENÚ ACTIVO ── */
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--coral) !important;
  position: relative;
}
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════ */
[data-theme="dark"] {
  --navy:       #E8F6F6;
  --navy-dark:  #0A0A0A;
  --navy-mid:   #1A1A2E;
  --teal:       #76B4B2;
  --teal-pale:  #0D1F2D;
  --coral:      #E8604A;
  --coral-pale: #1A0F0D;
  --white:      #111827;
  --off-white:  #0F172A;
  --light-gray: #1E293B;
  --mid-gray:   #94A3B8;
  --dark-gray:  #CBD5E1;
  --border:     #1E293B;
}

[data-theme="dark"] body { background: #0F172A; color: #CBD5E1; }
[data-theme="dark"] .nav { background: rgba(15,23,42,0.97); border-bottom-color: #1E293B; }
[data-theme="dark"] .nav-links a { color: #CBD5E1; }
[data-theme="dark"] .lang-btn { color: #94A3B8; border-color: #1E293B; }
[data-theme="dark"] .lang-btn.active { background: #76B4B2; border-color: #76B4B2; color: #0F172A; }
[data-theme="dark"] .blog-card { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .blog-title { color: #E8F6F6; }
[data-theme="dark"] .cat-card { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .newsletter-wrap { background: #0D1F2D; border-color: #1E293B; }
[data-theme="dark"] .newsletter-title { color: #E8F6F6; }
[data-theme="dark"] .newsletter-input { background: #1E293B; border-color: #334155; color: #CBD5E1; }
[data-theme="dark"] .cats-bg { background: #0F172A; border-color: #1E293B; }
[data-theme="dark"] .bg-white { background: #111827 !important; }
[data-theme="dark"] .bg-offwhite { background: #0F172A !important; }
[data-theme="dark"] .section-title { color: #E8F6F6; }

/* Dark toggle button */
.dark-toggle {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--mid-gray);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.dark-toggle:hover { border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .dark-toggle { border-color: #334155; color: #76B4B2; }

/* Icon switching */
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ══════════════════════════════════════════════
   PARALLAX HERO (for destinos section)
   ══════════════════════════════════════════════ */
.parallax-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.parallax-bg {
  position: absolute; inset: -60px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ══════════════════════════════════════════════
   ANIMATED HERO SLIDESHOW
   ══════════════════════════════════════════════ */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,31,45,0.25) 0%, rgba(13,31,45,0.55) 55%, rgba(13,31,45,0.85) 100%);
}

/* ══════════════════════════════════════════════
   BLOG SECTIONS (recientes / random / populares)
   ══════════════════════════════════════════════ */
.blog-section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.6rem;
}
.blog-section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 22px;
  color: var(--navy); margin-bottom: 1.5rem;
}
[data-theme="dark"] .blog-section-title { color: #E8F6F6; }

.blog-section-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 3rem 0 2.5rem;
}

/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.animate-up:nth-child(1) { animation-delay: 0.1s; }
.animate-up:nth-child(2) { animation-delay: 0.2s; }
.animate-up:nth-child(3) { animation-delay: 0.3s; }

/* ══════════════════════════════════════════════
   DESTINOS CARRUSEL
   ══════════════════════════════════════════════ */
.destinos-carousel-wrap {
  position: relative;
  display: flex; align-items: center; gap: 12px;
}
.destinos-carousel {
  display: flex; gap: 16px;
  overflow-x: hidden; scroll-behavior: smooth;
  flex: 1; padding: 8px 0;
}
.dest-card {
  flex: 0 0 280px; height: 320px;
  position: relative; border-radius: 14px;
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s;
}
.dest-card:hover { transform: scale(1.02); }
.dest-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.dest-card:hover .dest-img { transform: scale(1.06); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,31,45,0.85) 0%, transparent 55%);
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(232,96,74,0.6) 0%, rgba(13,31,45,0.2) 60%, transparent 100%);
}
.dest-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
}
.dest-label {
  font-family: 'Outfit', sans-serif;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 4px;
}
.dest-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 20px;
  color: #fff; line-height: 1.2;
}
.dest-btn {
  flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; color: var(--navy);
  font-size: 18px; cursor: pointer;
  transition: all 0.2s; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(18,48,77,0.08);
}
.dest-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
[data-theme="dark"] .dest-btn { background: #1E293B; border-color: #334155; color: #CBD5E1; }

/* ══════════════════════════════════════════════
   BLOG: RECIENTES — SPLIT LAYOUT
   ══════════════════════════════════════════════ */
.blog-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px; align-items: start;
}
.blog-featured-left {
  display: flex; flex-direction: column; gap: 12px;
}
.recent-item {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 10px; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.recent-item:hover, .recent-item.active {
  border-color: var(--coral);
  box-shadow: 0 4px 16px rgba(232,96,74,0.12);
}
[data-theme="dark"] .recent-item { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .recent-item.active { border-color: var(--coral); }
.recent-thumb {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: 8px; background-size: cover;
  background-position: center;
}
.recent-body { flex: 1; min-width: 0; }
.recent-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600; font-size: 13px;
  color: var(--navy); line-height: 1.3;
  margin: 4px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-theme="dark"] .recent-title { color: #E8F6F6; }
.recent-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; color: var(--mid-gray);
}
.blog-featured-right {
  position: sticky; top: 88px;
  background: #fff; border-radius: 14px;
  overflow: hidden; border: 0.5px solid var(--border);
  box-shadow: 0 4px 24px rgba(18,48,77,0.07);
}
[data-theme="dark"] .blog-featured-right { background: #1E293B; border-color: #334155; }
.featured-img-wrap { height: 240px; overflow: hidden; }
.featured-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: opacity 0.4s ease, background-image 0.4s ease;
}
.featured-body { padding: 1.2rem; }
.featured-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--navy); line-height: 1.3;
  margin: 8px 0;
}
[data-theme="dark"] .featured-title { color: #E8F6F6; }
.featured-excerpt {
  font-family: 'Lora', serif;
  font-size: 13px; color: var(--mid-gray);
  line-height: 1.7;
}
.featured-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; color: var(--mid-gray);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   BLOG: QUIZÁS TE INTERESE
   ══════════════════════════════════════════════ */
.maybe-list {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border-radius: 14px;
  border: 0.5px solid var(--border);
  overflow: hidden;
}
[data-theme="dark"] .maybe-list { background: #1E293B; border-color: #334155; }
.maybe-item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.2s;
}
.maybe-item:last-child { border-bottom: none; }
.maybe-item:hover { background: var(--off-white); }
[data-theme="dark"] .maybe-item:hover { background: #0F172A; }
.maybe-thumb {
  flex-shrink: 0; width: 80px; height: 60px;
  border-radius: 8px; background-size: cover;
  background-position: center;
}
.maybe-body { flex: 1; min-width: 0; }
.maybe-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600; font-size: 14px;
  color: var(--navy); line-height: 1.3;
  margin: 4px 0;
}
[data-theme="dark"] .maybe-title { color: #E8F6F6; }
.maybe-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; color: var(--mid-gray);
}

/* ══════════════════════════════════════════════
   BLOG: MÁS POPULAR
   ══════════════════════════════════════════════ */
.popular-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px; align-items: start;
}
.popular-list {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border-radius: 14px;
  border: 0.5px solid var(--border); overflow: hidden;
}
[data-theme="dark"] .popular-list { background: #1E293B; border-color: #334155; }
.popular-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; cursor: pointer;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.2s;
  position: relative;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover, .popular-item.active { background: var(--teal-pale); }
[data-theme="dark"] .popular-item.active { background: #0D1F2D; }
.popular-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 20px;
  color: var(--teal); min-width: 24px;
  opacity: 0.7;
}
.popular-item.active .popular-num { color: var(--coral); opacity: 1; }
.popular-thumb {
  width: 64px; height: 52px; border-radius: 8px;
  flex-shrink: 0; background-size: cover;
  background-position: center;
}
.popular-body { flex: 1; min-width: 0; }
.popular-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600; font-size: 13px;
  color: var(--navy); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-theme="dark"] .popular-title { color: #E8F6F6; }
.popular-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; color: var(--mid-gray); margin-top: 3px;
}
.popular-preview {
  background: #fff; border-radius: 14px;
  border: 0.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(18,48,77,0.07);
}
[data-theme="dark"] .popular-preview { background: #1E293B; border-color: #334155; }
.popular-preview-img {
  height: 280px; width: 100%;
  background-size: cover; background-position: center;
  transition: opacity 0.4s ease;
}
.popular-preview-body { padding: 1.5rem; }
.popular-preview-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 20px;
  color: var(--navy); line-height: 1.3; margin: 8px 0;
}
[data-theme="dark"] .popular-preview-title { color: #E8F6F6; }
.popular-preview-excerpt {
  font-family: 'Lora', serif;
  font-size: 14px; color: var(--mid-gray); line-height: 1.7;
}
.popular-preview-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; color: var(--mid-gray); margin-top: 8px;
}

/* ══════════════════════════════════════════════
   APP MOCKUP con logo real
   ══════════════════════════════════════════════ */
.app-mockup {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-mockup svg { filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3)); }

/* ══════════════════════════════════════════════
   RESPONSIVE UPDATES
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .blog-featured-grid { grid-template-columns: 1fr; }
  .popular-layout { grid-template-columns: 1fr; }
  .dest-card { flex: 0 0 220px; height: 260px; }
}

/* ── LOGO SWITCHING (CORRECTED) ── */
.logo-light { display: inline-flex; }
.logo-dark  { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: inline-flex; }


/* ══════════════════════════════════════════════
   TEXTURA TOPOGRÁFICA SVG
   ══════════════════════════════════════════════ */
.cats-bg::before,
.newsletter-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg fill='none' stroke='%23E8604A' stroke-width='1' opacity='0.12'%3E%3Cellipse cx='300' cy='300' rx='280' ry='120'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='100'/%3E%3Cellipse cx='300' cy='300' rx='200' ry='80'/%3E%3Cellipse cx='300' cy='300' rx='160' ry='60'/%3E%3Cellipse cx='300' cy='300' rx='120' ry='40'/%3E%3Cellipse cx='300' cy='300' rx='80' ry='20'/%3E%3Cellipse cx='50' cy='100' rx='180' ry='80'/%3E%3Cellipse cx='50' cy='100' rx='140' ry='60'/%3E%3Cellipse cx='50' cy='100' rx='100' ry='40'/%3E%3Cellipse cx='550' cy='500' rx='180' ry='80'/%3E%3Cellipse cx='550' cy='500' rx='140' ry='60'/%3E%3Cellipse cx='550' cy='500' rx='100' ry='40'/%3E%3Cellipse cx='100' cy='500' rx='150' ry='70'/%3E%3Cellipse cx='100' cy='500' rx='110' ry='50'/%3E%3Cellipse cx='500' cy='100' rx='150' ry='70'/%3E%3Cellipse cx='500' cy='100' rx='110' ry='50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.cats-bg .section,
.cats-bg > *,
.newsletter-wrap > * {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════
   SECTION SEPARATORS — más espacio y separación visual
   ══════════════════════════════════════════════ */
.blog-section-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 4rem 0 3.5rem;
}

/* Alternating section backgrounds */
.bg-offwhite { background: var(--off-white); }
.bg-white { background: #fff; border-bottom: none; }

/* Dark mode fixes */
[data-theme="dark"] .cats-bg { background: #0D1F2D !important; }
[data-theme="dark"] .newsletter-wrap { background: #0D1F2D !important; border-color: rgba(232,96,74,0.2) !important; }
[data-theme="dark"] .cats-bg::before,
[data-theme="dark"] .newsletter-wrap::before { opacity: 0.05; }
[data-theme="dark"] .newsletter-title { color: #E8F6F6 !important; }

/* ══════════════════════════════════════════════
   CLEAR SECTION SEPARATIONS
   ══════════════════════════════════════════════ */
.section-white {
  background: #ffffff;
  border-top: none;
}
.section-coral {
  background: #FDF0EE;
  border-top: 0.5px solid rgba(232,96,74,0.25);
  border-bottom: 0.5px solid rgba(232,96,74,0.25);
  position: relative;
  overflow: hidden;
}
.section-coral::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg fill='none' stroke='%23E8604A' stroke-width='1' opacity='0.1'%3E%3Cellipse cx='300' cy='300' rx='280' ry='120'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='100'/%3E%3Cellipse cx='300' cy='300' rx='200' ry='80'/%3E%3Cellipse cx='300' cy='300' rx='160' ry='60'/%3E%3Cellipse cx='300' cy='300' rx='120' ry='40'/%3E%3Cellipse cx='50' cy='100' rx='180' ry='80'/%3E%3Cellipse cx='50' cy='100' rx='140' ry='60'/%3E%3Cellipse cx='550' cy='500' rx='180' ry='80'/%3E%3Cellipse cx='550' cy='500' rx='140' ry='60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
  pointer-events: none;
  z-index: 0;
}
.section-coral > * { position: relative; z-index: 1; }
.section-gray {
  background: #F8F8F8;
  border-top: 0.5px solid #EEEEEE;
}


/* ══════════════════════════════════════════════
   SECTION ALTERNATION — más notoria
   ══════════════════════════════════════════════ */

/* Sección 1: Últimos artículos — fondo blanco */
.blog-section-recent {
  background: #ffffff;
  border-top: none;
  padding: 5rem 0;
}

/* Sección 2: Quizás te interese — fondo warm gray */
.blog-section-maybe {
  background: #F5F0EB;
  border-top: 3px solid var(--teal);
  padding: 5rem 0;
}

/* Sección 3: Más populares — fondo navy muy suave */
.blog-section-popular {
  background: #EEF4F4;
  border-top: 3px solid var(--navy);
  padding: 5rem 0;
}

.blog-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Dark mode */
[data-theme="dark"] .blog-section-recent { background: #111827; }
[data-theme="dark"] .blog-section-maybe  { background: #0F172A; }
[data-theme="dark"] .blog-section-popular { background: #0D1F2D; }
