/* =========================================================
   HORIZON OOH — Modern redesign
   Brand: deep navy + warm gold
   ========================================================= */

:root {
  --gold: #ea943f;
  --gold-light: #f6b571;
  --gold-soft: rgba(234, 148, 63, 0.14);

  --navy-950: #020a19;
  --navy-900: #04112a;
  --navy-800: #0a1c3d;
  --navy-700: #13284f;

  --white: #ffffff;
  --text: #e8edf6;
  --muted: #9aa8c2;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.035);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.text-gold {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-950);
  border-radius: 8px;
  font-weight: 600;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(234, 148, 63, 0.7);
}

.btn-gold:hover {
  box-shadow: 0 16px 40px -10px rgba(234, 148, 63, 0.9);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
}

.section-lead {
  max-width: 420px;
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, height 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(2, 10, 25, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-text b {
  color: var(--gold);
  font-weight: 800;
}

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

.main-nav > a:not(.btn) {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav > a:not(.btn):hover,
.main-nav > a.is-active {
  color: var(--white);
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform-origin: 70% 50%;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 28%, rgba(2, 10, 25, 0.55) 46%, rgba(2, 10, 25, 0.05) 70%, rgba(2, 10, 25, 0.3) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(2, 10, 25, 0) 35%);
}

.hero-content {
  max-width: 1200px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 12ch;
}

.hero-sub {
  margin-top: 26px;
  max-width: 520px;
  font-size: 1.1rem;
  color: rgba(232, 237, 246, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 64px 0 0;
  max-width: 600px;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  flex: 1;
  padding: 22px 24px 0 0;
}

.hero-stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  order: 2;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stats small {
  font-size: 0.55em;
  color: var(--gold);
  font-weight: 600;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--gold);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Brands marquee ---------- */
.brands {
  padding: 34px 0;
  border-block: 1px solid var(--line);
  background: var(--navy-900);
  text-align: center;
}

.brands-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.32);
  padding: 0 38px;
  position: relative;
  transition: color 0.3s;
}

.marquee-track span::after {
  content: "✦";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6em;
  color: var(--gold);
  opacity: 0.6;
}

.marquee-track span:hover {
  color: var(--white);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sites ---------- */
.sites {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(234, 148, 63, 0.08), transparent 70%),
    var(--navy-950);
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.site-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 4 / 3.4;
  text-align: left;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

/* Feature the first two cards larger */
.site-card.is-featured {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.site-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}

.site-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 10, 25, 0) 30%, rgba(2, 10, 25, 0.55) 60%, rgba(2, 10, 25, 0.96) 100%);
  transition: opacity 0.4s;
}

.site-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 148, 63, 0.5);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(234, 148, 63, 0.15);
}

.site-card:hover img {
  transform: scale(1.07);
}

.site-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.site-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.site-card .site-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(2, 10, 25, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.chip i {
  color: var(--gold-light);
  font-size: 0.72rem;
}

.site-card .site-dir {
  margin-top: 8px;
  font-size: 0.86rem;
  color: rgba(232, 237, 246, 0.75);
}

.site-card .site-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-950);
  transform: rotate(-45deg) scale(0.9);
  opacity: 0.9;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.site-card:hover .site-arrow {
  transform: rotate(0) scale(1);
  opacity: 1;
}

.site-card .site-count {
  position: absolute;
  top: 18px;
  right: 18px;
}

.site-card .site-no {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(2, 10, 25, 0.72);
  backdrop-filter: blur(6px);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.site-card.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 30px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    var(--navy-900);
  border: 1px dashed rgba(234, 148, 63, 0.4);
  cursor: default;
}

.site-card.coming-soon {
  aspect-ratio: auto;
  min-height: 220px;
}

.site-card.coming-soon::before {
  display: none;
}

.site-card.coming-soon:hover {
  transform: none;
}

.site-card.coming-soon i {
  font-size: 2rem;
  color: var(--gold);
}

.site-card.coming-soon p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 260px;
}

/* ---------- About ---------- */
.about {
  background: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-copy > p {
  margin-top: 24px;
  font-size: 1.08rem;
  color: rgba(232, 237, 246, 0.82);
  max-width: 520px;
}

.mission {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.mission > i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 4px;
}

.mission h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mission p {
  color: var(--muted);
  font-size: 0.96rem;
}

.ceo-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.ceo-photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.ceo-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(234, 148, 63, 0.35);
}

.ceo-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ceo-body h3 {
  font-size: 1.6rem;
  margin: 14px 0 12px;
}

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

.ceo-portfolio {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.ceo-portfolio h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.ceo-portfolio small {
  color: var(--muted);
  font-weight: 400;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: border-color 0.3s, color 0.3s;
}

.tags li:hover {
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- Why ---------- */
.why {
  background: var(--navy-950);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  position: relative;
  padding: 40px 32px 36px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 148, 63, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 148, 63, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.why-card:hover::before {
  opacity: 1;
}

.why-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.05);
}

.why-card > i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.3rem;
  color: var(--gold);
  background: var(--gold-soft);
  margin-bottom: 26px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 40px;
  background: var(--navy-950);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(4, 17, 42, 0.96), rgba(10, 28, 61, 0.88)),
    url("assets/slide.jpeg") center / cover;
  border: 1px solid rgba(234, 148, 63, 0.25);
}

.contact-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 148, 63, 0.35), transparent 65%);
  filter: blur(10px);
}

.contact-copy > p {
  margin-top: 18px;
  color: rgba(232, 237, 246, 0.82);
  max-width: 440px;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}

.contact-list a:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}

.contact-list i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: var(--gold-soft);
}

.contact-list span {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}

.contact-list small {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  margin-top: 120px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-tag {
  font-family: var(--font-head);
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-right: 84px; /* keep text clear of the floating WhatsApp button */
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.fab-whatsapp.is-visible {
  transform: scale(1);
}

.fab-whatsapp:hover {
  transform: scale(1.08);
}

/* ---------- Modal / Lightbox ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s;
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 16, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  width: min(1180px, 100%);
  max-height: calc(100svh - 48px);
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--ease);
}

.modal.is-open .modal-box {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(2, 10, 25, 0.7);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--navy-950);
  transform: rotate(90deg);
}

.modal-media {
  position: relative;
  background: #000;
  min-height: 420px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
}

.modal-media img.is-loading {
  opacity: 0.25;
}

.media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(2, 10, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}

.media-nav:hover {
  background: var(--gold);
  color: var(--navy-950);
}

.media-nav.prev { left: 16px; }
.media-nav.next { right: 16px; }

.media-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.media-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s var(--ease), background 0.3s;
}

.media-dots button.is-active {
  width: 26px;
  background: var(--gold);
}

.modal-info {
  padding: 44px 36px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-info h2 {
  font-size: 1.9rem;
  margin-bottom: 26px;
}

.spec-list {
  margin: 0 0 30px;
  display: grid;
  gap: 0;
}

.spec-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.spec-list dd {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--white);
}

.modal-site-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.modal-site-nav button {
  font-size: 0.88rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.modal-site-nav button:hover {
  color: var(--gold-light);
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* =========================================================
   v2 components
   ========================================================= */

/* ---------- How it works ---------- */
.steps {
  background:
    radial-gradient(700px 360px at 15% 100%, rgba(234, 148, 63, 0.07), transparent 70%),
    var(--navy-950);
  padding-top: 40px;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 148, 63, 0.5), transparent);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 18px 8px;
}

.step-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 8px var(--navy-950), 0 12px 30px -10px rgba(234, 148, 63, 0.8);
}

.step > i {
  display: none;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  max-width: 300px;
  margin-inline: auto;
}

/* ---------- Contact v2 ---------- */
.contact-card {
  align-items: start;
}

.contact-copy .contact-list {
  margin-top: 34px;
}

.enquiry {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  background: rgba(2, 10, 25, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.enquiry h3 {
  font-size: 1.4rem;
}

.enquiry-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 6px 0 22px;
}

.field {
  margin-bottom: 18px;
}

.field > label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(232, 237, 246, 0.85);
  margin-bottom: 8px;
}

.field input[type="text"],
.field select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f6b571' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select option {
  background: var(--navy-900);
  color: var(--white);
}

.field input::placeholder {
  color: rgba(154, 168, 194, 0.7);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.field input.is-invalid {
  border-color: #ff6b6b;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips label {
  cursor: pointer;
}

.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chips span {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(232, 237, 246, 0.85);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.chips input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
}

.chips input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-error {
  color: #ff8a8a;
  font-size: 0.86rem;
  margin: -4px 0 14px;
}

/* ---------- Lightbox thumbnails ---------- */
.media-dots {
  gap: 8px;
  padding: 0 16px;
  justify-content: safe center;
  overflow-x: auto;
  scrollbar-width: none;
}

.media-dots::-webkit-scrollbar {
  display: none;
}

.media-dots button.thumb {
  flex: 0 0 auto;
  width: 58px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  opacity: 0.6;
  border: 2px solid transparent;
  background: #000;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
}

.media-dots button.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-dots button.thumb:hover {
  opacity: 0.9;
}

.media-dots button.thumb.is-active {
  width: 58px;
  opacity: 1;
  border-color: var(--gold);
  background: #000;
  transform: translateY(-2px);
}

/* ---------- Carousel bar (mobile only) ---------- */
.carousel-bar {
  display: none;
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none;
}

.modal-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
}

.media-dots {
  z-index: 2;
}

/* ---------- All-sites table (crawlable summary of the inventory) ---------- */
.sites-table {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.sites-table summary,
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.sites-table summary::after,
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}

.sites-table[open] summary::after,
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.sites-table summary {
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}

.sites-table summary:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.table-wrap {
  overflow-x: auto;
  padding: 0 24px 24px;
}

.sites-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.sites-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sites-table th,
.sites-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.sites-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.sites-table tbody th {
  font-weight: 600;
  color: var(--white);
}

.sites-table td {
  color: var(--muted);
}

.sites-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--navy-900);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(234, 148, 63, 0.4);
}

.faq-item summary {
  padding: 20px 24px;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .sites-table summary,
  .faq-item summary {
    padding: 16px 18px;
  }

  .table-wrap {
    padding: 0 12px 16px;
  }

  .faq-item p {
    padding: 0 18px 18px;
  }
}
