:root {
  --navy: #032455;
  --navy-700: #0a3270;
  --sea: #2f8fce;
  --sea-50: #eef6fc;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --radius: 14px;
  --max: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sea); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 680px; margin-bottom: 48px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sea); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: transform .15s ease, background .15s ease; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.nav-links .btn-primary { color: #fff; padding: 10px 20px; }
.nav-links .btn-primary:hover { color: #fff; }

/* Hero */
.hero { position: relative; padding: 110px 0 140px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--sea-50) 100%); }
.hero .lead { margin-bottom: 2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 32px rgba(3,36,85,.08); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--sea-50); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-weight: 800; font-size: 1.6rem; color: var(--sea);
}
.step p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-panel {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px;
}
.about-panel h3 { color: #fff; }
.about-panel ul { margin: 0; padding-left: 1.1em; }
.about-panel li { margin-bottom: .5em; color: #d6e2f3; }

/* Tools */
.tool-card { display: flex; flex-direction: column; }
.tool-card .tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--sea);
  background: var(--sea-50); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px;
}
.tool-card p { flex: 1; margin-bottom: 22px; }
.tool-card .price { font-weight: 800; color: var(--navy); font-size: 1.2rem; margin-bottom: 14px; }
.tool-card .btn { align-self: flex-start; }
.tool-card .btn[aria-disabled="true"] { background: var(--line); color: var(--muted); pointer-events: none; }

/* CTA + contact */
.cta {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 56px; display: flex;
  justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { color: #d6e2f3; margin: 0; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong { display: block; color: var(--navy); }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--navy); color: #c4d2e7; padding: 56px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c4d2e7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 110px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
}

/* Expertise lists */
.ticks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--muted); break-inside: avoid; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 6px;
  border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg) translateY(-50%);
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--sea); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

@media (max-width: 720px) { .ticks { columns: 1; } .cta .btn { word-break: break-all; } }

/* Photo hero */
.hero-photo { background: linear-gradient(90deg, rgba(3,36,85,.94) 0%, rgba(3,36,85,.78) 50%, rgba(3,36,85,.35) 100%), var(--hero-img) center / cover no-repeat; }
.hero-photo h1, .hero-photo .eyebrow { color: #fff; }
.hero-photo .eyebrow { color: #8cc8ee; }
.hero-photo .lead { color: #dbe6f4; }
.hero-photo .btn-primary { background: #fff; color: var(--navy); }
.hero-photo .btn-ghost { border-color: #fff; color: #fff; }

/* Card photos */
.card.has-img { padding: 0; overflow: hidden; }
.card.has-img .card-body { padding: 26px 28px 30px; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Field gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Tool cards */
.tool-img { object-fit: contain; background: var(--bg-alt); }
.tool-card .card-body { display: flex; flex-direction: column; flex: 1; }
.tool-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tool-link { font-weight: 700; font-size: .92rem; text-decoration: none; }
.tool-link:hover { text-decoration: underline; }
