:root {
  --primary: #142B49;
  --primary-700: #0E1F36;
  --accent: #377BB5;
  --accent-600: #2C6699;
  --bg: #EDF2F7;
  --white: #FFFFFF;
  --text: #1C2B3D;
  --muted: #536477;
  --line: #D5DFEA;
  --error: #B42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 43, 73, .06), 0 8px 24px rgba(20, 43, 73, .06);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--primary); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-600); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-600); margin-bottom: 12px;
}
.eyebrow-light { color: #8DB8DE; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-700); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-600); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.35rem; letter-spacing: .14em; color: var(--primary); text-decoration: none;
}
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px; position: relative;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.logo-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 3px; border: 2px solid var(--white);
  border-right-color: transparent; border-bottom-color: transparent; transform: rotate(45deg) translate(1px, 1px);
}
.logo-light { color: var(--white); }

.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none;
  color: var(--text); font-weight: 500; font-size: .95rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent-600); }
.site-nav a.nav-cta { background: var(--primary); color: var(--white); margin-left: 8px; }
.site-nav a.nav-cta:hover { background: var(--primary-700); color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); transition: transform .2s, opacity .2s; }
.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); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 36px 0 0; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-media { position: relative; }
.hero-media img {
  display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 22px; box-shadow: 0 30px 60px rgba(20, 43, 73, .18);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  max-width: 300px;
}
.hero-badge strong { display: block; color: var(--primary); font-size: .95rem; line-height: 1.3; }
.hero-badge small { color: var(--muted); font-size: .82rem; }
.hero-badge-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.hero-badge-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { left: 16px; bottom: 16px; }
}

/* Focus strip */
.strip { background: var(--primary); color: var(--white); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 20px; font-weight: 600; display: flex; align-items: center; gap: 14px; border-left: 1px solid rgba(255, 255, 255, .1); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-num { color: #8DB8DE; font-size: .85rem; font-weight: 700; }
@media (max-width: 860px) {
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 18px 12px; border-left: 0; }
  .strip-item:first-child { padding-left: 12px; }
}
@media (max-width: 480px) { .strip-inner { grid-template-columns: 1fr; } .strip-item { padding: 12px 0 !important; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tinted { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media img, .expect-media img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow);
}
.about-text p { font-size: 1.1rem; color: var(--muted); }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0;
}
.facts div { border-top: 2px solid var(--accent); padding-top: 14px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--primary); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media img, .expect-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Services */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 43, 73, .06), 0 16px 32px rgba(20, 43, 73, .1); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon {
  display: inline-flex; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  align-items: center; justify-content: center; background: var(--bg);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* Approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--accent);
}
.step-num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--bg); -webkit-text-stroke: 1.5px var(--accent); line-height: 1; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

.step-more { margin-top: 12px !important; font-size: .95rem; }

.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }

/* Principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principles li { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.principles p { color: var(--muted); margin: 0; font-size: .97rem; }
.p-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); margin-bottom: 18px; }
.p-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1024px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Services (with images) */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 43, 73, .06), 0 16px 32px rgba(20, 43, 73, .1); }
.service img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-body { padding: 28px 28px 30px; }
.service-body > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23377BB5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .service, .service:hover { transition: none; transform: none; } }

/* Who we work with */
.who-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-list li { background: var(--white); border-radius: 12px; padding: 20px 22px; border-left: 3px solid var(--accent); }
.who-list strong { display: block; color: var(--primary); margin-bottom: 4px; }
.who-list span { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .who-list { grid-template-columns: 1fr; } }

/* Expectations */
.expect-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.expect-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.expect-list li { padding-left: 22px; border-left: 2px solid var(--line); }
.expect-list h3 { margin-bottom: 4px; }
.expect-list p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .expect-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Photo bands */
.location, .cta { position: relative; overflow: hidden; color: var(--white); background: var(--primary); }
.location > img, .cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.location::before, .cta::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.location-inner, .cta-inner { position: relative; z-index: 2; }
.location::before { background: linear-gradient(90deg, rgba(14, 31, 54, .92) 0%, rgba(14, 31, 54, .7) 55%, rgba(14, 31, 54, .25) 100%); }
.location-inner { padding: clamp(80px, 12vw, 150px) 24px; }
.location-inner h2 { color: var(--white); max-width: 16em; }
.location-inner p:not(.eyebrow) { max-width: 36em; color: #D6E2EF; font-size: 1.1rem; }
.cta::before { background: rgba(20, 43, 73, .86); }
.cta-inner { text-align: center; padding: clamp(64px, 9vw, 104px) 24px; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: #D6E2EF; font-size: 1.1rem; margin-bottom: 28px; }
@media (max-width: 600px) { .location-inner, .cta-inner { padding-left: 16px; padding-right: 16px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; color: var(--primary); font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0 0 22px; padding-right: 40px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Contact */
.section-dark { background: var(--primary); color: #D6E2EF; }
.section-dark h2 { color: var(--white); }
.section-dark .lead { color: #B9CBDD; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; gap: 2px; }
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8DB8DE; font-weight: 600; }
.contact-list a, .contact-list span:not(.contact-label) { color: var(--white); font-weight: 500; font-size: 1.1rem; }
.contact-list a { text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.section-dark :focus-visible { outline-color: #8DB8DE; }

.contact-form {
  background: var(--white); color: var(--text); border-radius: 18px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--primary); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(55, 123, 181, .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-status { margin: 16px 0 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.notice {
  background: #FFF7E6; border: 1px solid #F3D9A4; color: #6B4A0B; padding: 12px 14px; border-radius: 10px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Footer */
.site-footer { background: var(--primary-700); color: #9FB3C8; padding: 40px 0; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.footer-meta { margin: 6px 0 0; }
.site-footer nav { display: flex; gap: 10px; align-items: center; }
.site-footer nav a { color: #C9D7E5; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

.site-footer h3 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-cols nav, .footer-cols > div:last-child { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-cols a { color: #C9D7E5; text-decoration: none; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { max-width: 22em; margin: 14px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
.footer-cols .logo-light, .footer-cols .logo-light:hover { color: var(--white); text-decoration: none; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: .9rem; color: var(--muted); }
.legal-note {
  background: var(--bg); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 8px; font-size: .95rem;
}
