/* =====================================================
   RARO PRIME – Infra & Facility Management
   Palette taken from the logo: navy, brass gold, silver
   Type: Marcellus (classical serif, close to the logo wordmark) + Montserrat
   ===================================================== */

:root {
  --ink: #061226;
  --ink-2: #040b19;
  --navy: #0c2148;
  --navy-2: #0f2a5c;
  --navy-3: #16386f;
  --gold: #c9a24b;
  --gold-2: #e2c87f;
  --gold-3: #9c7a2c;
  --silver: #cfd4dc;
  --paper: #f2f1ed;
  --text: #d3d9e6;
  --muted: #919db6;
  --serif: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 80px;
  --top-h: 40px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: #fff; }
button { font: inherit; cursor: pointer; }

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

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, color .3s, border-color .3s;
}
/* fill sweeps in from the left on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--gold-2); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201,162,75,.42); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost::before { background: var(--gold); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 12px 28px rgba(201,162,75,.3); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy::before { background: var(--gold); }
.btn-navy:hover { color: var(--ink); box-shadow: 0 12px 28px rgba(15,42,92,.35); }
.btn-block { width: 100%; }

.text-link {
  display: inline-block; margin-top: 22px; padding-bottom: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-2);
  border-bottom: 1px solid rgba(201,162,75,.5);
  transition: color .25s, border-color .25s, letter-spacing .3s;
}
.text-link:hover { color: #fff; border-color: #fff; letter-spacing: .1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(6,18,38,.82), rgba(6,18,38,0));
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(9,24,52,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,.3), 0 1px 0 rgba(201,162,75,.3);
}

/* slim contact bar, folds away once you scroll */
.topbar {
  height: var(--top-h); overflow: hidden; font-size: 12.5px; color: var(--silver);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: height .35s, opacity .35s, border-color .35s;
}
.site-header.is-scrolled .topbar { height: 0; opacity: 0; border-color: transparent; }
.topbar-inner { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-loc, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.topbar-links { display: flex; gap: 28px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .3s; }
.site-header.is-scrolled .header-inner { height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 62px; width: auto; border-radius: 6px; background: #e9e9ea;
  box-shadow: 0 0 0 1px rgba(201,162,75,.6), 0 8px 20px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.brand:hover .brand-logo { transform: scale(1.06) rotate(-1.5deg); box-shadow: 0 0 0 1px var(--gold), 0 10px 26px rgba(201,162,75,.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: .07em; color: #fff; }
.brand-text small { margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 7px; padding: 11px 17px;
  font-size: 15px; font-weight: 500; color: #eaf0fa; border-radius: 999px;
  transition: color .25s, background .3s;
}
.main-nav > ul > li > a::after { /* gold underline draws in on hover, stays on the current section */
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.main-nav > ul > li:hover > a,
.main-nav > ul > li > a:focus-visible,
.main-nav > ul > li > a.is-current { color: var(--gold-2); }
.main-nav > ul > li:hover > a { background: rgba(201,162,75,.11); }
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li > a:focus-visible::after,
.main-nav > ul > li > a.is-current::after { transform: scaleX(1); transform-origin: left; }
.caret { width: 10px; height: 7px; transition: transform .35s; }
.has-drop:hover .caret, .has-drop:focus-within .caret { transform: rotate(180deg); }

/* services dropdown */
.drop {
  position: absolute; top: 100%; left: 50%; width: 620px; padding-top: 14px;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  transition: opacity .28s, transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s .28s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  transform: translate(-50%, 0); opacity: 1; visibility: visible;
  transition: opacity .28s, transform .28s cubic-bezier(.2,.7,.2,1);
}
.drop-panel {
  background: var(--ink); border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px;
  padding: 22px 20px 20px; box-shadow: 0 34px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(201,162,75,.15);
}
.drop-title { font-family: var(--serif); font-size: 1.15rem; color: #fff; padding: 0 12px; margin-bottom: 10px; }
.drop-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.drop-panel ul a {
  position: relative; display: block; padding: 9px 12px 9px 30px; border-radius: 6px;
  font-size: 13.5px; line-height: 1.4; color: var(--text);
  transition: background .25s, color .25s, padding-left .3s cubic-bezier(.2,.7,.2,1);
}
.drop-panel ul a::before {
  content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg) scale(.55); opacity: .5; transition: transform .3s, opacity .3s;
}
.drop-panel ul a:hover, .drop-panel ul a:focus-visible { background: rgba(201,162,75,.13); color: #fff; padding-left: 37px; }
.drop-panel ul a:hover::before, .drop-panel ul a:focus-visible::before { transform: translateY(-50%) rotate(45deg) scale(1); opacity: 1; }
.drop-all {
  display: block; margin-top: 14px; padding: 12px; border-radius: 8px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--ink); background: var(--gold);
  transition: background .25s, transform .25s;
}
.drop-all:hover { background: var(--gold-2); transform: translateY(-2px); }

/* "Get a Quote" pill with a light sweep on hover */
.nav-cta {
  position: relative; isolation: isolate; overflow: hidden; white-space: nowrap;
  padding: 13px 28px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 22px rgba(201,162,75,.35);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.nav-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg); transition: left .75s cubic-bezier(.2,.7,.2,1);
}
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(201,162,75,.5); }
.nav-cta:hover::before, .nav-cta:focus-visible::before { left: 130%; }

.nav-toggle {
  display: none; width: 46px; height: 46px; background: none; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); padding: 0; position: relative; transition: border-color .25s, background .25s;
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(201,162,75,.1); }
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s 1.2s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }

/* Each layer falls through: dark overlay -> your photo -> built-in fallback gradient.
   Drop hero-1.jpg ... hero-6.jpg into /images and they appear automatically. */
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide-bg::before { /* subtle architectural grid, visible only when no photo is present */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,75,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to left, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 75%);
}
.bg-1 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/8961030/pexels-photo-8961030.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #0f2a5c 60%, #2b2a2c 100%); }
.bg-2 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/4956918/pexels-photo-4956918.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #12306a 55%, #4a3b19 100%); }
.bg-3 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/162539/pexels-photo-162539.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #0c2148 50%, #16386f 100%); }
.bg-4 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/5493653/pexels-photo-5493653.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #0f2a5c 55%, #3a3220 100%); }
.bg-5 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/32497161/pexels-photo-32497161.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #16386f 60%, #3b4453 100%); }
.bg-6 { background-image: linear-gradient(100deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.65) 55%, rgba(6,18,38,.35) 100%), url("https://images.pexels.com/photos/901941/pexels-photo-901941.jpeg?auto=compress&cs=tinysrgb&w=1800"), linear-gradient(135deg, #061226 0%, #0c2148 55%, #4a3b19 100%); }

.slide.is-active .slide-bg { animation: settle 10s ease-out both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 36%;
  color: #1b3d7a; opacity: .5; z-index: 1; pointer-events: none;
}

.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--ink)); }
.slide-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + var(--top-h)); padding-bottom: 170px; }
.slide-kicker {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--gold-2); margin-bottom: 24px;
}
.slide-kicker::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.slide h1, .slide h2 {
  max-width: 19ch; font-size: clamp(2.3rem, 4.6vw, 4.2rem); letter-spacing: .005em; margin-bottom: 26px;
}
.slide:first-child h1 { max-width: 21ch; }
.slide-sub { max-width: 52ch; font-size: 16px; color: var(--silver); margin-bottom: 40px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.slide.is-active .slide-kicker,
.slide.is-active h1,
.slide.is-active h2,
.slide.is-active .slide-sub,
.slide.is-active .slide-actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active h1, .slide.is-active h2 { animation-delay: .15s; }
.slide.is-active .slide-sub { animation-delay: .3s; }
.slide.is-active .slide-actions { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-controls {
  position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero-count { flex: 1; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 18px; color: #fff; }
.hero-count i { width: 40px; height: 1px; background: rgba(255,255,255,.4); }
.hero-count span:last-child { color: var(--muted); }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 24px; background: none; border: 0; padding: 0; position: relative;
}
.hero-dots button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.3); transition: background .3s;
}
.hero-dots button[aria-selected="true"]::after { background: var(--gold); }
.hero-arrows { flex: 1; display: flex; justify-content: flex-end; gap: 10px; }
.arrow {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(6,18,38,.4); color: #fff; border: 1px solid rgba(255,255,255,.35);
  transition: background .25s, border-color .25s, color .25s;
}
.arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 5; margin-top: -96px; padding-bottom: 96px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; overflow: hidden; background: var(--navy); padding: 46px 38px 44px;
  border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, background .45s;
}
.pillar::after { /* gold line draws across the bottom */
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.pillar:hover { transform: translateY(-10px); background: #0f2757; box-shadow: 0 44px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(201,162,75,.35); }
.pillar:hover::after { transform: none; }
.pillar-icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 26px; transition: transform .5s cubic-bezier(.2,.7,.2,1), color .3s; }
.pillar:hover .pillar-icon { transform: translateY(-5px) scale(1.14); color: var(--gold-2); }
.pillar h3 { font-size: 1.65rem; margin-bottom: 14px; }
.pillar p { color: var(--text); font-size: 14.5px; }

/* ---------- Tagline strip ---------- */
.strip { overflow: hidden; border-block: 1px solid rgba(201,162,75,.3); background: var(--ink-2); padding: 22px 0; }
.strip-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip-track span {
  font-family: var(--serif); font-size: 1.3rem; color: var(--gold-2); white-space: nowrap;
  display: inline-flex; align-items: center;
}
.strip-track span::after { content: ""; width: 7px; height: 7px; margin: 0 34px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections (shared) ---------- */
.about, .services, .why, .work, .process, .contact { padding: 120px 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-head-split p { max-width: 42ch; }

/* ---------- About ---------- */
.about { background: var(--paper); color: #33405a; overflow: hidden; }
.watermark {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 15rem); line-height: 1;
  letter-spacing: .14em; white-space: nowrap; color: #e6e3d9; user-select: none; pointer-events: none;
}
.about-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 88px; align-items: center; }
.about-logo { position: relative; }
.about-logo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: 0;
}
.about-logo img { position: relative; z-index: 1; width: 100%; height: auto; box-shadow: 0 30px 70px rgba(6,18,38,.22); }
.about-copy h2 { color: var(--navy-2); font-size: clamp(2.2rem, 4vw, 3.3rem); margin-bottom: 26px; }
.about-copy p { margin-bottom: 18px; font-size: 16px; }
.about-copy .about-tagline { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-3); margin: 28px 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 38px; }
.chip-list li { position: relative; padding-left: 20px; font-weight: 600; color: var(--navy-2); }
.chip-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Services ---------- */
.services { background: var(--ink); }
.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.service-list li {
  position: relative; padding: 30px 56px 30px 0; border-bottom: 1px solid rgba(201,162,75,.22); scroll-margin-top: 110px;
  transition: padding-left .35s cubic-bezier(.2,.7,.2,1), background .35s, border-color .35s;
}
.service-list li::before { /* gold bar grows down the left edge */
  content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.service-list li::after { /* arrow slides in from the left */
  content: ""; position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c87f' stroke-width='1.6'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.service-list li:hover, .service-list li:target {
  padding-left: 24px; border-color: var(--gold);
  background: linear-gradient(90deg, rgba(201,162,75,.10), transparent 75%);
}
.service-list li:hover::before, .service-list li:target::before { transform: scaleY(1); }
.service-list li:hover::after, .service-list li:target::after { opacity: 1; transform: none; }
.service-list h3 { font-size: 1.45rem; margin-bottom: 8px; transition: color .25s; }
.service-list li:hover h3, .service-list li:target h3 { color: var(--gold-2); }
.service-list p { color: var(--muted); font-size: 14.5px; max-width: 46ch; }

/* ---------- Why ---------- */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-grid article {
  padding: 26px 28px 30px; border-left: 1px solid rgba(201,162,75,.4);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s, box-shadow .4s;
}
.why-grid article:hover { transform: translateY(-8px); background: rgba(255,255,255,.045); border-left-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.why-grid h3 { font-size: 1.4rem; margin-bottom: 14px; transition: color .3s; }
.why-grid article:hover h3 { color: var(--gold-2); }
.why-grid p { color: var(--text); font-size: 14.5px; }

/* ---------- Work ---------- */
.work { background: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 360px; gap: 22px; }
.tile {
  position: relative; overflow: hidden; display: block; border-radius: 10px; background: var(--navy);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.tile:hover, .tile:focus-visible { transform: translateY(-9px); box-shadow: 0 34px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(201,162,75,.65); }
.tile-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(.85) brightness(.92);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.tile:hover .tile-img, .tile:focus-visible .tile-img { transform: scale(1.1); filter: saturate(1.12) brightness(1); }
.tile-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,18,38,.95) 0%, rgba(6,18,38,.38) 45%, rgba(6,18,38,.05) 78%);
  transition: opacity .5s;
}
.tile-img::before { /* gold wash that fades in on hover */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0;
  background: linear-gradient(to top, rgba(201,162,75,.45), rgba(201,162,75,0) 70%); transition: opacity .5s;
}
.tile:hover .tile-img::before, .tile:focus-visible .tile-img::before { opacity: 1; }
.t1 .tile-img { background-image: url("https://images.pexels.com/photos/4956920/pexels-photo-4956920.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #0f2a5c, #16386f 60%, #3a3220); }
.t2 .tile-img { background-image: url("https://images.pexels.com/photos/7218579/pexels-photo-7218579.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #12306a, #0c2148 60%, #4a3b19); }
.t3 .tile-img { background-image: url("https://images.pexels.com/photos/5998120/pexels-photo-5998120.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #0c2148, #16386f 60%, #3b4453); }
.t4 .tile-img { background-image: url("https://images.pexels.com/photos/33671149/pexels-photo-33671149.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #16386f, #0c2148 60%, #2b2a2c); }
.t5 .tile-img { background-image: url("https://images.pexels.com/photos/27928762/pexels-photo-27928762.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #0f2a5c, #0c2148 60%, #4a3b19); }
.t6 .tile-img { background-image: url("https://images.pexels.com/photos/14965465/pexels-photo-14965465.jpeg?auto=compress&cs=tinysrgb&w=1000"), linear-gradient(135deg, #0c2148, #12306a 60%, #3b4453); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 28px 28px;
  transform: translateY(44px); transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { transform: none; }
.tile-cap h3 { font-size: 1.6rem; margin-bottom: 4px; }
.tile-cap span { display: block; font-size: 13.5px; color: var(--silver); }
.tile-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--gold-2); opacity: 0; transition: opacity .4s .12s;
}
.tile-more::before { content: ""; width: 0; height: 1px; background: var(--gold-2); transition: width .5s .1s; }
.tile:hover .tile-more, .tile:focus-visible .tile-more { opacity: 1; }
.tile:hover .tile-more::before, .tile:focus-visible .tile-more::before { width: 34px; }
@media (hover: none) {
  .tile-cap { transform: none; }
  .tile-more { opacity: 1; }
  .tile-more::before { width: 34px; }
}

/* ---------- Process ---------- */
.process { background: var(--paper); color: #33405a; }
.process .section-head h2 { color: var(--navy-2); }
.process .section-head p { color: #5b6784; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { position: relative; padding-top: 34px; border-top: 2px solid var(--navy-2); }
.steps li:hover .step-no { background: var(--navy-2); color: var(--gold-2); transform: scale(1.12) rotate(-4deg); }
.step-no {
  transition: background .3s, color .3s, transform .35s cubic-bezier(.2,.7,.2,1);
  position: absolute; top: -22px; left: 0; width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-family: var(--serif); font-size: 1.2rem;
}
.steps h3 { color: var(--navy-2); font-size: 1.45rem; margin-bottom: 10px; }
.steps p { font-size: 14.5px; }

/* ---------- AMC ---------- */
.amc {
  background: linear-gradient(100deg, rgba(15,42,92,.93) 0%, rgba(6,18,38,.94) 100%), url("https://images.pexels.com/photos/258160/pexels-photo-258160.jpeg?auto=compress&cs=tinysrgb&w=1800") center/cover;
  border-block: 1px solid rgba(201,162,75,.35); padding: 84px 0;
}
.amc-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.amc h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 14px; }
.amc p { max-width: 62ch; color: var(--silver); font-size: 16px; }
.amc .btn { flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 20px; }
.contact-info > p { color: var(--muted); font-size: 16px; margin-bottom: 40px; max-width: 48ch; }
.contact-info > p a, .details a { color: var(--gold-2); }
.contact-info > p a:hover, .details a:hover { color: #fff; }
.details { display: grid; gap: 26px; margin-bottom: 40px; }
.details dt { font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.details dd { font-size: 16px; color: #fff; }
.map { border: 1px solid rgba(201,162,75,.35); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

.contact-form-wrap { background: var(--navy); padding: 48px 44px; border-top: 3px solid var(--gold); }
.field { margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0; background: transparent; color: #fff;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0;
  font: inherit; font-size: 15px; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23c9a24b' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px;
}
.field select option { color: #0b1730; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; min-height: 1.5em; font-size: 14px; }
.form-status.ok { color: #8fe3a9; }
.form-status.err { color: #ffb3a7; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid rgba(201,162,75,.35); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.site-footer .brand-text strong { font-size: 21px; }
.footer-brand p { margin-top: 22px; font-family: var(--serif); font-size: 1.25rem; color: var(--gold-2); }
.site-footer h4 { font-size: 1.15rem; margin-bottom: 18px; color: #fff; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { display: inline-block; color: var(--text); transition: color .25s, transform .3s cubic-bezier(.2,.7,.2,1); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); transform: translateX(6px); }
.footer-contact p { margin-bottom: 16px; font-size: 14.5px; color: var(--muted); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size: 13px; color: var(--muted); }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --top-h: 0px; --header-h: 76px; }
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .site-header { background: rgba(9,24,52,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .site-header.is-scrolled .header-inner { height: var(--header-h); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 24px 28px; border-bottom: 1px solid rgba(201,162,75,.35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility 0s .3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .3s, opacity .3s; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 17px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .main-nav > ul > li:hover > a { background: none; }
  .main-nav > ul > li > a::after, .caret, .drop { display: none; }
  .nav-cta { margin-top: 22px; text-align: center; }
}

@media (max-width: 960px) {
  .about, .services, .why, .work, .process, .contact { padding: 84px 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-logo { max-width: 520px; margin-right: 22px; }
  .service-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 52px; }
  .amc-inner { flex-direction: column; align-items: flex-start; }
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .container { width: min(var(--wrap), 100% - 36px); }
  .brand-logo { height: 48px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 8.5px; letter-spacing: .14em; }
  .hero { min-height: 600px; }
  .slide-content { padding-bottom: 150px; padding-top: var(--header-h); }
  .slide-sub { font-size: 15px; margin-bottom: 30px; }
  .hero-controls { bottom: 92px; }
  .hero-count { display: none; }
  .hero-dots { flex: 1; }
  .hero-dots button { width: 26px; }
  .pillars { margin-top: -60px; padding-bottom: 64px; }
  .pillar { padding: 36px 26px; }
  .why-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
