/* ==========================================================================
   Unified Telecom Inc — site styles
   Palette shared with the sister site: steel blue #1c5189 / deep navy #163a6b / gold #f7c933
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #0a1e38;
  --navy-900: #0f2b4f;
  --navy-800: #163a6b;
  --navy-700: #163a6b;
  --blue-600: #1c5189;
  --blue-500: #1f63a6;
  --blue-400: #4b8bc8;
  --blue-100: #e4eef8;
  --gold-500: #f7c933;
  --gold-400: #ffd95c;
  --gold-700: #8a6d00;

  /* Surfaces & text */
  --bg: #ffffff;
  --surface: #f2f6fa;
  --surface-2: #e5edf5;
  --ink: #102640;
  --ink-2: #3a4b60;
  --ink-3: #5a6a7e;
  --line: #d5dfe9;
  --on-dark: #ffffff;
  --on-dark-2: #cfdcea;
  --success: #117a3d;
  --error: #b42318;

  /* Type */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Barlow Condensed", "Arial Narrow", sans-serif;

  /* Space (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(6 16 47 / .06), 0 2px 8px rgb(6 16 47 / .06);
  --shadow: 0 8px 30px rgb(6 16 47 / .12);
  --shadow-lg: 0 24px 60px rgb(4 10 36 / .35);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur: 240ms;

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 var(--s4); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 var(--s4); }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: .01em; text-transform: uppercase;
  border-radius: 4px; border: 2px solid transparent; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); color: var(--navy-900); }
.btn-blue { background: var(--blue-600); color: #fff; }
.btn-blue:hover { background: var(--navy-800); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; width: 100%; }
.btn-navy:hover { background: var(--navy-950); color: #fff; }
.btn-ghost { border-color: rgb(255 255 255 / .45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); color: #fff; }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: var(--blue-600); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--blue-600); color: #fff; font-size: .95rem; }
.topbar .container { display: flex; gap: var(--s5); justify-content: space-between; align-items: center; min-height: 46px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-500); }
.topbar .topbar-email .icon { color: var(--gold-500); }
@media (max-width: 767px) { .topbar .topbar-email { display: none; } .topbar .container { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgb(16 38 64 / .08);
}
.site-header .container { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
:root { --header-h: 96px; }
@media (max-width: 767px) { :root { --header-h: 80px; } }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 54px; }
.brand-full img { width: auto; height: 68px; }
@media (max-width: 767px) { .brand-full img { height: 54px; } }
.brand-word { font-family: var(--font-wordmark); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: .9; letter-spacing: .01em; }
.brand-word .w1 { color: var(--gold-500); display: block; }
.brand-word .w2 { color: #fff; display: block; }

.nav { margin-left: auto; order: 1; }
/* Header cart icon */
.header-cart { order: 2; position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: 8px; border-radius: 6px; color: var(--navy-800); border: 1.5px solid var(--line); text-decoration: none; transition: border-color var(--dur-fast), color var(--dur-fast); }
.header-cart:hover { border-color: var(--blue-600); color: var(--blue-600); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-500); color: var(--navy-900); font-size: .78rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
@media (max-width: 1199px) { .header-cart { margin-left: auto; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem;
  transition: color var(--dur-fast);
}
.nav a:hover { color: var(--blue-500); }
.nav a[aria-current="page"] { color: var(--blue-500); }
.nav .nav-cta a { background: var(--gold-500); color: var(--navy-900); margin-left: 24px; padding: 12px 28px; min-height: 50px; border-radius: 4px; font-weight: 600; text-transform: uppercase; font-size: 1rem; }
.nav .nav-cta a:hover { background: var(--gold-400); color: var(--navy-900); }
@media (min-width: 1200px) {
  .nav ul { gap: 0; }
  .nav a { padding: 8px 8px; font-size: .96rem; }
  .nav .nav-cta a { margin-left: 8px; padding: 12px 14px; font-size: .95rem; }
}
.nav .nav-cta a[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -3px 0 var(--navy-800); }

.nav-toggle {
  display: none; margin-left: 8px; order: 3; width: 48px; height: 48px; border-radius: 6px;
  background: transparent; border: 1.5px solid var(--line); color: var(--navy-800);
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgb(16 38 64 / .15);
    padding: var(--s4) 20px var(--s5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { width: 100%; padding: 12px 16px; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-500); background: var(--surface); }
  .nav .nav-cta a { margin: 12px 0 0; justify-content: center; }
}

/* ---------- Decorative ---------- */
.dots {
  position: absolute; width: 140px; height: 110px; pointer-events: none;
  background-image: radial-gradient(circle, rgb(255 255 255 / .85) 3.5px, transparent 4px);
  background-size: 28px 28px; opacity: .55;
}
.dots-gold { background-image: radial-gradient(circle, var(--gold-500) 3px, transparent 3.5px); opacity: .6; }

.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 6px solid var(--gold-500); box-shadow: var(--shadow-lg); background: var(--navy-800);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold-500); border-radius: 2px; }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .teaser .eyebrow { color: var(--gold-500); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-surface { background: var(--surface); }
.on-dark { background: var(--navy-900); color: var(--on-dark); }
.on-dark p { color: var(--on-dark-2); }
.on-dark a:not(.btn) { color: var(--gold-500); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.on-dark .lead { color: var(--on-dark-2); }

/* ---------- Hero (sister-site style: blue-tinted photo, curved bottom) ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background-color: var(--blue-600);
  /* curved bottom edge */
  border-bottom-left-radius: 50% 48px;
  border-bottom-right-radius: 50% 48px;
}
/* Background photo: a real element (not a CSS variable) so the image path resolves from the page, not from this stylesheet */
.hero-bg {
  position: absolute; inset: -12px; z-index: -2; pointer-events: none;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: blur(2px) grayscale(.4);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(24 72 124 / .93) 0%, rgb(28 81 137 / .84) 55%, rgb(28 81 137 / .78) 100%);
}
.hero { padding-block: clamp(56px, 8vw, 110px) clamp(96px, 11vw, 140px); }
.hero .container { position: relative; display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1.25fr .85fr; gap: var(--s8); } }
.hero h1 .accent { color: var(--gold-500); display: block; }
.hero .lead { color: #eaf1f8; max-width: 44ch; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s6); padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; }
.hero-badges .icon { color: var(--gold-500); }

/* "We Are Hiring" starburst (lime + fall orange) */
.hero-copy { position: relative; }
.hiring-burst {
  --burst: 150px;
  position: relative; display: grid; place-items: center; float: right;
  width: var(--burst); height: var(--burst); margin: -8px 0 12px 16px;
  text-decoration: none; color: #1f2a0a; text-align: center;
  filter: drop-shadow(0 8px 18px rgb(10 30 56 / .35));
  transform: rotate(-8deg);
  transition: transform var(--dur) var(--ease-out);
  animation: burst-pulse 2.8s var(--ease-out) infinite;
}
.hiring-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hiring-burst .burst-outer { fill: #f26b1d; }
.hiring-burst .burst-inner { fill: #a6e22e; }
.burst-text { position: relative; display: grid; gap: 2px; line-height: 1.05; padding: 0 22px; }
.burst-text strong { font-size: 1.28rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.burst-text span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #d9580f; border-radius: 999px; padding: 3px 8px; justify-self: center; white-space: nowrap; }
.hiring-burst:hover, .hiring-burst:focus-visible { transform: rotate(0deg) scale(1.08); color: #1f2a0a; animation: none; }
.hiring-burst:focus-visible { outline-offset: 6px; border-radius: 50%; }
@keyframes burst-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-4deg) scale(1.06); }
}
@media (min-width: 1024px) {
  .hiring-burst { --burst: 164px; position: absolute; float: none; top: 6px; right: -14px; margin: 0; }
  .hero .eyebrow { max-width: calc(100% - 180px); }
  .burst-text strong { font-size: 1.45rem; }
}
@media (max-width: 479px) {
  .hiring-burst { --burst: 124px; }
  .burst-text strong { font-size: 1.05rem; }
  .burst-text span { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .hiring-burst { animation: none; } }

/* "Talk to an Expert" card */
.expert-card {
  background: #fff; color: var(--ink); border-radius: 6px; border-top: 8px solid var(--gold-500);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 32px);
  box-shadow: 0 30px 60px rgb(10 30 56 / .35);
  width: 100%; max-width: 440px; justify-self: end;
}
@media (max-width: 1023px) { .expert-card { justify-self: stretch; max-width: none; } }
.expert-card h2 { text-transform: none; text-align: center; color: var(--navy-800); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; margin-bottom: var(--s5); }
.expert-card .field { margin-bottom: 14px; }
.expert-card .field input, .expert-card .field select { border-radius: 3px; background: #f7f9fb; border-color: #dfe5ec; }
.expert-card .field input::placeholder { color: var(--ink-2); opacity: 1; }
.expert-card .field select:invalid, .expert-card .field select option[value=""] { color: var(--ink-2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 45%); z-index: 2;
  width: 64px; height: 64px; border-radius: 50%; background: var(--gold-500); color: var(--navy-800);
  display: grid; place-items: center; border: 6px solid #fff; box-shadow: 0 6px 18px rgb(10 30 56 / .2);
  transition: transform var(--dur) var(--ease-out);
}
.scroll-cue:hover { transform: translate(-50%, 55%); color: var(--navy-800); }
/* keep the cue visible below the curve */
.hero { overflow: visible; }
.hero .hero-bg { inset: 0; }
.hero .hero-bg, .hero::after { border-radius: inherit; }

/* Page hero (interior pages) */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(80px, 9vw, 120px); text-align: center; }
.page-hero .container { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 20ch; }
.page-hero p { color: #eaf1f8; font-size: 1.2rem; max-width: 60ch; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .dots { display: none; }

/* ---------- Stat strip ---------- */
.stats { background: #fff; color: var(--ink); padding-top: 56px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
@media (max-width: 767px) { .stats li:nth-child(2n) { border-right: 0; } .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--blue-600); margin-bottom: 6px; }
.stats span { font-weight: 500; font-size: .98rem; color: var(--ink-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
a.card { color: inherit; text-decoration: none; }
a.card:hover, .card.is-hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--ink-2); margin-bottom: var(--s4); }
.card .card-link { margin-top: auto; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.icon-badge {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-500); color: #fff; margin-bottom: var(--s5);
  box-shadow: 0 0 0 6px var(--blue-100);
}
.icon-badge.gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 6px #fff4cc; }
.on-dark .card { background: var(--navy-800); border-color: rgb(255 255 255 / .1); color: #fff; }
.on-dark .card p { color: var(--on-dark-2); }
.on-dark .icon-badge { box-shadow: 0 0 0 6px rgb(42 68 255 / .25); }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--blue-500); margin-top: 3px; width: 20px; height: 20px; }
.on-dark .check-list .icon { color: var(--gold-500); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } .split.reverse > :first-child { order: 2; } }
.split .photo-frame { aspect-ratio: 4 / 3; }

/* ---------- Before / after ---------- */
.ba { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .ba { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.ba figure { margin: 0; position: relative; }
.ba .photo-frame { aspect-ratio: 1 / 1; }
.ba .before .photo-frame { border-color: #6b7390; }
.ba figcaption { margin-top: var(--s3); text-align: center; font-weight: 600; color: var(--on-dark-2); }
.tag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--navy-900);
}
.tag.gold { background: var(--gold-500); }
.ba-arrow { display: grid; place-items: center; color: var(--gold-500); }
@media (max-width: 767px) { .ba-arrow { transform: rotate(90deg); } }

/* ---------- Package teaser ---------- */
.teaser {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-500), var(--blue-600) 55%, var(--navy-700));
  color: #fff; padding: clamp(32px, 5vw, 64px);
  display: grid; gap: var(--s6); align-items: center;
}
@media (min-width: 960px) { .teaser { grid-template-columns: 1.2fr 1fr; } }
.teaser p { color: #dfe5ff; }
.teaser .dots { right: 20px; top: 20px; }
.teaser-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); counter-reset: step; }
.teaser-steps li {
  counter-increment: step; display: flex; align-items: center; gap: 14px;
  background: rgb(4 10 36 / .35); border: 1px solid rgb(255 255 255 / .15);
  border-radius: var(--radius); padding: 14px 18px; font-weight: 600;
}
.teaser-steps li::before { font-size: 1rem !important;
  content: counter(step); width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button::after {
  content: ""; position: absolute; inset: 0; border: 4px solid transparent; border-radius: var(--radius);
  transition: border-color var(--dur);
}
.gallery button:hover::after, .gallery button:focus-visible::after { border-color: var(--gold-500); }
.gallery figcaption { padding: 12px 4px 0; }
.gallery figcaption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.gallery figcaption span { color: var(--ink-3); font-size: .95rem; }
.gallery .chip { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); margin-bottom: 6px; }
.gallery .chip.before { background: #eceef3; color: #4a5270; }

.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.filters button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; color: var(--ink-2); transition: all var(--dur-fast);
}
.filters button:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filters button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgb(4 10 36 / .88); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius); border: 4px solid var(--gold-500); }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lightbox .lb-close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy-900); display: grid; place-items: center;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 600px; height: 200px; left: -200px; bottom: -60px; background: var(--blue-500); transform: rotate(-38deg); border-radius: 60px; opacity: .9; }
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-band h2 { margin: 0; }
.cta-band .phone-big { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold-500); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.cta-band .phone-big:hover { color: var(--gold-400); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--s4); align-content: start; }
.field label, .field .label { font-weight: 600; font-size: .98rem; }
.field .req { color: var(--error); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(42 68 255 / .18); }
.field .hint { font-size: .9rem; color: var(--ink-3); }
.field .error-msg { font-size: .92rem; color: var(--error); font-weight: 600; display: none; align-items: center; gap: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field.has-error .error-msg { display: flex; }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }

.form-status { border-radius: var(--radius-sm); padding: 14px 16px; margin-top: var(--s4); font-weight: 600; display: none; gap: 10px; align-items: flex-start; }
.form-status.is-visible { display: flex; }
.form-status.success { background: #e8f6ee; color: var(--success); border: 1px solid #a6dcbc; }
.form-status.error { background: #fdecea; color: var(--error); border: 1px solid #f4b4ad; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Package builder ---------- */
.builder { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .builder { grid-template-columns: minmax(0, 1fr) 380px; } }

.svc {
  border: 2px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin: 0 0 var(--s5);
  padding: 0; transition: border-color var(--dur), box-shadow var(--dur);
}
.svc.is-on { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(42 68 255 / .12); }
.svc-toggle { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5) var(--s5); cursor: pointer; }
.svc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc-check {
  width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--line); flex: none; margin-top: 4px;
  display: grid; place-items: center; color: transparent; background: #fff;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.svc-toggle:hover .svc-check { border-color: var(--blue-500); }
.svc-toggle input:checked + .svc-check { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.svc-toggle input:focus-visible + .svc-check { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.svc-title { flex: 1; }
.svc-title { display: block; }
.svc-name { display: block; margin: 0 0 4px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.svc-title .svc-desc { display: block; color: var(--ink-2); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.svc.is-on .svc-icon { background: var(--blue-500); color: #fff; }
.svc-body { border-top: 1px dashed var(--line); padding: var(--s5); display: none; gap: var(--s4); }
.svc.is-on .svc-body { display: grid; }
@media (min-width: 640px) { .svc-body.cols-2 { grid-template-columns: 1fr 1fr; } }
.qty { display: grid; gap: 8px; }
.qty label { font-weight: 700; }
.qty .qty-sub { font-size: .9rem; color: var(--ink-3); margin-top: -4px; }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; width: max-content; background: #fff; }
.stepper button {
  width: 48px; min-height: 48px; border: 0; background: var(--surface); color: var(--navy-900);
  display: grid; place-items: center; transition: background-color var(--dur-fast);
}
.stepper button:hover { background: var(--surface-2); }
.stepper button:active { background: var(--blue-100); }
.stepper input {
  width: 72px; border: 0; text-align: center; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield; border-inline: 1.5px solid var(--line);
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--blue-100); }
.rate-note { font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: var(--s6);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.summary::before { content: ""; position: absolute; width: 360px; height: 120px; right: -140px; top: -30px; background: var(--blue-500); transform: rotate(-38deg); border-radius: 40px; }
.summary > * { position: relative; }
.summary h2 { font-size: 1.9rem; margin-bottom: var(--s4); }
.summary-lines { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: 10px; min-height: 60px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .98rem; color: var(--on-dark-2); }
.summary-lines li strong { color: #fff; font-weight: 600; }
.summary-lines li .amt { font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.summary-lines .group { color: var(--gold-500); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.summary-empty { color: var(--on-dark-2); font-style: italic; }
.summary-discount { color: #7ee2a8 !important; }
.summary-total { border-top: 1px solid rgb(255 255 255 / .18); padding-top: var(--s4); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-total span { font-weight: 600; }
.summary-total output { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--gold-500); font-variant-numeric: tabular-nums; line-height: 1; }
.summary-total small { font-size: 1rem; color: var(--on-dark-2); font-family: var(--font-body); font-weight: 500; }
.summary .fine { font-size: .85rem; color: var(--on-dark-2); margin: var(--s3) 0 var(--s5); }
.summary .btn { width: 100%; }
.bundle-hint { background: rgb(255 204 0 / .12); border: 1px solid rgb(255 204 0 / .35); color: #ffe38a; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin-bottom: var(--s4); display: flex; gap: 8px; align-items: flex-start; }

.request-panel { margin-top: var(--s6); background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.request-panel[hidden] { display: none; }

/* Mobile sticky total bar */
.mobile-total {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy-900); color: #fff; border-top: 3px solid var(--gold-500);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-total output { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--gold-500); font-variant-numeric: tabular-nums; }
.mobile-total .btn { min-height: 44px; padding: 8px 18px; font-size: 1.05rem; }
@media (min-width: 1024px) { .mobile-total { display: none; } }
@media (max-width: 1023px) { .page-builder main { padding-bottom: 80px; } }

/* ---------- Employment application ---------- */
.app-wrap { max-width: 980px; }
.paper-option { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px dashed var(--blue-400); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.paper-option .icon { color: var(--blue-600); flex: none; margin-top: 2px; }
.app-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3.5vw, 36px); margin: 0 0 var(--s5); min-width: 0;
}
.app-section > legend {
  float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: var(--s5);
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--navy-800);
}
.app-section > legend + * { clear: both; }
.app-section .step {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-size: 1.1rem; font-weight: 800;
}
.section-note { color: var(--ink-3); margin-top: -8px; }
.sub-block { border-top: 1px solid var(--line); padding-top: var(--s5); margin-top: var(--s5); }
.sub-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.section-note + .sub-block { border-top: 0; padding-top: 0; margin-top: var(--s3); }
.sub-block h3 { font-size: 1.1rem; color: var(--blue-600); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--s4); }
.form-grid { display: grid; gap: 0 var(--s4); }
@media (min-width: 640px) { .form-grid.g-2 { grid-template-columns: 1fr 1fr; } .form-grid.g-3, .form-grid.g-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .form-grid.g-3 { grid-template-columns: repeat(3, 1fr); } .form-grid.g-4 { grid-template-columns: repeat(4, 1fr); } }
fieldset.field { border: 0; padding: 0; margin: 0 0 var(--s4); min-width: 0; }
fieldset.field > legend { font-weight: 600; font-size: .98rem; padding: 0; margin-bottom: 8px; }
.yn-opts { display: flex; gap: var(--s2); flex-wrap: wrap; }
.yn-opts label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff; font-weight: 500;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.yn-opts label:hover { border-color: var(--blue-400); }
.yn-opts label:has(input:checked) { border-color: var(--blue-600); background: var(--blue-100); color: var(--navy-800); font-weight: 600; }
.yn-opts input, .check-line input { width: 20px; height: 20px; accent-color: var(--blue-600); margin: 0; }
.field.has-error .yn-opts label { border-color: var(--error); }
.req { color: var(--error); margin-left: 2px; }
.req-mark { color: var(--error); font-weight: 700; }
.disclaimer { background: var(--surface); border-left: 4px solid var(--gold-500); border-radius: 4px; padding: 16px 18px; margin-bottom: var(--s5); }
.disclaimer p:last-child { margin: 0; }
.check-line { display: flex !important; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500 !important; }
.check-line input { margin-top: 3px; flex: none; }
.signature { font-style: italic; font-size: 1.15rem !important; }
.app-submit { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.app-submit .form-status { flex-basis: 100%; }
.app-thanks { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); text-align: center; box-shadow: var(--shadow); }
.app-thanks .icon-badge { margin-inline: auto; }
.app-thanks:focus { outline: none; }

/* ---------- Service areas ---------- */
.area-chips { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.area-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-800);
  font-weight: 600; text-decoration: none; transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.area-chips a:hover { border-color: var(--blue-600); background: var(--blue-100); color: var(--navy-800); }
.area-chips .icon { color: var(--blue-600); }
.on-dark .area-chips a { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .25); color: #fff; }
.on-dark .area-chips a:hover { background: rgb(255 255 255 / .12); border-color: var(--gold-500); }
.on-dark .area-chips .icon { color: var(--gold-500); }
.area-card h3 { margin-bottom: 2px; }
.area-card p { margin-bottom: var(--s3); }
.recent-work { background: var(--surface); border-left: 6px solid var(--gold-500); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq-group { margin-bottom: var(--s7); }
.faq-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--navy-800); margin-bottom: var(--s4); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s3); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 56px; padding: 16px 20px; font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600);
  transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover { color: var(--blue-600); }
.faq-item[open] { border-color: var(--blue-400); }
.faq-answer { padding: 0 20px 18px; color: var(--ink-2); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.3rem; margin-bottom: var(--s2); }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card-body > p:not(.post-meta) { color: var(--ink-2); }
.post-card .card-link { margin-top: auto; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.post-meta { font-size: .9rem; color: var(--ink-3); font-weight: 500; margin-bottom: var(--s2); }
.post-meta-hero { font-size: 1.05rem !important; }
.post-hero h1 { max-width: 24ch; }

.prose { max-width: 720px; margin-inline: auto; font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); text-transform: none; color: var(--navy-800); margin: var(--s7) 0 var(--s3); letter-spacing: -.005em; }
.prose p { margin-bottom: var(--s5); }
.prose ul { margin: 0 0 var(--s5); padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold-700); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-600); font-weight: 600; }
.post-figure { margin: 0 0 var(--s6); border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--gold-500); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
.post-cta { margin-top: var(--s7); background: var(--surface); border-left: 6px solid var(--gold-500); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.post-cta h2 { margin-top: 0; }
.post-cta p { margin-bottom: var(--s4); }

/* ---------- Employee login link (top bar) ---------- */
.topbar-right { display: inline-flex; align-items: center; gap: var(--s5); }
.topbar .topbar-login { font-weight: 600; padding: 4px 12px; border: 1px solid rgb(255 255 255 / .35); border-radius: 4px; }
.topbar .topbar-login:hover { border-color: var(--gold-500); }
.topbar .topbar-login .icon { color: var(--gold-500); }
@media (max-width: 767px) {
  .topbar .container { justify-content: space-between; }
  .topbar .topbar-phone strong { display: none; }
  .topbar-right { gap: var(--s3); width: 100%; justify-content: space-between; }
}

/* ---------- Employee portal ---------- */
.portal-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-100); color: var(--navy-800); font-weight: 600; font-size: .95rem;
}
.portal-back { margin-left: auto; min-height: 44px; padding: 8px 18px; font-size: .95rem; }
@media (max-width: 639px) { .portal-badge { display: none; } }
.portal-hero h1 { max-width: none; }
.portal-search { position: relative; width: min(560px, 100%); margin-top: var(--s5); }
.portal-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.portal-search input {
  width: 100%; min-height: 54px; padding: 12px 16px 12px 48px; border-radius: 6px; border: 0;
  font-size: 1.05rem; color: var(--ink); box-shadow: 0 10px 30px rgb(10 30 56 / .25);
}
.portal-search input:focus { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.portal-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .portal-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.portal-group { margin-bottom: var(--s7); }
.portal-group h2, .portal-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--navy-800); margin-bottom: var(--s4); }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile-inner {
  position: relative; display: flex; gap: 14px; align-items: flex-start; height: 100%; min-height: 84px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
a.tile-inner:hover { border-color: var(--blue-400); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tile-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.tile-text { display: grid; gap: 2px; padding-right: 18px; }
.tile-text strong { font-size: 1.02rem; }
.tile-text span { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.tile-ext { position: absolute; top: 14px; right: 14px; color: var(--ink-3); width: 16px; height: 16px; }
.tile.is-empty .tile-inner { background: var(--surface); box-shadow: none; border-style: dashed; }
.tile.is-empty .tile-icon { background: var(--surface-2); color: var(--ink-3); }
.tile.is-empty .tile-text strong { color: var(--ink-2); }
.tile-text .tile-badge { justify-self: start; margin-top: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.portal-noresults { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink-2); }
.portal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-sm); margin-bottom: var(--s5); }
.portal-card h2 { margin-bottom: var(--s3); }
.portal-note { font-size: .92rem; color: var(--ink-3); }
.portal-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.portal-contacts li { display: grid; gap: 2px; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.portal-contacts li:last-child { border-bottom: 0; padding-bottom: 0; }
.portal-contacts .k { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.portal-contacts a { font-weight: 700; color: var(--blue-600); overflow-wrap: anywhere; }
.portal-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.portal-checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 6px; cursor: pointer; font-size: .95rem; line-height: 1.45; }
.portal-checklist label:hover { background: var(--surface); }
.portal-checklist input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.portal-checklist input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.portal-signout { background: var(--surface); box-shadow: none; }
.portal-footer { padding-block: var(--s5); }
.portal-gate { min-height: calc(100dvh - var(--header-h) - 80px); display: grid; place-items: center; padding: var(--s7) 20px; background: var(--surface); }
.portal-gate-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--gold-500); border-radius: 6px; padding: clamp(28px, 5vw, 44px); text-align: center; box-shadow: var(--shadow); }
.portal-gate-card .icon-badge { margin: 0 auto var(--s4); }
.portal-gate-card h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); color: var(--navy-800); }
.portal-gate-card p { color: var(--ink-2); }
.portal-gate-card .form-status { text-align: left; }
.portal-user { margin-left: auto; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.portal-user:not([hidden]) + .portal-back { margin-left: var(--s3); }
.portal-signout-btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
@media (max-width: 767px) { .portal-user, .portal .portal-back { display: none; } .portal-signout-btn { margin-left: auto; } }

/* ---------- Office map ---------- */
.map-head { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: flex-end; justify-content: space-between; margin-bottom: var(--s5); }
.map-head h2 { margin-bottom: var(--s2); }
.map-head .lead { margin: 0; }
.map-frame { border: 6px solid var(--gold-500); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; min-height: 320px; background: var(--surface-2); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 639px) { .map-frame { aspect-ratio: 4 / 5; } }

/* ---------- Phone plan tiers (package builder) ---------- */
.plan-tiers { grid-column: 1 / -1; display: grid; gap: 12px 8px; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); margin-top: 6px; }
.plan-tier {
  display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.plan-tier strong { font-size: 1rem; color: var(--navy-800); }
.plan-tier span { font-size: .85rem; color: var(--ink-3); }
.plan-tier b { font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 4px; }
.plan-tier b small { font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.plan-tier.is-active { border-color: var(--blue-600); background: var(--blue-100); box-shadow: 0 0 0 3px rgb(31 99 166 / .15); }
.plan-tier { position: relative; }
.plan-tier.is-active::before { content: "✓ Your plan"; position: absolute; top: -10px; right: 10px; background: var(--blue-600); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* ---------- Store ---------- */
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.store-preview-banner { background: #fff8db; border-bottom: 1px solid #f1d67a; color: #5a4500; font-size: .95rem; }
.store-preview-banner .container { padding-block: 10px; display: flex; gap: 10px; align-items: flex-start; }
.store-preview-banner .icon { flex: none; margin-top: 2px; }

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat-tile {
  width: 100%; height: 100%; text-align: left; display: grid; gap: 4px; align-content: start;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.cat-tile-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); margin-bottom: 8px; }
.cat-tile strong { font-size: 1.08rem; color: var(--ink); }
.cat-tile span:last-child { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.service-promo {
  margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800)); color: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px);
}
.service-promo h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 4px; }
.service-promo p { margin: 0; color: #dbe6f2; }

.shop-layout { display: grid; gap: var(--s6); align-items: start; }
.shop-layout > *, .shop-sidebar > * { min-width: 0; } /* let the swipeable category row scroll instead of widening the page */
@media (min-width: 960px) { .shop-layout { grid-template-columns: 260px minmax(0, 1fr); } }
.shop-sidebar { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }
.shop-sidebar h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: var(--s2); }
.shop-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.shop-cats button {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  background: none; border: 0; border-radius: 6px; text-align: left; color: var(--ink-2); font-weight: 500;
}
.shop-cats button span { margin-left: auto; font-size: .82rem; color: var(--ink-3); background: var(--surface); border-radius: 999px; padding: 1px 8px; }
.shop-cats button:hover { background: var(--surface); color: var(--ink); }
.shop-cats button[aria-current="true"] { background: var(--blue-100); color: var(--navy-800); font-weight: 700; }
.shop-cats button[aria-current="true"] span { background: #fff; }
@media (max-width: 959px) {
  .shop-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .shop-cats button { white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
  .shop-cats .icon { display: none; }
}
.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: .92rem; }
.check-pill:has(input:checked) { border-color: var(--blue-600); background: var(--blue-100); font-weight: 600; }
.check-pill input { accent-color: var(--blue-600); width: 16px; height: 16px; margin: 0; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-bottom: var(--s4); }
.shop-toolbar h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.shop-toolbar .shop-count { color: var(--ink-3); margin: 0; }
.shop-toolbar .shop-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: var(--s2); }
.shop-search { position: relative; }
.shop-search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.shop-search input, .shop-sort { min-height: 46px; border: 1.5px solid var(--line); border-radius: 6px; padding: 8px 12px; background: #fff; font-size: 1rem; }
.shop-search input { padding-left: 40px; width: min(260px, 100%); }
.shop-search input:focus, .shop-sort:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(31 99 166 / .15); }
@media (max-width: 639px) { .shop-toolbar .shop-tools { margin-left: 0; width: 100%; } .shop-search, .shop-search input { width: 100%; } .shop-sort { width: 100%; } }

.product-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-flag { position: absolute; top: 12px; left: 12px; background: var(--gold-500); color: var(--navy-900); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.product-art { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(140deg, var(--blue-100), #fff); color: var(--blue-600); }
.product-art .icon { width: 30%; height: auto; max-width: 96px; stroke-width: 1.5; }
.product-art span { font-weight: 700; font-size: .85rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.product-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); margin: 0 0 4px; }
.product-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 6px; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--blue-600); }
.product-summary { font-size: .92rem; color: var(--ink-3); line-height: 1.45; margin-bottom: var(--s3); }
.product-card-foot { margin-top: auto; display: grid; gap: 8px; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--navy-800); margin: 0; font-variant-numeric: tabular-nums; }
.product-price s { font-size: .9rem; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.product-price .from { font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.stock-low { margin: 0; font-size: .85rem; font-weight: 700; color: #b45309; }
.shop-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: var(--s6); text-align: center; color: var(--ink-2); }

.breadcrumbs { font-size: .92rem; color: var(--ink-3); margin-bottom: var(--s5); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--blue-600); }
.product-layout { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 960px) { .product-layout { grid-template-columns: 1.05fr .95fr; } }
.product-gallery { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 6px solid var(--gold-500); box-shadow: var(--shadow); }
.product-gallery img, .product-gallery .product-art { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: none; margin-bottom: var(--s3); }
.product-price-lg { font-size: 2rem; margin: var(--s3) 0 6px; }
.stock-line { display: flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.stock-line .icon { width: 18px; height: 18px; }
.pd-form { margin-top: var(--s5); display: grid; gap: var(--s4); }
.pd-option { border: 0; padding: 0; margin: 0; }
.pd-option legend { font-weight: 700; margin-bottom: 8px; }
.pd-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-option-values label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; background: #fff; }
.pd-option-values label:has(input:checked) { border-color: var(--blue-600); background: var(--blue-100); font-weight: 700; }
.pd-option-values input { accent-color: var(--blue-600); }
.pd-option-values small { color: var(--ink-3); font-weight: 500; }
.pd-buy { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; }
.pd-add { flex: 1; min-width: 200px; }
.pd-install { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: .95rem; }
.pd-install input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.fulfill-list { list-style: none; margin: var(--s5) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.fulfill-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.fulfill-list .icon { color: var(--blue-600); flex: none; }
.product-details { display: grid; gap: var(--s6); margin-top: var(--s8); }
@media (min-width: 960px) { .product-details { grid-template-columns: 1fr 1fr; } }
.product-details h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--navy-800); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; background: var(--surface); font-weight: 600; color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.cart-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.cart-line {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: var(--s4); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm);
}
.cart-line-img { width: 88px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; display: block; background: var(--surface); }
.cart-line-img img, .cart-line-img .product-art { width: 100%; height: 100%; object-fit: cover; }
.cart-line-img .product-art span { display: none; }
.cart-line-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line-name:hover { color: var(--blue-600); }
.cart-line-opts, .cart-line-unit { margin: 2px 0 0; font-size: .88rem; color: var(--ink-3); }
.cart-line-total { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; }
.cart-remove { width: 44px; height: 44px; border: 0; border-radius: 6px; background: none; color: var(--ink-3); display: grid; place-items: center; }
.cart-remove:hover { background: #fdecea; color: var(--error); }
.stepper-sm button { width: 40px; min-height: 40px; }
.stepper-sm input { width: 52px; font-size: 1rem; }
@media (max-width: 639px) {
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info remove" "img qty total"; gap: 10px 12px; }
  .cart-line-img { width: 72px; grid-area: img; }
  .cart-line-info { grid-area: info; }
  .cart-line .stepper { grid-area: qty; }
  .cart-line-total { grid-area: total; min-width: 0; }
  .cart-remove { grid-area: remove; }
}
.cart-continue { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); font-weight: 600; transform: none; }
.cart-continue .icon { transform: rotate(180deg); }
.cart-summary { background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--gold-500); border-radius: 6px; padding: var(--s5); box-shadow: var(--shadow); }
@media (min-width: 960px) { .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.cart-summary h2 { font-size: 1.5rem; color: var(--navy-800); }
.cart-fulfill { border: 0; padding: 0; margin: 0 0 var(--s4); display: grid; gap: 6px; }
.cart-fulfill legend { font-weight: 700; margin-bottom: 6px; }
.cart-fulfill label { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; }
.cart-fulfill label:has(input:checked) { border-color: var(--blue-600); background: var(--blue-100); font-weight: 600; }
.cart-fulfill input { accent-color: var(--blue-600); }
.cart-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.cart-sum-row.muted { color: var(--ink-3); font-size: .92rem; }
.cart-sum-row.total { border-top: 1px solid var(--line); margin: 6px 0 var(--s4); padding-top: 14px; font-size: 1.25rem; font-weight: 800; color: var(--navy-800); }
.cart-note { font-size: .88rem; color: var(--ink-3); margin: var(--s3) 0 0; }
.cart-empty { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s8) var(--s5); }
.cart-empty > .icon { width: 56px; height: 56px; color: var(--blue-600); margin-bottom: var(--s3); }
.order-request { margin-top: var(--s7); }

.store-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100% - 32px));
  background: var(--navy-900); color: #fff; padding: 14px 18px; border-radius: 8px; box-shadow: var(--shadow-lg);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.store-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.store-toast .icon { color: var(--gold-500); flex: none; }
.store-toast a { color: var(--gold-500); font-weight: 700; margin-left: auto; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 380px 1fr; } }
.contact-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: var(--s6); }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); }
.contact-card li { display: flex; gap: 14px; }
.contact-card .icon-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-500); display: grid; place-items: center; flex: none; }
.contact-card .k { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.contact-card a, .contact-card .v { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold-500); }
.contact-card a.btn-gold, .contact-card a.btn-gold:hover { color: var(--navy-900); font-size: 1rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding-block: var(--s8) var(--s5); font-size: .98rem; }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer .tagline { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.3rem; color: #fff; margin-top: var(--s4); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); margin-top: var(--s7); padding-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-size: .9rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
