:root {
  --bg: #ffffff;
  --alt: #f3f7fa;
  --ink: #0b1f33;
  --muted: #4a5d70;
  --line: #dbe4ec;
  --brand: #0d9488;
  --brand-dark: #0b7a70;
  --sky: #38bdf8;
  --navy: #0b1f33;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 31, 51, .08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.brand b { font-weight: 800; }
.logo { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 2px solid var(--brand); padding: .8rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { padding: .45rem 1.1rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 80% 0%, #12395a 0%, transparent 60%), var(--navy); color: #fff; padding: clamp(56px, 9vw, 112px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: #5eead4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.lead { font-size: 1.15rem; color: #c9d7e4; max-width: 56ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 24px 60px rgba(0,0,0,.4); background: #12395a; }

.cards.solutions { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.solutions .card-body { padding: 26px; }
.section.alt .facts li { background: #fff; }

/* Photo band */
.photo-band { position: relative; min-height: 320px; display: grid; place-items: center; overflow: hidden; background: var(--navy); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,51,.88), rgba(11,31,51,.55)); }
.photo-band-text { position: relative; z-index: 1; width: min(1120px, 100% - 32px); color: #fff; padding: 56px 0; }
.photo-band-text p { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; margin-bottom: 20px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--alt); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--alt); }
.card-body { padding: 22px 26px 26px; }
.card svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding: 0; margin: 28px 0 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: "0" counter(s); display: block; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { border-left: 4px solid var(--brand); background: var(--alt); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.facts b { display: block; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.mail { color: var(--muted); }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input, textarea { width: 100%; font: inherit; color: var(--ink); padding: .7rem .85rem; border: 1px solid #b9c7d4; border-radius: 10px; background: #fff; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.status { margin: 14px 0 0; min-height: 1.4em; font-weight: 500; }
.status.ok { color: #0b7a4b; }
.status.err { color: #b3261e; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d7e4; padding: 28px 0; font-size: .95rem; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #5eead4; }

/* Mobile */
@media (max-width: 800px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-art img { aspect-ratio: 16 / 10; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav .btn { text-align: center; margin-top: 8px; }
}

/* Mobile refinements */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
@media (hover: none) {
  .card:hover, .btn:hover { transform: none; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 68px; }
  .nav-toggle { min-width: 44px; min-height: 44px; margin-right: -10px; }
  .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); }
  .nav { max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: 0 12px 24px rgba(11,31,51,.12); }
  .nav a { min-height: 44px; display: flex; align-items: center; padding: 10px 4px; }
  .nav .btn { justify-content: center; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { gap: 28px; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .section { padding: 48px 0; }
  .about, .contact { gap: 28px; }
  form { padding: 20px; }
  .photo-band { min-height: 260px; }
  .photo-band-text { padding: 40px 0; }
  .photo-band::after { background: rgba(11,31,51,.72); }
  .foot { flex-direction: column; text-align: left; }
}
@media (max-width: 480px) {
  .brand { font-size: 1rem; }
  .card-body { padding: 18px 20px 22px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li { padding: 20px; }
  .btn { width: 100%; text-align: center; }
  .btn-sm { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
