/* ============================================================
   ASU Technologies — Global Stylesheet
   ============================================================ */

:root {
  --navy-900: #071A31;
  --navy-800: #0B2444;
  --navy-700: #123159;
  --navy-600: #1A4076;
  --blue-600: #1E6FE8;
  --blue-500: #2F80F5;
  --blue-400: #5B9CF8;
  --blue-100: #E8F1FE;
  --blue-50:  #F2F7FE;
  --orange-500: #F7941D;
  --orange-600: #E07E06;
  --green-600: #1F9D55;
  --green-100: #E4F6EC;
  --red-600: #D64541;
  --red-100: #FCEAEA;
  --ink: #16233A;
  --slate-700: #3D4C63;
  --slate-600: #51617A;
  --slate-400: #8B99AE;
  --line: #E3EAF3;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 31, 58, 0.10);
  --shadow-lg: 0 18px 48px rgba(10, 31, 58, 0.16);
  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { color: var(--slate-600); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 10px 18px; z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.22s ease; text-decoration: none;
  line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 6px 18px rgba(247, 148, 29, 0.35); }
.btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(30, 111, 232, 0.30); }
.btn-blue:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--blue-100); color: var(--navy-800); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #C6D4E8; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #C6D4E8; }
.topbar-item svg { width: 13px; height: 13px; fill: var(--orange-500); flex: none; }
a.topbar-item:hover { color: #fff; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(31, 157, 85, 0.18); color: #7FE0A8;
  padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.topbar-badge svg { width: 12px; height: 12px; fill: #7FE0A8; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; }
.site-footer .brand-logo {
  height: 56px; background: #fff; padding: 8px 14px; border-radius: 10px;
  box-sizing: content-box; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
@media (max-width: 480px) { .brand-logo { height: 42px; } }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.02em; box-shadow: 0 4px 12px rgba(30, 111, 232, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-head); font-size: 1.18rem; color: var(--navy-800); font-weight: 800; letter-spacing: -0.01em; }
.brand-text b span { color: var(--blue-600); }
.brand-text small { font-size: 0.68rem; color: var(--slate-400); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.93rem;
  color: var(--slate-700); padding: 9px 13px; border-radius: 9px;
  background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .nav-drop-btn:hover { color: var(--blue-600); background: var(--blue-50); }
.main-nav > a.active { color: var(--blue-600); }
.nav-drop-btn svg { width: 11px; height: 11px; fill: currentColor; transition: transform 0.2s; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-drop-btn svg,
.nav-dropdown.open .nav-drop-btn svg { transform: rotate(180deg); }
.dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--slate-700); font-size: 0.91rem; font-weight: 500;
}
.dropdown-menu a:hover { background: var(--blue-50); color: var(--blue-600); }
.dropdown-menu a.active { color: var(--blue-600); font-weight: 600; }
.dropdown-menu .ext { font-size: 0.75em; color: var(--slate-400); margin-left: 4px; }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle svg { width: 26px; height: 26px; fill: var(--navy-800); }

@media (max-width: 1120px) {
  .navbar-inner { gap: 14px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 84px 22px 30px; gap: 4px; box-shadow: var(--shadow-lg);
    transition: right 0.28s ease; overflow-y: auto; margin-left: 0; z-index: 150;
  }
  .main-nav.open { right: 0; }
  .main-nav > a, .nav-drop-btn { width: 100%; justify-content: flex-start; font-size: 1rem; padding: 12px 14px; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 14px; display: none; min-width: 0;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(7, 26, 49, 0.5); z-index: 140;
    opacity: 0; visibility: hidden; transition: opacity 0.25s;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .nav-close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; }
  .nav-close svg { width: 22px; height: 22px; fill: var(--slate-600); }
}
@media (min-width: 1121px) { .nav-overlay, .nav-close { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--navy-600) 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 88% 8%, rgba(47, 128, 245, 0.28), transparent 60%),
    radial-gradient(560px 320px at 8% 96%, rgba(247, 148, 29, 0.16), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; padding: 84px 24px 92px; }
.hero h1 { color: #fff; margin: 18px 0 20px; }
.hero h1 .accent { color: var(--orange-500); }
.hero p.lead { color: #C9D7EC; font-size: 1.13rem; max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(47, 128, 245, 0.16); border: 1px solid rgba(91, 156, 248, 0.35);
  color: #9CC1F9; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}
.hero-eyebrow svg { width: 13px; height: 13px; fill: var(--orange-500); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust .t { display: inline-flex; align-items: center; gap: 8px; color: #A8BCD8; font-size: 0.86rem; font-weight: 500; }
.hero-trust .t svg { width: 15px; height: 15px; fill: #7FE0A8; flex: none; }

.hero-panel {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.hero-panel h3 svg { width: 20px; height: 20px; fill: var(--orange-500); flex: none; }
.hero-panel > p { color: #B9CAE2; font-size: 0.92rem; margin-bottom: 18px; }
.hero-panel ul { list-style: none; display: grid; gap: 12px; }
.hero-panel li { display: flex; gap: 11px; align-items: flex-start; color: #DCE7F5; font-size: 0.95rem; }
.hero-panel li svg { width: 17px; height: 17px; fill: #7FE0A8; flex: none; margin-top: 3px; }
.hero-panel .panel-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.hero-panel .fee { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff; }
.hero-panel .fee small { display: block; font-size: 0.72rem; font-weight: 500; color: #A8BCD8; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px 66px; gap: 38px; }
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 90% 10%, rgba(47,128,245,0.25), transparent 60%);
}
.page-hero-inner { position: relative; padding: 64px 24px 66px; max-width: 820px; }
.page-hero h1 { color: #fff; margin: 16px 0 14px; }
.page-hero p { color: #C9D7EC; font-size: 1.08rem; }
.breadcrumb { font-size: 0.84rem; color: #8FA9CC; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: #B9CFEC; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy-900); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: #B9CAE2; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px;
}
.section.navy .eyebrow { color: var(--orange-500); }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.25s ease; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #CFE0F5; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 25px; height: 25px; fill: var(--blue-600); }
.card.accent .icon { background: rgba(247, 148, 29, 0.14); }
.card.accent .icon svg { fill: var(--orange-500); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.94rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--blue-600);
}
.card .card-link svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s; }
.card .card-link:hover svg { transform: translateX(4px); }
a.card { display: block; color: inherit; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 46px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip .feature-media { order: 2; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.flip .feature-media { order: 0; }
}
.feature-media {
  border-radius: 18px; min-height: 300px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-md);
}
.feature-media.orange { background: linear-gradient(140deg, #B25E00, var(--orange-500)); }
.feature-media.teal { background: linear-gradient(140deg, #0A4F4B, #17A28A); }
.feature-media.purple { background: linear-gradient(140deg, #3B2A70, #6D4FD1); }
.feature-media.blue { background: linear-gradient(140deg, var(--navy-700), var(--blue-500)); }
.feature-media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 220px at 80% 15%, rgba(255,255,255,0.18), transparent 60%);
}
.feature-media svg { width: 110px; height: 110px; fill: rgba(255, 255, 255, 0.92); position: relative; }
.feature-media .tagline {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  color: rgba(255,255,255,0.95); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.feature-body .eyebrow { margin-bottom: 8px; }
.feature-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 14px; }
.feature-body p { margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0 24px; }
.feature-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.93rem; color: var(--slate-700); font-weight: 500; }
.feature-list li svg { width: 16px; height: 16px; fill: var(--green-600); flex: none; margin-top: 4px; }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .steps, .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps, .steps.four, .steps.three { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px 24px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 0.95rem;
  color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; box-shadow: 0 4px 12px rgba(30, 111, 232, 0.3);
}
.step h3 { font-size: 1.03rem; margin-bottom: 7px; }
.step p { font-size: 0.9rem; }
.section.navy .step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.13); }
.section.navy .step h3 { color: #fff; }
.section.navy .step p { color: #AFC2DC; }
.section.navy .step::before { background: linear-gradient(135deg, var(--orange-500), #C96A00); box-shadow: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; color: var(--orange-500); line-height: 1.1; }
.stat .lbl { color: #B9CAE2; font-size: 0.9rem; margin-top: 8px; font-weight: 500; }

/* ---------- Chips / industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips.left { justify-content: flex-start; }
.chip {
  background: #fff; border: 1px solid var(--line); color: var(--slate-700);
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  padding: 10px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
}
.chip svg { width: 14px; height: 14px; fill: var(--blue-600); }
.section.navy .chip { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); color: #DCE7F5; }
.section.navy .chip svg { fill: var(--orange-500); }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid;
}
.callout svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.callout.info { background: var(--blue-50); border-color: #CFE0F5; }
.callout.info svg { fill: var(--blue-600); }
.callout.warn { background: #FFF7EA; border-color: #F5DFB8; }
.callout.warn svg { fill: var(--orange-600); }
.callout.good { background: var(--green-100); border-color: #BCE5CD; }
.callout.good svg { fill: var(--green-600); }
.callout h4 { margin-bottom: 5px; font-size: 1rem; }
.callout p { font-size: 0.93rem; margin: 0; }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.tier {
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: all 0.25s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--blue-600); box-shadow: var(--shadow-lg); }
.tier .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-600); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 1.12rem; }
.tier .tier-sub { font-size: 0.87rem; color: var(--slate-400); margin-top: 4px; }
.tier .price { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; color: var(--navy-800); margin: 18px 0 2px; }
.tier .price small { font-size: 0.85rem; color: var(--slate-400); font-weight: 500; }
.tier .per { font-size: 0.82rem; color: var(--slate-400); margin-bottom: 20px; }
.tier ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--slate-700); }
.tier li svg { width: 16px; height: 16px; fill: var(--green-600); flex: none; margin-top: 4px; }
.tier .btn { margin-top: auto; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.nice { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; background: #fff; }
table.nice th {
  background: var(--navy-800); color: #fff; text-align: left; padding: 14px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
}
table.nice td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--slate-700); vertical-align: top; }
table.nice tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--navy-800); margin-bottom: 7px; }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(30, 111, 232, 0.14);
}
.field input.invalid, .field select.invalid { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(214, 69, 65, 0.12); }
.field .err { display: none; color: var(--red-600); font-size: 0.79rem; margin-top: 5px; font-weight: 500; }
.field.show-err .err { display: block; }
.field .hint { color: var(--slate-400); font-size: 0.79rem; margin-top: 5px; }
.check-row { display: flex; gap: 11px; align-items: flex-start; font-size: 0.88rem; color: var(--slate-600); }
.check-row input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--blue-600); }

/* ---------- Checkout ---------- */
.checkout-wrap { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 40px; align-items: start; }
@media (max-width: 940px) { .checkout-wrap { grid-template-columns: 1fr; } .order-summary { position: static !important; order: -1; } }
.checkout-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm);
}
.checkout-panel + .checkout-panel { margin-top: 26px; }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.panel-title .pnum {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy-800); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.panel-title h2 { font-size: 1.22rem; margin: 0; }

.pay-methods { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pay-methods .pm-label { font-size: 0.85rem; font-weight: 600; color: var(--slate-600); }

.card-input-wrap { position: relative; }
.card-input-wrap .detected-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 26px; width: 40px; }
.card-input-wrap .detected-brand .card-badge { width: 40px; height: 26px; }

.secure-strip {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  background: var(--green-100); border: 1px solid #BCE5CD; border-radius: var(--radius-sm); padding: 14px 18px;
}
.secure-strip svg { width: 22px; height: 22px; fill: var(--green-600); flex: none; }
.secure-strip p { font-size: 0.85rem; color: #14603A; margin: 0; font-weight: 500; }

.order-summary {
  background: var(--navy-900); color: #fff; border-radius: 18px; padding: 32px; position: sticky; top: 96px;
  box-shadow: var(--shadow-lg);
}
.order-summary h2 { color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.order-summary h2 svg { width: 19px; height: 19px; fill: var(--orange-500); }
.os-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 0.93rem; color: #C9D7EC; border-bottom: 1px solid rgba(255,255,255,0.1); }
.os-row b { color: #fff; font-weight: 600; }
.os-row.total { border-bottom: none; padding-top: 18px; font-family: var(--font-head); }
.os-row.total b { font-size: 1.5rem; color: var(--orange-500); }
.os-includes { margin: 16px 0 4px; }
.os-includes p { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8FA9CC; font-weight: 700; margin-bottom: 10px; }
.os-includes ul { list-style: none; display: grid; gap: 8px; }
.os-includes li { display: flex; gap: 9px; font-size: 0.87rem; color: #C9D7EC; align-items: flex-start; }
.os-includes li svg { width: 15px; height: 15px; fill: #7FE0A8; flex: none; margin-top: 3px; }
.os-note { font-size: 0.8rem; color: #8FA9CC; margin-top: 18px; line-height: 1.55; }
.os-note a { color: #9CC1F9; }

/* ---------- Card brand badges ---------- */
.card-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-badge {
  width: 52px; height: 34px; border-radius: 6px; overflow: hidden; display: inline-block;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 3px rgba(10,31,58,0.10);
  transition: transform 0.18s, opacity 0.18s;
}
.card-badge svg { width: 100%; height: 100%; }
.card-badges.lg .card-badge { width: 62px; height: 40px; }
.card-badge.dim { opacity: 0.35; filter: grayscale(0.7); }
.card-badge.hot { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(30,111,232,0.3); border-color: var(--blue-400); opacity: 1; filter: none; }

/* ---------- Success panel ---------- */
.success-panel { text-align: center; padding: 30px 10px 10px; }
.success-panel .big-check {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.success-panel .big-check svg { width: 42px; height: 42px; fill: var(--green-600); }
.success-panel h2 { margin-bottom: 12px; }
.success-panel .ref {
  display: inline-block; font-family: var(--font-head); font-weight: 700; background: var(--bg-soft);
  border: 1px dashed var(--slate-400); padding: 10px 22px; border-radius: 10px; margin: 14px 0 20px; color: var(--navy-800);
}

/* ---------- Offices ---------- */
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.office-card .flag-emoji { font-size: 1.6rem; margin-bottom: 10px; }
.office-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.office-card .role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.office-card p { font-size: 0.9rem; margin-bottom: 6px; }
.office-card a { font-size: 0.9rem; font-weight: 500; }

/* ---------- Values ---------- */
.value-item { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.value-item:last-child { border-bottom: none; }
.value-item svg { width: 21px; height: 21px; fill: var(--orange-500); flex: none; margin-top: 4px; }
.value-item h4 { font-size: 1rem; }
.value-item p { font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-600); font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 0.94rem; color: var(--slate-600); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
  border-radius: 22px; padding: 58px 54px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 240px at 92% 0%, rgba(255,255,255,0.16), transparent 60%);
}
.cta-band h2 { color: #fff; position: relative; margin-bottom: 8px; }
.cta-band p { color: #CBDCF6; position: relative; margin: 0; max-width: 560px; }
.cta-band .cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) { .cta-band { padding: 40px 28px; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--slate-600); font-size: 0.97rem; margin-bottom: 13px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: 0.85rem; color: var(--slate-400); font-style: italic; }
.prose strong { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #A8BCD8; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr; gap: 44px;
  padding: 70px 24px 50px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text small { color: #7A90AF; }
.footer-brand p { color: #A8BCD8; font-size: 0.9rem; margin: 18px 0; max-width: 320px; }
.footer-trust-line { font-family: var(--font-head); color: var(--orange-500); font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.social-links a:hover { background: var(--blue-600); }
.social-links svg { width: 17px; height: 17px; fill: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 0.04em; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { color: #A8BCD8; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-links .ext { font-size: 0.75em; color: #6E86A8; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--orange-500); flex: none; margin-top: 4px; }
.footer-contact a { color: #A8BCD8; }
.footer-contact a:hover { color: #fff; }
.footer-accept { margin-top: 24px; }
.footer-accept .lbl { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: #7A90AF; font-weight: 700; margin-bottom: 10px; }
.footer-secure-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.8rem; color: #7FE0A8; }
.footer-secure-note svg { width: 13px; height: 13px; fill: #7FE0A8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 24px; font-size: 0.85rem; color: #7A90AF;
}
.footer-bottom-inner .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-inner .legal-links a { color: #7A90AF; }
.footer-bottom-inner .legal-links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--navy-900); height: clamp(560px, 76vh, 720px); }
.hero-slider .slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slider .slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slider .slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,49,0.93) 0%, rgba(7,26,49,0.78) 42%, rgba(7,26,49,0.35) 100%);
}
.slide-content { position: relative; z-index: 2; width: 100%; color: #fff; padding-bottom: 40px; }
.slide-content h1 { color: #fff; margin: 18px 0; max-width: 740px; }
.slide-content h1 .accent { color: var(--orange-500); }
.slide-content p.lead { color: #D6E2F2; font-size: 1.12rem; max-width: 640px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(7,26,49,0.35);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.slider-arrow:hover { background: var(--orange-500); border-color: var(--orange-500); }
.slider-arrow svg { width: 20px; height: 20px; fill: #fff; }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
.slider-dots { position: absolute; bottom: 84px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 9px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.25s;
}
.slider-dots button.active { background: var(--orange-500); width: 28px; }
@media (max-width: 760px) {
  .hero-slider { height: 640px; }
  .slider-arrow { display: none; }
  .slide-content { padding-bottom: 70px; }
  .slide-content p.lead { font-size: 1rem; }
}

/* ---------- Quick booking bar ---------- */
.booking-strip { position: relative; z-index: 6; }
.booking-bar {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 26px 30px;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 24px; align-items: center;
  margin-top: -58px;
}
.bb-item { display: flex; gap: 13px; align-items: flex-start; }
.bb-icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.bb-icon svg { width: 20px; height: 20px; fill: var(--blue-600); }
.bb-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.bb-item p { font-size: 0.82rem; margin: 0; }
.bb-cta { text-align: center; border-left: 1px solid var(--line); padding-left: 26px; }
.bb-cta .fee { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy-800); }
.bb-cta .fee small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--slate-400); margin: 4px 0 12px; }
@media (max-width: 1020px) {
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .bb-cta { grid-column: 1 / -1; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}
@media (max-width: 620px) { .booking-bar { grid-template-columns: 1fr; margin-top: -44px; padding: 22px; } }

/* ---------- Mini slider (photo card) ---------- */
.mini-slider { position: relative; overflow: hidden; border-radius: 18px; min-height: 360px; box-shadow: var(--shadow-md); background: var(--navy-800); }
.mini-slider .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease;
  background-size: cover; background-position: center;
}
.mini-slider .slide.active { opacity: 1; }
.mini-slider .slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,49,0.82), rgba(7,26,49,0.05) 55%);
}
.mini-slider .cap {
  position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.mini-slider .slider-dots { position: absolute; bottom: 22px; left: auto; right: 22px; justify-content: flex-end; }

/* ---------- Photo feature panels & page heroes ---------- */
.feature-media.has-photo { background-size: cover; background-position: center; }
.feature-media.has-photo::before { background: linear-gradient(to top, rgba(7,26,49,0.85), rgba(7,26,49,0.08) 55%); }
.page-hero.has-img { background-size: cover; background-position: center; background-color: var(--navy-900); }
.page-hero.has-img::before {
  background: linear-gradient(100deg, rgba(7,26,49,0.94) 0%, rgba(7,26,49,0.85) 45%, rgba(11,36,68,0.55) 100%);
}

/* ---------- Small-screen topbar ---------- */
@media (max-width: 860px) {
  .topbar-left .topbar-item:first-child, .topbar-right { display: none; }
  .topbar-left { justify-content: center; width: 100%; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
