/* ════════════════════════════════════════════════════════════════
   EL MILAGRO — Sistema de diseño compartido
   Tema "Colonial Elegante" (verde profundo + dorado colonial)
   Vanilla CSS · cero librerías · mobile first
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Tipografías */
  --ff: 'Cinzel', 'Cormorant Garamond', Georgia, serif;     /* display / títulos */
  --fb: 'DM Sans', system-ui, -apple-system, sans-serif;    /* cuerpo */
  --fw: 700;

  /* Colores */
  --bg: #F3EBD8;        /* fondo cálido (pergamino) */
  --surf: #EAE0CC;      /* superficie */
  --surf-alt: #DED4BE;  /* superficie alterna */
  --pri: #1E3A2F;       /* verde profundo */
  --pri-l: #2D5A3D;     /* verde medio */
  --sec: #B8860B;       /* dorado colonial */
  --sec-l: #D4A84B;     /* dorado luminoso */
  --acc: #8B5E3C;       /* terracota / madera */
  --txt: #1C2B3A;       /* texto principal */
  --txt-m: #6A7585;     /* texto secundario */
  --txt-l: #F3EBD8;     /* texto sobre oscuro */
  --wh: #FFF9ED;        /* blanco cálido */
  --brd: #CEBFA5;       /* bordes */
  --ov: rgba(28,43,58,0.75);
  --r: 4px;             /* radio base */
  --r-l: 8px;           /* radio grande */
  --shadow: 0 2px 12px rgba(139,94,60,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --hero-ov: linear-gradient(180deg, rgba(30,58,47,0.45) 0%, rgba(28,43,58,0.82) 100%);
  --wa: #25D366;
  --max: 430px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}
::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
* { scrollbar-width: none; }
input, textarea, button, select { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; }
button { font-family: inherit; }
button:active { opacity: .85; }
a { -webkit-tap-highlight-color: transparent; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Contenedor app (mobile-app look, centrado en desktop) ── */
.app {
  background: var(--bg);
  min-height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
@media (min-width: 431px) {
  .app { box-shadow: 0 0 60px rgba(0,0,0,0.12); }
}

/* ── Textura cálida (ruido / lino) ── */
.texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  mix-blend-mode: multiply;
  opacity: .45;
}

/* ── Borde andino (zigzag) ── */
.andean-border {
  width: 100%; height: 10px;
  background-repeat: repeat-x;
  background-size: 48px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10' viewBox='0 0 48 10'%3E%3Cpath d='M0 10 L6 0 L12 10 L18 0 L24 10 L30 0 L36 10 L42 0 L48 10' fill='none' stroke='%23B8860B' stroke-width='1.5' opacity='0.35'/%3E%3C/svg%3E");
}

/* ── Divisor andino (chacana entre líneas) ── */
.divider {
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px; margin: 32px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--brd);
}
.divider .chacana { flex: 0 0 auto; }

/* ── Chacana (cruz andina) ── */
.chacana { display: inline-block; line-height: 0; }

/* ════════════════ HEADER ════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 56px;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brd);
  padding: 0 16px;
}
.site-header .logo { height: 32px; object-fit: contain; }
.site-header .back-btn {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 8px; color: var(--txt);
}

/* ════════════════ BOTTOM NAV (tipo app) ════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  max-width: var(--max); margin: 0 auto;
  background: color-mix(in srgb, var(--surf) 96%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--brd);
  display: flex; justify-content: space-around; align-items: center;
  height: 64px; padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav a {
  background: none; border: none; cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 16px; color: var(--txt-m); transition: color .2s;
}
.bottom-nav a .label { font-size: 10px; font-weight: 400; }
.bottom-nav a.active { color: var(--sec); }
.bottom-nav a.active .label { font-weight: 700; }
.bottom-nav a .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--sec);
  margin-top: 2px; opacity: 0; transition: opacity .2s;
}
.bottom-nav a.active .dot { opacity: 1; }

/* ════════════════ WHATSAPP FAB ════════════════ */
.wa-fab {
  position: fixed; right: 16px; bottom: 80px; z-index: 95;
  width: 52px; height: 52px; border-radius: 50%; background: var(--sec);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); text-decoration: none;
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.06); }
/* el FAB sigue el ancho del shell en desktop */
@media (min-width: 431px) {
  .wa-fab { right: calc(50% - var(--max)/2 + 16px); }
}

/* ════════════════ COOKIE BANNER ════════════════ */
.cookie-banner {
  position: fixed; bottom: 72px; left: 8px; right: 8px; z-index: 88;
  max-width: calc(var(--max) - 16px); margin: 0 auto;
  background: var(--surf); border-radius: var(--r); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--brd); box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  animation: slideUp .4s ease;
}
.cookie-banner p { font-size: 12px; color: var(--txt-m); margin: 0; line-height: 1.4; }
.cookie-banner .actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button {
  border: none; border-radius: var(--r); padding: 8px 14px;
  font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.cookie-banner .accept { background: var(--pri); color: var(--txt-l); }
.cookie-banner .essential { background: transparent; color: var(--txt-m); border: 1px solid var(--brd); }

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  background: var(--pri); padding: 40px 20px 100px; text-align: center;
  position: relative; overflow: hidden;
}
.site-footer .inner { position: relative; z-index: 1; }
.site-footer .logo { height: 48px; filter: brightness(0) invert(1); margin: 0 auto 16px; }
.site-footer .quote {
  font-family: var(--ff); font-size: 16px; color: rgba(255,255,255,0.85);
  font-style: italic; margin: 20px auto 24px; line-height: 1.5; max-width: 300px;
}
.site-footer .socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.site-footer .socials a {
  font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: none;
  letter-spacing: .05em; text-transform: uppercase;
}
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 18px; }
.site-footer .legal a { font-size: 11px; color: rgba(255,255,255,0.55); text-decoration: none; }
.site-footer .legal a:hover { color: rgba(255,255,255,0.85); }
.site-footer .contact { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.6; margin: 0 0 10px; }
.site-footer .copyright { font-size: 11px; color: rgba(255,255,255,0.4); margin: 0; }

/* ════════════════ BOTONES ════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: var(--r); border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: all .2s; box-sizing: border-box;
}
.btn-full { width: 100%; }
.btn-primary { background: var(--pri); color: var(--txt-l); }
.btn-gold { background: var(--sec); color: #fff; }
.btn-secondary { background: transparent; color: var(--pri); border: 1.5px solid var(--brd); }
.btn-danger { background: #C44D3F; color: #fff; }
.btn-wa { background: var(--pri); color: var(--txt-l); padding: 16px; font-size: 16px; font-weight: 700; box-shadow: var(--shadow-lg); width: 100%; }

/* ════════════════ PRICE TAG ════════════════ */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .cop { font-family: var(--ff); font-weight: var(--fw); font-size: 18px; color: var(--txt); letter-spacing: -.02em; }
.price .usd { font-size: 12px; color: var(--txt-m); }
.price.large .cop { font-size: 28px; }
.price.large .usd { font-size: 14px; }

/* ════════════════ HERO SLIDESHOW ════════════════ */
.hero { position: relative; min-height: 100vh; overflow: hidden; }
.hero .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover; background-position: center;
  background-color: var(--pri);
}
.hero .slide.active { opacity: 1; }
.hero .overlay { position: absolute; inset: 0; background: var(--hero-ov); z-index: 2; }
.hero .content {
  position: relative; z-index: 4; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px 100px;
}
.hero .content .logo {
  height: 80px; filter: brightness(0) invert(1); margin-bottom: 24px;
  animation: gentleFloat 5s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--ff); font-weight: var(--fw); font-size: 42px; color: #fff;
  margin: 0 0 14px; letter-spacing: -.03em; line-height: 1.05; white-space: pre-line;
}
.hero .sub {
  font-size: 15px; color: rgba(255,255,255,0.6); margin: 0 auto 40px;
  line-height: 1.6; max-width: 300px;
}
.hero .ctas { display: flex; gap: 12px; width: 100%; max-width: 340px; }
.hero .cta {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-l); padding: 24px 16px; cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all .3s;
}
.hero .cta:hover { background: rgba(255,255,255,0.15); }
.hero .cta .l { font-family: var(--ff); font-weight: var(--fw); font-size: 20px; color: #fff; }
.hero .cta .s { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.3; }
.hero .dots { display: flex; gap: 10px; margin-top: 40px; }
.hero .dots button {
  width: 8px; height: 8px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.3); transition: all .4s ease; padding: 0;
}
.hero .dots button.active { width: 28px; background: var(--sec-l); }

/* ── animación de entrada del texto hero ── */
.hero .anim { animation: fadeSlideUp .8s ease; }

/* ════════════════ SECCIONES ════════════════ */
.section { position: relative; }
.section-pad { padding: 40px 20px 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.section-head h2 { font-family: var(--ff); font-weight: var(--fw); font-size: 26px; color: var(--txt); margin: 0; letter-spacing: -.02em; }
.section-head .tagline { font-size: 13px; color: var(--txt-m); margin: 4px 0 0; }
.section-head .see-all { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--sec); font-weight: 600; text-decoration: none; }

.story-section { padding: 48px 24px; text-align: center; position: relative; background: var(--bg); }
.story-section .quote {
  font-family: var(--ff); font-weight: 400; font-style: italic; font-size: 18px;
  color: var(--txt); line-height: 1.7; max-width: 340px; margin: 16px auto;
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px 8px; }
.value-card {
  background: var(--wh); border: 1px solid var(--brd); border-radius: var(--r-l);
  padding: 18px 10px; text-align: center; box-shadow: var(--shadow);
}
.value-card .ico { color: var(--sec); margin-bottom: 8px; }
.value-card .t { font-family: var(--ff); font-weight: var(--fw); font-size: 13px; color: var(--txt); margin: 0 0 4px; line-height: 1.2; }
.value-card .d { font-size: 10px; color: var(--txt-m); margin: 0; line-height: 1.3; }

/* CTA banner (verde) */
.cta-banner {
  margin: 0 20px 40px; padding: 32px 24px; text-align: center;
  background: linear-gradient(135deg, var(--pri), var(--pri-l));
  border-radius: var(--r-l); position: relative; overflow: hidden;
}
.cta-banner .inner { position: relative; z-index: 1; }
.cta-banner h3 { font-family: var(--ff); font-weight: var(--fw); font-size: 22px; color: #fff; margin: 0 0 8px; }
.cta-banner p { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0 0 20px; line-height: 1.5; }
.cta-banner a {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; font-size: 14px; font-weight: 600; color: #fff;
  text-decoration: none; backdrop-filter: blur(4px);
}

/* ════════════════ GRID DE PRODUCTOS ════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.product-card {
  background: var(--wh); border: 1px solid var(--brd); border-radius: var(--r);
  cursor: pointer; text-align: left; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .3s ease; text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-4px); }
.product-card.featured { grid-column: span 2; }
.product-card .photo { height: 180px; width: 100%; }
.product-card.featured .photo { height: 220px; }
.product-card .body { padding: 14px; }
.product-card h3 {
  font-family: var(--ff); font-weight: var(--fw); font-size: 14px; color: var(--txt);
  margin: 0 0 6px; line-height: 1.3; letter-spacing: -.01em;
}
.product-card.featured h3 { font-size: 17px; }
.product-card .desc {
  font-size: 12px; color: var(--txt-m); margin: 0 0 10px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .row { display: flex; align-items: center; justify-content: space-between; }
.product-card .more { font-size: 11px; color: var(--sec); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--sec); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; letter-spacing: .03em;
}

/* ── Foto con gradiente fallback + lazy ── */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surf); }
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.photo img.loaded { opacity: 1; }
.photo .vignette { position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(0,0,0,0.15); pointer-events: none; }

/* ════════════════ TARJETA TOUR (postal) ════════════════ */
.tour-card {
  background: transparent; border: none; cursor: pointer; text-align: left;
  padding: 0; overflow: hidden; border-radius: var(--r-l); position: relative;
  display: block; text-decoration: none; transition: transform .3s ease;
}
.tour-card:hover { transform: translateY(-4px); }
.tour-card .photo { height: 200px; width: 100%; border-radius: var(--r-l); }
.tour-card .scrim { position: absolute; inset: 0; border-radius: var(--r-l); background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%); }
.tour-card .chip {
  position: absolute; top: 12px; background: rgba(255,255,255,0.9); border-radius: 100px;
  padding: 4px 12px; display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--pri); font-weight: 600;
}
.tour-card .chip.left { left: 12px; }
.tour-card .chip.right { right: 12px; padding: 4px 10px; font-size: 10px; }
.tour-card .info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.tour-card h3 { font-family: var(--ff); font-weight: var(--fw); font-size: 20px; color: #fff; margin: 0 0 2px; line-height: 1.2; }
.tour-card .sub { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0 0 10px; font-style: italic; }
.tour-card .price-row { display: flex; align-items: baseline; justify-content: space-between; }
.tour-card .from { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: .05em; }
.tour-card .amt { font-family: var(--ff); font-weight: var(--fw); font-size: 20px; color: var(--sec-l); }

/* ════════════════ FILTRO DE CATEGORÍAS ════════════════ */
.cat-filter { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 4px; -webkit-overflow-scrolling: touch; }
.cat-filter button {
  background: transparent; color: var(--txt); border: 1px solid var(--brd);
  border-radius: 100px; padding: 8px 18px; white-space: nowrap;
  font-size: 13px; font-weight: 400; cursor: pointer; transition: all .2s;
}
.cat-filter button.active { background: var(--pri); color: var(--txt-l); border-color: var(--pri); font-weight: 600; }

/* ── Encabezado de página de catálogo ── */
.page-head { padding: 24px 20px 16px; background: linear-gradient(180deg, var(--surf), var(--bg)); position: relative; }
.page-head h1 { font-family: var(--ff); font-weight: var(--fw); font-size: 30px; color: var(--txt); margin: 0 0 4px; letter-spacing: -.02em; }
.page-head p { font-size: 14px; color: var(--txt-m); margin: 0; }
.sticky-filter { padding: 12px 0; position: sticky; top: 56px; z-index: 50; background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ════════════════ DETALLE ════════════════ */
.with-header { padding-top: 56px; min-height: 100vh; }

/* Galería */
.gallery .main { width: 100%; height: 340px; border-radius: 0; }
.gallery .thumbs { display: flex; gap: 8px; padding: 10px 20px; background: var(--surf); }
.gallery .thumbs button {
  flex: 1; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--r);
  cursor: pointer; overflow: hidden; background: none; opacity: .6; transition: all .3s;
}
.gallery .thumbs button.active { border-color: var(--sec); opacity: 1; }
.gallery .thumbs .photo { width: 100%; height: 100%; }

.detail-body { padding: 24px 20px 32px; position: relative; }
.detail-body .cat-label { font-size: 11px; color: var(--sec); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.detail-body h1 { font-family: var(--ff); font-weight: var(--fw); font-size: 28px; color: var(--txt); margin: 8px 0 14px; line-height: 1.15; letter-spacing: -.02em; }
.detail-body .hr { margin: 24px 0; height: 1px; background: var(--brd); }
.detail-body h2 { font-family: var(--ff); font-weight: 600; font-size: 18px; color: var(--txt); margin: 0 0 12px; }
.detail-body .story { font-size: 15px; color: var(--txt-m); line-height: 1.75; margin: 0 0 28px; }
.detail-body .specs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 24px; }
.detail-body .specs .row { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px dashed var(--brd); padding-bottom: 6px; }
.detail-body .specs .row .k { color: var(--txt-m); }
.detail-body .specs .row .v { color: var(--txt); font-weight: 600; }
.wholesale { background: var(--sec); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; display: inline-block; margin-left: 8px; }

/* Detalle tour */
.tour-title { padding: 20px 20px 0; position: relative; }
.tour-title h1 { font-family: var(--ff); font-weight: var(--fw); font-size: 30px; color: var(--txt); margin: 0 0 4px; line-height: 1.1; letter-spacing: -.02em; }
.tour-title .sub { font-size: 14px; color: var(--sec); font-style: italic; margin: 0 0 16px; }

.quick-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--brd); }
.quick-stats .stat { background: var(--surf); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.quick-stats .stat .ico { color: var(--sec); flex-shrink: 0; }
.quick-stats .stat .lb { font-size: 10px; color: var(--txt-m); text-transform: uppercase; letter-spacing: .06em; }
.quick-stats .stat .v { font-size: 14px; color: var(--txt); font-weight: 600; }

.tour-price-bar { padding: 16px 20px; display: flex; align-items: baseline; justify-content: space-between; background: var(--surf-alt); }
.tour-price-bar .from { font-size: 11px; color: var(--txt-m); text-transform: uppercase; letter-spacing: .06em; }
.hotel-bar { padding: 10px 20px; background: color-mix(in srgb, var(--sec) 12%, transparent); display: flex; align-items: center; gap: 8px; }
.hotel-bar span { font-size: 13px; color: var(--sec); font-weight: 600; }

.tour-desc { padding: 24px 20px; position: relative; }
.tour-desc p { font-size: 15px; color: var(--txt-m); line-height: 1.75; margin: 0; position: relative; z-index: 1; }

.block { padding: 0 20px 28px; }
.block h2 { font-family: var(--ff); font-weight: var(--fw); font-size: 22px; color: var(--txt); margin: 0 0 18px; }

/* Itinerario timeline */
.itin { position: relative; padding-left: 32px; }
.itin .line { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sec), var(--brd)); }
.itin .step { position: relative; margin-bottom: 28px; }
.itin .step:last-child { margin-bottom: 0; }
.itin .step .node { position: absolute; left: -32px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--sec); }
.itin .step:first-child .node { background: var(--sec); }
.itin .step .time { font-size: 11px; color: var(--sec); font-weight: 700; letter-spacing: .04em; margin-bottom: 4px; }
.itin .step h3 { font-family: var(--ff); font-weight: 600; font-size: 16px; color: var(--txt); margin: 0 0 4px; }
.itin .step p { font-size: 13px; color: var(--txt-m); line-height: 1.5; margin: 0; }

/* Incluye / no incluye */
.inc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.inc-list .item { display: flex; align-items: flex-start; gap: 10px; }
.inc-list .item .mark { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.inc-list .item.yes .mark { background: #e8f5e9; color: #2e7d32; }
.inc-list .item.no .mark { background: #fce4ec; color: #c62828; }
.inc-list .item span { font-size: 14px; line-height: 1.5; }
.inc-list .item.yes span { color: var(--txt); }
.inc-list .item.no span { color: var(--txt-m); }
.sub-label { font-size: 13px; color: var(--txt-m); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; }

/* Recomendaciones */
.rec-box { background: var(--surf); border-radius: var(--r-l); padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.rec-box .item { display: flex; align-items: flex-start; gap: 10px; position: relative; z-index: 1; }
.rec-box .item span { font-size: 14px; color: var(--txt); line-height: 1.5; }

/* FAQ acordeón */
.faq .item { border-bottom: 1px solid var(--brd); }
.faq .q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 12px; text-align: left;
  font-size: 14px; color: var(--txt); font-weight: 600; line-height: 1.4;
}
.faq .q .chev { transition: transform .3s; flex-shrink: 0; color: var(--txt-m); }
.faq .item.open .q .chev { transform: rotate(180deg); }
.faq .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq .item.open .a { max-height: 300px; }
.faq .a p { font-size: 14px; color: var(--txt-m); line-height: 1.6; margin: 0 0 16px; padding-left: 4px; }

/* Formulario de reserva */
.form-field { margin-bottom: 18px; }
.form-field label { font-size: 12px; color: var(--txt-m); display: block; margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--brd); border-radius: var(--r);
  font-size: 15px; color: var(--txt); background: var(--wh); box-sizing: border-box; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--sec); }
.trust { font-size: 12px; color: var(--txt-m); text-align: center; margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Estado de carga / vacío */
.loading, .empty { padding: 120px 20px; text-align: center; color: var(--txt-m); font-size: 14px; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--brd); border-top-color: var(--sec); animation: spin .8s linear infinite; margin: 0 auto 16px; }

/* ════════════════ PÁGINAS LEGALES ════════════════ */
.legal { padding: 72px 20px 100px; max-width: var(--max); margin: 0 auto; }
.legal h1 { font-family: var(--ff); font-weight: var(--fw); font-size: 28px; color: var(--txt); margin: 0 0 4px; letter-spacing: -.02em; }
.legal .updated { font-size: 12px; color: var(--txt-m); margin: 0 0 24px; }
.legal .toc { background: var(--surf); border: 1px solid var(--brd); border-radius: var(--r-l); padding: 18px 20px; margin-bottom: 32px; }
.legal .toc h2 { font-family: var(--fb); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--txt-m); margin: 0 0 12px; }
.legal .toc ol { margin: 0; padding-left: 20px; }
.legal .toc li { margin-bottom: 6px; }
.legal .toc a { color: var(--pri); text-decoration: none; font-size: 14px; }
.legal .toc a:hover { color: var(--sec); }
.legal section { margin-bottom: 28px; scroll-margin-top: 72px; }
.legal section h2 { font-family: var(--ff); font-weight: var(--fw); font-size: 19px; color: var(--txt); margin: 0 0 10px; }
.legal section h3 { font-family: var(--fb); font-weight: 700; font-size: 15px; color: var(--txt); margin: 16px 0 6px; }
.legal p, .legal li { font-size: 14px; color: var(--txt); line-height: 1.7; }
.legal ul, .legal ol.body { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a.inline { color: var(--pri); font-weight: 600; }

/* ════════════════ ANIMACIONES ════════════════ */
@keyframes gentleFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeSlideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
