/* =========================================================
   Voltris Booking — Global Styles
   Dark theme inspired by VoltrisAI brand
   ========================================================= */

:root {
  /* Core palette — matched to voltrisai.com */
  --bg-900: #040406;        /* near-black base */
  --bg-800: #08080e;        /* section base */
  --bg-700: #0b0c13;        /* raised panels */
  --bg-600: #101119;        /* cards */
  --navy-glow: #0e2036;     /* radial glow */
  --navy-glow-2: #123047;

  /* Accent (electric sky-blue from VoltrisAI) */
  --accent: #3db8f5;
  --accent-bright: #5cc4f7;
  --accent-soft: #bae6fd;    /* icy sky — hero headline */
  --accent-pale: #dbeafe;

  /* Text */
  --text: #ffffff;
  --text-muted: #9da3af;
  --text-dim: #6b7280;

  /* Lines / surfaces (neutral hairlines) */
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);

  /* Light-on-dark utility */
  --panel-light: #0e1526;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --header-h: 74px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-glow: 0 0 60px rgba(61, 184, 245, 0.25);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(61, 184, 245, 0.07);
  border: 1px solid rgba(61, 184, 245, 0.20);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
/* Hero eyebrow stays plain, letterspaced — like the voltrisai hero */
.hero .eyebrow {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  letter-spacing: 3.5px;
  font-size: 13px;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

h1, h2, h3, h4 { line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }

p { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; }

.text-accent { color: var(--accent-bright); }
.text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #040406;
  box-shadow: 0 10px 22px rgba(61, 184, 245, 0.20);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-bright); box-shadow: 0 14px 30px rgba(61, 184, 245, 0.36); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(4, 4, 6, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-bright), #0a5fb8);
  display: grid; place-items: center;
  font-size: 1rem; color: #fff; font-weight: 900;
  box-shadow: 0 0 18px rgba(61,184,245,.5);
}
.brand .b-accent { color: var(--accent-bright); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > li > a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 270px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 9px;
  font-size: 0.92rem; color: var(--text-muted);
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: rgba(61,184,245,.1); color: var(--text); }
.dropdown a .ico { width: 18px; display:inline-flex; align-items:center; justify-content:center; color: var(--accent-soft); }
.dropdown a .ico svg { width: 17px; height: 17px; }
.dropdown .disabled {
  color: var(--text-dim); cursor: default;
  display: flex; align-items: center; justify-content: space-between;
}
.dropdown .disabled:hover { background: transparent; color: var(--text-dim); }
.dropdown .disabled .tag {
  font-size: .62rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent-soft); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 999px;
}
.dropdown .divider { height:1px; background: var(--border-soft); margin: 8px 4px; }
.dropdown .group-label {
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-dim); padding: 8px 12px 4px; font-weight: 600;
}

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* CTA block injected into the mobile menu (hidden on desktop) */
.nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(48% 55% at 50% 44%, rgba(16,74,120,.42) 0%, rgba(4,4,6,0) 72%),
    radial-gradient(38% 42% at 13% 20%, rgba(61,184,245,.10) 0%, rgba(4,4,6,0) 70%),
    radial-gradient(42% 46% at 87% 84%, rgba(18,58,96,.30) 0%, rgba(4,4,6,0) 70%);
  z-index: 0;
}
/* Particle orb canvas (voltrisai-style flock) */
.hero-particles {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(940px, 98vw); height: min(940px, 98vw);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 26px; color: var(--accent-soft); }
.hero .lead { margin: 0 auto 40px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Typing caret on the hero headline */
.type-cursor {
  display: inline-block; width: 5px; height: 0.82em;
  background: var(--accent); border-radius: 2px;
  margin-left: 6px; vertical-align: baseline; transform: translateY(0.06em);
  box-shadow: 0 0 14px rgba(61,184,245,.6);
  animation: caret 1.06s steps(1) infinite;
}
@keyframes caret { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 90px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(55% 70% at 70% 10%, rgba(16,74,120,.5) 0%, rgba(4,4,6,0) 70%);
  z-index:0;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .85rem; color: var(--text-dim); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb span { color: var(--text-muted); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.split.reverse > :first-child { order: 2; }

/* ---------- Cards / Grids ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(61,184,245,.30);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
}
.card .ico-box {
  width: 52px; height: 52px; border-radius: 13px;
  background: rgba(61,184,245,.12);
  border: 1px solid rgba(61,184,245,.25);
  display: grid; place-items: center;
  margin-bottom: 18px; color: var(--accent-bright);
}
.card .ico-box svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }

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

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; }

/* Feature list (two-col with icons) */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; }
.feature {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
}
.feature .fico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(61,184,245,.12); border:1px solid rgba(61,184,245,.22);
  display:grid; place-items:center; color: var(--accent-bright);
}
.feature .fico svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { font-size: .92rem; }

/* checklist */
.checklist { display: grid; gap: 14px; margin: 26px 0; }
.checklist li { display: flex; gap: 12px; color: var(--text); align-items:flex-start; }
.checklist li .ck {
  flex: 0 0 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: rgba(61,184,245,.15);
  display:grid; place-items:center; color: var(--accent-bright);
}
.checklist li .ck svg { width: 13px; height: 13px; }

/* ---------- Booking widget mock ---------- */
.booking-mock {
  background: #fff; color: #0e1730;
  border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow-card);
  max-width: 380px; margin: 0 auto;
}
.booking-mock .bm-date { text-align:center; font-size:.72rem; letter-spacing:1px; color:#6b7280; text-transform:uppercase; }
.booking-mock .bm-titlewrap { text-align:center; }
.booking-mock .bm-title { text-align:center; font-weight:900; font-size:1.5rem; border-bottom:3px solid #0e1730; display:inline-block; margin: 4px auto 18px; padding-bottom:2px; }
.booking-mock label { display:block; font-size:.66rem; letter-spacing:.5px; text-transform:uppercase; color:#374151; font-weight:700; margin:14px 0 6px; }
.booking-mock .bm-field {
  border:1px solid #d1d5db; border-radius:8px; padding:11px 12px;
  font-size:.85rem; color:#9ca3af; display:flex; justify-content:space-between; align-items:center;
}
.booking-mock .bm-field > span { display:inline-flex; align-items:center; color:#6b7280; flex-shrink:0; margin-left:10px; }
.booking-mock .bm-field svg { width:15px; height:15px; }
.booking-mock .bm-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.booking-mock .bm-pay {
  margin-top:20px; width:100%; text-align:center;
  background: linear-gradient(180deg,#2bd4c4,#16b8a8); color:#04241f;
  font-weight:800; padding:13px; border-radius:8px; letter-spacing:1px; font-size:.9rem;
}

/* ---------- Manager dashboard mock (back-office view) ---------- */
.manager-mock {
  background: linear-gradient(180deg, #0e1526, #0a0d17);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 20px 20px 18px; box-shadow: var(--shadow-card);
  max-width: 440px; margin: 0 auto;
}
.mm-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mm-title { font-weight:700; font-size:1.06rem; color:var(--text); letter-spacing:-.01em; }
.mm-toggle { display:inline-flex; background:rgba(255,255,255,.05); border:1px solid var(--border); border-radius:999px; padding:3px; font-size:.68rem; flex-shrink:0; }
.mm-toggle span { padding:4px 11px; border-radius:999px; color:var(--text-dim); font-weight:600; }
.mm-toggle span.on { background:var(--accent); color:#04121f; }
.mm-sub { color:var(--text-dim); font-size:.82rem; margin:4px 0 14px; }
.mm-row { display:grid; grid-template-columns:52px 1fr auto; gap:12px; align-items:center; padding:10px 0; border-top:1px solid var(--border-soft); }
.mm-when { font-size:.7rem; line-height:1.3; }
.mm-when b { display:block; color:var(--text); font-size:.78rem; }
.mm-when span { color:var(--text-dim); }
.mm-who { color:var(--text-muted); font-size:.85rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mm-who b { color:var(--text); font-weight:600; }
.mm-pill { font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; padding:4px 9px; border-radius:999px; border:1px solid transparent; white-space:nowrap; }
.mm-pill.ok { color:#34d399; background:rgba(52,211,153,.10); border-color:rgba(52,211,153,.32); }
.mm-pill.book { color:var(--accent-soft); background:rgba(61,184,245,.10); border-color:rgba(61,184,245,.32); }
.mm-pill.cancel { color:var(--text-dim); background:rgba(255,255,255,.04); border-color:var(--border); }
.mm-foot { display:flex; align-items:center; gap:10px; margin-top:14px; padding-top:14px; border-top:1px solid var(--border-soft); color:var(--text-dim); font-size:.78rem; }
.mm-avatars { display:inline-flex; }
.mm-avatars i { width:24px; height:24px; border-radius:50%; border:2px solid #0a0d17; margin-left:-9px; display:inline-block; background:linear-gradient(135deg, var(--accent-bright), #0a5fb8); }
.mm-avatars i:first-child { margin-left:0; }

/* "also serving" industry line */
.also-serving { text-align:center; margin-top:34px; color:var(--text-dim); font-size:.92rem; }
.also-serving a { color:var(--text-muted); }
.also-serving a:hover { color:var(--accent-soft); }

/* ---------- Pay-as-you-go rate band ---------- */
.rate-band {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.rate-figure {
  background: linear-gradient(155deg, var(--accent-bright), #0a5fb8);
  color: #041524; padding: 52px 36px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.rate-num { font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #041524; }
.rate-plus { font-size: 1.4rem; font-weight: 800; margin-top: 12px; color: #062033; }
.rate-plus span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 9px; color: rgba(4,18,31,.72); }
.rate-cta { margin-top: 26px; background: #04121f; color: #fff; }
.rate-cta:hover { background: #0a1a2c; transform: translateY(-2px); }
.rate-foot { color: rgba(4,18,31,.66); font-size: .78rem; margin-top: 16px; }
.rate-copy {
  padding: 46px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
@media (max-width: 820px) {
  .rate-band { grid-template-columns: 1fr; }
  .rate-figure { padding: 44px 26px; }
  .rate-copy { padding: 32px 26px; }
}

/* ---------- Logo strip ---------- */
.logo-strip { display:flex; align-items:center; justify-content:center; gap:60px; flex-wrap:wrap; }
.logo-strip .logo-item { font-size:2rem; font-weight:900; color: var(--text-muted); opacity:.85; letter-spacing:-1px; }
.logo-strip .logo-item:hover { color:#fff; opacity:1; }

/* ---------- Steps ---------- */
.steps { display:grid; gap:28px; }
.step { display:grid; grid-template-columns: 54px 1fr; gap:18px; align-items:start; }
.step .num {
  width:54px; height:54px; border-radius:14px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color:#02101f; font-weight:900; font-size:1.3rem; display:grid; place-items:center;
  box-shadow: 0 8px 20px rgba(61,184,245,.35);
}
.step h4 { font-size:1.15rem; margin-bottom:6px; }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; align-items:stretch; }
.price-card {
  background: linear-gradient(180deg, var(--bg-600), var(--bg-700));
  border:1px solid var(--border); border-radius:20px; padding:34px 30px;
  display:flex; flex-direction:column;
}
.price-card.featured {
  border-color: rgba(61,184,245,.5);
  box-shadow: var(--shadow-glow);
  position:relative;
}
.price-card.featured::before {
  content:"Most Popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color:#02101f; font-size:.7rem; font-weight:800; letter-spacing:1px; text-transform:uppercase;
  padding:5px 16px; border-radius:999px;
}
.price-card .plan-name { font-size:1.1rem; font-weight:700; color: var(--accent-soft); }
.price-card .price { font-size:3rem; font-weight:900; margin:10px 0 2px; letter-spacing:-.03em; }
.price-card .price span { font-size:1rem; color: var(--text-dim); font-weight:500; }
.price-card .plan-desc { font-size:.92rem; margin-bottom:22px; }
.price-card .checklist { flex:1; }
.price-card .btn { width:100%; justify-content:center; margin-top: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(16,74,120,.6) 0%, rgba(8,8,14,0) 70%),
    var(--bg-800);
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
  text-align:center;
}
.cta-band h2 { margin-bottom:16px; }
.cta-band .hero-actions { margin-top:30px; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat .num { font-size:2.6rem; font-weight:900; color: var(--accent-bright); letter-spacing:-.03em; }
.stat .lbl { color: var(--text-muted); font-size:.92rem; }

/* ---------- Forms ---------- */
.form-card {
  background: linear-gradient(180deg, var(--bg-600), var(--bg-700));
  border:1px solid var(--border); border-radius:20px; padding:36px;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { margin-bottom:18px; }
.field label { display:block; font-size:.85rem; font-weight:600; margin-bottom:8px; color: var(--text); }
.field input, .field select, .field textarea {
  width:100%; background: var(--bg-900); border:1px solid var(--border);
  border-radius:10px; padding:13px 14px; color:#fff; font-family:inherit; font-size:.95rem;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,184,245,.15);
}
.field textarea { min-height:120px; resize:vertical; }
.form-note { font-size:.85rem; color: var(--text-dim); margin-top:14px; }
.form-status { margin-top:16px; font-size:.92rem; min-height:22px; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-800);
  border-top: 1px solid var(--border-soft);
  padding: 70px 0 36px;
}
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap:40px; }
.footer-grid h5 { font-size:.8rem; text-transform:uppercase; letter-spacing:1.5px; color: var(--text-dim); margin-bottom:16px; font-weight:700; }
.footer-grid a { display:block; color: var(--text-muted); font-size:.93rem; padding:5px 0; }
.footer-grid a:hover { color: var(--accent-soft); }
.footer-about p { font-size:.93rem; margin-top:14px; max-width:300px; }
.footer-bottom {
  margin-top:50px; padding-top:26px; border-top:1px solid var(--border-soft);
  display:flex; justify-content:space-between; align-items:center; gap:16px 24px; flex-wrap:wrap;
  color: var(--text-dim); font-size:.86rem;
}
.powered-by {
  display:inline-flex; align-items:center; gap:8px;
  color: var(--text-dim); font-size:.86rem; line-height:1; white-space:nowrap;
  transition: color .15s ease;
}
.powered-by img { height:22px; width:auto; display:block; opacity:.82; transition:opacity .15s ease; }
.powered-by:hover { color: var(--text-muted); }
.powered-by:hover img { opacity:1; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:24px}.mt-3{margin-top:40px}
.mb-2{margin-bottom:24px}
.center{text-align:center}
.muted{color:var(--text-muted)}
.divider-soft{height:1px;background:var(--border-soft);}

/* =========================================================
   Responsive — tablet & mobile
   Nav collapses at 960px to match main.js (max-width: 960px).
   ========================================================= */

/* ---------- Tablet & collapsed nav (≤960px) ---------- */
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .section--tight { padding: 52px 0; }
  .hero { padding: 104px 0 84px; }
  .page-hero { padding: 72px 0 52px; }

  /* Layouts keep two columns on tablets instead of collapsing flat */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > :first-child { order: 0; }

  /* ----- Nav → hamburger ----- */
  .nav-links,
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px; border-radius: 10px;
  }
  .nav-toggle:active { background: rgba(255, 255, 255, 0.12); }

  /* Lock the page behind the open menu (app-like) */
  body.menu-open { overflow: hidden; }

  body.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--bg-800);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 8px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 99;
    animation: menuIn .22s ease;
  }
  body.menu-open .nav-links > li:not(.nav-cta) { width: 100%; border-bottom: 1px solid var(--border-soft); }
  body.menu-open .nav-links > li:not(.nav-cta):last-of-type { border-bottom: 0; }
  body.menu-open .nav-links > li:not(.nav-cta) > a {
    width: 100%; padding: 15px 4px; font-size: 1.02rem; color: var(--text);
    justify-content: space-between;
  }

  /* CTA buttons at the foot of the open menu */
  body.menu-open .nav-links .nav-cta {
    display: flex; flex-direction: column; gap: 10px;
    width: 100%; padding: 18px 0 4px;
  }
  body.menu-open .nav-links .nav-cta .btn { width: 100%; justify-content: center; }

  /* Industries submenu → smooth accordion (collapsed until tapped).
     Scoped under .has-dropdown so it outranks the desktop
     :hover / :focus-within centering transform (specificity 0,3,1 > 0,3,0). */
  body.menu-open .has-dropdown .dropdown {
    position: static; left: auto; transform: none; min-width: auto; width: 100%;
    opacity: 1; visibility: visible; box-shadow: none;
    background: transparent; border: 0; padding: 0; margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  body.menu-open .has-dropdown.open .dropdown { max-height: 720px; padding: 2px 0 12px; }
  body.menu-open .has-dropdown > a svg { transition: transform .25s ease; }
  body.menu-open .has-dropdown.open > a svg { transform: rotate(180deg); }
  body.menu-open .has-dropdown .dropdown a,
  body.menu-open .has-dropdown .dropdown .disabled { padding: 12px 10px; font-size: .98rem; border-radius: 10px; }
  body.menu-open .has-dropdown .dropdown .group-label { padding: 10px 10px 4px; }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Phone (≤600px) ---------- */
@media (max-width: 600px) {
  /* On phones the top bar is brand + hamburger only; the CTA moves into the menu */
  .nav-actions .btn-primary { display: none; }

  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .hero { padding: 80px 0 60px; }
  .page-hero { padding: 56px 0 40px; }

  h1 { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  h2 { font-size: clamp(1.7rem, 6.5vw, 2.25rem); }
  .lead { font-size: 1.04rem; }
  .eyebrow { font-size: 12px; letter-spacing: 2.5px; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .feature-list { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat .num { font-size: 2.1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .card { padding: 24px; }
  .form-card { padding: 24px; }
  .booking-mock { padding: 22px; }
  .logo-strip { gap: 34px; }

  /* App-like full-width primary actions on small screens */
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Small phone (≤380px) ---------- */
@media (max-width: 380px) {
  .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .brand { font-size: 1.18rem; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
}


/* ===== Features mega dropdown ===== */
.dropdown.mega { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; align-content: start; padding: 12px; }
.dropdown.mega .mega-col { min-width: 0; }
.dropdown.mega .group-label { padding-top: 6px; }
@media (max-width: 960px) {
  body.menu-open .has-dropdown .dropdown.mega { grid-template-columns: 1fr; min-width: auto; padding: 0; gap: 0; }
}
