/* TripiTrails: responsive charcoal finish */
:root { color-scheme: dark; }
html { scroll-padding-top: 100px; }
body { line-height: 1.65; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; padding-inline: clamp(16px, 4vw, 40px); }
main, section, .container, .footer-grid > *, .contact-grid > *, .planner-layout > * { min-width: 0; }
p, h1, h2, h3, a, strong, dd { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
section { padding-block: clamp(56px, 7vw, 100px); }
main > section[style*="--white"] { background: #1d2022 !important; }
.navbar, .navbar.scrolled { height: 88px; padding: 16px 0; background: #17191b; border-bottom: 1px solid #343738; }
.navbar .container { height: 100%; }
.navbar .logo { flex: 0 0 auto; display: flex; align-items: center; }
.navbar .logo img { width: 186px; height: 50px; }
.nav-links { gap: clamp(16px, 2vw, 28px); }
.nav-links a { padding-block: 10px; }
.nav-links a.active, .navbar.scrolled .nav-links a.active, .navbar.scrolled .nav-links a:hover { color: #ddc38d; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.btn { min-height: 48px; white-space: normal; text-align: center; gap: 10px; }
.btn-primary { border: 1px solid #55907f; box-shadow: 0 8px 24px #0003; }
.btn-secondary:hover { color: #17191b; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ddc38d !important; outline-offset: 4px; }
.hero { min-height: max(800px, 100svh); }
.hero-slide-content { top: 42%; max-width: 710px; }
.hero-slide-content h1, .hero-slide-content h2 { font-size: clamp(3rem, 5.8vw, 5.3rem); line-height: 1.07; }
.hero-content-fixed { bottom: 100px; }
.hero-slide-overlay { background: linear-gradient(90deg,#101619e8 0%,#10161980 65%,#10161933); }
.hero-slide-img { object-position: center; }
.hero-dots { bottom: 42px; }
.hero-dot { min-width: 24px; min-height: 24px; border: 7px solid transparent; background-clip: padding-box; }
.trust-strip-inner { border: 1px solid #3a3f40; box-shadow: 0 18px 48px #0003; }
.trust-point strong, .booking-summary strong, .ready-details dd, .timeline-day-number, .benefit-icon { color: #e1c990; }
.eyebrow, .section-label, .card-link, .timeline-activity time { color: #8bc7b4; }
.card, .feature-card, .contact-form, .planner-controls { border: 1px solid #3a3f40; background: #222527; box-shadow: 0 16px 36px #0002; }
.card { border-radius: 22px; }
.card-image { height: auto; aspect-ratio: 16 / 10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: clamp(22px, 3vw, 32px); }
.card-body h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.highlight-tag { color: #d6ddd8; border: 1px solid #444b47; background: #2a302d; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.feature-card { border-radius: 20px; }
.page-banner { min-height: 410px; padding: 145px 0 65px; }
.page-banner p { max-width: 660px; margin-inline: auto; color: #e0e4e1; }
.contact-form, .planner-controls { padding: clamp(22px, 4vw, 38px); }
.contact-form h3 { font-size: 2rem; }
.form-control, .select-control, .form-field input, .form-field textarea { min-height: 50px; border-width: 1px; border-color: #5c6461; font-size: 16px; }
.form-control::placeholder, .form-field input::placeholder, .form-field textarea::placeholder { color: #a2aaa6; }
.form-group label, .planner-field label, .planner-field legend { color: #edece7; }
.planner-field em, .form-field em { color: #ffafa3; }
.duration-option { min-height: 64px; }
.planner-progress .is-active, .planner-progress .is-complete { color: #e1c990; }
.planner-progress .is-active span, .planner-progress .is-complete span { background: #2d7465; color: white; }
.premium-itinerary { scroll-margin-top: 105px; }
.itinerary-booking { flex-wrap: wrap; }
.itinerary-booking .btn { flex-shrink: 0; }
.booking-dialog { max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
.modal-close { min-width: 44px; min-height: 44px; color: #f3f1eb; }
.booking-heading h2, .booking-ready h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.footer-grid { gap: 36px; }
.footer h2, .footer h4 { font: 700 .82rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #e1c990; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: #c3cbc6; }
.footer-brand img { max-width: 100%; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #626253; border-radius: 50%; background: #262c28; color: #ddc38d; transition: background .2s, transform .2s; }
.social-links a:hover { background: #35483f; transform: translateY(-2px); }
.social-links svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links .facebook-icon { fill: currentColor; stroke: none; }
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .navbar .logo img { width: 155px; }
  .nav-links a { font-size: .8rem; }
  .nav-cta { padding-inline: 14px; }
  .editorial-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: calc(100% + 16px); left: 0; right: 0; padding: 20px; border: 1px solid #3a3f40; border-radius: 0 0 18px 18px; background: #1d2022; box-shadow: 0 18px 32px #0006; flex-direction: column; gap: 4px; align-items: stretch; max-height: calc(100dvh - 88px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; min-height: 44px; font-size: 1rem; padding: 10px 16px; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; }
  .nav-links a::after { display: none; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-image { min-height: 420px; }
  .editorial-image img { height: 400px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .navbar, .navbar.scrolled { height: 76px; padding-block: 12px; }
  .navbar .logo img { width: 165px; height: 46px; }
  .nav-links { top: calc(100% + 12px); max-height: calc(100dvh - 76px); }
  .hero { min-height: 800px; }
  .hero-slide-content { top: 35%; left: 20px; width: calc(100% - 40px); }
  .hero-slide-content h1, .hero-slide-content h2 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .hero-content-fixed { left: 20px; width: calc(100% - 40px); bottom: 74px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { max-width: none; }
  .trust-point { padding: 22px 16px; }
  .trust-point strong { font-size: 1.1rem; }
  .promo-banner { height: 330px; }
  .page-banner { min-height: 360px; padding-top: 122px; }
  .page-banner h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .contact-grid { gap: 36px; }
  .contact-form h3 { font-size: 1.65rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links a { min-height: 44px; }
  .booking-modal { padding: 10px; }
  .booking-dialog { padding: 26px 18px; max-height: calc(100dvh - 20px); }
  .booking-summary { grid-template-columns: 1fr; }
  .booking-heading { padding-right: 36px; }
  .planner-controls h2, .itinerary-empty h2 { font-size: 1.8rem; }
  .timeline-card h3 { font-size: 1.2rem; }
  .itinerary-empty { padding: 32px 20px; min-height: 350px; }
  .premium-itinerary { min-height: 350px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
  .team-avatar { width: 90px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fade-in, .reveal-now { opacity: 1; transform: none; }
}
