/* ============================================================
   visitanayarit.com — Home Landing Page
   Versión 2.0 — con imágenes reales y optimización SEO
   ============================================================ */

:root {
  --vn-teal:   #007b8a;
  --vn-gold:   #c8922a;
  --vn-green:  #2d6a4f;
  --vn-sand:   #f5ede0;
  --vn-dark:   #0f2030;
  --vn-text:   #2c3e50;
  --vn-radius: 14px;
  --vn-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* ── Hero ───────────────────────────────────────────────────── */
.vn-hero {
  min-height: 92vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.vn-hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.vn-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  padding: 80px 0 100px;
}

.vn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #d4f0ec;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}

.vn-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.vn-hero h1 span { color: #7ee8dc; }

.vn-hero-sub {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ── Botones ────────────────────────────────────────────────── */
.vn-btn-primary {
  background: var(--vn-gold);
  color: #fff !important;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(200,146,42,0.45);
}
.vn-btn-primary:hover {
  background: #a87118;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,146,42,0.55);
}

.vn-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.55);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
  backdrop-filter: blur(4px);
}
.vn-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
}

/* ── Stats ──────────────────────────────────────────────────── */
.vn-stats {
  background: var(--vn-dark);
  padding: 30px 0;
}

.vn-stat-item { text-align: center; color: #fff; }
.vn-stat-item strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #7ee8dc;
  line-height: 1;
}
.vn-stat-item span {
  font-size: .72rem;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* ── Sections ───────────────────────────────────────────────── */
.vn-section     { padding: 72px 0; }
.vn-section-alt { background: #f7f4f0; }

.vn-section-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vn-teal);
  margin-bottom: .4rem;
  display: block;
}

.vn-section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--vn-dark);
  margin-bottom: .5rem;
  line-height: 1.2;
}

.vn-section-desc {
  color: #667;
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

/* ── Category cards CON IMAGEN ──────────────────────────────── */
.vn-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vn-cat-card {
  border-radius: var(--vn-radius);
  min-height: 200px;
  padding: 0;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  transition: transform .28s, box-shadow .28s;
  box-shadow: var(--vn-shadow);
}

.vn-cat-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  color: #fff;
}

.vn-cat-text {
  padding: 20px 22px;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  position: relative;
  z-index: 2;
}

.vn-cat-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.vn-cat-card p {
  font-size: .78rem;
  margin: 0;
  opacity: .85;
  color: #ddd;
}

/* SEO: imagen oculta para que Google la indexe */
.vn-cat-hidden-img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── Post cards ─────────────────────────────────────────────── */
.vn-post-card {
  background: #fff;
  border-radius: var(--vn-radius);
  overflow: hidden;
  border: 1px solid #e4e9ed;
  transition: all .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vn-post-card-link {
  text-decoration: none;
  color: var(--vn-text);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vn-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.vn-post-thumb {
  height: 195px;
  overflow: hidden;
  flex-shrink: 0;
}

.vn-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}

.vn-post-card:hover .vn-post-thumb img { transform: scale(1.05); }

.vn-post-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vn-post-cat-tag {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vn-teal);
  margin-bottom: 7px;
  display: block;
}

.vn-post-body h3 {
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--vn-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vn-post-excerpt {
  font-size: .82rem;
  color: #778;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vn-read-more {
  font-size: .78rem;
  font-weight: 700;
  color: var(--vn-teal);
  margin-top: 14px;
  display: inline-block;
}

/* ── Destination pills ──────────────────────────────────────── */
.vn-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
}

.vn-dest-pill {
  background: #fff;
  border: 1.5px solid #d8e6ec;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--vn-text);
  text-decoration: none;
  text-align: center;
  transition: all .2s;
  display: block;
}

.vn-dest-pill:hover {
  background: var(--vn-teal);
  border-color: var(--vn-teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,138,0.25);
}

/* ── CTA banner ─────────────────────────────────────────────── */
.vn-cta-banner {
  padding: 80px 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.vn-cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: .8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.vn-cta-banner p {
  opacity: .88;
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .vn-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .vn-hero { min-height: 88vh; }
  .vn-hero-content { padding: 70px 0 90px; }
  .vn-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vn-cat-card { min-height: 160px; }
  .vn-dest-grid { grid-template-columns: repeat(2, 1fr); }
  .vn-section { padding: 52px 0; }
}
