/* ==========================================================================
   NOWFOLLOWERS EXPEDICIONES ANDINAS S.A.C.
   Design System: Andean High-Altitude & Alpine Expedition Architecture
   ========================================================================== */

:root {
  --nf-pine-deep: #071f14;
  --nf-pine-base: #0f3826;
  --nf-pine-light: #1b5e40;
  --nf-slate-dark: #0f172a;
  --nf-slate-card: #1e293b;
  --nf-glacier-cyan: #0284c7;
  --nf-glacier-light: #38bdf8;
  --nf-ochre-gold: #d97706;
  --nf-ochre-light: #f59e0b;
  --nf-terracotta: #c2410c;
  --nf-sand-bg: #f8fafc;
  --nf-card-bg: #ffffff;
  --nf-border-subtle: #e2e8f0;
  --nf-border-pine: #1b5e40;
  --nf-text-dark: #0f172a;
  --nf-text-muted: #1e293b;
  --nf-text-light: #f1f5f9;
  --nf-font-heading: 'Trebuchet MS', 'Lucida Sans Unicode', -apple-system, BlinkMacSystemFont, sans-serif;
  --nf-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nf-font-mono: 'Consolas', 'Courier New', monospace;
}

body {
  font-family: var(--nf-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--nf-text-dark);
  background-color: var(--nf-sand-bg);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nf-font-heading);
  font-weight: 700;
  color: var(--nf-pine-deep);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a {
  color: var(--nf-pine-light);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--nf-pine-deep);
  text-decoration: underline;
}

/* 1. Live Mountain Weather Ribbon */
.nf_weather_bar {
  background-color: var(--nf-slate-dark);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
  letter-spacing: 0.3px;
}

.nf_weather_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255,255,255,0.06);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.86rem;
}

.nf_weather_chip strong {
  color: var(--nf-glacier-light);
}

.nf_badge_currency {
  background-color: var(--nf-pine-base);
  color: #6ee7b7;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid #047857;
}

/* 2. Alpine Expedition Header */
.nf_header_alpine {
  background-color: #ffffff;
  border-bottom: 2px solid var(--nf-pine-base);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.nf_brand_alpine {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.nf_brand_icon {
  background: linear-gradient(135deg, var(--nf-pine-deep), var(--nf-pine-light));
  color: #fef08a;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 56, 38, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nf_brand_text {
  display: flex;
  flex-direction: column;
}

.nf_brand_title {
  font-family: var(--nf-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nf-pine-deep);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.nf_brand_subtitle {
  font-size: 0.85rem;
  color: var(--nf-ochre-gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Menu */
.nf_nav_alpine {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 16px;
}

.nf_nav_alpine > li {
  position: relative;
}

.nf_nav_alpine > li > a {
  color: var(--nf-slate-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 10px;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.nf_nav_alpine > li > a:hover,
.nf_nav_alpine > li > a.active {
  background-color: #f0fdf4;
  color: var(--nf-pine-light);
}

/* Dropdown */
.nf_dropdown_alpine {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid var(--nf-border-subtle);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  min-width: 280px;
  padding: 8px 0;
  list-style: none;
  margin: 8px 0 0 0;
  display: none;
  z-index: 1040;
}

.nf_nav_alpine > li:hover .nf_dropdown_alpine {
  display: block;
}

.nf_dropdown_alpine li a {
  display: block;
  padding: 9px 18px;
  color: var(--nf-text-dark);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nf_dropdown_alpine li a:hover {
  background-color: #ecfdf5;
  color: var(--nf-pine-deep);
  padding-left: 22px;
}

/* Mobile Toggle */
.btn_nf_mobile {
  background-color: var(--nf-pine-base);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.nf_mobile_drawer {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--nf-border-subtle);
  padding: 16px;
  margin-top: 12px;
}

.nf_mobile_drawer.show {
  display: block;
}

.nf_mobile_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nf_mobile_list li a {
  display: block;
  padding: 10px 0;
  font-weight: 700;
  color: var(--nf-slate-dark);
  border-bottom: 1px solid #f1f5f9;
}

.nf_mobile_sublist {
  list-style: none;
  padding-left: 16px;
  margin: 4px 0 10px 0;
}

.nf_mobile_sublist li a {
  font-weight: 500;
  font-size: 0.9rem;
  color: #1a2721;
  border-bottom: none;
  padding: 6px 0;
}

/* 3. Hero Section (Panoramic Mountain Dispatch) */
.nf_hero_alpine {
  position: relative;
  background: linear-gradient(rgba(7, 31, 20, 0.78), rgba(15, 23, 42, 0.85)), url('../images/nf_hero_mountain.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 80px 0 70px 0;
  border-bottom: 4px solid var(--nf-ochre-gold);
}

.nf_hero_kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.nf_hero_h1 {
  font-family: var(--nf-font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nf_hero_lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 30px;
}

.nf_hero_badges_strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.nf_hero_badge {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #f1f5f9;
}

.nf_hero_badge strong {
  color: var(--nf-glacier-light);
}

/* 4. Alpine Stats Bar */
.nf_stats_alpine {
  background-color: #ffffff;
  border-bottom: 1px solid var(--nf-border-subtle);
  padding: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.nf_stat_box {
  border-right: 1px solid var(--nf-border-subtle);
  padding: 10px 20px;
}

.nf_stat_val {
  font-family: var(--nf-font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--nf-pine-deep);
  line-height: 1.1;
}

.nf_stat_lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2721;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 5. Elevation Profile Widget */
.nf_elevation_card {
  background-color: #ffffff;
  border: 1px solid var(--nf-border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.nf_elevation_img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--nf-border-subtle);
}

.nf_elevation_body {
  padding: 24px;
}

/* 6. Expedition Route Cards */
.nf_route_card {
  background-color: #ffffff;
  border: 1px solid var(--nf-border-subtle);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nf_route_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 39, 24, 0.1);
}

.nf_route_img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nf_route_body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.nf_route_specs_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  margin: 14px 0;
  font-size: 0.88rem;
}

.nf_spec_item span {
  display: block;
  font-size: 0.85rem;
  color: #1a2721;
  text-transform: uppercase;
}

.nf_spec_item strong {
  color: var(--nf-pine-deep);
}

.nf_diff_badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nf_diff_alta {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

.nf_diff_media {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.nf_diff_tecnica {
  background-color: #e0e7ff;
  color: #3730a3;
  border: 1px solid #818cf8;
}

/* 7. Day-by-Day Timeline */
.nf_timeline {
  position: relative;
  border-left: 3px solid var(--nf-pine-light);
  margin-left: 20px;
  padding-left: 24px;
}

.nf_timeline_item {
  position: relative;
  margin-bottom: 28px;
}

.nf_timeline_dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--nf-ochre-gold);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--nf-pine-light);
}

.nf_timeline_card {
  background-color: #ffffff;
  border: 1px solid var(--nf-border-subtle);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 8. Interactive Altitude Acclimatization Calculator */
.nf_calc_container {
  background-color: #ffffff;
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 56, 38, 0.08);
}

.nf_result_panel {
  background: linear-gradient(135deg, #071f14, #0f3826);
  color: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin-top: 24px;
  display: none;
}

.nf_result_price {
  font-family: var(--nf-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #38bdf8;
}

/* 9. Alpine Footer */
.nf_footer_alpine {
  background-color: var(--nf-pine-deep);
  color: #f1f5f9;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--nf-pine-light);
  font-size: 0.92rem;
}

.nf_footer_alpine h4 {
  font-family: var(--nf-font-heading);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--nf-ochre-gold);
  padding-bottom: 8px;
  display: inline-block;
}

.nf_footer_alpine ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nf_footer_alpine ul li {
  margin-bottom: 8px;
}

.nf_footer_alpine ul li a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nf_footer_alpine ul li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.nf_legal_badge_alpine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0f172a;
  border: 1px solid #334155;
  padding: 6px 12px;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
}

.nf_legal_badge_alpine:hover {
  background-color: #1e293b;
  border-color: #38bdf8;
  color: #ffffff;
}

.nf_legal_badge_alpine img {
  width: 20px;
  height: 20px;
}

.nf_footer_bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.88rem;
  color: #64748b;
}

/* Breadcrumbs */
.nf_breadcrumb {
  font-size: 0.85rem;
  color: #1a2721;
  font-weight: 600;
}

.nf_breadcrumb a {
  color: var(--nf-pine-light);
}

@media (max-width: 991px) {
  .nf_hero_h1 {
    font-size: 2.1rem;
  }
  .nf_stat_box {
    border-right: none;
    border-bottom: 1px solid var(--nf-border-subtle);
    margin-bottom: 12px;
  }
}


/* ==========================================================================
   MOBILE RESPONSIVE & TOUCH ADAPTATION (nowfollowers.com)
   ========================================================================== */

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.nf_weather_bar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
  .btn_nf_mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
  }

  .nf_mobile_drawer {
    max-height: 75vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nf_mobile_list > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-size: 15px;
  }

  .nf_mobile_sublist > li > a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  h1, .display-5 {
    font-size: 1.72rem !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }

  h2, .display-6 {
    font-size: 1.42rem !important;
    line-height: 1.3 !important;
    word-break: break-word;
  }

  h3, .h3 {
    font-size: 1.25rem !important;
  }

  h4, .h4 {
    font-size: 1.12rem !important;
  }

  body, p {
    font-size: 15.5px !important;
    line-height: 1.68 !important;
  }

  .lead {
    font-size: 1.05rem !important;
  }

  .form-control, .form-select {
    min-height: 46px !important;
    font-size: 16px !important;
    padding: 10px 14px !important;
  }

  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14.5px;
  }

  section.py-5 {
    padding: 38px 0 !important;
  }

  .d-flex.gap-3.flex-wrap {
    flex-direction: column !important;
    width: 100% !important;
  }

  .d-flex.gap-3.flex-wrap .btn {
    width: 100% !important;
    margin-bottom: 8px;
  }

  .nf_weather_bar {
    padding: 8px 0;
    font-size: 12.5px;
  }

  .nf_weather_bar .container > div {
    flex-direction: column !important;
    text-align: center;
    gap: 8px !important;
  }

  .nf_brand_alpine {
    padding: 4px 0 !important;
  }

  .nf_brand_title {
    font-size: 1.15rem !important;
  }

  .nf_brand_sub {
    font-size: 0.72rem !important;
  }

  .nf_brand_icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.2rem !important;
  }

  .card, .nf_route_card {
    padding: 18px !important;
    margin-bottom: 16px;
  }

  .nf_footer {
    padding: 45px 0 25px !important;
  }

  .nf_footer_bottom {
    margin-top: 30px !important;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  h1, .display-5 {
    font-size: 1.52rem !important;
  }

  h2, .display-6 {
    font-size: 1.28rem !important;
  }

  .col-6 {
    width: 100% !important;
  }

  .nf_legal_badge {
    width: 100%;
    justify-content: center;
  }
}
