/* Vision Creations — Listeo-inspired clean directory look
   White spacious BG + red accent #F91942 + Poppins */
:root {
  --navy: #222222;
  --navy-deep: #111111;
  --navy-soft: #333333;
  --accent: #F91942;
  --accent-bright: #FF2D55;
  --accent-soft: rgba(249, 25, 66, 0.10);
  --highlight: #F91942;
  --highlight-soft: #FFE8EE;
  --canvas: #FCFCFC;
  --stone: #F5F5F7;
  --charcoal: #222222;
  --muted: #707070;
  --line: rgba(34, 34, 34, 0.08);
  --white: #FFFFFF;
  --shadow: 0 10px 40px rgba(34, 34, 34, 0.08);
  --radius: 999px;
  --radius-sm: 16px;
  --header-h: 78px;
  --max: 1200px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --logo-navy: #222222;
  --drawer-w: min(100vw - 2.5rem, 360px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
body.menu-open,
body.mnav-open { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
iframe { width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0; }
p { margin: 0 0 1em; color: var(--muted); }
.container {
  width: min(100% - 2rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--white); }
.section--alt { background: var(--canvas); }
.section > .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.section--navy {
  background:
    radial-gradient(circle at 85% 20%, rgba(42, 74, 122, 0.22), transparent 35%),
    linear-gradient(145deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.22s ease;
  text-align: center;
}
.btn--primary,
.btn--gold {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
  border-radius: 999px;
}
.btn--primary:hover,
.btn--gold:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--call {
  background: var(--navy);
  color: var(--white);
}
.btn--call:hover { background: var(--navy-soft); }
.btn--wa {
  background: var(--navy-soft);
  color: var(--white);
}
.btn--wa:hover { background: var(--navy); }
.btn--soft {
  background: rgba(11, 28, 63, 0.08);
  color: var(--navy);
  border-color: transparent;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header > .container {
  width: min(100% - 2rem, 1280px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  z-index: 3;
  margin-right: 0.35rem;
  max-width: none;
  text-decoration: none;
  position: relative;
  background: transparent;
}
.logo img {
  display: block;
  height: 50px;
  width: auto;
  max-width: min(200px, 44vw);
  object-fit: contain;
  background: transparent;
  filter: none;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-desktop {
  display: flex;
  flex: 0 1 auto;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  min-width: 0;
  overflow: visible;
  margin-left: 1.25rem;
  margin-right: 0;
}
.nav-item { position: relative; flex: 0 0 auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.18s ease;
}
.nav-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.nav-chevron {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.55;
  transition: transform 0.18s ease;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link--home {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-link--home {
  margin-right: 0.45rem;
}
.nav-link--home svg { color: var(--accent); }
.dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(34, 34, 34, 0.12);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
  z-index: 40;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.75rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 12px;
}
.dropdown a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  margin-left: 0;
  z-index: 2;
}
.header-actions .btn--header {
  white-space: nowrap;
  padding: 0.7rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
/* Solid icon buttons — Call & WhatsApp */
.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #F4F4F6;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.18s ease;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.06);
}
.header-link__icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  color: inherit;
  flex: 0 0 auto;
}
.header-link__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.header-link__text {
  display: none;
}
.header-link--call {
  background: #222222;
  color: #fff;
}
.header-link--call:hover {
  background: var(--accent);
  color: #fff;
}
.header-link--wa {
  background: #25D366;
  color: #fff;
}
.header-link--wa:hover {
  background: #1ebe57;
  color: #fff;
}
.header-link:hover {
  transform: translateY(-1px);
}
.header-util { display: none; }
.header-contacts { display: none; }

.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: 0.18s ease;
}
.header-menu-btn__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.header-menu-btn__icon svg {
  width: 22px;
  height: 22px;
}
.header-menu-btn__label { display: none; }
.header-menu-btn:hover,
.header-menu-btn[aria-expanded="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
}
.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}
.header-icon-btn svg {
  width: 20px;
  height: 20px;
}
.header-icon-btn:hover,
.header-icon-btn:active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.header-icon-btn--wa {
  background: #E8F7EE;
  border-color: rgba(18, 140, 70, 0.22);
  color: #128C46;
}
.header-icon-btn--wa:hover,
.header-icon-btn--wa:active {
  background: #128C46;
  border-color: #128C46;
  color: var(--white);
}

/* Blinkit-style mobile bottom nav */
.mnav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1200;
  pointer-events: none;
}
.mnav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.22s ease;
  z-index: 1190;
}
.mnav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.mnav-sheet {
  pointer-events: auto;
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: calc(72px + env(safe-area-inset-bottom));
  max-height: min(68vh, 480px);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(34, 34, 34, 0.18);
  border: 1px solid var(--line);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mnav-sheet.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mnav-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #E6E6E8;
  margin: 0.65rem auto 0.1rem;
}
.mnav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.mnav-sheet__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.mnav-sheet__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.mnav-sheet__links {
  overflow: auto;
  padding: 0.75rem 0.85rem 1rem;
  display: grid;
  gap: 0.3rem;
  -webkit-overflow-scrolling: touch;
}
.mnav-group {
  margin: 0.55rem 0.35rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mnav-sheet__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--canvas);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}
.mnav-sheet__links a::after {
  content: "›";
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 500;
}
.mnav-sheet__links a.mnav-cta {
  margin-top: 0.45rem;
  background: var(--accent);
  color: #fff;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(249, 25, 66, 0.25);
}
.mnav-sheet__links a.mnav-cta::after { display: none; }
.mnav-sheet__links a:active,
.mnav-sheet__links a:hover {
  background: var(--accent-soft);
}
.mnav-bar {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(34, 34, 34, 0.08);
  padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
}
.mnav-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 56px;
  padding: 0.25rem 0.1rem;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  border-radius: 14px;
  transition: color 0.18s ease, background 0.18s ease;
}
.mnav-item__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.mnav-item__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.mnav-item__label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
}
.mnav-item.is-active,
.mnav-item[aria-expanded="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}
.mnav-item.is-active .mnav-item__icon,
.mnav-item[aria-expanded="true"] .mnav-item__icon {
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.45) 55%, rgba(249,25,66,0.25) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: end;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.1rem;
}
.hero .brand-mark,
.page-hero .brand-mark {
  color: var(--accent-bright);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede {
  max-width: 48ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.84);
  margin-bottom: 1.75rem;
}
.lead-card {
  background: var(--white);
  color: var(--charcoal);
  padding: 1.55rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}
.lead-card h3 { margin-bottom: 0.35rem; }
.lead-card p { font-size: 0.95rem; margin-bottom: 1rem; }
.form-grid { display: grid; gap: 0.75rem; }
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.trust-bar {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid rgba(42, 74, 122, 0.28);
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
}
.trust-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.35rem 0.75rem;
  border-left: 3px solid var(--accent-bright);
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #A8B8D4;
}
.trust-item span { font-size: 0.88rem; color: rgba(255,255,255,0.72); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  padding: 1.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: 0.25s ease;
}
.feature:hover {
  border-color: rgba(11, 28, 63, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1rem;
  border-radius: 8px;
}
.service-switch {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-tabs { display: grid; background: var(--canvas); }
.service-tab {
  padding: 1.4rem 1.25rem;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
}
.service-tab.is-active {
  background: var(--white);
  color: var(--navy);
  border-left-color: var(--accent);
}
.service-panel { display: none; padding: 2rem; }
.service-panel.is-active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.panel-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-sm);
  background: #163056;
  overflow: hidden;
}
.panel-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11,28,63,0.4), rgba(11,28,63,0.18));
}

.calc {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.calc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calc-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.calc-field input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-result {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  border-radius: var(--radius-sm);
}
.pkg-page {
  padding: 2.5rem 0 4.5rem;
  background: linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 28%);
}
.pkg-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.35rem;
}
.pkg-filter-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}
.pkg-filter-bar__left h2 { margin: 0; }
.pkg-service-toggle,
.pkg-page-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.pkg-service-option {
  cursor: pointer;
}
.pkg-service-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pkg-service-option__ui {
  display: grid;
  gap: 0.1rem;
  min-width: 150px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pkg-service-option__ui strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--navy);
}
.pkg-service-option__ui small {
  color: var(--muted);
  font-size: 0.78rem;
}
.pkg-service-option input:checked + .pkg-service-option__ui {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 28, 63, 0.08);
}
.pkg-cro-callout {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: 1.4rem 1.5rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 27, 94, 0.12), transparent 45%),
    linear-gradient(120deg, #EEF2F8, #F7F9FC 55%, #FFFFFF);
  border: 1px solid rgba(0, 27, 94, 0.14);
}
.pkg-cro-callout__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.pkg-cro-callout h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.pkg-cro-callout p { margin: 0; }
.pkg-cro-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0, 27, 94, 0.22);
}
.btn--sm {
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
}

/* Collapsing package tabs */
.pkg-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid rgba(0, 27, 94, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 27, 94, 0.08);
}
.pkg-tabs__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pkg-tabs__label span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.pkg-tabs__label small {
  color: var(--muted);
  font-size: 0.75rem;
}
.pkg-tabs__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.pkg-tab {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.4rem;
  align-items: center;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 27, 94, 0.12);
  background: #F3F6FA;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.pkg-tab__name {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}
.pkg-tab .pkg-price {
  grid-column: 1;
  font-size: 0.74rem;
}
.pkg-tab__chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.1rem;
  height: 1.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.55;
  transition: transform 0.2s ease;
  justify-self: end;
}
.pkg-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 27, 94, 0.18);
}
.pkg-tab.is-active .pkg-price { color: rgba(255, 255, 255, 0.82); }
.pkg-tab.is-active .pkg-tab__chevron {
  opacity: 0.9;
  transform: rotate(225deg) translate(1px, 1px);
}
.pkg-tabs__panels {
  margin-top: 0.65rem;
}
.pkg-tab-panel {
  display: none;
  grid-template-columns: 1.4fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #F5F8FC, #FFFFFF);
  border: 1px solid rgba(0, 27, 94, 0.1);
}
.pkg-tab-panel.is-open {
  display: grid;
}
.pkg-tab-panel[hidden] { display: none !important; }
.pkg-tab-panel.is-open[hidden] { display: grid !important; }
.pkg-tab-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.pkg-tab-panel p { margin: 0; }
.pkg-tab-panel__rate { margin-top: 0.55rem !important; font-weight: 700; color: var(--navy); }
.pkg-tab-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.pkg-panel__intro {
  margin: 0 0 1rem;
  max-width: 70ch;
}
.pkg-wallets {
  margin: 2.75rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.pkg-wallets__head { max-width: 70ch; margin-bottom: 1.35rem; }
.pkg-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pkg-wallet-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.3rem;
}
.pkg-wallet-card h3 { margin-bottom: 0.45rem; }
.pkg-wallet-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.pkg-wallet-card li { margin-bottom: 0.3rem; }

.pkg-guide { margin-top: 2.75rem; }
.pkg-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.15rem;
}
.pkg-guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pkg-guide-card {
  background: var(--white);
  border: 1px solid rgba(0, 27, 94, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.3rem;
}
.pkg-guide-card--tier {
  background: linear-gradient(180deg, #F5F8FC 0%, #FFFFFF 45%);
  border-color: rgba(0, 27, 94, 0.16);
}
.pkg-guide-card__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.pkg-guide-card__rate {
  margin: 0 0 0.75rem !important;
  font-weight: 700;
  color: var(--navy);
}
.pkg-guide-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.pkg-guide-card li { margin-bottom: 0.35rem; }
.pkg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}
.pkg-chip-row a {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 27, 94, 0.14);
  background: #F3F6FA;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
}
.pkg-chip-row a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@media (max-width: 900px) {
  .pkg-cro-callout,
  .pkg-tab-panel.is-open,
  .pkg-wallet-grid,
  .pkg-guide-grid,
  .pkg-guide-grid--3 {
    grid-template-columns: 1fr;
  }
  .pkg-tabs__list { grid-template-columns: 1fr; }
  .pkg-cro-callout__actions,
  .pkg-tab-panel__actions { justify-content: flex-start; }
}

.compare-packages {
  --pkg-check: var(--navy);
  --pkg-line: #E2E8F0;
  --pkg-head: #F0F3F8;
  --pkg-diff: #E8EEF8;
  margin: 0;
}
.compare-packages td[data-pkg].is-col-active,
.compare-packages th[data-pkg].is-col-active {
  background: #F0F4FA;
  box-shadow: inset 0 0 0 1px rgba(0, 27, 94, 0.12);
  z-index: 1;
}
.compare-table thead th[data-pkg].is-col-active {
  background: #E4EAF5;
  color: var(--navy);
  z-index: 4;
}
.compare-packages__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.compare-packages__title-row h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.compare-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--pkg-line);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--charcoal);
}
.compare-location__value::after {
  content: "▾";
  margin-left: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.compare-packages__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.1rem;
}
.compare-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}
.compare-type__label {
  font-weight: 700;
  color: var(--charcoal);
}
.compare-type__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.compare-type__option input {
  accent-color: var(--pkg-check);
  width: 1rem;
  height: 1rem;
}
.compare-price-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--pkg-line);
  border-radius: 12px;
  background: var(--white);
  isolation: isolate;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 820px;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  border: none;
  border-bottom: 1px solid var(--pkg-line);
  vertical-align: middle;
  padding: 0.95rem 1rem;
  text-align: left;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.compare-table thead th {
  background: var(--pkg-head);
  font-weight: 700;
  color: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 var(--pkg-line);
}
.compare-table thead th .pkg-col-name {
  display: block;
  font-size: 1.05rem;
  margin: 0;
}
.compare-table__toggle,
.pkg-row__label {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  background: var(--white);
  box-shadow: 4px 0 10px rgba(0, 27, 94, 0.06);
}
.compare-table thead th.compare-table__toggle {
  z-index: 6;
  background: var(--pkg-head);
}
.pkg-col-head {
  width: calc((100% - 260px) / 3);
}
.pkg-price {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
body.prices-unlocked .pkg-price__locked { display: none; }
body.prices-unlocked .pkg-price__open {
  display: inline;
  color: var(--navy);
}
.pkg-price__open[hidden] { display: none !important; }
body.prices-unlocked .pkg-price__open[hidden] { display: inline !important; }
.compare-table__toggle {
  font-weight: 600;
}
.pkg-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.pkg-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pkg-toggle__ui {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #D0D5DD;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.pkg-toggle__ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}
.pkg-toggle input:checked + .pkg-toggle__ui {
  background: var(--navy);
}
.pkg-toggle input:checked + .pkg-toggle__ui::after {
  transform: translateX(18px);
}
.pkg-section th {
  background: var(--white);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 1.35rem;
  padding-bottom: 0.65rem;
  font-weight: 800;
}
.pkg-row__label {
  font-weight: 600;
  color: var(--charcoal);
}
.pkg-row__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  position: relative;
  z-index: 2;
}
.pkg-row__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #EEF1F5;
  color: #667085;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
  z-index: 2;
}
.pkg-row__text {
  display: grid;
  gap: 0.15rem;
}
.pkg-row__text strong {
  font-size: 0.95rem;
}
.pkg-row__text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.pkg-cell {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.35;
}
.pkg-check {
  display: inline-block;
  color: var(--pkg-check);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.pkg-check::before {
  content: "\2713"; /* checkmark — CSS escape avoids UTF-8 mojibake on IIS */
}
.compare-packages.is-luxury-homes [data-pkg="standard"] {
  display: none;
}
.compare-packages.highlight-diff .pkg-row.is-same {
  opacity: 0.38;
}
.compare-packages.highlight-diff .pkg-row:not(.is-same) .pkg-cell.is-diff {
  background: var(--pkg-diff);
}
.compare-footnote {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  font-style: italic;
  color: var(--muted);
}
@media (max-width: 720px) {
  .compare-packages__controls { align-items: flex-start; }
  .compare-table__toggle { min-width: 180px; }
}

.price-unlock-panel {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
}
.price-unlock-panel h3 { margin-top: 0; }
.price-note {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.price-locked-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: rgba(11, 28, 63, 0.04);
  color: var(--muted);
}
.form-success {
  margin: 0.35rem 0 0;
  color: var(--navy);
  font-weight: 600;
}
.calc-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #A8B8D4;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.folio-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.folio-card__media {
  position: absolute;
  inset: 0;
  background: var(--navy);
  overflow: hidden;
}
.folio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.folio-card:hover .folio-card__media img { transform: scale(1.05); }
.folio-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,19,37,0.88));
}
.folio-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
}
.folio-card__body span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A8B8D4;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.folio-card__body h3 { color: var(--white); margin: 0; font-size: 1.15rem; }
.folio-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.folio-card__cta {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: #D6E0F0;
}
.hub-switch { margin: 0 0 1.25rem; }
.portfolio-grid--hubs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .portfolio-grid--hubs { grid-template-columns: 1fr; }
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--navy);
}
.filter-btn.is-active, .filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.page-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 400px);
  padding: 4.25rem 0 3.5rem;
  background: var(--canvas);
  color: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249, 25, 66, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(252,252,252,0.55), rgba(252,252,252,0.92));
}
.page-hero__spectrum {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 1;
  background: var(--accent);
}
.page-hero__inner,
.page-hero > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
}
.page-hero h1 {
  color: var(--navy);
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-hero .brand-mark {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.page-hero__lede,
.page-hero p { color: var(--muted); max-width: 58ch; font-size: 1.02rem; }
.page-hero .breadcrumbs { color: var(--muted); }
.page-hero .breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}
.breadcrumbs a:hover { color: var(--accent); }
.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 3.5rem 0 5rem;
  width: min(100% - 2rem, var(--max));
  max-width: 100%;
  min-width: 0;
}
.seo-layout > * {
  min-width: 0;
  max-width: 100%;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 100%;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.05);
}
.seo-layout > article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.04);
}
.content-block {
  background: transparent;
}
.toc h4 {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.toc a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.toc a:hover { color: var(--accent); }
.content-block + .content-block { margin-top: 3rem; }
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}
.bullet-list li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.5rem;
  background: var(--canvas);
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  max-width: 100%;
  min-width: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrap > table,
.compare-table-wrap > table,
.pbi-table-wrap > table {
  min-width: 640px;
}
th, td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
}
th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
tr:nth-child(even) td { background: var(--canvas); }

.faq details {
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 0.65rem;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--accent); }
.faq details p { padding-bottom: 1rem; }

.cta-banner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 22px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(249, 25, 66, 0.25);
}
.cta-banner h3 { color: var(--white); margin: 0 0 0.35rem; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.88); }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 4.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { display: block; padding: 0.28rem 0; color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--accent-bright); }
.footer-brand {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(320px, 100%);
  padding: 0.85rem 1.15rem;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  color: inherit;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(280px, 72vw);
  object-fit: contain;
  margin: 0;
  background: transparent;
  filter: none;
}

/* Image-only zoom gallery */
.zoom-gallery__lead {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.zoom-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.zoom-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--stone);
  aspect-ratio: 4 / 3;
}
.zoom-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.zoom-gallery__item:hover img { transform: scale(1.04); }
.zoom-gallery__hint {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0.92;
}
.zoom-gallery__hint svg { width: 18px; height: 18px; }

.zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(8, 10, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.zoom-lightbox.is-open { display: flex; }
.zoom-lightbox__stage {
  position: relative;
  width: min(96vw, 1100px);
  height: min(82vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.zoom-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.zoom-lightbox__toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.zoom-lightbox__btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.zoom-lightbox__btn:hover { background: var(--accent); }
.zoom-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}
.zoom-lightbox__prev { left: 1rem; }
.zoom-lightbox__next { right: 1rem; }
.zoom-lightbox__nav:hover { background: var(--accent); }
.zoom-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .zoom-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .zoom-gallery { grid-template-columns: 1fr; }
  .zoom-lightbox__nav { width: 40px; height: 40px; }
}
.footer-brand p { color: rgba(255,255,255,0.72); margin: 0; }
.footer-contact {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.footer-contact a { display: inline; color: #A8B8D4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.quote {
  font-size: 1.22rem;
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.45;
  max-width: 48ch;
}
.process { counter-reset: step; display: grid; gap: 1rem; }
.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
}
.dummy-note {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.25rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.contact-map {
  border: 0;
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius-sm);
  background: var(--stone);
}

/* Collapse before logo + nav + actions collide */
@media (max-width: 1320px) {
  .nav-desktop { display: none; }
  .header-actions .btn--header,
  .header-actions .header-link { display: none; }
  .header-contacts { display: none; }
  .header-menu-btn { display: inline-flex; }
  .header-mobile-actions { display: none !important; }
  .header-main { justify-content: flex-end; }
  .header-actions { margin-left: auto; }
  .hero__content,
  .service-switch,
  .service-panel.is-active,
  .seo-layout,
  .cta-banner,
  .footer-grid,
  .grid-2, .grid-3, .grid-4,
  .portfolio-grid,
  .trust-bar__inner,
  .calc-steps,
  .pbi-gate-card,
  .pbi-grid-2,
  .est-split { grid-template-columns: minmax(0, 1fr); }
  .seo-layout {
    gap: 1.25rem;
    padding: 2rem 0 3.5rem;
  }
  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
  }
  .toc h4 {
    width: 100%;
    margin-bottom: 0.35rem;
  }
  .toc a {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .mnav { display: block; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .page-hero { padding: 3.5rem 0 2.5rem; }
  .page-hero h1 { max-width: none; font-size: clamp(1.65rem, 7vw, 2.35rem); }
  .page-hero p { max-width: none; }
  .feature-visual,
  .feature-visual img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .pkg-page,
  .pkg-filter-bar,
  .pkg-tabs,
  .pkg-panel,
  .compare-table-wrap,
  .pbi-page,
  .pbi-dashboard,
  .section,
  .site-footer,
  .page-hero,
  .hero { max-width: 100%; overflow-x: clip; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__content { padding: 3.25rem 0 2.25rem; }
  .section { padding: 2.75rem 0; }
  .container,
  .seo-layout {
    width: min(100% - 1.5rem, var(--max));
  }
  .logo img {
    height: 44px;
    max-width: min(200px, 52vw);
  }
  .site-header { height: 72px; }
  :root { --header-h: 72px; }
  .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn-row .btn,
  .cta-banner .btn { width: 100%; }
  .mnav-item__label { font-size: 0.54rem; }
  .header-inner { gap: 0.5rem; }
  .breadcrumbs { font-size: 0.8rem; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.35rem, 6vw, 1.85rem); }
  .process-step { grid-template-columns: 44px 1fr; gap: 0.75rem; padding: 1rem; }
  .footer-logo {
    max-width: min(300px, 100%);
    padding: 0.75rem 1rem;
  }
  .footer-logo img {
    height: 64px;
    max-width: min(260px, 78vw);
  }
  .footer-bottom { flex-direction: column; }
  .pkg-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .form-grid.calc,
  .lead-form.form-grid { grid-template-columns: 1fr; }
}

/* —— Power BI–style cost calculator —— */
.pbi-page { background: #EEF1F6; }
.pbi-gate-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 27, 94, 0.1);
  box-shadow: 0 12px 32px rgba(0, 27, 94, 0.08);
  margin-bottom: 1.25rem;
}
.pbi-gate-card h2 { margin-bottom: 0.5rem; }
.pbi-locked-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 27, 94, 0.08);
  background: #fff;
  min-height: 220px;
  margin-bottom: 1.5rem;
}
.pbi-locked-preview__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(238, 241, 246, 0.72);
  backdrop-filter: blur(3px);
  color: var(--navy);
  font-weight: 600;
}
.pbi-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding: 1.25rem;
}
.pbi-skel-card,
.pbi-skel-wide {
  border-radius: 10px;
  background: linear-gradient(90deg, #E4E9F2, #F5F7FB, #E4E9F2);
  background-size: 200% 100%;
  min-height: 88px;
}
.pbi-skel-wide { grid-column: 1 / -1; min-height: 140px; }

.pbi-dashboard { display: grid; gap: 1rem; }
.pbi-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 27, 94, 0.1);
  box-shadow: 0 8px 22px rgba(0, 27, 94, 0.06);
}
.pbi-toolbar h2 { margin: 0; font-size: 1.35rem; }
.pbi-toolbar__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pbi-slicers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.pbi-slicer {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 27, 94, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pbi-slicer select,
.pbi-slicer input {
  border: 1px solid rgba(0, 27, 94, 0.14);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
}
.pbi-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; }
.pbi-seg--4 { grid-template-columns: repeat(4, 1fr); }
.pbi-slicer--seg .pbi-seg:has([data-unit]) { grid-template-columns: 1fr 1fr; }

.est-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0.85rem;
  align-items: stretch;
}
.est-summary {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 14px 34px rgba(11, 28, 63, 0.22);
}
.est-summary__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.est-summary__total {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.est-summary__meta {
  margin: 0.55rem 0 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.est-pkg-cards {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.est-pkg-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.est-pkg-card__name {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.est-pkg-card__rate {
  grid-column: 1;
  font-size: 0.8rem;
  color: var(--muted);
}
.est-pkg-card__total {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}
.est-pkg-card.is-active {
  border-color: #7EA2E0;
  box-shadow: 0 0 0 3px rgba(126, 162, 224, 0.25);
}
.est-note {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1.45;
}
.est-note strong { color: #fff; }
.est-stages {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 27, 94, 0.1);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 8px 22px rgba(0, 27, 94, 0.05);
}
.est-stages__head h3 { margin: 0 0 0.25rem; }
.est-stages__head p { margin: 0 0 1.1rem; font-size: 0.9rem; }
.est-stages__list { display: grid; gap: 0.85rem; }
.est-stage-row__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.est-stage-row__top strong {
  color: var(--navy);
  white-space: nowrap;
}
.est-stage-row__track {
  height: 10px;
  border-radius: 999px;
  background: #E8EEF6;
  overflow: hidden;
}
.est-stage-row__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.pbi-seg__btn {
  border: 1px solid rgba(0, 27, 94, 0.14);
  background: #F3F6FA;
  color: var(--navy);
  border-radius: 7px;
  padding: 0.45rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.pbi-seg__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pbi-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.pbi-kpi {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 27, 94, 0.1);
  box-shadow: 0 8px 20px rgba(0, 27, 94, 0.05);
}
.pbi-kpi span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.pbi-kpi strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
}
.pbi-kpi--accent {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-color: transparent;
}
.pbi-kpi--accent span { color: rgba(255, 255, 255, 0.72); }
.pbi-kpi--accent strong { color: #fff; }

.pbi-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.85rem;
}
.pbi-card {
  background: #fff;
  border: 1px solid rgba(0, 27, 94, 0.1);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 27, 94, 0.05);
}
.pbi-card__head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.pbi-card__head p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.pbi-donut-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: center;
}
#pbi-donut { width: 220px; height: 220px; }
.pbi-donut-label {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
}
.pbi-donut-value {
  fill: var(--navy);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
}
.pbi-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  max-height: 260px;
  overflow: auto;
}
.pbi-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--charcoal);
}
.pbi-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.pbi-timeline { display: grid; gap: 0.55rem; }
.pbi-timeline__row {
  display: grid;
  grid-template-columns: 150px 1fr 140px;
  gap: 0.55rem;
  align-items: center;
}
.pbi-timeline__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
}
.pbi-timeline__track {
  position: relative;
  height: 18px;
  border-radius: 4px;
  background: #EEF2F8;
  overflow: hidden;
}
.pbi-timeline__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  opacity: 0.92;
}
.pbi-timeline__meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.pbi-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
}
.pbi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.pbi-table th,
.pbi-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid #E6EAF2;
  text-align: left;
  vertical-align: middle;
  font-size: 0.9rem;
}
.pbi-table thead th {
  background: #F0F3F8;
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pbi-table tfoot td {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.pbi-res-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.35rem;
  border-radius: 6px;
  background: #EEF2F8;
  color: var(--navy);
  font-size: 0.7rem;
}
.pbi-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.pbi-grade {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--charcoal);
  cursor: pointer;
}
.pbi-grade input { accent-color: var(--navy); }

@media print {
  .site-header, .site-footer, .mnav, .mnav-backdrop, .pbi-gate-card, .pbi-locked-preview, .pbi-toolbar__actions, #faqs {
    display: none !important;
  }
  .pbi-dashboard { display: grid !important; }
  .pbi-page { background: #fff; }
}

@media (max-width: 1100px) {
  .pbi-slicers,
  .pbi-kpi-row,
  .pbi-grid-2,
  .pbi-donut-wrap,
  .pbi-gate-card,
  .est-split { grid-template-columns: 1fr; }
  .pbi-timeline__row { grid-template-columns: 1fr; }
  .pbi-timeline__label { text-align: left; }
}
@media (max-width: 900px) {
  .pbi-skeleton { grid-template-columns: 1fr; }
}
