/* ============================================
   NMtravel — Layer Premium (overrides)
   Cargado DESPUÉS de styles.css. No reescribe, refina.
   Filosofía: editorial, tipografía calmada, blancos cálidos,
   acentos calibrados, micro-interactions sutiles.
   ============================================ */

/* ---- Tipografía premium (Inter variable) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&display=swap');

/* ============================================
   PALETA REFINADA — más madura, menos saturada
   ============================================ */
:root {
  /* Tipografías */
  --font-primary: 'Inter', 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Azul recalibrado: del cyan brillante al royal sutil */
  --primary-color: #1e7fc9;
  --primary-light: #4ba1de;
  --primary-dark: #0e5a96;
  --primary-soft: #e8f3fc;

  /* Acento dorado calmado (menos amarillo intenso) */
  --secondary-color: #d4a04c;
  --secondary-light: #f1c97e;
  --secondary-dark: #a37223;
  --secondary-soft: #fbf3e2;

  /* Whites premium (no #fff puro, tono cálido) */
  --bg-white: #fbfbfd;
  --bg-paper: #f5f6f9;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;

  /* Tipografía oscura con tono cálido */
  --ink-1: #0a0e1a;
  --ink-2: #2c3340;
  --ink-3: #5a6275;
  --ink-4: #8c93a3;
  --ink-5: #c4c8d2;

  /* Bordes elegantes */
  --border-1: #e8eaef;
  --border-2: #dfe2e8;
  --border-strong: #c8ccd4;

  /* Shadows finos editoriales */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, .1), 0 8px 24px rgba(15, 23, 42, .06);

  /* Radius más sutiles */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Curvas custom */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Override originales */
  --text-dark: var(--ink-1);
  --text-medium: var(--ink-3);
  --text-muted: var(--ink-4);
  --background-white: var(--bg-white);
  --background-light: var(--bg-paper);
  --background-dark: #0a0e1a;
  --box-shadow: var(--shadow-md);
  --box-shadow-card: var(--shadow-sm);
  --box-shadow-hover: var(--shadow-lg);
  --border-radius: var(--radius-lg);
  --border-radius-sm: var(--radius-sm);
  --border-radius-lg: var(--radius-xl);
}

[data-theme="dark"] {
  --bg-white: #0c0e14;
  --bg-paper: #14171f;
  --bg-card: #1a1d27;
  --bg-elevated: #20232e;
  --ink-1: #f1f3f7;
  --ink-2: #c8ccd6;
  --ink-3: #9aa0ae;
  --ink-4: #6c7384;
  --ink-5: #3d4250;
  --border-1: #1e2230;
  --border-2: #2a2f3e;
  --border-strong: #3d4253;
  --primary-soft: rgba(75, 161, 222, 0.1);
  --secondary-soft: rgba(212, 160, 76, 0.1);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4), 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .4), 0 2px 4px rgba(0, 0, 0, .3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .3);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, .6), 0 8px 24px rgba(0, 0, 0, .4);
}

/* ============================================
   BASE — tipografía calmada, anti-aliasing premium
   ============================================ */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
  background: var(--bg-white);
  color: var(--ink-2);
  line-height: 1.55;
}

/* Headings: serif display sutil para más editorial */
h1, h2, h3 {
  font-family: var(--font-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-1);
}

h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

/* Accent script reemplazado por italic display más maduro */
.accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--secondary-dark);
}

[data-theme="dark"] .accent {
  color: var(--secondary-light);
}

/* ============================================
   NAVBAR — más liviano, premium glass
   ============================================ */
.navbar {
  padding: 18px 0;
  background: transparent;
  transition: background 0.3s var(--ease-out), padding 0.3s var(--ease-out), backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-1);
  padding: 10px 0;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(12, 14, 20, 0.78);
  box-shadow: 0 1px 0 var(--border-1);
}

.navbar-menu a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 14px;
  position: relative;
}

.navbar-menu a::after {
  background: var(--secondary-color);
  height: 1.5px;
  bottom: 4px;
}

/* ============================================
   HERO — editorial, tipografía gigante, gradient mesh
   ============================================ */
.hero {
  background: #0a0e1a !important;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Slider de fotos: protagonista, full bleed con blur cinematográfico */
.hero-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  opacity: 1 !important;
  filter: saturate(1.1) contrast(1.05) blur(2px);
  transform: scale(1.04); /* compensa el blur en bordes */
}

.hero-slider .slide {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0;
  transition: opacity 1.8s var(--ease-out, ease-out);
}

.hero-slider .slide.active {
  opacity: 1 !important;
}

.hero-slider .slide {
  transition: opacity 1.6s var(--ease-out);
}

/* Sin mesh encima — la foto manda */
.hero::before { display: none; }

/* Overlay degradado uniforme para legibilidad sin tapar foto */
.hero-overlay {
  background: linear-gradient(180deg,
    rgba(10, 14, 26, 0.55) 0%,
    rgba(10, 14, 26, 0.45) 50%,
    rgba(10, 14, 26, 0.65) 100%) !important;
  z-index: 2 !important;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.75) 100%) !important;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: left;
  max-width: 1100px;
  padding: 160px 24px 100px;
}

.hero-content .hero-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  margin: 28px 0 22px !important;
  color: #fff !important;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  max-width: 900px;
}

.hero-content h1 .accent {
  color: var(--secondary-light, #f1c97e) !important;
}

.hero-content {
  color: #fff !important;
}

.hero-content h1 .accent {
  font-size: 1em;
  display: block;
  margin-top: 6px;
}

.hero-content p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  max-width: 580px;
  margin: 0 0 36px;
  opacity: 1 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5) !important;
}

/* Botones del hero: ajustados para fondo oscuro */
.hero .btn-primary {
  background: #fff;
  color: var(--ink-1);
  border-color: #fff;
}

.hero .btn-primary:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--ink-1);
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--ink-1);
  border-color: #fff;
}

.hero-buttons {
  justify-content: flex-start;
  gap: 12px;
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding: 120px 20px 60px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
}

/* ============================================
   BOTONES — flat premium con focus en peso
   ============================================ */
.btn {
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
  padding: 13px 26px;
  font-size: 0.95rem;
}

.btn::before { display: none; }

.btn-primary {
  background: var(--ink-1);
  color: var(--bg-white);
  border: 1px solid var(--ink-1);
  backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-primary {
  background: var(--bg-white);
  color: var(--ink-1);
  border-color: var(--bg-white);
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-secondary {
  background: var(--secondary-color);
  color: #1c1206;
  border: 1px solid var(--secondary-color);
  backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--ink-1);
  border: 1px solid var(--border-strong);
  backdrop-filter: none;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--ink-1);
  color: var(--bg-white);
  border-color: var(--ink-1);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-outline {
  color: var(--ink-1);
  border-color: var(--border-strong);
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--bg-white);
  color: var(--ink-1);
}

.btn-whatsapp {
  background: #1faa55;
  color: #fff;
  border: 1px solid #1faa55;
  backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #168546;
  border-color: #168546;
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ============================================
   SECTION HEADERS — más editorial
   ============================================ */
.section-padding {
  padding: 110px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-header .section-tag {
  display: inline-block;
  background: transparent;
  color: var(--primary-dark);
  border: none;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 16px;
  position: relative;
}

.section-header .section-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--secondary-color);
  vertical-align: middle;
  margin-right: 12px;
}

[data-theme="dark"] .section-header .section-tag {
  color: var(--primary-light);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 span:not(.accent) {
  color: var(--primary-color);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 580px;
  line-height: 1.65;
  margin: 0 auto;
}

/* ============================================
   CARDS — editorial, bordes finos, hover sutil
   ============================================ */
.service-card,
.catalog-card,
.testimonial-card,
.mvv-card,
.process-step,
.video-guide-card,
.video-showcase-card,
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.service-card:hover,
.catalog-card:hover,
.testimonial-card:hover,
.mvv-card:hover,
.video-guide-card:hover,
.video-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .catalog-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .mvv-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .video-guide-card,
[data-theme="dark"] .video-showcase-card,
[data-theme="dark"] .faq-item {
  background: var(--bg-card);
  border-color: var(--border-1);
  backdrop-filter: none;
}

/* ============================================
   VIDEOS — editorial showcase
   ============================================ */
.video-showcase {
  gap: 28px;
}

.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.video-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.video-showcase-player {
  position: relative;
  background: #0a0e1a;
  aspect-ratio: 9 / 16;
}

.video-showcase-player::after {
  /* Play overlay sutil cuando el video no está reproduciéndose */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1a2e'><path d='M8 5v14l11-7z'/></svg>");
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: 56% center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-showcase-player:hover::after {
  opacity: 1;
}

/* Cuando el video se está reproduciendo (Chrome/Safari soportan ::after sólo si pseudoel está visible) */
.video-showcase-player video::-webkit-media-controls-overlay-play-button {
  display: none;
}

.video-showcase-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-showcase-info {
  padding: 22px 24px 26px;
}

.video-showcase-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--ink-1);
}

.video-showcase-info p {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* Video guides (otra variante por si se usa) */
.video-guides-grid {
  gap: 28px;
}

.video-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.video-guide-card:hover {
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  background: #0a0e1a;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.video-guide-info {
  padding: 22px 24px 26px;
}

.video-guide-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.012em;
}

.video-guide-info p {
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Service card: top accent line removida, más limpio */
.service-card::before { display: none; }

.service-card {
  padding: 36px 30px;
  text-align: left;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  margin: 0 0 22px;
  border: 1px solid rgba(30, 127, 201, 0.15);
}

.service-card:hover .icon {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: none;
}

.service-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-dark);
}

.service-card:hover .icon svg {
  stroke: #fff;
  filter: none;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.012em;
}

.service-card p {
  color: var(--ink-3);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-1);
  border-bottom: 1px solid var(--ink-5);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}

.service-card .card-link:hover {
  color: var(--primary-dark);
  border-color: var(--primary-color);
  gap: 5px;
}

/* Catalog cards: imagen más editorial */
.catalog-card .card-image {
  height: 240px;
}

.catalog-card .card-image .card-badge {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-1);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border-1);
}

.catalog-card .card-image .card-price {
  background: var(--ink-1);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.catalog-card .card-body {
  padding: 26px 26px 28px;
}

.catalog-card .card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.catalog-card .card-body p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Destination cards: overlay editorial */
.destination-card {
  height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-1);
}

.destination-card .destination-overlay {
  background: linear-gradient(transparent 30%, rgba(10, 14, 26, 0.95));
  padding: 28px 26px;
}

.destination-card .destination-overlay h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}

.destination-card .destination-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 14px;
  color: #fff;
}

/* Testimonials: estilo magazine */
.testimonial-card {
  padding: 36px 32px;
}

.testimonial-card::before {
  font-size: 5rem;
  top: 18px;
  left: 26px;
  color: var(--secondary-color);
  opacity: 0.25;
}

.testimonial-card p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 24px;
}

.testimonial-card .stars {
  color: var(--secondary-color);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-card .author-avatar {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border-1);
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-card .author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.testimonial-card .author-info span {
  font-size: 0.8rem;
  color: var(--ink-4);
}

/* Why-us: iconos más sutiles */
.why-card {
  padding: 32px 22px;
}

.why-card .icon-circle {
  width: 56px;
  height: 56px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: none;
  border: 1px solid rgba(30, 127, 201, 0.18);
  margin-bottom: 22px;
}

.why-card .icon-circle svg {
  stroke: var(--primary-dark);
  width: 24px;
  height: 24px;
}

[data-theme="dark"] .why-card .icon-circle {
  background: rgba(75, 161, 222, 0.12);
  border-color: rgba(75, 161, 222, 0.25);
}

[data-theme="dark"] .why-card .icon-circle svg {
  stroke: var(--primary-light);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.012em;
}

.why-card p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Process steps: numbered editorial */
.process-step {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0;
  position: relative;
  padding-left: 60px;
}

.process-step::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: transparent;
  color: var(--ink-1);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  box-shadow: none;
  margin: 0;
}

[data-theme="dark"] .process-step::before {
  color: var(--ink-1);
  border-color: var(--border-strong);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================
   STATS — editorial number block
   ============================================ */
.bg-dark {
  background: var(--ink-1);
  color: var(--bg-white);
}

[data-theme="dark"] .bg-dark {
  background: var(--bg-paper);
}

.bg-dark .stat-item .stat-number {
  color: var(--bg-white);
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bg-dark .stat-item .stat-number .accent {
  font-family: var(--font-display);
  color: var(--secondary-light);
}

.bg-dark .stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================
   CTA — más sutil, no gradient
   ============================================ */
.cta-section {
  background: var(--bg-paper);
  color: var(--ink-1);
  padding: 100px 0;
}

[data-theme="dark"] .cta-section {
  background: var(--bg-paper);
}

.cta-section::before,
.cta-section::after { display: none; }

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink-1);
}

.cta-section h2 .accent {
  color: var(--secondary-dark);
}

[data-theme="dark"] .cta-section h2 .accent {
  color: var(--secondary-light);
}

.cta-section p {
  color: var(--ink-3);
  font-size: 1.05rem;
}

/* ============================================
   FOOTER — minimalismo editorial
   ============================================ */
.footer {
  background: var(--ink-1);
  color: var(--bg-white);
  padding: 80px 0 0;
}

[data-theme="dark"] .footer {
  background: var(--bg-paper);
  border-top: 1px solid var(--border-1);
}

.footer-brand p,
.footer-column ul li a,
.footer-bottom p,
.footer-bottom .canatur-badge {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

[data-theme="dark"] .footer-brand p,
[data-theme="dark"] .footer-column ul li a,
[data-theme="dark"] .footer-bottom p,
[data-theme="dark"] .footer-bottom .canatur-badge {
  color: var(--ink-3);
}

.footer-column h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 0;
  margin-bottom: 20px;
}

[data-theme="dark"] .footer-column h4 {
  color: var(--ink-1);
}

.footer-column h4::after { display: none; }

.footer-column ul li a:hover {
  color: var(--secondary-light);
  padding-left: 0;
}

.footer-social a {
  border-color: rgba(255, 255, 255, 0.15);
  width: 36px;
  height: 36px;
}

.footer-social a:hover {
  background: var(--bg-white);
  color: var(--ink-1);
  border-color: var(--bg-white);
}

[data-theme="dark"] .footer-social a {
  border-color: var(--border-2);
  color: var(--ink-3);
}

[data-theme="dark"] .footer-social a:hover {
  background: var(--ink-1);
  color: var(--bg-white);
  border-color: var(--ink-1);
}

/* ============================================
   FORMS — minimalistas
   ============================================ */
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  background: var(--bg-card);
  color: var(--ink-1);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 127, 201, 0.12);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: var(--bg-paper) !important;
  border-color: var(--border-2) !important;
  color: var(--ink-1) !important;
}

.contact-form,
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: 40px;
}

[data-theme="dark"] .contact-form,
[data-theme="dark"] .contact-form-wrapper {
  background: var(--bg-card) !important;
  border-color: var(--border-1) !important;
}

/* ============================================
   POPUPS — minimal
   ============================================ */
.popup {
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .popup {
  background: var(--bg-card) !important;
  border-color: var(--border-1) !important;
}

.popup .popup-icon {
  background: var(--primary-soft);
  color: var(--primary-dark);
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid rgba(30, 127, 201, 0.15);
}

.popup .popup-icon svg { stroke: var(--primary-dark); width: 22px; height: 22px; }

.popup h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}

.popup p {
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   DARK MODE TOGGLE — más sutil
   ============================================ */
.dark-mode-toggle {
  bottom: 105px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.dark-mode-toggle:hover {
  transform: scale(1.06);
  border-color: var(--border-strong);
}

[data-theme="dark"] .dark-mode-toggle {
  background: var(--bg-card);
  border-color: var(--border-2);
}

.dark-mode-toggle .icon-sun,
.dark-mode-toggle .icon-moon {
  font-size: 1.1rem;
}

/* WhatsApp flotante removido — handoff via chat IA */
.whatsapp-float { display: none !important; }

/* ============================================
   LIGHTBOX premium — full HD viewer
   ============================================ */
.lightbox-overlay {
  background: rgba(8, 10, 18, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), filter 0.3s ease;
  cursor: zoom-in;
  user-select: none;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-overlay.zoomed .lightbox-img {
  cursor: zoom-out;
  transform: scale(1.5);
}

.lightbox-overlay.loading .lightbox-img {
  filter: blur(8px) brightness(0.5);
}

.lightbox-loader {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: nm-lightbox-spin 0.7s linear infinite;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.loading .lightbox-loader {
  opacity: 1;
}

@keyframes nm-lightbox-spin {
  to { transform: rotate(360deg); }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  max-width: 80vw;
  text-align: center;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-caption:empty {
  display: none;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .lightbox-overlay.zoomed .lightbox-img {
    transform: scale(1.3);
  }
  .lightbox-caption {
    bottom: 16px;
    font-size: 0.8rem;
    max-width: calc(100vw - 32px);
  }
}

/* Chat launcher: ahora va solo (sin WA al lado), reposicionar */
.nm-chat-launcher {
  right: 25px !important;
}

@media (max-width: 480px) {
  .nm-chat-launcher { right: 18px !important; }
}

/* ============================================
   SECTION TAGS — refinado
   ============================================ */
.section-tag {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 127, 201, 0.15);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  padding: 5px 14px;
}

[data-theme="dark"] .section-tag {
  background: rgba(75, 161, 222, 0.1);
  border-color: rgba(75, 161, 222, 0.25);
  color: var(--primary-light);
}

/* ============================================
   FAQ — clean
   ============================================ */
.faq-question {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 22px 26px;
}

.faq-question .faq-icon {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 127, 201, 0.15);
  width: 28px;
  height: 28px;
  font-size: 1rem;
}

.faq-answer-inner {
  font-size: 0.94rem;
  color: var(--ink-3);
  line-height: 1.7;
  padding: 0 26px 22px;
}

/* ============================================
   PAGE HERO (sub-pages: visas, viajes, destinos, sobre-nosotros, contacto)
   Foto visible con overlay oscuro + texto blanco premium
   ============================================ */
.page-hero {
  min-height: 50vh !important;
  background-color: #0a0e1a !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-hero {
    background-attachment: scroll !important;
    min-height: 42vh !important;
  }
}

/* Overlay menos opaco arriba (foto visible) + más oscuro abajo donde va el texto */
.page-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(10, 14, 26, 0.25) 0%,
    rgba(10, 14, 26, 0.55) 60%,
    rgba(10, 14, 26, 0.78) 100%) !important;
  z-index: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="dark"] .page-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.85) 100%) !important;
}

/* Asegurar que la imagen del page-hero NO tenga blur ni filter raro */
.page-hero {
  filter: none !important;
}
.page-hero::before,
.page-hero::after {
  filter: none !important;
}

.page-hero-content {
  color: #fff !important;
  padding: 150px 20px 80px !important;
  position: relative;
  z-index: 2 !important;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin-bottom: 18px !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 4px 32px rgba(0, 0, 0, 0.6),
    0 0 1px rgba(0, 0, 0, 0.5) !important;
  opacity: 1 !important;
}

.page-hero-content h1 .accent {
  color: var(--secondary-light, #f1c97e) !important;
}

.page-hero-content p {
  color: #ffffff !important;
  font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
  line-height: 1.65 !important;
  opacity: 1 !important;
  max-width: 680px;
  margin: 0 auto;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 1px 16px rgba(0, 0, 0, 0.55) !important;
  font-weight: 500 !important;
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem !important;
  margin-top: 18px !important;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--secondary-light, #f1c97e) !important;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================
   SCROLLBAR — minimalista
   ============================================ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-white);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

::selection {
  background: var(--ink-1);
  color: var(--bg-white);
}

/* ============================================
   FADE-IN refinado (más smooth)
   ============================================ */
.fade-in,
.fade-in-left,
.fade-in-right {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ============================================
   PAGE LOADER — minimalista
   ============================================ */
.loader-spinner {
  width: 36px;
  height: 36px;
  border-width: 2px;
  border-color: var(--border-2);
  border-top-color: var(--ink-1);
}

.page-loader {
  background: var(--bg-white);
}

/* ============================================
   FOCUS VISIBLE (a11y mejorada)
   ============================================ */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible {
  outline-offset: 3px;
}

/* ============================================
   SCROLL PROGRESS BAR (premium touch)
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  z-index: 9999;
  transition: transform 0.05s linear;
}

/* ============================================
   IMAGE TREATMENTS — sutil grain + grayscale on hover
   ============================================ */
.catalog-card .card-image img,
.destination-card img {
  filter: saturate(0.95) contrast(1.02);
  transition: filter 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}

.catalog-card:hover .card-image img,
.destination-card:hover img {
  filter: saturate(1) contrast(1.05);
}

/* ============================================
   MOBILE REFINEMENTS
   ============================================ */
@media (max-width: 768px) {
  .navbar-menu {
    background: var(--bg-card);
    box-shadow: var(--shadow-xl);
  }

  .navbar-menu a {
    color: var(--ink-1) !important;
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-1);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-padding {
    padding: 64px 0;
  }

  .stats-row {
    gap: 20px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* ============================================
   PRINT (cuando alguien imprima la cotización)
   ============================================ */
@media print {
  .navbar, .whatsapp-float, .dark-mode-toggle, .nm-chat-launcher,
  .nm-chat-window, .popup-overlay, body::before {
    display: none !important;
  }
  body { background: white; color: black; }
}
