:root {
  --ink: #071526;
  --ink-soft: #2e4057;
  --muted: #687789;
  --line: rgba(7, 21, 38, 0.12);
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --navy: #071526;
  --blue: #0f5cc8;
  --cyan: #31b7c9;
  --gold: #c9a24a;
  --shadow: 0 24px 70px rgba(7, 21, 38, 0.14);
  --radius: 8px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  background: var(--surface);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease, border-color .2s ease; }
p { color: var(--ink-soft); margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; font-weight: 760; }
h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.15rem; }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.topbar {
  background: #06111f;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}
.topbar__inner, .topbar__meta, .topbar__social { display: flex; align-items: center; gap: 18px; }
.topbar__inner { justify-content: space-between; min-height: 42px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--cyan); margin-right: 7px; }
.topbar__social a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.topbar__social i { margin: 0; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,21,38,.08);
}
.site-nav { min-height: 78px; padding: 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand__mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--radius); color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(15, 92, 200, .28);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand__mark--logo {
  width: 58px;
  background: #fff;
  border: 1px solid rgba(7, 21, 38, .1);
}
.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.brand__text { display: grid; gap: 0; line-height: 1; }
.brand__text strong { font-size: .98rem; letter-spacing: .04em; }
.brand__text small { color: var(--muted); font-size: .72rem; letter-spacing: .22em; margin-top: 4px; }
.nav-link {
  color: var(--ink);
  font-weight: 680;
  padding: 28px 14px !important;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 19px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left;
  transition: transform .24s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-item--cta { margin-left: 10px; }
.nav-toggle { border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.btn-premium, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 760; border: 1px solid transparent; cursor: pointer;
}
.btn-premium {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #073b86);
  box-shadow: 0 18px 42px rgba(15, 92, 200, .28);
}
.btn-premium:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 24px 50px rgba(15, 92, 200, .34); }
.btn-premium--small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-premium--light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-ghost:hover { color: #fff; border-color: #fff; transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--blue);
  font-size: .78rem; font-weight: 820; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }

.hero, .page-hero { position: relative; overflow: hidden; color: #fff; }
.hero { min-height: 760px; display: grid; align-items: center; padding: 120px 0 170px; }
.hero__media, .page-hero__media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.03);
}
.hero__overlay, .page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,13,25,.92), rgba(4,13,25,.64) 46%, rgba(4,13,25,.22)),
    linear-gradient(0deg, rgba(4,13,25,.5), transparent 45%);
}
.hero__content, .page-hero__content { position: relative; z-index: 2; max-width: 850px; }
.hero .eyebrow, .page-hero .eyebrow { color: #9fe8f1; }
.hero p, .page-hero p { color: rgba(255,255,255,.86); font-size: 1.16rem; max-width: 720px; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__insights {
  position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(22px); border-radius: var(--radius); overflow: hidden;
}
.hero__insights div { padding: 24px; border-right: 1px solid rgba(255,255,255,.18); }
.hero__insights div:last-child { border-right: 0; }
.hero__insights strong { display: block; font-size: 1.7rem; color: #fff; }
.hero__insights span { color: rgba(255,255,255,.78); font-size: .9rem; }

.page-hero { min-height: 470px; display: grid; align-items: center; padding: 110px 0; }

.section { padding: 110px 0; }
.section--muted { background: var(--surface-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split--center { align-items: center; }
.split--media { align-items: center; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.lead-panel {
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.74); box-shadow: var(--shadow);
}
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.principles span {
  padding: 8px 12px; border-radius: 999px; background: #eef5ff; color: #084796; font-weight: 700; font-size: .88rem;
}

.service-grid, .value-grid, .team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.service-card, .value-card, .team-card, .contact-panel, .contact-aside, .premium-form {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 42px rgba(7,21,38,.08);
}
.service-card { overflow: hidden; transition: transform .24s ease, box-shadow .24s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card figure { height: 210px; overflow: hidden; margin: 0; position: relative; }
.service-card figure::after, .media-frame::after, .service-detail figure::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,21,38,.32), transparent 58%);
}
.service-card img, .team-card img, .media-frame img, .service-detail img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.06); }
.service-card div { padding: 24px; }
.service-card p { min-height: 104px; }
.service-card span { color: var(--blue); font-weight: 760; }

.image-band { position: relative; isolation: isolate; background-image: linear-gradient(rgba(7,21,38,.88), rgba(7,21,38,.88)), var(--band-image); background-size: cover; background-attachment: fixed; background-position: center; }
.process-list { display: grid; gap: 14px; }
.process-list div {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center;
  padding: 22px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); backdrop-filter: blur(16px); border-radius: var(--radius);
}
.process-list strong { color: var(--cyan); font-size: 1.35rem; }
.process-list span { color: rgba(255,255,255,.86); }

.media-frame { position: relative; margin: 0; min-height: 430px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.value-grid { grid-template-columns: repeat(4, 1fr); }
.value-card { padding: 28px; }
.value-card strong { color: var(--gold); font-size: 1.1rem; }
.value-card h3 { margin: 18px 0 12px; }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card { overflow: hidden; }
.team-card img { height: 320px; }
.team-card div { padding: 26px; }
.team-card span { color: var(--blue); font-weight: 780; font-size: .9rem; }

.service-detail-list { display: grid; gap: 34px; }
.service-detail {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 42px rgba(7,21,38,.08);
}
.service-detail:nth-child(even) figure { order: 2; }
.service-detail figure { position: relative; height: 340px; overflow: hidden; border-radius: var(--radius); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 10px; }

.contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; padding: 42px; align-items: center; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: start; }
.contact-aside { padding: 34px; position: sticky; top: 110px; display: grid; gap: 16px; }
.contact-aside a, .contact-aside span { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.contact-aside i { color: var(--blue); margin-top: 5px; }
.premium-form { padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid__full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 740; font-size: .9rem; }
input, textarea, select {
  width: 100%; border: 1px solid rgba(7,21,38,.16); border-radius: var(--radius);
  padding: 13px 14px; color: var(--ink); background: #fff; outline: none; transition: border .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,92,200,.12); }
textarea { resize: vertical; }
.premium-form .btn-premium { margin-top: 20px; border: 0; }

.map-section iframe { width: 100%; height: 460px; border: 0; display: block; filter: saturate(.9) contrast(1.02); }
.closing-cta {
  background: linear-gradient(135deg, var(--blue), #062a5f);
  color: #fff; padding: 54px 0;
}
.closing-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.closing-cta h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); max-width: 780px; }
.closing-cta .eyebrow { color: #baf4fb; }

.site-footer { background: #06111f; color: rgba(255,255,255,.78); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 42px; }
.brand--footer { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.7); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; }
.sub-footer { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; }
.sub-footer p { color: rgba(255,255,255,.56); margin: 0; }

.toast-stack { position: fixed; top: 92px; right: 22px; z-index: 2000; display: grid; gap: 10px; width: min(360px, calc(100% - 44px)); }
.toast-message { padding: 14px 16px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); background: var(--blue); font-weight: 720; }
.toast-message.error { background: #b42318; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .topbar__inner { align-items: flex-start; padding: 10px 0; }
  .topbar__meta { flex-wrap: wrap; gap: 8px 14px; }
  .topbar__social { display: none; }
  .site-nav { min-height: 68px; }
  .navbar-collapse { padding: 12px 0 20px; }
  .nav-link { padding: 12px 0 !important; }
  .nav-link::after { left: 0; right: auto; width: 42px; bottom: 7px; }
  .nav-item--cta { margin-left: 0; margin-top: 8px; }
  .hero { min-height: 740px; padding: 96px 0 250px; }
  .hero__insights { grid-template-columns: repeat(2, 1fr); bottom: 24px; }
  .hero__insights div { padding: 18px; }
  .split, .contact-panel, .contact-layout, .service-detail { grid-template-columns: 1fr; }
  .service-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) figure { order: 0; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1160px); }
  h1 { font-size: 2.55rem; }
  .topbar { display: none; }
  .brand { min-width: 0; }
  .brand__text strong { font-size: .85rem; }
  .hero { min-height: 700px; padding: 82px 0 250px; }
  .hero p, .page-hero p { font-size: 1rem; }
  .hero__actions { align-items: stretch; }
  .hero__actions a, .btn-premium, .btn-ghost { width: 100%; }
  .hero__insights { width: var(--shell); grid-template-columns: 1fr 1fr; }
  .hero__insights strong { font-size: 1.35rem; }
  .hero__insights span { font-size: .78rem; }
  .page-hero { min-height: 420px; padding: 82px 0; }
  .section { padding: 72px 0; }
  .service-grid, .value-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .contact-panel, .premium-form, .contact-aside, .lead-panel, .service-detail { padding: 24px; }
  .service-detail figure, .media-frame { min-height: 280px; height: 280px; }
  .closing-cta__inner, .sub-footer { flex-direction: column; align-items: flex-start; }
  .image-band { background-attachment: scroll; }
}
