:root {
  --navy: #081d2c;
  --navy-2: #102f42;
  --teal: #0b7f7b;
  --teal-soft: #dff4f1;
  --gold: #e2a447;
  --ivory: #f7f4ed;
  --white: #ffffff;
  --ink: #17242c;
  --muted: #60707a;
  --line: #d9e2e5;
  --shadow: 0 22px 60px rgba(8, 29, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.8vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #086d69; box-shadow: 0 12px 30px rgba(11,127,123,.25); }
.button.secondary { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.button.light { border-color: var(--line); background: var(--white); color: var(--navy); }
.button:focus-visible, .nav-toggle:focus-visible, .nav-links a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.topbar { background: var(--navy); color: #d9e7ed; font-size: .84rem; }
.topbar .container { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(8,29,44,.08); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--navy); font-weight: 900; line-height: 1; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px 4px 13px 4px; background: linear-gradient(135deg, var(--teal), var(--navy)); color: white; box-shadow: 0 8px 22px rgba(11,127,123,.22); }
.brand-copy small { display: block; margin-top: .3rem; color: var(--muted); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: #2d3c45; font-size: .9rem; font-weight: 750; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.5rem; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(8,29,44,.98) 0%, rgba(8,29,44,.93) 36%, rgba(8,29,44,.48) 58%, rgba(8,29,44,.08) 82%, rgba(8,29,44,.02) 100%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero .container { position: relative; z-index: 2; display: grid; min-height: 700px; align-items: center; }
.hero-copy { max-width: 650px; padding: 6rem 0; }
.hero h1 { color: white; }
.hero h1 span { color: #75d7d0; }
.hero .lead { max-width: 620px; margin-top: 1.5rem; color: #dce8ed; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 3rem; color: #c7d8df; font-size: .9rem; }
.hero-meta strong { display: block; color: white; font-size: 1rem; }

.section { padding: 100px 0; }
.section.alt { background: var(--ivory); }
.section.dark { background: var(--navy); color: #d6e3e8; }
.section.dark h2, .section.dark h3 { color: white; }
.section-heading { display: grid; grid-template-columns: 1fr .9fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading .lead { max-width: 620px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 30px rgba(8,29,44,.04); }
.card::before { position: absolute; top: 0; left: 0; width: 100%; height: 4px; content: ""; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.card:hover::before { transform: scaleX(1); }
.card p { margin-top: .8rem; color: var(--muted); }
.icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.35rem; place-items: center; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-size: 1.2rem; font-weight: 900; }
.text-link { display: inline-flex; margin-top: 1.2rem; color: var(--teal); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.visual-panel { position: relative; min-height: 520px; overflow: hidden; border-radius: 28px; background: var(--navy); box-shadow: var(--shadow); }
.visual-panel img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 62% center; }
.visual-panel::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(8,29,44,.72)); }
.floating-note { position: absolute; z-index: 2; right: 24px; bottom: 24px; max-width: 290px; padding: 1.2rem; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(8,29,44,.86); color: white; backdrop-filter: blur(12px); }
.floating-note strong { display: block; margin-bottom: .25rem; }
.check-list { display: grid; gap: .9rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .8rem; }
.check-list li::before { content: "✓"; color: var(--teal); font-weight: 900; }

.process { counter-reset: step; }
.process .card { min-height: 250px; }
.process .card::after { position: absolute; right: 1.2rem; bottom: -.8rem; counter-increment: step; content: "0" counter(step); color: rgba(11,127,123,.09); font-size: 6rem; font-weight: 900; line-height: 1; }
.quote-band { padding: 56px 0; background: var(--teal); color: white; }
.quote-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.quote-band h2 { max-width: 800px; color: white; font-size: clamp(1.8rem, 4vw, 3.3rem); }

.page-hero { padding: 100px 0 72px; background: linear-gradient(135deg, var(--navy), #123d4c); color: white; }
.page-hero h1 { max-width: 900px; color: white; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lead { max-width: 740px; margin-top: 1.3rem; color: #d9e7ed; }
.service-detail { display: grid; grid-template-columns: .42fr 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; }
.service-detail ul { columns: 2; margin: 1rem 0 0; padding-left: 1.2rem; }
.service-detail li { margin-bottom: .5rem; color: var(--muted); break-inside: avoid; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.contact-card { padding: 2rem; border-radius: 22px; background: var(--navy); color: #dce8ed; }
.contact-card h2, .contact-card h3 { color: white; }
.contact-item { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-item:last-child { border-bottom: 0; }
.contact-item small { display: block; color: #81d9d3; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a { color: white; text-decoration: none; }
.form-card { padding: 2rem; border: 1px solid var(--line); border-radius: 22px; background: white; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: grid; gap: .4rem; color: var(--navy); font-size: .88rem; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid #cbd7db; border-radius: 12px; background: white; padding: .9rem 1rem; color: var(--ink); font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.form-note { margin-top: 1rem; color: var(--muted); font-size: .82rem; }

.legal { max-width: 900px; }
.legal h2 { margin-top: 2.6rem; font-size: 1.7rem; }
.legal h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.legal p, .legal li { color: #42545e; }
.legal p { margin-top: .85rem; }
.legal ul { padding-left: 1.25rem; }
.notice { margin: 1.5rem 0; padding: 1.2rem 1.3rem; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff8e9; color: #59451f; }

.footer { padding: 70px 0 24px; background: #061620; color: #b7c8cf; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 3rem; }
.footer h3 { color: white; font-size: 1rem; letter-spacing: 0; }
.footer p { margin-top: 1rem; }
.footer-links { display: grid; gap: .65rem; margin-top: 1rem; }
.footer a { color: #c9d7dd; text-decoration: none; }
.footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

@media (max-width: 900px) {
  .topbar .container { justify-content: center; }
  .topbar span:last-child { display: none; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 78px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero .container { min-height: 660px; }
  .hero::after { background: linear-gradient(90deg, rgba(8,29,44,.98), rgba(8,29,44,.87)); }
  .hero-image { object-position: 66% center; opacity: .6; }
  .section-heading, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .quote-band .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar { display: none; }
  .nav { min-height: 70px; }
  .nav-links { top: 70px; }
  .brand-copy { font-size: .88rem; }
  .hero .container { min-height: 620px; }
  .hero-copy { padding: 4rem 0; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .section-heading { gap: 1.4rem; }
  .grid-3, .grid-2, .field-grid { grid-template-columns: 1fr; }
  .service-detail ul { columns: 1; }
  .footer-bottom { flex-direction: column; }
}

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