:root {
  --navy: #061525;
  --navy-2: #0c2744;
  --navy-3: #14375c;
  --gold: #c4a35a;
  --gold-2: #e0c57a;
  --gold-dark: #9a7a32;
  --cream: #f6f3ec;
  --cream-2: #ece6d8;
  --white: #ffffff;
  --ink: #1c2430;
  --muted: #5c6775;
  --line: rgba(12, 39, 68, 0.1);
  --green: #1f6b4a;
  --shadow: 0 18px 50px rgba(6, 21, 37, 0.12);
  --radius: 18px;
  --header-h: 84px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --num: "Roboto", "Lato", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

#header {
  min-height: var(--header-h);
}

a[href^="tel:"],
a[href^="https://wa.me/"] {
  font-family: var(--num);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.num {
  font-family: var(--num);
  letter-spacing: 0.03em;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 10000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header .nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header.is-home {
  position: fixed;
  width: 100%;
  background: transparent;
}

.site-header.is-home .brand-name,
.site-header.is-home .nav-links a,
.site-header.is-home .drop-btn,
.site-header.is-home .nav-toggle span {
  color: #fff;
  background-image: none;
}

.site-header.is-home .nav-toggle span {
  background: #fff;
}

.site-header.is-home .nav-links a,
.site-header.is-home .drop-btn {
  color: #fff;
}

.site-header.scrolled,
.site-header:not(.is-home) {
  background: rgba(246, 243, 236, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(6, 21, 37, 0.08);
}

.site-header.scrolled .brand-name,
.site-header:not(.is-home) .brand-name,
.site-header.scrolled .nav-links a,
.site-header:not(.is-home) .nav-links a,
.site-header.scrolled .drop-btn,
.site-header:not(.is-home) .drop-btn {
  color: var(--navy);
}

.site-header.scrolled .nav-toggle span,
.site-header:not(.is-home) .nav-toggle span {
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  z-index: 1001;
}

.brand img,
.brand svg {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links a,
.drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--navy);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.drop-btn:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.site-header.is-home .nav-links a:hover,
.site-header.is-home .drop-btn:hover,
.site-header.is-home .nav-links a.active {
  color: var(--gold-2);
}

.site-header.scrolled .nav-links a.active,
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .drop-btn:hover,
.site-header:not(.is-home) .nav-links a.active {
  color: var(--gold-dark);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
  z-index: 20;
}

.nav-links > li:hover > .dropdown,
.nav-links > li:focus-within > .dropdown,
.nav-links > li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--navy) !important;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
}

.dropdown a:hover {
  background: var(--cream);
  color: var(--gold-dark) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  left: 0;
  right: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: var(--navy) center / cover no-repeat;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.active .hero-bg {
  animation: kenburns 14s ease forwards;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 37, 0.55) 0%, rgba(6, 21, 37, 0.72) 55%, rgba(6, 21, 37, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1.12;
  max-width: 920px;
  font-weight: 600;
}

.hero p.lead {
  margin-top: 18px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 21, 37, 0.35);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-nav.prev {
  left: 18px;
}

.hero-nav.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--gold);
  width: 28px;
  border-radius: 8px;
}

#spark-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

@keyframes kenburns {
  to {
    transform: scale(1.18) translate(-1.5%, -1%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.28s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(196, 163, 90, 0.28);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(196, 163, 90, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

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

.btn-navy:hover {
  background: var(--navy-3);
  transform: translateY(-3px);
}

.btn-line {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-line:hover {
  background: var(--navy);
  color: #fff;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--navy);
  line-height: 1.2;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

.kicker {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Trust bar */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  text-align: center;
  padding: 8px;
}

.trust-item strong {
  display: block;
  font-family: var(--num);
  font-size: 1.35rem;
  color: var(--gold-2);
}

.trust-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Cards */
.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.3s ease;
  border: 1px solid var(--line);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(6, 21, 37, 0.16);
}

.card-media {
  background: #ebe4d4;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 22px 22px 24px;
}

.card-body h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-body .link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img,
.split .media-frame {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: #ebe4d4;
}

.split .media-frame {
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: none;
}

.split h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.checklist {
  margin-top: 18px;
  list-style: none;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 14px;
}

/* Page hero */
.page-hero {
  width: 100%;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 72px 20px 70px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 37, 0.62), rgba(6, 21, 37, 0.78));
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.page-hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 22px;
}

.t-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.t-item .when {
  font-family: var(--num);
  color: var(--gold-dark);
  font-weight: 700;
}

/* Clients */
.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.client-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(6, 21, 37, 0.06);
}

/* Presence */
.presence {
  background: var(--navy);
  color: #fff;
}

.presence h2,
.cta-band h2 {
  font-family: var(--display);
  color: #fff;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy-2), var(--navy));
  text-align: center;
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 10px 0 24px;
}

/* Footer */
.site-footer {
  background: #040e18;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--gold-2);
}

.credit {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
}

.credit a {
  display: inline;
  color: var(--gold-2);
  font-weight: 700;
}

/* Floating actions */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
  position: relative;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-btn.wa {
  background: #25d366;
  animation: pulse 2.8s ease-in-out infinite;
}

.float-btn.call {
  background: #0b5cab;
  animation: pulse 2.8s ease-in-out infinite 0.4s;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(196, 163, 90, 0.12); }
}

.float-btn .tip {
  position: absolute;
  right: 64px;
  background: var(--navy);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-family: var(--num);
}

.float-btn:hover .tip {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 24, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}

.fade-up.in {
  opacity: 1;
  transform: none;
}

.leader {
  text-align: center;
}

.leader img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ebe4d4;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.office-card h3 {
  font-family: var(--display);
  color: var(--navy);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.cred-grid img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #ebe4d4;
  cursor: zoom-in;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.specs th,
.specs td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.specs th {
  width: 38%;
  color: var(--navy);
  background: var(--cream-2);
}

.gold-line {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}

.section-head .gold-line {
  margin-top: 16px;
}

/* Mobile */
@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: #061525;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px 24px 40px;
    gap: 4px;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a,
  .drop-btn {
    color: #fff !important;
    width: 100%;
    justify-content: space-between;
    font-size: 1.05rem;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a.active,
  .nav-links a:hover {
    color: var(--gold-2) !important;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .nav-links > li.open > .dropdown {
    display: block;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.82) !important;
    border: 0;
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .split,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-nav {
    display: none;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .float-actions {
    right: 10px;
    bottom: 12px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn .tip {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.05rem;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    min-height: 44vh;
    padding: 56px 16px 48px;
  }
}
