/* Centrecom Premium Staff Leasing — Fiji microsite */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --brand: #0a6f9e;
  --brand-deep: #085a80;
  --brand-bright: #2db1e8;
  --brand-tint: #cfe6f2;
  --heading: #1e2529;
  --text: #4f565a;
  --muted: #6b7378;
  --surface: #f2f8fb;
  --surface-2: #ddf0fa;
  --night: #0e2a3b;
  --night-2: #12364b;
  --border: #e3eaee;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --shadow-card: 0 1px 2px rgba(14, 42, 59, 0.06), 0 12px 32px -18px rgba(14, 42, 59, 0.28);
  --shadow-lift: 0 28px 60px -32px rgba(14, 42, 59, 0.45);

  /* Variables used by the AI assistant widget (ai.css) */
  --ink: #0e2a3b;
  --ink-2: #12364b;
  --ink-3: #0a1f2c;
  --slate: #4f565a;
  --slate-2: #6b7378;
  --azure: #2db1e8;
  --azure-dark: #0a6f9e;
  --sky: #8fd3f2;
  --cloud: #f2f8fb;
  --line: #e3eaee;
  --white: #ffffff;
  --success: #1e9e6a;
  --danger: #c8443c;
  --shadow-soft: 0 18px 40px -28px rgba(14, 42, 59, 0.3);
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  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: 200;
  background: var(--night);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
}

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

/* Layering above the Fiji background slideshow */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px rgba(14, 42, 59, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 272px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 8px 11px;
  font-size: 15px;
  font-weight: 500;
  color: #2b3236;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--brand);
  background: var(--surface);
}

.main-nav a.is-active:not(.btn) {
  color: var(--brand);
}

.main-nav a.is-active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-bright);
}

.main-nav .btn {
  margin-left: 10px;
}

/* Just above the mobile-menu breakpoint, tighten the links so the larger logo and all items fit on one line. */
@media (min-width: 1181px) and (max-width: 1360px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 7px;
    font-size: 14.5px;
  }

  .main-nav a.is-active:not(.btn)::after {
    left: 7px;
    right: 7px;
  }

  .main-nav .btn {
    margin-left: 6px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Wide screens: drop the gaps between links so the full-size logo and every item still fit on one line. */
@media (min-width: 1361px) {
  .header-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 9px;
  }

  .main-nav a.is-active:not(.btn)::after {
    left: 9px;
    right: 9px;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--heading);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(10, 111, 158, 0.8);
}

.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--ghost {
  background: #fff;
  color: var(--heading);
  border-color: #c9d6dd;
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 15px;
}

.btn--light {
  background: #fff;
  color: var(--night);
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
  background: rgba(255, 255, 255, 0.95);
}

.section--tint {
  background: rgba(242, 248, 251, 0.95);
}

/* Frosted glass: the Fiji photo glows softly through while text stays on a near-white surface. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .section {
    background: rgba(255, 255, 255, 0.84);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
  }

  .section--tint {
    background: rgba(242, 248, 251, 0.84);
  }
}

/* Window sections show the photo sharp; their text sits on solid cards and a frosted heading panel. */
.section--window,
.section.section--window {
  background: linear-gradient(180deg, rgba(14, 42, 59, 0.2), rgba(14, 42, 59, 0.06));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.section--window .section-head {
  width: fit-content;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lift);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.section--window .why-card {
  background: rgba(255, 255, 255, 0.97);
}

.section--window .role-card,
.section--window .cert-card,
.section--window .why-card {
  box-shadow: 0 1px 2px rgba(14, 42, 59, 0.08), 0 18px 40px -20px rgba(14, 42, 59, 0.55);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-bright);
}

.section-head {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
}

.section-head p {
  font-size: 19px;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 248, 251, 0.96) 0%, rgba(242, 248, 251, 0.92) 38%, rgba(242, 248, 251, 0.55) 56%, rgba(242, 248, 251, 0) 74%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(242, 248, 251, 0), rgba(242, 248, 251, 0.6));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 112px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 7px;
  background: #fff;
  border: 1px solid var(--brand-tint);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  box-shadow: var(--shadow-card);
}

.pill b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-bright);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.25rem);
  line-height: 1.03;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero-lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: #3f474b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: #3f474b;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checks .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 2.4;
}

.hero-card {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.hero-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--brand);
}

.hero-card-icon .icon {
  width: 26px;
  height: 26px;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--heading);
}

.hero-card span {
  font-size: 15px;
  color: var(--muted);
}

.live-dot {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.45);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-copy p {
  font-size: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.timeline div {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.timeline div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
}

.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
}

.timeline span {
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
}

.timeline .timeline-today span {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand-deep);
}

/* Brand statement directly under the story video. */
.hear-smile {
  margin: 22px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--brand);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hear-smile {
    background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(14, 42, 59, 0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  backdrop-filter: blur(6px);
}

.story-media figcaption .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-bright);
}

/* ---------- Rotating photo frames ---------- */
.photo-frame {
  isolation: isolate;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 42, 59, 0) 55%, rgba(14, 42, 59, 0.55) 100%);
}

.photo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.photo-slide.is-active {
  opacity: 1;
}

.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}

.photo-slide.is-active img {
  transform: scale(1);
}

/* Whole-photo fit: every photo is shown uncropped (object-fit: contain), with a soft blurred copy filling the frame. */
.photo-slide--fit {
  background: #12384d;
  overflow: hidden;
}

.photo-slide--fit .photo-backdrop {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  filter: blur(22px) brightness(0.72) saturate(1.15);
  transform: scale(1.04);
}

.photo-slide--fit picture {
  position: absolute;
  inset: 0;
  display: block;
}

.photo-frame .photo-slide--fit picture img,
.photo-slide--fit picture img,
.photo-slide--fit.is-active picture img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transition: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.photo-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 42, 59, 0.78);
  color: #fff;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.04em;
}

.photo-frame figcaption,
.photo-dots {
  z-index: 2;
}

.photo-frame figcaption {
  letter-spacing: 0.04em;
  transition: opacity 0.4s ease;
}

.photo-dots {
  position: absolute;
  right: 18px;
  bottom: 26px;
  display: flex;
  gap: 6px;
}

.photo-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.4s ease, background 0.4s ease;
}

.photo-dots span.is-active {
  width: 22px;
  background: #fff;
}

.contact-photos {
  position: relative;
  margin: 10px 0 0;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #12384d;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(45, 177, 232, 0.35);
}

.contact-photos figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(14, 42, 59, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-photos .photo-dots {
  bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .photo-slide img,
  .photo-slide.is-active img {
    transform: none;
    transition: none;
  }
}

/* ---------- Fiji offices map ---------- */
.offices {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow-lift);
}

.offices-panel {
  padding: 40px 36px;
  color: #dce8ee;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.offices-panel h3 {
  color: #fff;
  font-size: 28px;
}

.offices-panel p {
  color: #b8cdd8;
  font-size: 16px;
}

.office-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.office-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: 600 17px/1.2 var(--font-display);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.office-list button:hover,
.office-list button.is-active {
  background: rgba(45, 177, 232, 0.16);
  border-color: rgba(45, 177, 232, 0.6);
}

.office-list .pin {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-bright);
  color: var(--night);
}

.office-list .pin .icon {
  width: 18px;
  height: 18px;
}

.office-list small {
  display: block;
  margin-top: 3px;
  font: 500 13px/1.3 var(--font-body);
  color: #9fb8c6;
}

.offices-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #9fb8c6;
}

.offices-note .icon {
  color: var(--brand-bright);
}

.map-wrap {
  position: relative;
  min-height: 460px;
  background: #cfe3ec;
}

.fiji-map {
  position: absolute;
  inset: 0;
}

.map-reset {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  font: 600 13px/1 var(--font-body);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.map-reset:hover {
  color: var(--brand);
}

.map-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 500;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 42, 59, 0.82);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.map-hint.is-visible {
  opacity: 1;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--night);
  font-weight: 600;
}

.fiji-pin {
  background: none;
  border: 0;
}

.fiji-pin span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 6px 14px rgba(14, 42, 59, 0.45);
}

.fiji-pin span::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(10, 111, 158, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

.fiji-pin.is-active span {
  background: var(--brand-bright);
}

.leaflet-tooltip.fiji-label {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font: 700 13px/1.2 var(--font-body);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -8px rgba(14, 42, 59, 0.6);
}

.leaflet-tooltip.fiji-label::before {
  display: none;
}

.leaflet-container {
  font-family: var(--font-body);
}

/* ---------- Model ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.panel h3 {
  font-size: 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel h3 .badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand);
}

.panel--dark {
  background: var(--night);
  border-color: var(--night);
}

.panel--dark h3 {
  color: #fff;
}

.panel--dark .badge-icon {
  background: rgba(45, 177, 232, 0.18);
  color: var(--brand-bright);
}

.control-list,
.handle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.control-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 16px;
}

.control-list strong {
  color: var(--heading);
}

.control-list .icon,
.handle-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  stroke-width: 2.2;
}

.control-list .icon {
  color: var(--brand);
}

.handle-list {
  gap: 13px;
}

.handle-list li {
  display: flex;
  gap: 12px;
  color: #dce8ee;
  font-size: 16px;
}

.handle-list .icon {
  color: var(--brand-bright);
}

.compare {
  margin-top: 72px;
}

.compare-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  text-align: center;
}

.compare-head h3 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
}

/* A white board holding the table; the Centrecom column sits on a raised card drawn behind it.
   Column widths are fixed (30% / 35% / 35%), so the card can be placed over the last column exactly. */
.compare-board {
  --board-pad: 28px;
  position: relative;
  padding: var(--board-pad);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.compare-board::before {
  content: "";
  position: absolute;
  top: calc(var(--board-pad) - 14px);
  bottom: calc(var(--board-pad) - 14px);
  right: var(--board-pad);
  width: calc((100% - 2 * var(--board-pad)) * 0.35);
  border-radius: 20px;
  border: 1.5px solid rgba(10, 111, 158, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  box-shadow: inset 0 5px 0 var(--brand-bright), 0 30px 60px -32px rgba(10, 111, 158, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compare-board:hover::before {
  transform: translateY(-3px);
  box-shadow: inset 0 5px 0 var(--brand-bright), 0 36px 64px -30px rgba(10, 111, 158, 0.6);
}

.compare table {
  position: relative;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 16px;
}

.compare th,
.compare td {
  padding: 18px 22px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.compare thead th:first-child,
.compare tbody th {
  width: 30%;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  padding-top: 22px;
  padding-bottom: 20px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  border-bottom: 0;
}

.compare thead th.is-them {
  color: var(--muted);
}

.compare thead th.is-us {
  color: var(--brand-deep);
  font-size: 19px;
}

.compare tbody th {
  font-weight: 600;
  color: var(--heading);
  text-align: left;
}

.compare-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 14px;
  vertical-align: middle;
  border-radius: 11px;
  background: var(--surface);
  color: var(--brand);
}

.compare-icon .icon {
  width: 18px;
  height: 18px;
}

.compare td {
  color: var(--muted);
  font-weight: 500;
}

.compare td.is-us {
  border-bottom-color: rgba(10, 111, 158, 0.12);
  color: var(--heading);
  font-weight: 600;
}

.compare td.is-us .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-right: 10px;
  vertical-align: -6px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  stroke-width: 3;
}

/* Row hover: tint the feature and outsourcing cells, so the row reads across to the Centrecom card. */
.compare tbody tr:hover th,
.compare tbody tr:hover td:not(.is-us) {
  background: var(--surface);
}

.compare tbody tr:hover .compare-icon {
  background: var(--brand);
  color: #fff;
}

/* ---------- Testimonials (under The Model) ---------- */
.testimonials {
  margin-top: 72px;
}

.testimonials .section-head {
  margin-bottom: 32px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 34px 34px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
}

.testimonial-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--brand);
}

.testimonial-mark .icon {
  width: 22px;
  height: 22px;
}

.testimonial-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.testimonial-intro {
  font-size: 15px;
  color: var(--muted);
}

.testimonial-card blockquote {
  margin: 0;
  flex: 1;
}

.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--heading);
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 15px;
  color: var(--heading);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: #fff;
}

.testimonial-avatar .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Why Centrecom ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.benefit-card {
  height: 100%;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
  border: 1px solid #d6e7f1;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-bright);
  box-shadow: var(--shadow-lift);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(10, 111, 158, 0.8);
}

.benefit-icon .icon {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 21px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 16px;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--heading);
}

.benefit-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand);
  stroke-width: 2.6;
}

.why-gallery {
  margin-top: 48px;
  padding: 26px 0 8px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.why-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 26px 18px;
}

.why-gallery-head h3 {
  font-size: 20px;
}

.why-gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-gallery-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 70px;
  text-align: right;
}

.why-gallery-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cfe0ea;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.why-gallery-btn:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.why-gallery-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.why-track {
  list-style: none;
  margin: 0;
  padding: 0 26px 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 26px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-tint) transparent;
}

.why-track:focus-visible {
  outline-offset: -3px;
}

.why-shot {
  flex: 0 0 auto;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
  scroll-snap-align: start;
  box-shadow: 0 14px 28px -20px rgba(14, 42, 59, 0.6);
}

.why-shot--landscape {
  aspect-ratio: 3 / 2;
}

.why-shot--portrait {
  aspect-ratio: 3 / 4;
}

.why-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-shot:hover img {
  transform: scale(1.04);
}

.why-shot.is-broken {
  display: none;
}

/* ---------- Story video ---------- */
.story-video {
  margin: 0;
}

.story-video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 9;
}

.story-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--night);
}

.story-video figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}

.story-video figcaption .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.story-video figcaption span {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Why Fiji ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.why-card .badge-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: #fff;
}

.why-card h3 {
  font-size: 21px;
}

.why-card p {
  font-size: 16px;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-tint) 0 8px, transparent 8px 14px);
}

.steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
  font: 600 20px/1 var(--font-display);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
}

.steps h3 {
  font-size: 21px;
}

.steps p {
  font-size: 15.5px;
}

/* ---------- Roles ---------- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.role-card:hover {
  border-color: var(--brand-bright);
  transform: translateY(-2px);
}

.role-card .badge-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand);
}

.role-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.role-card p {
  font-size: 15px;
  color: var(--muted);
}

.why-247 {
  display: block;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.pricing-copy p {
  font-size: 18px;
}

.fee-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}

.fee-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
}

.fee-row + .fee-row {
  border-top: 1px dashed var(--border);
}

.fee-row .badge-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand);
}

.fee-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--heading);
  margin-bottom: 4px;
}

.fee-row p {
  font-size: 15.5px;
}

.fee-total {
  margin-top: 10px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font: 600 20px/1.3 var(--font-display);
}

.fee-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.fee-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font: 600 13px/1.2 var(--font-body);
}

.fee-tags .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.fee-foot {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Security ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cert-card .badge-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--night);
  color: var(--brand-bright);
}

.cert-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f6ee;
  color: #157a50;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.cert-status--aligned {
  background: var(--surface-2);
  color: var(--brand);
}

.cert-card h3 {
  font-size: 21px;
}

.cert-card p {
  font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font: 600 18px/1.35 var(--font-display);
  color: var(--heading);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
}

.faq-item[open] {
  border-color: var(--brand-tint);
}

.faq-item p {
  padding: 0 26px 24px;
  font-size: 16.5px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 112px 0;
  background: linear-gradient(160deg, rgba(14, 42, 59, 0.9), rgba(10, 31, 44, 0.94));
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  color: #dce8ee;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-copy h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.contact-copy p {
  font-size: 19px;
  color: #b8cdd8;
}

.contact-lines {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
}

.contact-lines a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.contact-lines a:hover {
  color: var(--brand-bright);
}

.contact-lines .badge-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45, 177, 232, 0.16);
  color: var(--brand-bright);
}

.lead-form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdbe2;
  border-radius: 12px;
  background: #fbfdfe;
  font: 400 16px/1.4 var(--font-body);
  color: var(--heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(45, 177, 232, 0.2);
}

.phone-input {
  display: flex;
  border: 1px solid #cfdbe2;
  border-radius: 12px;
  background: #fbfdfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(45, 177, 232, 0.2);
}

.field .phone-input select,
.field .phone-input input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.field .phone-input select {
  flex: 0 0 auto;
  width: auto;
  padding-right: 8px;
  border-right: 1px solid #dbe6ec;
  border-radius: 12px 0 0 12px;
  font-weight: 600;
  color: var(--brand-deep);
}

.field .phone-input input {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 12px 12px 0;
}

.field .phone-input select:focus,
.field .phone-input input:focus {
  box-shadow: none;
}

.field .phone-input:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
}

.field-hint {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-status {
  font-size: 15px;
  font-weight: 500;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--success);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1f2c;
  color: #9fb8c6;
  padding: 36px 0;
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand img {
  width: 130px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}

.footer-links a {
  color: #dce8ee;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-bright);
}

/* ---------- Chat: guided quote request ---------- */
.ai-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ai-choice {
  padding: 8px 12px;
  border: 1px solid var(--brand-tint);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font: 600 13px/1.2 var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ai-choice:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--brand-bright);
}

.ai-choice:disabled {
  cursor: default;
  opacity: 0.45;
}

.ai-choice.is-picked {
  opacity: 1;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.ai-summary {
  margin: 8px 0 10px;
  padding: 10px 12px 10px 28px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Live voice agent ---------- */
.btn--voice {
  background: var(--night);
  color: #fff;
}

.btn--voice:hover {
  background: var(--night-2);
}

.btn--voice .voice-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.btn--voice[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.va-card {
  --va-level: 0;
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(140deg, #0e2a3b, #0a1f2c);
  color: #dce8ee;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: va-in 0.35s ease;
}

.va-card[hidden] {
  display: none;
}

body.va-active .ai-launcher {
  display: none;
}

@keyframes va-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.va-orb {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8fd3f2, var(--brand-bright) 45%, var(--brand) 100%);
  box-shadow: 0 0 calc(10px + var(--va-level) * 40px) rgba(45, 177, 232, calc(0.35 + var(--va-level) * 0.5));
  transform: scale(calc(1 + var(--va-level) * 0.18));
  transition: transform 0.08s linear, box-shadow 0.08s linear;
}

.va-orb span {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(45, 177, 232, 0.35);
  animation: pulse 2s ease-out infinite;
}

.va-card[data-mode="connecting"] .va-orb {
  animation: va-breathe 1.2s ease-in-out infinite;
}

.va-card[data-mode="error"] .va-orb,
.va-card[data-mode="ended"] .va-orb {
  background: radial-gradient(circle at 35% 30%, #c9d6dd, #6b7378);
  box-shadow: none;
}

.va-card[data-mode="error"] .va-orb span,
.va-card[data-mode="ended"] .va-orb span {
  display: none;
}

@keyframes va-breathe {
  50% { transform: scale(0.9); opacity: 0.75; }
}

.va-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.va-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.va-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-bright);
}

.va-caption {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #c4d6df;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.va-caption:empty {
  display: none;
}

.va-controls {
  display: flex;
  gap: 8px;
}

.va-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.va-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.va-btn[aria-pressed="true"] {
  background: #f59e0b;
  color: var(--night);
}

.va-btn--end {
  background: #dc2626;
}

.va-btn--end:hover {
  background: #b91c1c;
}

@media (max-width: 640px) {
  .va-card {
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 12px;
    padding: 14px;
  }

  .va-orb {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .va-orb,
  .va-orb span,
  .va-card {
    animation: none;
    transition: none;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 40px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .main-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 18px;
    border-radius: 12px;
  }

  .main-nav a.is-active:not(.btn)::after {
    display: none;
  }

  .main-nav .btn {
    margin: 14px 0 0;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .steps::before {
    display: none;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .section,
  .contact {
    padding: 80px 0;
  }

  .hero-inner,
  .story-grid,
  .model-grid,
  .pricing-grid,
  .contact-grid,
  .offices {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 80px;
    gap: 32px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(242, 248, 251, 0.94) 0%, rgba(242, 248, 251, 0.88) 62%, rgba(242, 248, 251, 0.35) 100%);
  }

  .hero-card {
    justify-self: start;
  }

  .why-grid,
  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .map-wrap {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    min-height: 80px;
  }

  .main-nav {
    top: 80px;
  }

  .brand img {
    width: 204px;
  }

  .hero-lead,
  .section-head p {
    font-size: 17px;
  }

  .why-grid,
  .roles-grid,
  .cert-grid,
  .timeline,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel,
  .fee-card,
  .lead-form,
  .offices-panel {
    padding: 26px 20px;
  }

  .lead-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .map-wrap {
    min-height: 320px;
  }

  /* Comparison: each row becomes its own card, with the column name above each value. */
  .compare-board {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .compare-board::before {
    display: none;
  }

  .compare table,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare thead {
    display: none;
  }

  .compare tbody tr {
    padding: 16px 16px 14px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
  }

  .compare tbody tr:last-child {
    margin-bottom: 0;
  }

  .compare tbody th,
  .compare td,
  .compare tbody tr:hover th,
  .compare tbody tr:hover td:not(.is-us) {
    padding: 6px 8px;
    border: 0;
    background: none;
  }

  .compare tbody th {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 17px;
    margin-bottom: 6px;
  }

  .compare-icon {
    flex: 0 0 auto;
    margin-right: 12px;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .compare td.is-us {
    margin-top: 8px;
    border-radius: 12px;
    padding: 12px 8px;
    background: var(--surface);
    box-shadow: inset 3px 0 0 var(--brand-bright);
  }

  .compare td.is-us::before {
    color: var(--brand);
  }

  .testimonial-card {
    padding: 28px 22px 24px;
  }

  .testimonial-card blockquote p {
    font-size: 17px;
  }

  .why-gallery {
    padding-top: 20px;
  }

  .why-gallery-head {
    padding: 0 16px 14px;
  }

  .why-gallery-head h3 {
    font-size: 17px;
  }

  .why-gallery-count {
    min-width: 0;
    white-space: nowrap;
    font-size: 13px;
  }

  .why-gallery-btn {
    width: 38px;
    height: 38px;
  }

  .why-track {
    padding: 0 16px 16px;
    scroll-padding: 0 16px;
    gap: 12px;
  }

  .why-shot {
    height: 230px;
  }

  .hear-smile {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .live-dot::after,
  .fiji-pin span::after {
    animation: none;
  }
}

@media print {
  .site-header,
  .map-wrap,
  .ai-launcher,
  .ai-panel {
    display: none !important;
  }

  .section,
  .contact {
    background: #fff;
    color: #000;
  }
}
