/*
Theme Name: Donde Ir Mineral del Chico
Theme URI: https://dondeirmineraldelchico.com
Author: Biciting
Description: Directorio turístico de Mineral del Chico.
Version: 0.1.0
Text Domain: donde-ir-mineral
*/

:root {
  --forest: #17382c;
  --forest-dark: #0d241c;
  --moss: #53745f;
  --cream: #f5f0e5;
  --paper: #fffdf7;
  --terracotta: #b85f3c;
  --gold: #d8a447;
  --ink: #202a25;
  --muted: #667069;
  --line: rgba(23, 56, 44, 0.14);
  --shadow: 0 18px 60px rgba(13, 36, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgba(13, 36, 28, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--forest-dark);
  background: var(--gold);
  font-size: 21px;
}
.brand small { display: block; color: #c9d4ce; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: #f2ca7d; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  color: white;
  background: var(--terracotta);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184,95,60,.28); }
.button-light { color: var(--forest-dark); background: var(--paper); }
.button-outline { color: var(--forest); background: transparent; border: 1px solid var(--line); }
.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(8,27,20,.88) 0%, rgba(8,27,20,.61) 52%, rgba(8,27,20,.18) 100%),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=88") center/cover;
}
.hero-content { max-width: 720px; padding: 96px 0 112px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero-copy { max-width: 600px; margin: 26px 0 32px; color: #e8eee9; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.search-panel {
  position: relative;
  z-index: 3;
  margin-top: -45px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.search-panel input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #faf8f1;
  font: inherit;
}
.section { padding: 94px 0; }
.section-white { background: var(--paper); }
.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.section-heading p { max-width: 530px; margin: 12px 0 0; color: var(--muted); }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  border-radius: 22px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -140px 100px -65px rgba(0,0,0,.85);
  transition: transform .25s ease;
}
.category-card:hover { transform: translateY(-5px); }
.category-card span { color: #ead8b8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.category-card strong { font-family: Georgia, serif; font-size: 28px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(13,36,28,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing-image { position: relative; height: 240px; overflow: hidden; background: #d7ded8; }
.listing-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.listing-card:hover .listing-image img { transform: scale(1.04); }
.tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 11px;
  color: var(--forest-dark);
  background: rgba(255,253,247,.94);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.listing-body { padding: 22px; }
.listing-body h3 { margin: 0 0 8px; color: var(--forest-dark); font-family: Georgia, serif; font-size: 25px; line-height: 1.12; }
.listing-body p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.listing-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 800; }
.listing-meta a { color: var(--terracotta); }
.cta {
  padding: 55px;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 32px;
  color: white;
  background: var(--forest);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.cta::after { content: "✦"; position: absolute; right: 26%; top: -55px; color: rgba(255,255,255,.06); font-size: 220px; }
.cta h2 { margin: 0 0 10px; font: 46px/1.05 Georgia, serif; }
.cta p { max-width: 670px; margin: 0; color: #cfdbd4; }
.site-footer { padding: 52px 0 28px; color: #d6dfda; background: var(--forest-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-title { color: white; font-family: Georgia, serif; font-size: 25px; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #94a59c; font-size: 12px; }
.archive-hero, .single-hero { padding: 92px 0 60px; color: white; background: var(--forest); }
.archive-hero h1, .single-hero h1 { margin: 0; font: clamp(44px, 6vw, 72px)/1 Georgia, serif; letter-spacing: -.04em; }
.single-layout { padding: 70px 0; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 44px; }
.single-image { height: 480px; margin-bottom: 34px; border-radius: 25px; object-fit: cover; }
.single-content { font-size: 18px; }
.single-content h2 { color: var(--forest); font-family: Georgia, serif; }
.booking-box { position: sticky; top: 105px; padding: 26px; background: white; border-radius: 22px; box-shadow: var(--shadow); }
.booking-box h3 { margin-top: 0; color: var(--forest); font: 28px Georgia, serif; }
.empty-state { padding: 44px; text-align: center; background: white; border-radius: 20px; }
@media (max-width: 900px) {
  .main-nav a:not(.button) { display: none; }
  .categories, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .booking-box { position: static; }
}
@media (max-width: 640px) {
  .brand-text small { display: none; }
  .header-inner { min-height: 66px; }
  .main-nav .button { min-height: 40px; padding-inline: 15px; font-size: 12px; }
  .hero { min-height: 610px; background-position: 62% center; }
  .hero-content { padding: 80px 0 98px; }
  .search-panel { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .categories, .listing-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 220px; }
  .cta { padding: 34px 26px; grid-template-columns: 1fr; }
  .cta h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .single-image { height: 310px; }
}
