:root {
  --navy: #0d2350;
  --navy-2: #13306b;
  --navy-deep: #081634;
  --gold: #c9a23f;
  --gold-2: #e2c26a;
  --ink: #1b2233;
  --muted: #5d6578;
  --line: #e4e7ee;
  --bg-alt: #f5f6fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 35, 80, 0.1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(201, 162, 63, .35); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 600; color: var(--gold-2); margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold); }

h1, h2 { font-family: var(--serif); line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255,255,255,0); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 2px 20px rgba(0,0,0,.08); backdrop-filter: blur(8px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 50%; background: #fff; }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--white); line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.site-header.scrolled .brand-text { color: var(--navy); }
.site-header.scrolled .brand-text small { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--white); font-weight: 500; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.site-header.scrolled .nav a:not(.btn) { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,22,52,.94) 0%, rgba(13,35,80,.8) 45%, rgba(13,35,80,.25) 100%); }
.hero-content { position: relative; padding: 130px 0 80px; max-width: 1180px; }
.hero h1 { color: var(--white); font-size: clamp(38px, 6.2vw, 72px); max-width: 760px; margin-bottom: 22px; }
.hero h1 span { color: var(--gold-2); }
.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media > img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.badge-card { position: absolute; right: -18px; bottom: -26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 20px 14px 14px; display: flex; align-items: center; gap: 14px; border-left: 4px solid var(--gold); }
.badge-card strong { display: block; color: var(--navy); font-size: 15px; }
.badge-card span { color: var(--muted); font-size: 13.5px; }
.split-text p { color: var(--muted); margin-bottom: 16px; }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-size: 12px; display: grid; place-items: center; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 28px; height: 28px; fill: var(--gold-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 30px 24px; border-radius: var(--radius); background: var(--bg-alt); position: relative; }
.step-no { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Technology */
.section-dark { background: radial-gradient(circle at 20% 0%, var(--navy-2), var(--navy-deep) 70%); color: var(--white); }
.section-head.light h2 { color: var(--white); }
.section-head.light p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tech-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; transition: transform .25s; }
.tech-item:hover { transform: translateY(-4px); }
.tech-img { background: #fff; aspect-ratio: 16/9.5; display: grid; place-items: center; padding: 18px; }
.tech-img.grey { background: #a9abad; padding: 0; }
.tech-img img { width: 100%; height: 100%; object-fit: contain; }
.tech-img.grey img { object-fit: cover; }
.tech-item figcaption { padding: 20px 24px 24px; color: rgba(255,255,255,.75); font-size: 15px; }
.tech-item figcaption strong { display: block; color: var(--gold-2); font-size: 17px; margin-bottom: 4px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px; color: var(--navy-deep); }
.cta-band p { color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }
.contact-list { display: grid; gap: 20px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--navy-2); border-bottom: 1px solid var(--gold); word-break: break-all; }
.contact-list div { color: var(--muted); }
.ci-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; }
.ci-icon svg { width: 22px; height: 22px; fill: var(--navy); }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; border-top: 4px solid var(--gold); }
.contact-form h3 { font-family: var(--serif); font-size: 26px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form .invalid { border-color: #c0392b; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.brand.light .brand-text { color: var(--white); }
.site-footer .muted { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: var(--gold-2); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-2); }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.55); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.1); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; }
  .site-header.menu-open { background: var(--white); }
  .site-header.menu-open .brand-text { color: var(--navy); }
  .site-header.menu-open .nav-toggle span { background: var(--navy); }
  .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); }

  .split, .contact-grid, .tech-grid { grid-template-columns: 1fr; }
  .badge-card { right: 12px; bottom: -22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards, .steps, .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .brand-text { font-size: 17px; }
}
