/* ============================================================
   PV FUN — PuertoVallartaFun.com
   Estética retro geocities/90s con ejecución moderna.
   Secciones marcadas con [90s] = sabor noventero
                          [MOD] = toque moderno discreto
   ============================================================ */

/* -----------------------------------------------------------
   [MOD] Reset moderno y variables de diseño
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:root {
  /* Paleta PV Fun */
  --c-cyan:    #00B5D8;
  --c-cyan-d:  #008CA8;
  --c-coral:   #FF6B35;
  --c-coral-d: #D9491A;
  --c-yellow:  #FFD23F;
  --c-yellow-l:#FFF1B8;
  --c-pink:    #E91E63;
  --c-cream:   #FFF8E7;
  --c-white:   #FFFFFF;
  --c-black:   #1A1A1A;
  --c-link:    #0033CC;     /* azul link clásico 90s */
  --c-visited: #6B2BBF;
  --c-green:   #2E7D32;     /* verde tabla precios */
  --c-green-l: #66BB6A;
  --c-red:     #D7263D;

  /* Tipografías */
  --font-display: 'Bungee', 'Impact', 'Arial Black', sans-serif;
  --font-heading: 'Rubik', 'Trebuchet MS', sans-serif;
  --font-body:    'Verdana', 'Tahoma', 'Geneva', sans-serif;
  --font-mono:    'Courier New', 'Courier', monospace;

  /* Sombras retro duras */
  --shadow-hard:   4px 4px 0 #000;
  --shadow-hard-s: 2px 2px 0 #000;
  --shadow-hard-l: 6px 6px 0 #000;

  /* Bordes */
  --bd-thick: 3px solid var(--c-black);
  --bd-coral: 3px solid var(--c-coral);
  --bd-cyan:  3px solid var(--c-cyan);
}

/* -----------------------------------------------------------
   [90s] Body con textura tileada de fondo
   ----------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-black);
  /* Patrón talavera/azulejo desaturado generado en SVG inline */
  background-color: var(--c-cream);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><rect width='40' height='40' fill='%23FFF8E7'/><path d='M0 0h20v20H0zM20 20h20v20H20z' fill='%23F5E9C8' fill-opacity='0.5'/><circle cx='10' cy='10' r='2' fill='%2300B5D8' fill-opacity='0.18'/><circle cx='30' cy='30' r='2' fill='%23FF6B35' fill-opacity='0.18'/></svg>");
  min-height: 100vh;
}

/* -----------------------------------------------------------
   Tipografía
   ----------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }

h1.display, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  /* [90s] Doble outline retro */
  color: var(--c-yellow);
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000,
    -2px  2px 0 #000, 2px  2px 0 #000,
     4px  4px 0 var(--c-coral);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  color: var(--c-black);
  background: var(--c-yellow);
  display: inline-block;
  padding: .35em .8em;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard-s);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--c-coral-d);
  letter-spacing: .5px;
}

/* [90s] Links azules subrayados clásicos, [MOD] con transición */
a { color: var(--c-link); text-decoration: underline; transition: color 150ms ease, background-color 150ms ease; }
a:visited { color: var(--c-visited); }
a:hover    { color: var(--c-coral-d); background: var(--c-yellow-l); }
a:focus-visible { outline: 3px solid var(--c-coral); outline-offset: 2px; }

/* -----------------------------------------------------------
   [90s] Reglas <hr> gruesas con colores
   ----------------------------------------------------------- */
hr.retro {
  border: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-cyan) 0 20px,
    var(--c-yellow) 20px 40px,
    var(--c-coral) 40px 60px,
    var(--c-pink) 60px 80px
  );
  margin: 1.25rem 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* -----------------------------------------------------------
   Layout principal
   ----------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

/* -----------------------------------------------------------
   Header / Banner
   ----------------------------------------------------------- */
.site-header {
  border-bottom: 4px solid var(--c-black);
  background: var(--c-cyan);
}
.banner {
  position: relative;
  /* [MOD] foto panorámica + overlay degradado */
  background:
    linear-gradient(180deg, rgba(0,181,216,.35) 0%, rgba(255,107,53,.55) 100%),
    url("https://picsum.photos/seed/pvbanner/1600/420") center/cover no-repeat;
  padding: 28px 12px 22px;
  text-align: center;
  border-bottom: 3px solid #000;
}
.banner .logo {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  color: var(--c-yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    -3px -3px 0 #000, 3px -3px 0 #000,
    -3px  3px 0 #000, 3px  3px 0 #000,
     6px  6px 0 var(--c-pink);
  margin-bottom: 6px;
}
.banner .tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(.9rem, 2vw, 1.2rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #000;
}
.banner .badge-corner {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-mono);
  font-weight: bold;
  padding: 6px 10px;
  border: 2px solid #000;
  box-shadow: var(--shadow-hard-s);
  font-size: 12px;
  transform: rotate(4deg);
}
.banner .badge-corner small { display:block; font-size: 10px; }

/* Nav principal estilo "botones tabulares" 90s */
.main-nav {
  background: var(--c-black);
  border-top: 2px solid var(--c-yellow);
  border-bottom: 2px solid var(--c-yellow);
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav a {
  display: block;
  padding: 12px 18px;
  color: var(--c-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border-right: 2px dashed var(--c-cyan);
  font-size: 13px;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--c-coral);
  color: #fff;
}
.main-nav li:last-child a { border-right: 0; }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  background: var(--c-coral);
  color: #fff;
  border: 2px solid #000;
  padding: 10px 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  width: 100%;
  box-shadow: var(--shadow-hard-s);
}

/* -----------------------------------------------------------
   Layout 2 columnas (páginas internas)
   ----------------------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px 0;
}

/* Sidebar */
.sidebar {
  background: var(--c-white);
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  padding: 12px;
}
.sidebar h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  background: var(--c-coral);
  color: #fff;
  padding: 6px 8px;
  border: 2px solid #000;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cat-list li {
  border-bottom: 1px dotted #888;
}
.cat-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--c-link);
  font-size: 13px;
}
.cat-list a::before {
  content: "►";
  color: var(--c-coral);
  font-size: 10px;
}
/* [90s] Hover invierte colores */
.cat-list a:hover {
  background: var(--c-cyan);
  color: #fff;
}
.cat-list a:hover::before { color: var(--c-yellow); }

/* Buscador retro */
.search-box {
  margin-top: 12px;
  border: 2px inset #aaa;
  background: #fff;
  padding: 6px;
  display: flex;
  gap: 4px;
}
.search-box input {
  flex: 1;
  border: 1px inset #888;
  background: #fff;
  padding: 4px 6px;
  font-family: var(--font-body);
  font-size: 12px;
  min-width: 0;
}
.search-box button {
  background: var(--c-yellow);
  border: 2px outset #ddd;
  font-weight: bold;
  padding: 4px 10px;
  font-family: var(--font-body);
}
.search-box button:active { border-style: inset; }

/* Widget Live Chat */
.chat-widget {
  margin-top: 14px;
  border: var(--bd-cyan);
  background: var(--c-yellow-l);
  text-align: center;
  padding: 12px 8px;
}
.chat-widget img {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 3px solid var(--c-coral);
  margin: 0 auto 6px;
  object-fit: cover;
}
.chat-widget strong { display:block; font-size: 13px; margin-bottom: 6px; }
.chat-widget .btn-chat {
  display: inline-block;
  background: var(--c-pink);
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border: 2px solid #000;
  box-shadow: var(--shadow-hard-s);
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
}
.chat-widget .btn-chat:hover {
  background: var(--c-coral);
  color: #fff;
  transform: translate(2px,2px);
  box-shadow: none;
}

/* Contenido principal */
.main-content {
  background: var(--c-white);
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  padding: 18px;
  min-width: 0;
}

/* -----------------------------------------------------------
   Banner promocional ("Amazing Adventures")
   ----------------------------------------------------------- */
.promo-banner {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)),
    url("https://picsum.photos/seed/pvpromo/1200/300") center/cover no-repeat;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  padding: 28px 18px;
  text-align: center;
  color: #fff;
  margin-bottom: 18px;
}
.promo-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  color: var(--c-yellow);
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000,
    -2px  2px 0 #000, 2px  2px 0 #000,
     4px  4px 0 var(--c-coral);
  letter-spacing: 1px;
}
.promo-banner p { font-family: var(--font-heading); font-weight: 700; text-shadow: 2px 2px 0 #000; }
.promo-banner .stars {
  display: inline-block;
  color: var(--c-yellow);
  text-shadow: 1px 1px 0 #000;
  font-size: 1.4rem;
  letter-spacing: 4px;
  animation: sparkle 2.4s ease-in-out infinite;
}
@keyframes sparkle {
  0%,100% { filter: drop-shadow(0 0 0 var(--c-yellow)); }
  50%     { filter: drop-shadow(0 0 6px var(--c-yellow)); }
}

/* -----------------------------------------------------------
   Grid de tours (homepage)
   ----------------------------------------------------------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.tour-card {
  text-align: center;
  background: #fff;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard-s);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.tour-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}
.tour-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: var(--bd-coral);
  display: block;
}
.tour-card a {
  display: block;
  padding: 8px 6px;
  font-weight: bold;
  font-size: 12px;
  text-decoration: underline;
  color: var(--c-link);
  background: var(--c-cream);
}
.tour-card a:hover { background: var(--c-yellow); color: var(--c-black); }

/* -----------------------------------------------------------
   Caja "Our Advice"
   ----------------------------------------------------------- */
.advice-box {
  background: var(--c-yellow-l);
  border: 3px solid var(--c-cyan);
  padding: 14px 14px 14px 50px;
  position: relative;
  margin: 18px 0;
  font-weight: bold;
  box-shadow: var(--shadow-hard-s);
}
.advice-box::before {
  content: "💡";
  position: absolute;
  left: 12px; top: 12px;
  font-size: 1.8rem;
}
.advice-box strong { color: var(--c-coral-d); display: block; margin-bottom: 4px; text-transform: uppercase; }

/* -----------------------------------------------------------
   Tarjeta de tour (formato sidebar/listing)
   ----------------------------------------------------------- */
.tour-listing {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  border: var(--bd-thick);
  background: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-hard-s);
}
.tour-listing img {
  width: 100%; height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-right: var(--bd-thick);
}
.tour-listing .info { padding: 10px 12px; }
.tour-listing .title-bar {
  background: var(--c-green);
  color: var(--c-yellow);
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 6px 10px;
  margin: -10px -12px 10px;
  border-bottom: 2px solid #000;
  font-size: 1rem;
}
.tour-listing .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  margin: 8px 0;
}
.tour-listing .price { color: var(--c-red); font-weight: bold; }
.tour-listing .price-old { color: #888; text-decoration: line-through; margin-right: 4px; }
.tour-listing .rating { color: var(--c-yellow); font-size: 14px; letter-spacing: 1px; -webkit-text-stroke: 1px #000; }
.tour-listing .rating small { color: var(--c-black); -webkit-text-stroke: 0; margin-left: 4px; }

/* -----------------------------------------------------------
   Tabla de precios
   ----------------------------------------------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #000;
  margin: 18px 0;
  background: #fff;
  box-shadow: var(--shadow-hard);
}
.price-table thead {
  background: var(--c-green);
  color: #fff;
}
.price-table th, .price-table td {
  border: 2px solid #000;
  padding: 10px 8px;
  text-align: center;
  font-family: var(--font-mono);
}
.price-table th { text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.price-table tbody tr { background: var(--c-yellow-l); }
.price-table tbody tr:nth-child(even) { background: #fff; }
.price-table .old { color: #888; text-decoration: line-through; }
.price-table .new { color: var(--c-red); font-weight: bold; font-size: 1.1rem; }
.price-table .save { color: var(--c-green); font-weight: bold; }

.table-scroll { overflow-x: auto; }

/* -----------------------------------------------------------
   Botón BOOK NOW
   ----------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
  border: 3px solid #000;
  letter-spacing: 1px;
  box-shadow: var(--shadow-hard);
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.btn::after { content: " »"; }
.btn-book {
  background: var(--c-green);
  color: #fff;
  font-size: 1.1rem;
}
.btn-book:hover {
  background: var(--c-green-l);
  color: #fff;
  transform: translate(4px, 4px);
  box-shadow: none;
}
.btn-coral { background: var(--c-coral); color: #fff; }
.btn-coral:hover { background: var(--c-pink); transform: translate(4px,4px); box-shadow: none; }
.btn-cyan  { background: var(--c-cyan); color: #fff; }
.btn-cyan:hover  { background: var(--c-cyan-d); transform: translate(4px,4px); box-shadow: none; }

/* Override :visited for buttons — sin esto, el a:visited generico los pinta morados */
.btn:link, .btn:visited { color: inherit; }
.btn-book:link, .btn-book:visited { color: #fff; }
.btn-coral:link, .btn-coral:visited { color: #fff; }
.btn-cyan:link, .btn-cyan:visited { color: #fff; }
.btn-chat:link, .btn-chat:visited { color: #fff; }

/* -----------------------------------------------------------
   Reviews
   ----------------------------------------------------------- */
.review-card {
  border: 2px solid #000;
  background: var(--c-cream);
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-hard-s);
}
.review-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.review-card .who { font-weight: bold; color: var(--c-coral-d); }
.review-card .when { font-family: var(--font-mono); color: #555; font-size: 12px; }
.review-card .stars-row {
  color: var(--c-yellow);
  -webkit-text-stroke: 1px #000;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pagination {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0;
  justify-content: center;
}
.pagination a, .pagination span {
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 28px;
  text-align: center;
  border: 2px solid #000;
  background: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: bold;
  box-shadow: 2px 2px 0 #000;
}
.pagination a:hover { background: var(--c-yellow); }
.pagination .current { background: var(--c-coral); color: #fff; }

/* -----------------------------------------------------------
   Badges de confianza
   ----------------------------------------------------------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  background: var(--c-cream);
  border: 2px dashed var(--c-coral);
  padding: 12px;
  margin: 18px 0;
}
.trust-bar .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #000;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: var(--shadow-hard-s);
}
.trust-bar .badge .icon { font-size: 1.3rem; }

/* -----------------------------------------------------------
   "NEW!" / "HOT!" badges con pulse
   ----------------------------------------------------------- */
.flag {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 11px;
  padding: 2px 6px;
  border: 2px solid #000;
  letter-spacing: 1px;
  animation: blink-soft 1.4s ease-in-out infinite;
}
.flag-new { background: var(--c-pink); color: #fff; }
.flag-hot { background: var(--c-yellow); color: var(--c-black); }
@keyframes blink-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .75; transform: scale(1.06); }
}

/* -----------------------------------------------------------
   Galería de fotos (tour-detail)
   ----------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.gallery .main-photo {
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
}
.gallery .main-photo img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.gallery .thumbs img {
  border: 2px solid #000;
  cursor: pointer;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 150ms ease;
}
.gallery .thumbs img:hover, .gallery .thumbs img.active {
  transform: scale(1.05);
  border-color: var(--c-coral);
  box-shadow: var(--shadow-hard-s);
}

.youll-need {
  background: #fff;
  border: 2px dashed var(--c-cyan);
  padding: 12px 16px;
  margin: 14px 0;
}
.youll-need h3 { margin-bottom: 6px; }
.youll-need ul { padding-left: 18px; list-style: square; }
.youll-need li { margin-bottom: 3px; }

/* -----------------------------------------------------------
   Formularios (contact)
   ----------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: bold; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  border: 2px inset #aaa;
  background: #fff;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 14px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--c-coral);
  outline-offset: 1px;
  border-color: #000;
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.site-footer {
  margin-top: 24px;
  background: var(--c-black);
  color: #fff;
  border-top: 8px solid var(--c-yellow);
  padding: 20px 12px;
  font-size: 12px;
}
.site-footer .container { text-align: center; }
.footer-links {
  margin: 10px 0;
  line-height: 1.9;
}
.footer-links a { color: var(--c-cyan); text-decoration: underline; margin: 0 4px; }
.footer-links a:hover { color: var(--c-yellow); background: transparent; }

.recommended-by {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.recommended-by img {
  filter: grayscale(1) brightness(2);
  opacity: .8;
  height: 28px;
  width: auto;
}
.recommended-by img:hover { filter: none; opacity: 1; }

.socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}
.socials a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-coral);
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font-display);
}
.socials a:hover { background: var(--c-yellow); color: #000; }

.visit-counter {
  display: inline-block;
  font-family: var(--font-mono);
  background: #000;
  color: #00FF66;
  border: 2px inset #444;
  padding: 4px 10px;
  letter-spacing: 2px;
  margin-top: 8px;
}
.easter-egg { color: #888; font-size: 10px; margin-top: 8px; font-style: italic; }

/* -----------------------------------------------------------
   Blog
   ----------------------------------------------------------- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0;
}
.blog-card {
  background: #fff;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.blog-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: var(--bd-coral);
}
.blog-card .body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-black);
  margin-bottom: 6px;
  text-transform: none;
}
.blog-card h3 a { color: var(--c-black); text-decoration: none; }
.blog-card h3 a:hover { color: var(--c-coral-d); background: transparent; }
.blog-card .meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #555;
  margin-bottom: 8px;
}
.blog-card .excerpt { font-size: 13px; flex: 1; }
.blog-card .read-more {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--c-link);
}
.blog-card .read-more::after { content: " »"; }

/* Featured / first-post big card */
.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--c-yellow-l);
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard-l);
}
.blog-featured img { aspect-ratio: 16/10; height: 100%; border-bottom: 0; border-right: var(--bd-thick); }
.blog-featured .body { padding: 22px; }
.blog-featured h3 { font-size: 1.55rem; }

/* Post header */
.post-header {
  background: var(--c-cream);
  border: var(--bd-thick);
  border-bottom: 6px solid var(--c-coral);
  box-shadow: var(--shadow-hard);
  padding: 18px;
  margin-bottom: 18px;
}
.post-header .crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 8px;
}
.post-header .crumbs a { color: var(--c-link); }
.post-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.15;
  color: var(--c-black);
  text-transform: none;
  margin-bottom: 10px;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #444;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 2px dashed var(--c-cyan);
  padding-top: 8px;
  margin-top: 8px;
}
.post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-meta .author img {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #000;
}

/* Post body */
.post-content {
  background: #fff;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  padding: 22px;
  font-size: 15px;
  line-height: 1.7;
}
.post-content > .lead {
  font-size: 17px;
  font-weight: bold;
  color: var(--c-coral-d);
  margin-bottom: 14px;
  border-left: 6px solid var(--c-yellow);
  padding: 6px 12px;
  background: var(--c-yellow-l);
}
.post-content h2 {
  font-family: var(--font-heading);
  background: var(--c-cyan);
  color: #fff;
  font-size: 1.3rem;
  text-transform: none;
  display: block;
  padding: 8px 12px;
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard-s);
  margin: 22px 0 12px;
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-coral-d);
  margin: 16px 0 8px;
  text-transform: none;
}
.post-content p { margin: 10px 0; }
.post-content ul, .post-content ol { margin: 10px 0; padding-left: 22px; }
.post-content ul { list-style: square; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 4px; }
.post-content blockquote {
  border-left: 6px solid var(--c-coral);
  background: var(--c-cream);
  margin: 14px 0;
  padding: 10px 14px;
  font-style: italic;
}
.post-content figure { margin: 16px 0; border: var(--bd-thick); box-shadow: var(--shadow-hard-s); background: #fff; }
.post-content figure img { display: block; width: 100%; }
.post-content figcaption {
  background: var(--c-yellow);
  border-top: 2px solid #000;
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
}

/* Tags */
.post-tags {
  margin: 16px 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.post-tags a {
  display: inline-block;
  background: var(--c-cyan);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 2px solid #000;
  text-decoration: none;
  text-transform: uppercase;
}
.post-tags a:hover { background: var(--c-coral); color: #fff; }

/* Related posts */
.related-posts {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 4px double var(--c-coral);
}
.related-posts h2 { background: var(--c-pink); color: #fff; }
.related-posts .blog-list { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-posts .blog-card h3 { font-size: 1rem; }

@media (max-width: 768px) {
  .blog-list { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured img { border-right: 0; border-bottom: var(--bd-thick); }
  .related-posts .blog-list { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Utilidades
   ----------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }

.cursor-fun a.btn { cursor: crosshair; }

/* Subrayado azul clásico solo en links del cuerpo del main */
.main-content p a { text-decoration: underline; }

/* -----------------------------------------------------------
   [MOD] Responsive — breakpoints 480 / 768 / 1024 / 1440
   ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .tour-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: 200px 1fr; }
}
@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: var(--c-black);
  }
  .main-nav ul.open { display: flex; }
  .main-nav a { border-right: 0; border-bottom: 2px dashed var(--c-cyan); text-align: center; }
  .tour-listing { grid-template-columns: 1fr; }
  .tour-listing img { border-right: 0; border-bottom: var(--bd-thick); min-height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .banner .badge-corner { position: static; display: inline-block; margin-top: 10px; transform: none; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  body { font-size: 13px; }
  .main-content { padding: 12px; }
  .gallery .thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
}

/* Reduce motion accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
