/* ==========================================================================
   BookOurJourney - one design system for the whole site
   ========================================================================== */
:root {
  --primary: #5b4bff;
  --primary-600: #4a3aec;
  --primary-050: #efedff;
  --cyan: #12c2d6;
  --coral: #ff7a59;
  --coral-050: #fff0eb;
  --green: #16a34a;
  --green-050: #e8f8ee;
  --amber: #f59e0b;
  --amber-050: #fff6e0;
  --red: #e5484d;
  --red-050: #fdecec;
  --ink: #0e1330;
  --ink-2: #2a3155;
  --muted: #646d8c;
  --line: #e7e9f4;
  --bg: #f6f7fd;
  --card: #ffffff;
  --dark: #0b1026;
  --grad: linear-gradient(135deg, #5b4bff 0%, #8a4bff 45%, #12c2d6 100%);
  --grad-warm: linear-gradient(135deg, #ff7a59 0%, #ff4f8b 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(18, 22, 60, .06);
  --shadow: 0 12px 34px rgba(18, 22, 60, .09);
  --shadow-lg: 0 24px 60px rgba(18, 22, 60, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@view-transition { navigation: auto; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--primary); color: #fff; }

/* ---------- Loader & progress ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--dark); display: grid; place-items: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-orbit { position: relative; width: 96px; height: 96px; }
.loader-orbit::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .18);
}
.loader-orbit .plane {
  position: absolute; inset: 0; animation: orbit 1.4s linear infinite; color: #fff; font-size: 26px;
}
.loader-orbit .plane i { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(90deg); }
.loader-orbit .globe {
  position: absolute; inset: 22px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 40px rgba(91, 75, 255, .6); animation: pulse 1.4s ease-in-out infinite;
}
.loader-text { color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 22px; text-align: center; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.9); opacity: .8; } }

.top-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 10000; background: var(--grad);
  box-shadow: 0 0 12px rgba(91, 75, 255, .7); transition: width .3s var(--ease), opacity .3s;
}
.top-progress.is-active { animation: progress 8s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes progress { 0% { width: 0; } 20% { width: 45%; } 60% { width: 80%; } 100% { width: 94%; } }

.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; animation: orbit .7s linear infinite; vertical-align: -3px;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font: 600 .95rem/1.2 var(--font); border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  position: relative; white-space: nowrap; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: 0 10px 24px rgba(91, 75, 255, .35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(91, 75, 255, .45); background-position: 100% 50%; }
.btn-coral { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 24px rgba(255, 90, 100, .3); }
.btn-coral:hover { color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-danger { background: var(--red-050); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { color: #fff; filter: brightness(1.08); }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 12px; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid #fff; border-right-color: transparent; animation: orbit .7s linear infinite;
}
.btn-light.is-loading::after, .btn-ghost.is-loading::after, .btn-danger.is-loading::after { border-color: var(--primary); border-right-color: transparent; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s var(--ease);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header.is-solid, .site-header.is-light {
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header.is-solid .brand, .site-header.is-light .brand { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .93rem; padding: .5rem .9rem; border-radius: 999px; position: relative;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.site-header.is-solid .nav a, .site-header.is-light .nav a { color: var(--ink-2); }
.site-header.is-solid .nav a:hover, .site-header.is-solid .nav a.active,
.site-header.is-light .nav a:hover, .site-header.is-light .nav a.active { color: var(--primary); background: var(--primary-050); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 14px; font-size: 1.4rem; cursor: pointer; }
.site-header.is-solid .menu-toggle, .site-header.is-light .menu-toggle { background: var(--primary-050); color: var(--primary); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1000; background: rgba(11, 16, 38, .5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; padding: 22px;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.is-open .panel { transform: none; }
.mobile-menu .panel a.link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; color: var(--ink); font-weight: 600; }
.mobile-menu .panel a.link i { color: var(--primary); font-size: 1.15rem; }
.mobile-menu .panel a.link:hover, .mobile-menu .panel a.link.active { background: var(--primary-050); }
.mobile-menu .close { align-self: flex-end; background: var(--bg); border: 0; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; cursor: pointer; }

/* App-style bottom navigation on phones */
.bottom-nav {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 6px; justify-content: space-around; border: 1px solid var(--line);
  padding-bottom: calc(6px + env(safe-area-inset-bottom) / 2);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--muted); padding: 7px 0; border-radius: 16px; }
.bottom-nav a i { font-size: 1.25rem; }
.bottom-nav a.active { color: var(--primary); background: var(--primary-050); }
.bottom-nav a.book { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(91, 75, 255, .35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #3b2fd6 0%, transparent 60%), radial-gradient(900px 600px at -10% 110%, #0e8fa5 0%, transparent 55%), var(--dark);
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: float 14s ease-in-out infinite; }
.hero .blob.b1 { width: 380px; height: 380px; background: #5b4bff; top: -80px; right: 10%; }
.hero .blob.b2 { width: 300px; height: 300px; background: #12c2d6; bottom: -60px; left: -40px; animation-delay: -5s; }
.hero .blob.b3 { width: 220px; height: 220px; background: #ff7a59; top: 40%; right: -60px; opacity: .35; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.08); } 66% { transform: translate(-20px, 20px) scale(.95); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .gradient-text { background: linear-gradient(90deg, #a79bff, #5fe3f0, #ffb199); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; margin-bottom: 20px; backdrop-filter: blur(8px);
}
.eyebrow b { background: var(--grad-warm); padding: 3px 10px; border-radius: 999px; font-size: .72rem; }
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 14/11; box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .15); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease);
}
.hero-visual:hover .frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: .85rem; animation: bob 5s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); font-size: 1.1rem; }
.float-card strong { display: block; font-size: .95rem; }
.float-card.fc1 { left: -30px; bottom: 40px; }
.float-card.fc2 { right: -20px; top: 30px; animation-delay: -2.5s; }
.float-card.fc2 .ic { background: var(--grad-warm); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-plane { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-plane path { stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

/* Quick booking widget */
.search-card {
  margin-top: 34px; background: rgba(255, 255, 255, .97); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px; color: var(--ink);
}
.search-card .sf { padding: 8px 12px; border-radius: 16px; transition: background .2s; }
.search-card .sf:hover, .search-card .sf:focus-within { background: var(--bg); }
.search-card label { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.search-card label i { color: var(--primary); }
.search-card input, .search-card select { width: 100%; border: 0; background: transparent; font: 600 .95rem var(--font); color: var(--ink); padding: 4px 0; outline: none; }
.search-card .btn { height: 100%; min-height: 56px; border-radius: 18px; }
.trip-tabs { display: flex; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.trip-tabs button {
  border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  font: 600 .85rem var(--font); display: inline-flex; gap: 6px; align-items: center; transition: .25s;
}
.trip-tabs button.active { background: #fff; color: var(--primary); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 42px; flex-wrap: wrap; }
.section-head .kicker, .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }
.section-soft { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Page header for inner pages */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 64px) 0 72px;
  background: radial-gradient(800px 400px at 90% 0%, #3b2fd6 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #0e8fa5 0%, transparent 60%), var(--dark);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 640px; font-size: 1.05rem; }
.page-hero .blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(70px); background: #5b4bff; opacity: .45; right: -60px; top: -60px; animation: float 14s ease-in-out infinite; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; }
.page-hero-art { border-radius: 28px; overflow: hidden; aspect-ratio: 5/4; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs i { font-size: .7rem; align-self: center; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.card-body { padding: 24px; }
.card-hover { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.media { position: relative; overflow: hidden; background: linear-gradient(110deg, #eceefa 8%, #f7f8fd 18%, #eceefa 33%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.media.is-loaded { animation: none; background: #eceefa; }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 1s var(--ease); }
.media.is-loaded img { opacity: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }

.dest-card { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.dest-card .media { position: absolute; inset: 0; }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 10, 30, .85) 100%); z-index: 1; }
.dest-card:hover .media img { transform: scale(1.08); }
.dest-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.dest-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.35rem; }
.dest-card p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.dest-card .pill { position: absolute; top: 16px; left: 16px; z-index: 2; }
.dest-card .go {
  position: absolute; right: 18px; bottom: 22px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary);
  display: grid; place-items: center; transform: translateY(12px) scale(.8); opacity: 0; transition: .45s var(--ease);
}
.dest-card:hover .go { transform: none; opacity: 1; }
.dest-card.wide { aspect-ratio: auto; grid-row: span 2; }

.pkg-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.pkg-card .media { aspect-ratio: 4/3; }
.pkg-card:hover .media img { transform: scale(1.06); }
.pkg-card .badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.pkg-card .card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.pkg-card h3 { margin: 0; font-size: 1.12rem; }
.pkg-card h3 a { color: var(--ink); }
.pkg-card h3 a:hover { color: var(--primary); }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--muted); }
.pkg-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pkg-meta i { color: var(--primary); }
.pkg-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); }
.price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.price del { color: var(--muted); font-size: .85rem; margin-left: 6px; }

.pill, .badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px);
}
.pill.glass { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.pill.hot { background: var(--grad-warm); color: #fff; }
.badge { background: var(--primary-050); color: var(--primary); }
.badge.pending { background: var(--amber-050); color: #b86e00; }
.badge.confirmed { background: #e6f4ff; color: #1570c9; }
.badge.assigned { background: var(--primary-050); color: var(--primary); }
.badge.ongoing { background: #e0fbfd; color: #0a8594; }
.badge.completed { background: var(--green-050); color: var(--green); }
.badge.cancelled { background: var(--red-050); color: var(--red); }
.badge.gray { background: #eef0f6; color: var(--muted); }
.rating { color: #f5a524; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }

/* Features */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .45s var(--ease); position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); margin-bottom: 18px; box-shadow: 0 10px 22px rgba(91, 75, 255, .3); transition: transform .5s var(--ease); }
.feature:hover .ic { transform: rotate(-8deg) scale(1.08); }
.feature.warm .ic { background: var(--grad-warm); box-shadow: 0 10px 22px rgba(255, 90, 100, .3); }
.feature p { color: var(--muted); margin: 0; font-size: .94rem; }

.service-card { overflow: hidden; }
.service-card .media { aspect-ratio: 9/7; }
.service-card:hover .media img { transform: scale(1.06); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); background: linear-gradient(90deg, #a79bff, #5fe3f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .25; position: absolute; right: 22px; top: 18px;
}

/* Testimonials */
.t-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 min(380px, 85%); scroll-snap-align: start; padding: 28px; }
.t-card blockquote { margin: 14px 0 20px; font-size: 1rem; color: var(--ink-2); }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex-shrink: 0; }
.slider-nav { display: flex; gap: 8px; }

/* CTA */
.cta {
  position: relative; border-radius: 32px; overflow: hidden; padding: 64px; color: #fff; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.cta .bg { position: absolute; inset: 0; z-index: -2; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 14, 80, .92) 0%, rgba(60, 40, 200, .7) 55%, rgba(18, 194, 214, .35) 100%); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; font: 500 .95rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem;
  outline: none; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23646d8c' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field textarea.code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .84rem; min-height: 150px; background: #0f1330; color: #d8ddff; border-color: #0f1330; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 75, 255, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.error { color: var(--red); font-size: .8rem; font-weight: 600; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input, .input-icon select { padding-left: 42px !important; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: #d7dbea; position: relative; transition: .25s; flex-shrink: 0; }
.switch .track::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); }
.hp { position: absolute !important; left: -9999px !important; }

.choice-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border: 1.5px solid var(--line); border-radius: 16px;
  font-weight: 600; font-size: .85rem; text-align: center; cursor: pointer; transition: .25s var(--ease); background: #fff;
}
.choice span i { font-size: 1.5rem; color: var(--muted); transition: .25s; }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-050); color: var(--primary); box-shadow: 0 8px 20px rgba(91, 75, 255, .15); }
.choice input:checked + span i { color: var(--primary); transform: scale(1.1); }
.choice input:focus-visible + span { outline: 3px solid rgba(91,75,255,.3); }

.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--bg); color: var(--primary); font-size: 1.2rem; cursor: pointer; transition: .2s; }
.stepper button:hover { background: var(--primary-050); }
.stepper input { flex: 1; border: 0 !important; text-align: center; font-weight: 700 !important; box-shadow: none !important; min-width: 0; }

/* Alerts & toasts */
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 500; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--green-050); color: #11703a; }
.alert-error { background: var(--red-050); color: #b3262b; }
.alert-info { background: var(--primary-050); color: var(--primary-600); }
.alert-warning { background: var(--amber-050); color: #8a5300; }
.toasts { position: fixed; top: 86px; right: 20px; z-index: 9500; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); min-width: 280px; max-width: 420px;
  border-left: 4px solid var(--green); animation: toastIn .5s var(--ease); font-weight: 500; font-size: .92rem;
}
.toast.error { border-left-color: var(--red); }
.toast i { font-size: 1.3rem; color: var(--green); }
.toast.error i { color: var(--red); }
.toast.hide { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ---------- Package detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.sticky { position: sticky; top: 90px; }
.gallery-main { border-radius: 28px; overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check li i { color: var(--green); margin-top: 3px; }
.list-check.no li i { color: var(--red); }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0; transition: box-shadow .3s; }
.timeline details[open] { box-shadow: var(--shadow); }
.timeline summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; gap: 14px; align-items: center; font-weight: 700; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary .day { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .72rem; line-height: 1.1; text-align: center; }
.timeline summary .day b { font-size: 1.1rem; display: block; }
.timeline summary::after { content: "\F282"; font-family: bootstrap-icons; margin-left: auto; transition: transform .3s; color: var(--muted); }
.timeline details[open] summary::after { transform: rotate(180deg); }
.timeline details p { padding: 0 20px 18px 88px; margin: 0; color: var(--muted); }
.highlight-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.chip i { color: var(--coral); }
.chips-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-filter a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .86rem; transition: .25s; }
.chips-filter a.active, .chips-filter a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Status timeline (tracking) */
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 24px 0; }
.track-steps .st { text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); position: relative; }
.track-steps .dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: #e8eaf4; color: #fff; position: relative; z-index: 1; transition: .4s; }
.track-steps .st::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: #e8eaf4; }
.track-steps .st:first-child::before { display: none; }
.track-steps .st.done .dot { background: var(--grad); box-shadow: 0 6px 14px rgba(91, 75, 255, .35); }
.track-steps .st.done::before { background: var(--primary); }
.track-steps .st.done { color: var(--ink); }

.info-list { display: grid; gap: 0; }
.info-list .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.info-list .row:last-child { border-bottom: 0; }
.info-list .row span:first-child { color: var(--muted); }
.info-list .row span:last-child { font-weight: 600; text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #5b4bff; filter: blur(120px); opacity: .25; top: -250px; right: -100px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: .3s; }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; position: relative; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }

.whatsapp-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 800; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 28px rgba(37, 211, 102, .45); animation: ring 3s ease-in-out infinite;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 12px 28px rgba(37, 211, 102, .45); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 28px rgba(37, 211, 102, .45); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-in > * { animation: heroIn 1s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .24s; }
.hero-in > *:nth-child(4) { animation-delay: .36s; }
.hero-in > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-art { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; isolation: isolate; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 24s ease-in-out infinite alternate; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,16,38,.1) 20%, rgba(11,16,38,.9) 100%); }
.auth-art h2 { color: #fff; }
@keyframes kenburns { to { transform: scale(1.12) translate(-2%, -2%); } }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-form .box { width: 100%; max-width: 420px; }
.auth-form .brand { color: var(--ink); margin-bottom: 36px; }
.portal-tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .78rem; background: var(--primary-050); color: var(--primary); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.portal-tag.seo { background: #e0fbfd; color: #0a8594; }
.portal-tag.admin { background: var(--coral-050); color: #d9492a; }
.portal-tag.driver { background: var(--green-050); color: var(--green); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .82rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Panel (admin / seo / driver / account) ---------- */
.panel-body { background: var(--bg); }
.app { display: grid; grid-template-columns: 270px 1fr; min-height: 100svh; }
.sidebar {
  position: sticky; top: 0; height: 100svh; background: var(--dark); color: rgba(255,255,255,.7); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; z-index: 950;
}
.sidebar .brand { color: #fff; padding: 4px 10px 22px; }
.sidebar .group-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.38); padding: 18px 12px 6px; font-weight: 700; }
.sidebar a.item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: rgba(255,255,255,.72); font-weight: 600; font-size: .92rem; transition: .25s var(--ease); position: relative; }
.sidebar a.item i { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar a.item:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar a.item.active { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(91,75,255,.35); }
.sidebar a.item .count { margin-left: auto; background: var(--coral); color: #fff; border-radius: 999px; font-size: .7rem; padding: 2px 8px; }
.sidebar .user-box { margin-top: auto; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); display: flex; align-items: center; gap: 12px; }
.sidebar .user-box small { display: block; color: rgba(255,255,255,.5); }
.sidebar .user-box strong { color: #fff; font-size: .9rem; display: block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 800; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(246,247,253,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.3rem; margin: 0; }
.topbar .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.topbar .sidebar-toggle { display: none; }
.content { padding: 28px; flex: 1; animation: heroIn .6s var(--ease) both; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-card { padding: 20px; display: flex; gap: 16px; align-items: center; }
.stat-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--grad); flex-shrink: 0; }
.stat-card .ic.warm { background: var(--grad-warm); }
.stat-card .ic.green { background: linear-gradient(135deg, #16a34a, #4ade80); }
.stat-card .ic.amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-card strong { font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: .85rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.toolbar .input, .toolbar select { max-width: 260px; padding: .6rem .9rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 700; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: #fafbff; }
.table .thumb { width: 56px; height: 42px; border-radius: 10px; object-fit: cover; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-top: 10px; }
.bar-chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar-chart .bar div { width: 100%; max-width: 34px; border-radius: 10px 10px 4px 4px; background: var(--grad); min-height: 4px; transform-origin: bottom; animation: grow 1s var(--ease) both; }
.bar-chart .bar small { font-size: .66rem; color: var(--muted); white-space: nowrap; }
.bar-chart .bar b { font-size: .72rem; }
@keyframes grow { from { transform: scaleY(0); } }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { background: none; border: 0; padding: 12px 16px; font: 600 .9rem var(--font); color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.tabs button.active, .tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; animation: heroIn .45s var(--ease); }
.tab-pane.active { display: block; }
.score { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: conic-gradient(var(--c) calc(var(--v) * 1%), #e8eaf4 0); position: relative; }
.score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.score span { position: relative; }
.serp { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; font-family: arial, sans-serif; }
.serp .u { color: #202124; font-size: .82rem; }
.serp .t { color: #1a0dab; font-size: 1.2rem; margin: 4px 0; line-height: 1.3; }
.serp .d { color: #4d5156; font-size: .88rem; line-height: 1.5; }
.counter { font-size: .75rem; color: var(--muted); float: right; }
.counter.warn { color: var(--amber); }
.counter.bad { color: var(--red); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty img { width: 220px; margin: 0 auto 16px; border-radius: 20px; }
.ill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.ill-card .media { aspect-ratio: 4/3; border-radius: 14px 14px 0 0; }
.ill-card .card-body { padding: 12px 14px; }
.ill-card.working .media::after { content: ""; position: absolute; inset: 0; background: rgba(11,16,38,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%23fff' stroke-width='4' stroke-dasharray='70 30'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center no-repeat; }
.progress { height: 10px; border-radius: 999px; background: #e8eaf4; overflow: hidden; }
.progress div { height: 100%; background: var(--grad); width: 0; transition: width .5s var(--ease); border-radius: 999px; }
.sidebar-backdrop { display: none; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--grad); color: #fff; border-color: transparent; }
.pagination .disabled { opacity: .45; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header-actions .hide-md { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 30px); }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-visual .frame { transform: none; }
  .float-card.fc1 { left: 8px; bottom: 12px; }
  .float-card.fc2 { right: 8px; top: 12px; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .btn { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { min-height: 240px; padding: 28px; }
  .page-hero-art { display: none; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .4s var(--ease); }
  .sidebar.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .sidebar-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(11,16,38,.5); z-index: 940; }
  .topbar .sidebar-toggle { display: grid; }
  .topbar { padding: 12px 16px; }
  .content { padding: 18px 16px 40px; }
}
@media (max-width: 720px) {
  body.has-bottom-nav { padding-bottom: 90px; }
  .bottom-nav { display: flex; }
  .whatsapp-fab { bottom: 96px; width: 50px; height: 50px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .choice-group { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head { margin-bottom: 28px; }
  .dest-card { border-radius: 18px; }
  .dest-card .info { padding: 14px; }
  .dest-card h3 { font-size: 1.05rem; }
  .dest-card p { display: none; }
  .search-card { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .track-steps { grid-template-columns: repeat(5, 1fr); font-size: .6rem; }
  .track-steps .st { font-size: .62rem; }
  .timeline details p { padding-left: 20px; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table.responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 7px 16px; text-align: right; }
  .table.responsive td::before { content: attr(data-label); font-weight: 700; font-size: .74rem; color: var(--muted); text-transform: uppercase; text-align: left; }
  .table.responsive td.actions { justify-content: flex-end; }
  .table.responsive td.actions::before { content: none; }
  .toasts { top: 76px; right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: none; }
  .topbar h1 { font-size: 1.05rem; }
  .topbar .actions .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
