/* =========================================================
   TOUREVO — Premium redesign
   ========================================================= */

:root {
  --bg:            #0a1628;
  --bg-deep:       #050c18;
  --bg-soft:       #0f1e34;
  --surface:       #ffffff;
  --surface-alt:   #f5f2ec;   /* bone */
  --ink:           #0a1628;
  --ink-soft:      #2d3f5b;
  --muted:         #6b7b93;
  --line:          rgba(10, 22, 40, .08);
  --line-strong:   rgba(10, 22, 40, .14);

  --emerald:       #10b981;
  --emerald-deep:  #047857;
  --gold:          #f59e0b;
  --gold-soft:     #fbbf24;
  --coral:         #f97316;
  --plum:          #7c3aed;
  --rose:          #e11d48;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     24px;

  --shadow-sm:     0 1px 2px rgba(10, 22, 40, .06), 0 1px 3px rgba(10, 22, 40, .08);
  --shadow-md:     0 12px 32px rgba(10, 22, 40, .09), 0 4px 12px rgba(10, 22, 40, .06);
  --shadow-lg:     0 30px 70px rgba(10, 22, 40, .18), 0 8px 24px rgba(10, 22, 40, .08);
  --shadow-glow:   0 0 0 1px rgba(16, 185, 129, .25), 0 12px 40px rgba(16, 185, 129, .22);

  --font-sans:     'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:  'Fraunces', 'Inter', Georgia, serif;
  --font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease:          cubic-bezier(.2, .8, .2, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface-alt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--emerald); color: #fff; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ Animated background ============ */
.bg-mesh {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #f5f2ec 0%, #efe9de 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .55;
  animation: float 22s ease-in-out infinite;
}
.blob-1 { width: 640px; height: 640px; background: radial-gradient(circle, #34d399, transparent 70%); top: -200px; left: -150px; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle, #fbbf24, transparent 70%); top: 30%; right: -160px; animation-delay: -8s; animation-duration: 26s; }
.blob-3 { width: 720px; height: 720px; background: radial-gradient(circle, #a78bfa, transparent 70%); bottom: -250px; left: 30%; opacity: .32; animation-delay: -14s; animation-duration: 30s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-50px, 50px) scale(.95); }
}
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  mix-blend-mode: overlay;
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  z-index: 200;
  transition: width .1s linear;
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(245, 242, 236, .72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(245, 242, 236, .88);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
}
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 700; letter-spacing: 4px; font-size: 16px;
  background: linear-gradient(135deg, var(--ink), #1a2f4a);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

.main-nav { display: flex; gap: 6px; }
.main-nav a {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500; font-size: 14px;
  transition: color .25s, background .25s;
}
.main-nav a:hover { color: var(--ink); background: rgba(10, 22, 40, .05); }
.main-nav .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald);
  opacity: 0; transform: scale(.4);
  transition: opacity .2s, transform .2s;
}
.main-nav a:hover .dot, .main-nav a.active .dot { opacity: 1; transform: scale(1); }

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 15px;
  letter-spacing: .2px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-xs { padding: 8px 14px; font-size: 13px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 22, 40, .2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-deep), var(--ink));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  background: rgba(10, 22, 40, .04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--ink); border-color: var(--ink-soft);
  background: rgba(10, 22, 40, .04);
}
.btn-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10, 22, 40, .04);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.btn-icon svg { width: 16px; height: 16px; }
.btn-icon:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ Section commons ============ */
section { padding: 130px 0; position: relative; }
.section-header { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.kicker-line {
  display: inline-block; width: 36px; height: 1px;
  background: var(--ink-soft);
}
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  color: var(--ink);
}
.section-header h2 em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(135deg, var(--emerald-deep), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-header h2 .muted { color: var(--muted); font-weight: 300; }
.section-sub {
  font-size: 17px; color: var(--ink-soft);
  max-width: 560px; margin: 0 auto;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 70px 0 120px;
  min-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  gap: 80px;
  align-items: center;
  flex: 1;
}
.hero-copy { max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(10, 22, 40, .05);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  position: relative;
}
.pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: .5;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.8); opacity: .5; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 92px);
  line-height: .98;
  letter-spacing: -3px;
  margin: 0 0 30px;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: italic; font-weight: 400;
  color: var(--emerald-deep);
}
.grad-text {
  background: linear-gradient(95deg, var(--emerald-deep) 0%, var(--gold) 55%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  font-size: 19px; color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; margin: 0 0 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 56px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-weight: 400; font-size: 42px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -1.5px;
}
.hero-stats em { font-style: italic; font-weight: 300; font-size: 28px; color: var(--emerald-deep); }
.hero-stats span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Hero visual (cards) */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease-out);
}
.hero-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(10, 22, 40, .92), transparent);
  color: #fff;
}
.hero-card-body .tag {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-card-body h4 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; margin: 0 0 4px;
  letter-spacing: -.3px;
}
.hero-card-body p { margin: 0; font-size: 13px; opacity: .85; }

.hero-card-1 {
  width: 62%; height: 320px;
  top: 0; right: 8%;
  transform: rotate(-3deg);
  z-index: 2;
}
.hero-card-2 {
  width: 55%; height: 280px;
  bottom: 20%; left: 0;
  transform: rotate(4deg);
  z-index: 3;
}
.hero-card-3 {
  position: absolute;
  bottom: 0; right: 0;
  width: 260px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  z-index: 4;
}
.hero-card-3 .rating {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.hero-card-3 .rating strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.hero-card-3 svg { width: 16px; height: 16px; }
.hero-card-3 blockquote, .hero-card-3 p {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: 15px; line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ink);
}
.hero-card-3 small { font-size: 12px; color: var(--muted); }

.hero-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 40px 80px rgba(10, 22, 40, .25); }

/* Marquee */
.marquee {
  margin-top: 90px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 40px;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 300;
  letter-spacing: -.5px;
  color: var(--ink);
}
.marquee-track span:nth-child(even) { color: var(--emerald-deep); font-size: 14px; opacity: .5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Responsive (hero) ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 440px; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .brand-sub { display: none; }
  .nav { height: 68px; }
  section { padding: 88px 0; }
  .hero { padding: 40px 0 80px; min-height: auto; }
  .hero-stats { gap: 32px; }
  .hero-stats strong { font-size: 34px; }
  .hero-visual { height: 420px; }
  .hero-card-1 { width: 70%; height: 240px; right: 0; }
  .hero-card-2 { width: 60%; height: 220px; }
  .hero-card-3 { width: 220px; }
  .marquee-track { font-size: 22px; gap: 28px; }
}

/* =========================================================
   TOURS
   ========================================================= */
.tours-section {
  background: var(--surface-alt);
  position: relative;
}
.tour-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 56px;
}
.filter-chip {
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500; font-size: 14px;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(8px);
  transition: all .25s var(--ease);
}
.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.tour-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.tour-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp .7s var(--ease-out) forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: none; } }
.tour-card:nth-child(1) { animation-delay: .05s; }
.tour-card:nth-child(2) { animation-delay: .12s; }
.tour-card:nth-child(3) { animation-delay: .19s; }
.tour-card:nth-child(4) { animation-delay: .26s; }
.tour-card:nth-child(5) { animation-delay: .33s; }
.tour-card:nth-child(6) { animation-delay: .40s; }
.tour-card:nth-child(7) { animation-delay: .47s; }
.tour-card:nth-child(8) { animation-delay: .54s; }

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tour-image {
  aspect-ratio: 14/9;
  position: relative;
  overflow: hidden;
  background: #0b1220;
}
.tour-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.tour-card:hover .tour-image img { transform: scale(1.05); }
.tour-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, .35), transparent 55%);
  pointer-events: none;
}
.tour-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700;
  padding: 7px 12px; border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(10px);
}

/* Tour destacado ("El más elegido") */
.tour-card.is-featured {
  box-shadow: 0 0 0 2px var(--emerald-deep, #047857),
              0 18px 48px rgba(16, 185, 129, .18),
              var(--shadow-sm);
}
.tour-card.is-featured:hover {
  box-shadow: 0 0 0 2px var(--emerald-deep, #047857),
              0 24px 64px rgba(16, 185, 129, .25),
              var(--shadow-lg);
}
.tour-featured-badge {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a0f00;
  font-size: 11px; font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(245, 158, 11, .45);
  z-index: 3;
  animation: featuredPulse 3.4s ease-in-out infinite;
}
.tour-featured-badge svg {
  width: 14px; height: 14px;
  color: #1a0f00;
}
@keyframes featuredPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 18px rgba(245, 158, 11, .45); }
  50%      { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245, 158, 11, .6); }
}
@media (prefers-reduced-motion: reduce) {
  .tour-featured-badge { animation: none; }
}

.tour-price .price-tier-note {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--muted);
  margin-top: 2px;
}
.tour-duration {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.tour-body { padding: 26px 26px 20px; flex: 1; display: flex; flex-direction: column; }
.tour-location {
  color: var(--muted); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 12px;
}
.tour-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 0 0 10px;
  color: var(--ink);
}
.tour-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: rgba(245, 242, 236, .45);
}
.tour-price {
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  font-family: var(--font-display);
  font-weight: 500;
}
.tour-price small { font-weight: 400; color: var(--muted); font-size: 12px; font-family: var(--font-sans); }
.tour-view {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  transition: all .25s;
}
.tour-view:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
  transform: translateX(2px);
}

/* =========================================================
   PLANNER + CALENDAR
   ========================================================= */
/* Planner · tema CLARO e invitante */
.planner-section {
  background:
    radial-gradient(ellipse at 85% -10%, rgba(16, 185, 129, .10), transparent 55%),
    radial-gradient(ellipse at 0% 110%,  rgba(251, 191, 36, .08), transparent 55%),
    #fbfaf7;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.planner-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M0 0h100v1H0zm0 99h100v1H0zM0 0v100h1V0zm99 0v100h1V0z' fill='%2306141f' fill-opacity='.025'/%3E%3C/svg%3E");
  pointer-events: none;
}
.planner-section .section-header h2 { color: var(--ink); }
.planner-section .section-header h2 .muted { color: var(--muted); }
.planner-section .section-header h2 em {
  background: linear-gradient(135deg, var(--emerald-deep, #047857), #0d9488);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.planner-section .kicker { color: var(--muted); }
.planner-section .kicker-line { background: var(--ink-soft, rgba(0,0,0,.35)); }
.planner-section .section-sub { color: var(--ink-soft, rgba(0,0,0,.65)); }

.planner-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
.planner-main { min-width: 0; }

.planner-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line, rgba(6,20,31,.08));
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(6,20,31,.04), 0 12px 24px -16px rgba(6,20,31,.08);
}
.planner-section .week-nav { display: flex; align-items: center; gap: 10px; }
.planner-section .week-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  min-width: 240px; text-align: center;
  color: var(--ink);
  letter-spacing: -.3px;
}
.planner-section .btn-icon {
  background: #f4f4f2;
  border-color: var(--line, rgba(6,20,31,.1));
  color: var(--ink);
}
.planner-section .btn-icon:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.planner-section .btn-ghost {
  background: transparent; color: var(--ink-soft, rgba(0,0,0,.7));
  border-color: var(--line, rgba(6,20,31,.12));
}
.planner-section .btn-ghost:hover { background: #f4f4f2; color: var(--ink); border-color: var(--line-strong, rgba(6,20,31,.2)); }
.planner-section .btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-color: transparent;
  color: #fff;
}
.planner-section .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  box-shadow: 0 10px 30px rgba(251, 191, 36, .35);
  color: #1a0f00;
}
.planner-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Pax stepper (global control in toolbar + inline in editor) */
.pax-control {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  background: #f4f4f2;
  border: 1px solid var(--line, rgba(6,20,31,.1));
  border-radius: 999px;
  color: var(--ink);
}
.pax-control .pax-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .4px; text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.pax-control .pax-label svg { width: 14px; height: 14px; }
.pax-stepper {
  display: inline-grid; grid-template-columns: 34px 46px 34px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line, rgba(6,20,31,.1));
  border-radius: 999px;
  overflow: hidden;
}
.pax-stepper .pax-btn {
  -webkit-appearance: none; appearance: none;
  background: transparent; border: 0; color: var(--ink);
  font-size: 18px; line-height: 1; font-weight: 600;
  min-height: 34px; min-width: 34px;
  cursor: pointer;
  transition: background .15s ease;
  touch-action: manipulation;
}
.pax-stepper .pax-btn:hover { background: rgba(6,20,31,.06); }
.pax-stepper .pax-btn:focus-visible { outline: 2px solid var(--emerald); outline-offset: -2px; }
.pax-stepper input[type="number"] {
  -moz-appearance: textfield;
  background: transparent; border: 0; color: var(--ink);
  text-align: center; font-weight: 600; font-size: 15px;
  padding: 4px 0; min-height: 34px;
}
.pax-stepper input::-webkit-outer-spin-button,
.pax-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pax-stepper input:focus-visible { outline: none; }
.pax-stepper-inline { background: #f4f4f5; border-radius: 999px; }
.pax-stepper-inline .pax-btn { color: var(--ink); min-height: 44px; min-width: 44px; font-size: 20px; }
.pax-stepper-inline .pax-btn:hover { background: rgba(0,0,0,.06); }
.pax-stepper-inline input[type="number"] { color: var(--ink); min-height: 44px; }
.pax-stepper-inline { grid-template-columns: 44px 56px 44px; }

/* Share button accent */
#share-plan svg { width: 14px; height: 14px; }
#share-plan.btn-ghost:hover {
  background: rgba(251, 191, 36, .12);
  color: #fbbf24; border-color: rgba(251, 191, 36, .4);
}

/* Plan import banner · tema claro */
.plan-import-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: var(--radius);
  color: var(--ink);
  animation: pib-in .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 2px 10px rgba(16,185,129,.06);
}
@keyframes pib-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.plan-import-banner[hidden] { display: none; }
.plan-import-banner .pib-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--emerald, #10b981);
  border: 1px solid var(--emerald-deep, #047857);
  border-radius: 50%;
  color: #fff;
}
.plan-import-banner .pib-ico svg { width: 18px; height: 18px; }
.plan-import-banner .pib-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.plan-import-banner .pib-body strong { font-size: 14px; color: var(--ink); }
.plan-import-banner .pib-body span { font-size: 12px; color: var(--muted); }
.plan-import-banner .pib-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-import-banner .btn-icon {
  width: 32px; height: 32px;
  background: #fff;
  border: 1px solid var(--line, rgba(6,20,31,.1));
  color: var(--ink-soft, rgba(0,0,0,.6));
}
.plan-import-banner .btn-icon:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-import-banner .btn-icon svg { width: 12px; height: 12px; }

/* Price card (sidebar total) · tema claro */
.price-card {
  padding: 18px 18px 16px;
  margin: 0 0 22px;
  background: linear-gradient(140deg, #fffbeb, #f0fdf4);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: var(--radius);
  color: var(--ink);
  transition: filter .25s ease;
  box-shadow: 0 4px 20px rgba(251, 191, 36, .08);
}
.price-card.is-empty { filter: saturate(.4) opacity(.75); }
.price-card .price-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.price-card .price-label {
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.price-card .price-pax {
  font-size: 11px; letter-spacing: .4px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(6,20,31,.06);
  color: var(--ink-soft, rgba(0,0,0,.7));
  font-weight: 600;
}
.price-card .price-amount strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 34px; letter-spacing: -1px; line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.price-card .price-breakdown { display: grid; gap: 6px; margin: 8px 0 10px; }
.price-card .price-breakdown .pb-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 10px; align-items: baseline;
  font-size: 12px;
  color: var(--ink-soft, rgba(0,0,0,.7));
  padding-top: 6px;
  border-top: 1px dashed rgba(6,20,31,.1);
}
.price-card .price-breakdown .pb-row:first-child { border-top: 0; padding-top: 0; }
.price-card .price-breakdown .pb-row strong { color: var(--ink); font-weight: 700; }
.price-card .price-foot {
  margin: 8px 0 0; font-size: 11px; color: var(--muted); line-height: 1.45;
}

/* Summary card (sidebar container) · tema claro */
.summary-card {
  background: #fff !important;
  border: 1px solid var(--line, rgba(6,20,31,.08)) !important;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(6,20,31,.04), 0 12px 32px -20px rgba(6,20,31,.12);
}
.summary-card .summary-header h3 { color: var(--ink); }
.summary-card .summary-stats .stat strong { color: var(--ink); }
.summary-card .summary-stats .stat span { color: var(--muted); }
.summary-card .summary-tours .empty { color: var(--muted); }
.summary-card .summary-tours li {
  background: #fbfaf7;
  border: 1px solid var(--line, rgba(6,20,31,.06));
}
.summary-card .summary-tours li .st-text strong { color: var(--ink); }
.summary-card .summary-tours li .st-text em { color: var(--muted); font-style: normal; }
.summary-card .summary-tours li .st-sub { color: var(--emerald-deep, #047857); }

/* Summary-tours: enhance item layout for totals */
.summary-tours li { padding: 12px; }
.summary-tours li .st-main {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; flex: 1;
}
.summary-tours li .st-text {
  min-width: 0; display: flex; flex-direction: column; gap: 2px;
}
.summary-tours li .st-text strong {
  font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}
.summary-tours li .st-text em {
  font-style: normal; font-size: 11px; color: rgba(255,255,255,.55);
}
.summary-tours li .st-sub {
  font-family: var(--font-mono); font-size: 12px;
  color: #fbbf24; font-weight: 500;
  white-space: nowrap;
}

/* Event editor: subtotal + pax */
.evt-subtotal {
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: #f4f4f5;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink);
}
.evt-subtotal strong { color: var(--emerald-deep); font-size: 15px; }
.evt-subtotal small { color: var(--muted); }

/* Quote chooser total line */
.qc-total {
  margin: -6px 0 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(52, 211, 153, .14), rgba(251, 191, 36, .1));
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.qc-total strong { font-family: var(--font-display); font-size: 22px; color: var(--emerald-deep); letter-spacing: -.5px; }

@media (max-width: 720px) {
  .pax-control { padding: 4px 10px 4px 8px; }
  .pax-control .pax-label span { display: none; }
  .plan-import-banner { flex-wrap: wrap; }
  .plan-import-banner .pib-actions { flex: 1 0 100%; justify-content: flex-end; }
  .price-card .price-amount strong { font-size: 28px; }
}

.calendar-wrapper {
  background: #fff;
  border: 1px solid var(--line, rgba(6,20,31,.08));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(6,20,31,.04), 0 24px 48px -24px rgba(6,20,31,.16);
  position: relative;
}
.calendar {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(0, 1fr));
  position: relative;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fcfbf9 100%);
}
.cal-cell {
  border-right: 1px solid rgba(6,20,31,.06);
  border-bottom: 1px solid rgba(6,20,31,.06);
  min-height: 58px;
  position: relative;
  transition: background .2s;
}
.cal-cell:last-child { border-right: none; }

.cal-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,20,31,.12);
  padding: 14px 8px;
  text-align: center;
  min-height: 72px;
}
.cal-header .dow {
  display: block;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  color: var(--muted, rgba(0,0,0,.5));
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.cal-header .dom {
  display: block;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: -.5px;
}
.cal-header.is-today {
  background: linear-gradient(180deg, rgba(16, 185, 129, .16), rgba(16, 185, 129, .04));
  border-bottom-color: var(--emerald, #10b981);
}
.cal-header.is-today .dow { color: var(--emerald-deep, #047857); }
.cal-header.is-today .dom {
  color: var(--emerald-deep, #047857);
  font-style: italic;
  font-weight: 500;
}

.cal-hour {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted, rgba(0,0,0,.45));
  padding: 4px 8px 0 10px;
  text-align: right;
  border-right: 1px solid rgba(6,20,31,.08);
  font-weight: 600;
  letter-spacing: .5px;
  background: #fbfaf7;
}

.cal-slot { cursor: pointer; }
.cal-slot:hover { background: rgba(16, 185, 129, .045); }
.cal-slot.drag-over {
  background: rgba(16, 185, 129, .14);
  outline: 2px dashed var(--emerald, #10b981);
  outline-offset: -4px;
}

/* Empty state — sugerencia sobre el calendario cuando no hay tours */
.calendar-wrapper.is-empty::after {
  content: "✨ Elige un tour del catálogo y arrástralo al día y horario que prefieras";
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  padding: 14px 20px;
  background: rgba(255,255,255,.96);
  border: 1px dashed rgba(16, 185, 129, .4);
  color: var(--ink-soft, rgba(0,0,0,.65));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(6,20,31,.08);
  max-width: 92%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 4;
  animation: emptyFloat 3.2s ease-in-out infinite;
}
@keyframes emptyFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 4px)); }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-wrapper.is-empty::after { animation: none; }
}
@media (max-width: 640px) {
  .calendar-wrapper.is-empty::after {
    white-space: normal;
    font-size: 12px;
    padding: 12px 16px;
  }
}

/* Events — bloque continuo por tour */
.cal-event {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 12px;
  padding: 8px 12px 10px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(6,20,31,.14), 0 2px 4px rgba(6,20,31,.08);
  overflow: hidden;
  z-index: 2;
  transition: transform .2s var(--ease), box-shadow .2s, outline-color .2s;
  border: 1px solid rgba(255, 255, 255, .2);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.cal-event::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: rgba(255, 255, 255, .55);
  border-radius: 4px 0 0 4px;
}
.cal-event:hover {
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 10px 28px rgba(6,20,31,.22), 0 4px 8px rgba(6,20,31,.12);
  z-index: 5;
}
.cal-event:focus-visible { outline-color: rgba(255,255,255,.85); }
.cal-event:active { cursor: grabbing; }
.cal-event.dragging { opacity: .55; transform: scale(1.03); }

.cal-event .evt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}
.cal-event .evt-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .4px;
  opacity: .95;
}
.cal-event .evt-badges { display: inline-flex; gap: 4px; }
.cal-event .evt-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 18px; padding: 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.15);
}
.cal-event .evt-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cal-event .evt-sub {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 10.5px;
  opacity: .82;
  margin-top: 3px;
  font-family: var(--font-mono);
  letter-spacing: .3px;
}
.cal-event .evt-stops {
  list-style: none; padding: 0; margin: 7px 0 0;
  display: grid; gap: 3px;
  border-top: 1px dashed rgba(255,255,255,.22);
  padding-top: 6px;
}
.cal-event .evt-stops li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px; align-items: baseline;
  font-size: 10.5px;
  opacity: .9;
}
.cal-event .evt-stops .s-time {
  font-family: var(--font-mono);
  font-weight: 600;
  opacity: .85;
}
.cal-event .evt-stops .s-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.cal-event .evt-stops .s-more {
  grid-template-columns: 1fr;
  opacity: .7;
  font-size: 10px;
  font-style: italic;
}
.cal-event .evt-grab {
  position: absolute; top: 6px; right: 6px;
  width: 14px; height: 20px;
  color: rgba(255,255,255,.55);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.cal-event:hover .evt-grab,
.cal-event:focus-visible .evt-grab { opacity: 1; }

/* Variantes por densidad (duración del tour) */
.cal-event.is-dense {
  padding: 5px 8px 6px;
}
.cal-event.is-dense .evt-title { font-size: 12px; -webkit-line-clamp: 1; }
.cal-event.is-dense .evt-sub   { display: none; }
.cal-event.is-medium .evt-title { font-size: 12.5px; }
.cal-event.theme-aventura {
  background: linear-gradient(135deg, #f97316, #b45309);
}
.cal-event.theme-cultura  {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
}
.cal-event.theme-gastronomia {
  background: linear-gradient(135deg, #fb7185, #9f1239);
}
.cal-event.theme-naturaleza  {
  background: linear-gradient(135deg, #34d399, #047857);
}
.cal-event.theme-nieve {
  background: linear-gradient(135deg, #38bdf8, #1e40af);
}

/* Indicador de snap (cuarto de hora) cuando se arrastra sobre un slot */
.cal-slot.drag-over::after {
  content: "";
  position: absolute; left: 4px; right: 4px;
  height: 2px;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16,185,129,.8);
  border-radius: 2px;
  pointer-events: none;
}
.cal-slot.drag-over[data-snap="0"]::after { top: 0; }
.cal-slot.drag-over[data-snap="1"]::after { top: 25%; }
.cal-slot.drag-over[data-snap="2"]::after { top: 50%; }
.cal-slot.drag-over[data-snap="3"]::after { top: 75%; }

/* Tooltip de itinerario detallado */
.cal-tooltip {
  position: fixed;
  z-index: 120;
  min-width: 280px;
  max-width: 360px;
  background: #0b1322;
  color: #f4f6fb;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
  padding: 0;
  overflow: hidden;
  animation: tipIn .18s var(--ease) both;
  font-size: 13px;
}
@keyframes tipIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cal-tooltip .tip-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, rgba(16,185,129,.25), rgba(16,185,129,.04));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cal-tooltip.theme-aventura    .tip-head { background: linear-gradient(135deg, rgba(249,115,22,.28),  rgba(249,115,22,.04)); }
.cal-tooltip.theme-cultura     .tip-head { background: linear-gradient(135deg, rgba(167,139,250,.28), rgba(167,139,250,.04)); }
.cal-tooltip.theme-gastronomia .tip-head { background: linear-gradient(135deg, rgba(251,113,133,.28), rgba(251,113,133,.04)); }
.cal-tooltip.theme-nieve       .tip-head { background: linear-gradient(135deg, rgba(56,189,248,.28),  rgba(56,189,248,.04)); }
.cal-tooltip .tip-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.cal-tooltip .tip-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.2px;
  margin-bottom: 4px;
}
.cal-tooltip .tip-range {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.8);
  letter-spacing: .3px;
}
.cal-tooltip .tip-stats {
  display: flex; flex-direction: column; gap: 4px;
  text-align: right;
}
.cal-tooltip .tip-stat {
  display: flex; flex-direction: column; gap: 1px;
}
.cal-tooltip .tip-stat small {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 1px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}
.cal-tooltip .tip-stat strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
}
.cal-tooltip .tip-stops {
  list-style: none;
  counter-reset: tipstop;
  margin: 0; padding: 10px 12px 10px 14px;
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
}
.cal-tooltip .tip-stops li {
  counter-increment: tipstop;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 6px 6px 6px 24px;
  position: relative;
  border-radius: 8px;
}
.cal-tooltip .tip-stops li::before {
  content: counter(tipstop);
  position: absolute;
  left: 2px; top: 6px;
  width: 16px; height: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  display: grid; place-items: center;
}
.cal-tooltip .tip-stops li:hover { background: rgba(255,255,255,.04); }
.cal-tooltip .tip-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.2;
}
.cal-tooltip .tip-time small {
  display: block;
  font-size: 9.5px;
  color: rgba(255,255,255,.45);
  font-weight: 400;
  margin-top: 1px;
}
.cal-tooltip .tip-body strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.cal-tooltip .tip-body em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
  line-height: 1.3;
}
.cal-tooltip .tip-dur {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 2px 6px;
}
.cal-tooltip .tip-flex {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(245,158,11,.04));
  color: rgba(255,255,255,.82);
  font-size: 11.5px; line-height: 1.4;
}
.cal-tooltip .tip-flex-ico {
  color: #fbbf24;
  font-size: 12px;
  line-height: 1;
  padding-top: 1px;
}
.cal-tooltip .tip-foot {
  display: flex; justify-content: space-between;
  gap: 10px;
  padding: 9px 14px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3px;
  color: rgba(255,255,255,.5);
}

/* Notas (flexibilidad + costos adicionales) usadas en editor y modal */
.ee-notes, .modal-notes {
  display: grid;
  gap: 10px;
  margin: 18px 0 4px;
}
.ee-note, .modal-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.ee-note strong, .modal-note strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}
.ee-note-ico, .modal-note-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ee-note-ico svg, .modal-note-ico svg { width: 16px; height: 16px; }

.ee-note-flex, .modal-note-flex {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.02));
  border-color: rgba(16,185,129,.25);
}
.ee-note-flex .ee-note-ico,
.modal-note-flex .modal-note-ico {
  background: var(--emerald, #10b981);
  color: #fff;
}
.ee-note-costs, .modal-note-costs {
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(245,158,11,.02));
  border-color: rgba(245,158,11,.28);
}
.ee-note-costs .ee-note-ico,
.modal-note-costs .modal-note-ico {
  background: #f59e0b;
  color: #1a0f00;
}

.modal-notes { margin: 10px 0 24px; }
@media (max-width: 640px) {
  .ee-notes, .modal-notes { gap: 8px; }
  .ee-note, .modal-note { padding: 10px 12px; font-size: 12.5px; }
}

/* En móviles (dispositivos táctiles) el tooltip hover se desactiva vía JS
   (el tap abre el editor), pero si llega a mostrarse, lo hacemos ancho completo */
@media (max-width: 640px) {
  .cal-tooltip { max-width: calc(100vw - 24px); }
}

.planner-hint {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
  font-family: var(--font-mono);
  letter-spacing: .3px;
  font-weight: 500;
}
.planner-hint svg { width: 14px; height: 14px; }

/* Planner sidebar · tema claro */
.planner-sidebar { position: sticky; top: 100px; }
.summary-card {
  background: #fff;
  border: 1px solid var(--line, rgba(6,20,31,.08));
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(6,20,31,.04), 0 12px 32px -20px rgba(6,20,31,.12);
}
.summary-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line, rgba(6,20,31,.08));
}
.summary-header .kicker-line { background: var(--ink-soft, rgba(0,0,0,.35)); }
.summary-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -.3px;
  color: var(--ink);
}
.summary-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stat { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.stat strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--ink);
}
.stat span { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.summary-tours .empty {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin: 24px 0 8px;
  line-height: 1.55;
}
.summary-tours ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.summary-tours li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fbfaf7;
  border: 1px solid var(--line, rgba(6,20,31,.06));
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.summary-tours li strong { font-weight: 600; color: var(--ink); }
.summary-tours li small { color: var(--muted); font-size: 11px; }
.summary-tours .dot-color {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--emerald);
}
.summary-tours .dot-color.c-naturaleza { background: linear-gradient(135deg, #34d399, #047857); }
.summary-tours .dot-color.c-cultura    { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.summary-tours .dot-color.c-gastronomia{ background: linear-gradient(135deg, #fb7185, #9f1239); }
.summary-tours .dot-color.c-aventura   { background: linear-gradient(135deg, #f97316, #b45309); }

@media (max-width: 1024px) {
  .planner-layout { grid-template-columns: 1fr; }
  .planner-sidebar { position: static; }
}
@media (max-width: 720px) {
  .calendar-wrapper { overflow-x: auto; }
  .calendar { min-width: 720px; }
  .planner-toolbar { flex-direction: column; align-items: stretch; }
  .planner-actions { justify-content: space-between; }
  .planner-section .week-label { min-width: auto; flex: 1; }
}

/* =========================================================
   ABOUT + TESTIMONIAL + CONTACT + FOOTER + MODAL
   ========================================================= */
.about-section { background: var(--surface-alt); padding: 140px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: start;
}
.about-intro h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 12px 0 24px;
  color: var(--ink);
}
.about-intro h2 em {
  font-style: italic; font-weight: 400;
  color: var(--emerald-deep);
}
.about-intro p {
  font-size: 17px; color: var(--ink-soft);
  max-width: 520px;
}
.value-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 14px;
}
.value-list li {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-soft);
  font-size: 15px;
}
.value-list svg {
  width: 18px; height: 18px; flex-shrink: 0;
  padding: 5px;
  background: rgba(16, 185, 129, .12);
  border-radius: 50%;
  color: var(--emerald-deep);
  box-sizing: content-box;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding: 4px 8px;
  background: var(--surface-alt);
  border-radius: 6px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -.3px;
  color: var(--ink);
}
.step-card p { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.5; }
.step-card.featured {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2f4a 100%);
  color: #fff;
  border-color: transparent;
}
.step-card.featured .step-num {
  background: rgba(255,255,255,.1);
  color: var(--gold-soft);
}
.step-card.featured h3 { color: #fff; }
.step-card.featured p { color: rgba(255,255,255,.7); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 560px) {
  .about-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   FLEET — luxury vehicles (Jaguar XF + Porsche Cayenne)
   ========================================================= */
.fleet-section {
  position: relative;
  background: #07101e;
  color: #fff;
  padding: 140px 0;
  overflow: hidden;
}
.fleet-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(251, 191, 36, .18), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, .15), transparent 55%),
    linear-gradient(180deg, #07101e 0%, #040910 100%);
  pointer-events: none;
}
.fleet-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60M0 60h60M0 0v60M60 0v60' stroke='%23ffffff' stroke-opacity='.025'/%3E%3C/svg%3E");
}
.fleet-section .section-header h2 { color: #fff; }
.fleet-section .section-header h2 em {
  background: linear-gradient(135deg, var(--gold-soft), var(--coral));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}
.fleet-section .section-header h2 .muted { color: rgba(255,255,255,.45); font-family: var(--font-mono); font-size: .6em; letter-spacing: 2px; text-transform: uppercase; }
.fleet-section .kicker { color: rgba(255,255,255,.6); }
.fleet-section .kicker-line { background: rgba(255,255,255,.4); }
.fleet-section .section-sub { color: rgba(255,255,255,.72); }

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.fleet-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s;
  display: flex; flex-direction: column;
}
.fleet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .18);
}
.fleet-card.featured {
  background: linear-gradient(180deg, rgba(251,191,36,.08) 0%, rgba(16,185,129,.04) 100%);
  border-color: rgba(251, 191, 36, .25);
}

.fleet-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0a1628;
}
.fleet-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.fleet-card:hover .fleet-media img {
  transform: scale(1.04);
}
.fleet-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 10px;
  background: rgba(10, 22, 40, .7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}
.fleet-badge svg { width: 14px; height: 14px; color: var(--emerald); }
.fleet-badge.gold { border-color: rgba(251,191,36,.4); }
.fleet-badge.gold svg { color: var(--gold-soft); }

.fleet-body {
  padding: 32px 32px 32px;
  flex: 1;
  display: flex; flex-direction: column;
}
.fleet-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 10px;
  font-weight: 600;
}
.fleet-model {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.fleet-model .maker { color: rgba(255,255,255,.55); font-style: italic; font-weight: 300; }
.fleet-model .name {
  color: #fff;
  font-weight: 500;
  background: linear-gradient(135deg, #fff, #fbbf24 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.fleet-desc {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.fleet-specs {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.fleet-specs li {
  display: flex; flex-direction: column; gap: 3px;
}
.fleet-specs span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.fleet-specs strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -.3px;
  color: #fff;
}
.fleet-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.fleet-features li {
  padding: 6px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}
.fleet-card.featured .fleet-features li {
  background: rgba(251,191,36,.08);
  border-color: rgba(251,191,36,.18);
}

/* Detail strip */
.fleet-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0;
  position: relative;
  z-index: 1;
}
.fleet-strip figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .4s var(--ease-out);
}
.fleet-strip figure:hover { transform: translateY(-3px); }
.fleet-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform .6s var(--ease-out), filter .4s;
}
.fleet-strip figure:hover img { transform: scale(1.06); filter: saturate(1.2); }
.fleet-strip figcaption {
  position: absolute;
  bottom: 10px; left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
}

.fleet-cta {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.fleet-section .btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--coral));
  color: var(--ink);
  border-color: transparent;
}
.fleet-section .btn-primary:hover {
  background: linear-gradient(135deg, #fff, var(--gold-soft));
  box-shadow: 0 12px 40px rgba(251, 191, 36, .35);
}
.fleet-section .btn-outline {
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.fleet-section .btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero fleet teaser (3rd card) */
.fleet-teaser {
  background: linear-gradient(135deg, rgba(10, 22, 40, .95), rgba(4, 9, 16, .92)) !important;
  color: #fff;
  border: 1px solid rgba(251,191,36,.2);
  backdrop-filter: blur(20px);
}
.fleet-teaser .teaser-row {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
  font-weight: 600;
}
.fleet-teaser .teaser-row svg { width: 16px; height: 16px; }
.fleet-teaser .teaser-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -.5px;
  color: #fff;
}
.fleet-teaser .teaser-title em {
  font-style: italic; font-weight: 300;
  color: var(--gold-soft);
  font-size: 14px;
  margin: 0 4px;
}
.fleet-teaser small { color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .3px; display: block; margin-bottom: 12px; }
.fleet-teaser .teaser-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--gold-soft);
  transition: color .2s, gap .2s;
}
.fleet-teaser .teaser-link:hover { color: #fff; gap: 10px; }

@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .fleet-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fleet-section { padding: 100px 0; }
  .fleet-body { padding: 24px; }
  .fleet-specs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fleet-model { font-size: 32px; }
}

/* =========================================================
   GALLERY (bento)
   ========================================================= */
.gallery-section {
  background: var(--surface-alt);
  padding: 80px 0 120px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #c7c2b8;
  cursor: pointer;
  transition: transform .5s var(--ease-out);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
  background: #0b1220;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.75), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  color: #fff; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }
.gallery-caption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -.3px;
}
.gallery-caption small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: 2px;
}
/* Bento asymmetric layout */
.gallery-item.xl  { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide{ grid-column: span 2; }
.gallery-item.tall{ grid-row: span 2; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.xl, .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .gallery-item.xl { grid-column: span 2; grid-row: span 2; }
}

/* Testimonial */
.testimonial-section {
  background:
    radial-gradient(ellipse at center, rgba(251,191,36,.1), transparent 60%),
    var(--surface-alt);
  padding: 100px 0;
}
.testimonial {
  max-width: 820px; margin: 0 auto;
  padding: 60px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote-mark {
  width: 48px; height: 40px;
  color: var(--emerald-deep);
  opacity: .2;
  margin-bottom: 20px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -.5px;
  color: var(--ink);
  margin: 0 0 32px;
  font-style: italic;
}
.testimonial blockquote em { color: var(--emerald-deep); font-style: italic; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; }
.testimonial figcaption strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.testimonial figcaption span { font-size: 13px; color: var(--muted); letter-spacing: .3px; }

/* Contact */
.contact-section { background: var(--surface-alt); padding: 40px 0 140px; }
.contact-box {
  background: linear-gradient(135deg, var(--ink) 0%, #142940 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-box::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, .3), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(251, 191, 36, .2), transparent 50%);
  pointer-events: none;
}
.contact-intro { position: relative; z-index: 1; max-width: 520px; margin-bottom: 36px; }
.contact-intro .kicker { color: rgba(255,255,255,.6); }
.contact-intro .kicker-line { background: rgba(255,255,255,.4); }
.contact-intro h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}
.contact-intro h2 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--gold-soft), var(--coral));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-intro p { font-size: 17px; color: rgba(255,255,255,.78); margin: 0; }

.contact-links {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  color: #fff;
  transition: all .25s var(--ease);
}
.contact-link:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.contact-link svg {
  width: 24px; height: 24px;
  color: var(--gold-soft);
  flex-shrink: 0;
}
.contact-link strong {
  display: block;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.contact-link span {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .contact-box { padding: 44px 28px; }
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.55);
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { width: 28px; height: 28px; }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.4); font-size: 13px; margin-top: 6px; }
.footer-nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255,255,255,.7);
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.copyright { text-align: right; font-size: 12px; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; }
  .copyright { text-align: center; }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; display: none; z-index: 100; }
.modal.is-open { display: flex; align-items: center; justify-content: center; padding: 20px; }
/* Full-screen modal on phones — use every pixel, ditch the 20px cage */
@media (max-width: 640px) {
  .modal.is-open { padding: 0; }
  .modal-panel {
    width: 100% !important;
    max-height: 100dvh !important;
    height: 100dvh;
    border-radius: 0 !important;
    animation: modalInMobile .3s var(--ease-out);
  }
  .modal-close {
    top: 12px !important; right: 12px !important;
    width: 44px !important; height: 44px !important;
  }
  .modal-inner { padding: 22px 20px 120px !important; }
  .modal-actions {
    position: sticky; bottom: 0;
    background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
    padding: 16px 0 8px;
    margin: 24px -20px -20px;
    padding-left: 20px; padding-right: 20px;
  }
  .modal-actions .btn { flex: 1 1 100%; min-width: 0; }
}
@keyframes modalInMobile {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 22, 40, .65);
  backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .4s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--ink); color: #fff; }

.modal-hero {
  height: 280px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
  background: #d7d2c7;
}
.modal-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}
.modal-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent 50%);
  pointer-events: none;
}
.modal-hero-thumbs {
  position: absolute;
  bottom: 16px; right: 16px;
  display: flex; gap: 8px;
  z-index: 3;
}
.mh-thumb {
  width: 56px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.6);
  transition: all .2s;
  background: #d7d2c7;
}
.mh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-thumb:hover { transform: translateY(-2px); }
.mh-thumb.active { border-color: #fff; box-shadow: 0 0 0 2px var(--emerald); }
.modal-inner { padding: 36px 40px 40px; }
.modal-inner h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.modal-inner .location {
  color: var(--muted); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
}
.modal-inner .desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }
.modal-inner h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -.3px;
  display: flex; align-items: center; gap: 10px;
}
.modal-inner h4::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--ink-soft);
}

.itinerary-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.itinerary-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.itinerary-item:hover {
  border-color: var(--ink-soft);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.itinerary-item .time {
  font-family: var(--font-mono);
  font-weight: 600; font-size: 14px;
  color: var(--ink);
  letter-spacing: .5px;
}
.itinerary-item .info strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.itinerary-item .info small { color: var(--muted); font-size: 13px; }
.itinerary-item .add-btn {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px; font-weight: 600;
  transition: all .2s;
  border: 1px solid var(--ink);
}
.itinerary-item .add-btn:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
}
.itinerary-item.added .add-btn {
  background: var(--emerald);
  border-color: var(--emerald);
}
.itinerary-item.added .add-btn::before { content: "✓ "; }

/* Itinerario en modo read-only (el tour se agrega como un único bloque) */
.itinerary-list.itinerary-readonly .itinerary-item {
  grid-template-columns: 70px 1fr;
}
.itinerary-list.itinerary-readonly .itinerary-item:hover { transform: none; }
.itinerary-note {
  flex: 1;
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: none;
}
@media (max-width: 640px) {
  .itinerary-note { display: block; margin: 4px 0 0; }
}

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn-primary {
  background: linear-gradient(135deg, var(--ink), #1a2f4a);
}
.modal-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-deep), var(--ink));
}

/* Event edit */
.event-edit { padding: 0 0 32px; }
.event-edit .ee-head {
  padding: 26px 36px 22px;
  border-radius: 18px 18px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #34d399, #047857);
  position: relative;
}
.event-edit .ee-head.theme-aventura    { background: linear-gradient(135deg, #f97316, #b45309); }
.event-edit .ee-head.theme-cultura     { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.event-edit .ee-head.theme-gastronomia { background: linear-gradient(135deg, #fb7185, #9f1239); }
.event-edit .ee-head.theme-nieve       { background: linear-gradient(135deg, #38bdf8, #1e40af); }
.event-edit .ee-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}
.event-edit h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.5px;
  margin: 0 0 8px;
  color: #fff;
}
.event-edit h4::before { display: none; }
.event-edit .ee-range {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3px;
  color: rgba(255,255,255,.9);
}
.event-edit .ee-range strong { font-weight: 700; color: #fff; }

.event-edit .edit-row,
.event-edit .evt-subtotal,
.event-edit .row-actions,
.event-edit .ee-itin { margin-left: 36px; margin-right: 36px; }
.event-edit .edit-row { margin-top: 14px; }
.event-edit .edit-row:first-of-type { margin-top: 22px; }

.event-edit .ee-itin {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.event-edit .ee-itin h5 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.1px;
}
.event-edit .ee-stops {
  list-style: none;
  counter-reset: eestop;
  margin: 0; padding: 0;
  display: grid; gap: 4px;
}
.event-edit .ee-stops li {
  counter-increment: eestop;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 8px 8px 28px;
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.event-edit .ee-stops li::before {
  content: counter(eestop);
  position: absolute;
  left: 8px; top: 8px;
  width: 16px; height: 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  display: grid; place-items: center;
}
.event-edit .ee-stop-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .3px;
}
.event-edit .ee-stop-body strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.event-edit .ee-stop-body em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.event-edit .ee-stop-dur {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 640px) {
  .event-edit .ee-head,
  .event-edit .edit-row,
  .event-edit .evt-subtotal,
  .event-edit .row-actions,
  .event-edit .ee-itin { margin-left: 22px; margin-right: 22px; }
  .event-edit .ee-head { padding-left: 22px; padding-right: 22px; border-radius: 14px 14px 0 0; }
  .event-edit .edit-row { grid-template-columns: 1fr; gap: 6px; }
}
.event-edit .edit-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.event-edit label { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.event-edit input, .event-edit select {
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: inherit; font-size: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .2s;
}
.event-edit select:focus, .event-edit input:focus {
  outline: none;
  border-color: var(--emerald-deep);
}
.event-edit .row-actions {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.btn-danger {
  background: transparent; color: var(--rose);
  font-weight: 600; padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: all .2s;
  cursor: pointer;
}
.btn-danger:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

/* Toast */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-out);
  z-index: 200;
  border: 1px solid rgba(255,255,255,.1);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .blob, .marquee-track, .wa-floating.is-visible::before,
  .grain, .ticker-track { animation: none !important; }
  /* Remove motion-based decorative backgrounds for vestibular safety */
  .blob, .grain { opacity: 0 !important; }
  /* Reveal animations: fade only, no translate */
  .reveal, .reveal.is-visible { transform: none !important; }
}

/* Smooth scroll for anchor navigation (respects prefers-reduced-motion above) */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ==========================================================
   Back-to-top floating button
   ========================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: var(--ink, #0a1628);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 80;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #13243d; }
.back-to-top:focus-visible { outline: 2px solid #fbbf24; outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
@media (max-width: 640px) {
  /* Float above WhatsApp bubble on mobile */
  .back-to-top { bottom: 96px; right: 16px; width: 44px; height: 44px; }
}

/* ==========================================================
   Image load-failure placeholder (replaces broken icons)
   ========================================================== */
.img-fail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  min-height: 160px;
  padding: 1rem;
  color: #94a3b8;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, .06) 0%, rgba(245, 158, 11, .06) 100%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 12px, transparent 12px 24px);
  border-radius: inherit;
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.img-fail svg { width: 36px; height: 36px; opacity: .65; }
.img-fail span { max-width: 28ch; line-height: 1.3; }

/* ==========================================================
   Global focus indicators (a11y)
   ========================================================== */
:focus-visible {
  outline: 2px solid var(--emerald-deep, #10b981);
  outline-offset: 2px;
  border-radius: 4px;
}
/* But don't double-outline already-styled controls */
button:focus-visible, a:focus-visible { outline-offset: 3px; }

/* =========================================================
   UX/UI v2 — Conversion-focused additions
   ========================================================= */

/* Skip link (a11y) */
.skip-link {
  position: fixed; top: -100px; left: 16px;
  z-index: 9999;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 16px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Global focus-visible polish */
:where(a, button, [role="button"], input, select, textarea):focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Active nav link state */
.main-nav a.active { color: var(--ink); background: rgba(16,185,129,.08); }
.main-nav a.active .dot { opacity: 1; transform: scale(1); background: var(--emerald); }

/* ============ TRUST BAR ============ */
.trust-bar {
  margin: 0 auto;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 8px;
  min-width: 0;
}
.trust-item svg { width: 26px; height: 26px; color: var(--emerald-deep); flex-shrink: 0; }
.trust-item > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.trust-item strong { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.trust-item span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trust-stars {
  color: var(--gold); font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}
@media (max-width: 1024px) {
  .trust-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 18px; }
}
@media (max-width: 580px) {
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); }
  .trust-item { gap: 10px; }
  .trust-item svg { width: 22px; height: 22px; }
}

/* ============ TOUR CARD v2 ============ */
/* Anula .tour-duration (ya no usado; fue reemplazado por .tour-chips) */
.tour-duration { display: none; }

.tour-chips {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
  z-index: 2;
}
.tour-chips .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 12px; font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(10,22,40,.15);
}
.tour-chips .chip svg { width: 13px; height: 13px; color: var(--emerald-deep); }

.tour-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px;
}
.tour-meta-row .tour-location { margin: 0; }
.tour-rating {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 13px;
  white-space: nowrap;
}
.tour-rating .star { color: var(--gold); font-size: 14px; }
.tour-rating strong { font-weight: 700; color: var(--ink); }
.tour-rating small { color: var(--muted); font-size: 11px; }

.tour-footer { align-items: stretch; gap: 14px; }
.tour-price {
  display: flex; flex-direction: column; line-height: 1.1;
  gap: 2px; font-family: var(--font-sans);
  font-weight: 400;
}
.tour-price small {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.tour-price strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
}
.tour-price em {
  font-size: 11px; font-style: normal; color: var(--muted);
  letter-spacing: .5px;
}
.tour-footer-actions {
  display: flex; align-items: center; gap: 8px;
}
.btn-icon-plus {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.btn-icon-plus svg { width: 18px; height: 18px; }
.btn-icon-plus:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--emerald-deep);
  box-shadow: 0 6px 18px rgba(16,185,129,.5);
}

/* ============ MODAL v2 ============ */
.modal-hero-badge {
  position: absolute; bottom: 14px; right: 14px;
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(10,22,40,.2);
  color: var(--ink);
  z-index: 2;
}
.modal-hero-badge .star { color: var(--gold); font-size: 16px; }
.modal-hero-badge strong { font-size: 15px; font-weight: 700; }
.modal-hero-badge small { font-size: 11px; color: var(--muted); }

.modal-meta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 8px 0 18px;
  font-size: 13px; color: var(--muted);
}
.modal-meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.modal-meta-row strong { color: var(--ink); }
.modal-meta-row .price-chip {
  margin-left: auto;
  background: rgba(16,185,129,.1);
  color: var(--emerald-deep);
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px;
}
.modal-meta-row .price-chip strong { color: var(--emerald-deep); font-size: 15px; }

.modal-highlights {
  background: var(--surface-alt);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 18px 0 24px;
}
.modal-highlights h4 {
  font-family: var(--font-display);
  margin: 0 0 12px; font-size: 17px; font-weight: 500;
}
.modal-highlights ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.modal-highlights li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.5;
}
.modal-highlights li svg {
  width: 16px; height: 16px;
  color: var(--emerald); flex-shrink: 0;
  margin-top: 3px;
}

.modal-sec-title {
  font-family: var(--font-display);
  margin: 24px 0 10px; font-size: 18px; font-weight: 500;
}

.modal-incexc {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.modal-incexc h4 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  margin: 0 0 10px;
}
.modal-incexc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.modal-incexc li {
  font-size: 13px; color: var(--ink-soft);
  padding-left: 20px; position: relative;
  line-height: 1.45;
}
.modal-incexc li.inc::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--emerald-deep); font-weight: 700;
}
.modal-incexc li.exc::before {
  content: "✕"; position: absolute; left: 0;
  color: var(--rose); font-weight: 700;
}
@media (max-width: 620px) {
  .modal-incexc { grid-template-columns: 1fr; gap: 14px; }
}

.modal-trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 20px 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(251,191,36,.06));
  border-radius: var(--radius);
  border: 1px solid rgba(16,185,129,.2);
}
.modal-trust span {
  font-size: 12px; color: var(--ink-soft); font-weight: 500;
}

.modal-actions { flex-wrap: wrap; }
.modal-actions .btn { flex: 1 1 auto; min-width: 180px; justify-content: center; }

/* WhatsApp button style (green) */
.btn-wa {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
}
.btn-wa:hover {
  background: #1fae54;
  border-color: #1fae54;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37,211,102,.5);
}
.btn-wa svg { width: 18px; height: 18px; }

/* ============ QUOTE CHOOSER (planner modal) ============ */
.quote-chooser {
  padding: 36px 32px 32px;
  text-align: center;
}
.quote-chooser h3 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 500;
  margin: 0 0 8px;
}
.quote-chooser .qc-summary {
  display: inline-flex; gap: 14px; padding: 8px 16px;
  background: var(--surface-alt); border-radius: 999px;
  font-size: 13px; margin: 4px 0 18px;
}
.quote-chooser .qc-summary strong { color: var(--emerald-deep); }
.qc-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin: 20px 0;
}
.qc-actions .btn { justify-content: center; }
.qc-actions .btn small { font-weight: 400; opacity: .85; margin-left: 6px; }
.qc-preview {
  margin: 20px 0 12px;
  text-align: left;
  padding: 12px 16px;
  background: var(--surface-alt); border-radius: 12px;
  font-size: 13px;
}
.qc-preview summary {
  cursor: pointer; font-weight: 600; color: var(--ink-soft);
  user-select: none;
}
.qc-preview pre {
  margin: 10px 0 0; padding: 12px;
  background: #fff; border-radius: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-soft);
  white-space: pre-wrap; word-break: break-word;
  max-height: 240px; overflow: auto;
}
.qc-foot { color: var(--muted); font-size: 12px; margin: 8px 0 0; }

/* ============ TESTIMONIALS CAROUSEL ============ */
.testimonials-section { padding: 80px 0; }
.testimonials-carousel {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 0 56px;
}
.tc-track {
  position: relative;
  min-height: 280px;
}
.tc-slide {
  position: absolute; inset: 0;
  margin: 0; padding: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 18px;
}
.tc-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.tc-stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; line-height: 1; }
.tc-slide blockquote {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.45;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  quotes: "“" "”";
}
.tc-slide blockquote::before { content: open-quote; color: var(--gold); margin-right: 2px; }
.tc-slide blockquote::after  { content: close-quote; color: var(--gold); }
.tc-slide figcaption {
  display: flex; align-items: center; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; letter-spacing: 1px;
  flex-shrink: 0;
}
.tc-slide figcaption strong { display: block; font-size: 15px; }
.tc-slide figcaption small { display: block; font-size: 12px; color: var(--muted); }
.tc-slide figcaption .tc-tour {
  display: inline-block;
  margin-top: 6px;
  background: var(--surface-alt);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; color: var(--ink-soft); font-weight: 600;
}
.tc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
  z-index: 3;
}
.tc-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-50%) scale(1.05); }
.tc-arrow svg { width: 18px; height: 18px; }
.tc-prev { left: 0; }
.tc-next { right: 0; }
.tc-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.tc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(10,22,40,.18);
  transition: all .25s;
  padding: 0;
}
.tc-dot.active {
  background: var(--emerald);
  width: 28px; border-radius: 4px;
}
@media (max-width: 680px) {
  .testimonials-carousel { padding: 0 8px; }
  .tc-arrow { width: 38px; height: 38px; top: auto; bottom: -60px; transform: none; }
  .tc-prev { left: calc(50% - 52px); }
  .tc-next { left: auto; right: calc(50% - 52px); }
  .tc-slide { padding: 28px 24px; min-height: auto; }
  .tc-slide blockquote { font-size: 18px; }
  .tc-dots { margin-top: 64px; }
  .tc-track { min-height: 340px; }
}

/* ============ FAQ ============ */
.faq-section { padding: 80px 0 100px; }
.faq-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.faq-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 18px;
}
.faq-intro h2 em { color: var(--emerald-deep); font-style: italic; }
.faq-intro p { color: var(--ink-soft); margin: 0 0 24px; font-size: 15px; }
.faq-intro .btn-wa { width: 100%; justify-content: center; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(16,185,129,.3); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-caret {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-caret { transform: rotate(180deg); color: var(--emerald-deep); }
.faq-ans {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ FLOATING WHATSAPP ============ */
.wa-floating {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 4px 10px rgba(10,22,40,.15);
  z-index: 180;
  transition: transform .3s var(--ease-out), opacity .3s, box-shadow .3s;
  opacity: 0; transform: translateY(16px) scale(.9);
  pointer-events: none;
}
.wa-floating.is-visible {
  opacity: 1; transform: none;
  pointer-events: auto;
}
.wa-floating svg { width: 32px; height: 32px; }
.wa-floating:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(37,211,102,.55);
}
.wa-floating::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: waPulse 2.4s infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(.9);  opacity: .9; }
  80%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 10px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.wa-floating:hover .wa-tooltip { opacity: 1; }
@media (max-width: 720px) {
  .wa-floating { display: none; }  /* reemplazado por bottom nav */
}

/* ============ MOBILE BOTTOM NAV ============ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 170;
  box-shadow: 0 -4px 20px rgba(10,22,40,.06);
}
.mbn-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 4px;
  font-size: 10.5px; font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color .2s;
}
.mbn-item svg { width: 22px; height: 22px; }
.mbn-item:hover, .mbn-item:focus-visible { color: var(--ink); }
.mbn-item.mbn-cta {
  color: #25D366;
}
.mbn-item.mbn-cta svg {
  width: 26px; height: 26px;
  padding: 4px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
}
.mbn-badge {
  position: absolute;
  top: 2px; right: calc(50% - 20px);
  background: var(--rose); color: #fff;
  font-style: normal; font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 720px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 62px; }  /* evita que el contenido quede detrás */
}



