:root {
  --bg: #F3F7F8;
  --ink: #0C2433;
  --ink-soft: #3A5564;
  --rule: #B7CDD4;
  --accent: #A3285F;
  --accent-bright: #E04A94;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.2rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-weight: 600; font-size: 1.05rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 6px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav .nav-cta:hover { background: #17384D; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 6px; font: 700 1.1rem var(--font); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #17384D; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 22px; }
.lede { font-size: 1.3rem; color: var(--ink-soft); max-width: 36rem; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.reply-note { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.hero-mark { width: 100%; max-width: 380px; justify-self: center; aspect-ratio: 1; border-radius: 30px; overflow: hidden; }
.hero-mark img { display: block; width: 100%; height: 100%; }

/* Sections */
.section { padding: 76px 0; border-top: 1px solid var(--rule); }
.section .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.section h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.section-intro p { color: var(--ink-soft); margin-top: 14px; max-width: 24rem; }

.item { border-left: 4px solid var(--accent); padding: 2px 0 2px 20px; margin: 0 0 32px; }
.item:last-child { margin-bottom: 0; }
.item h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 6px; }
.item p { margin: 0; max-width: 40rem; }

.section-wide .wrap { grid-template-columns: 1fr; gap: 40px; }
.section-wide .section-intro p { max-width: 36rem; }
.services { display: grid; gap: 56px; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service .item { margin: 0; }
.service img { display: block; width: 100%; height: auto; border-radius: 20px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 34px 72px; min-height: 52px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.35rem/48px var(--font); text-align: center; }
.steps h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 6px; }
.steps p { margin: 0; max-width: 38rem; }

.care-list { list-style: none; margin: 0 0 22px; padding: 0; max-width: 40rem; }
.care-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.care-list li::before { content: ""; position: absolute; left: 6px; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.care-note { color: var(--ink-soft); max-width: 40rem; }

details { border-bottom: 1px solid var(--rule); padding: 6px 0; max-width: 44rem; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; line-height: 1.35; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; font-size: 1.8rem; line-height: 1; color: var(--accent); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 16px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 80px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 800; margin-bottom: 18px; color: #fff; }
.contact p { color: #D3E3E8; max-width: 30rem; }
.mail { display: inline-block; margin-top: 4px; font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 1.7rem); color: #fff; text-decoration-color: var(--accent-bright); text-decoration-thickness: 3px; text-underline-offset: 6px; word-break: break-word; }
.mail:hover { text-decoration-color: #fff; }
.card { background: #fff; color: var(--ink); border-radius: 12px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; font: 400 1.1rem var(--font); color: var(--ink); background: #fff; border: 2px solid #5F7C8A; border-radius: 6px; padding: 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.contact .card .consent { font-size: 1rem; color: var(--ink-soft); margin: 4px 0 20px; max-width: none; }
.contact .card .consent a { color: var(--accent); }
.contact .visually-hidden { position: absolute; left: -9999px; }
.card .btn { width: 100%; }

/* Plain pages (thanks, privacy) */
.page { padding: 40px 0 90px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 20px; }
.page h2 { font-size: 1.5rem; font-weight: 700; margin: 34px 0 10px; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 6px; }

.site-footer { background: var(--ink); color: #B9CED6; padding: 0 0 36px; font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #27465A; padding-top: 24px; }
.site-footer a { color: #fff; }

@media (max-width: 860px) {
  .hero { padding: 24px 0 56px; }
  .hero .wrap, .section .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-mark { max-width: 220px; justify-self: start; border-radius: 24px; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .services { gap: 44px; }
  .section { padding: 56px 0; }
  .contact { padding: 56px 0; }
  .card { padding: 24px 20px; }
  .nav a { padding: 12px 10px; }
  .nav .nav-cta { margin-left: 0; }
  .brand img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
