@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #0f2a3a;
  --ink-soft: #46606f;
  --brand: #0a7cc1;
  --brand-deep: #075a8c;
  --mint: #e8f5f3;
  --mint-2: #d3ece8;
  --teal: #1d756b;
  --paper: #ffffff;
  --line: #dbe7ec;
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(15, 42, 58, .35);
  --head: 'Source Serif 4', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.tint { background: var(--mint); }
.dark { background: var(--ink); color: #e9f2f6; }
.dark .lead, .dark p { color: #b9cdd8; }
.dark .eyebrow { color: #7fd3c8; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; cursor: pointer; font-family: inherit; }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -12px rgba(15, 42, 58, .45); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { font-family: var(--head); font-weight: 500; font-size: 1.2rem; display: block; line-height: 1.1; }
.brand small { color: var(--ink-soft); font-size: .78rem; }
@media (max-width: 480px) {
  .brand b { font-size: 1rem; white-space: nowrap; }
  .brand small { font-size: .72rem; }
  .brand img { width: 34px; height: 34px; }
}
.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px; }
.menu a:hover, .menu a.active { background: var(--mint); color: var(--brand-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 700; color: var(--ink); display: none; align-items: center; gap: 8px; }
.nav-phone svg { width: 18px; color: var(--brand); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }
@media (min-width: 1180px) { .nav-phone { display: inline-flex; } }
@media (max-width: 960px) {
  .menu { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: #fff; padding: 14px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a { display: block; padding: 14px; font-size: 1.05rem; }
  .burger { display: inline-grid; place-items: center; }
  .nav-cta .btn { display: none; }
}

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(18px); animation: up .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-soft); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; color: var(--teal); }
.hero-photo { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-out forwards; }
.hero-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: calc(100% - 36px); }
.hero-badge img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.hero-badge b { display: block; font-size: .95rem; }
.hero-badge small { color: var(--ink-soft); font-size: .8rem; }
@media (min-width: 861px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* trust bar */
.trust { padding: 0; margin-top: -44px; position: relative; z-index: 2; }
.trust-grid { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item { padding: 26px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-item b { display: block; font-family: var(--head); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; color: var(--brand-deep); }
.trust-item span { color: var(--ink-soft); font-size: .92rem; }
@media (min-width: 861px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
}

/* section heads */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 48px; }
.head > div { max-width: 640px; }

/* cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.card .ic svg { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.tint .card { border-color: transparent; }

/* steps */
.steps { display: grid; gap: 22px; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--head); font-size: 2.6rem; color: #7fd3c8; display: block; margin-bottom: 10px; }
.step a { color: #fff; font-weight: 700; }
@media (min-width: 861px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.gallery .g1 { aspect-ratio: 4 / 3; }
.gallery .g2, .gallery .g3 { aspect-ratio: 4 / 3; }
@media (min-width: 861px) {
  .gallery { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; height: 560px; }
  .gallery .g1 { grid-row: span 2; aspect-ratio: auto; }
  .gallery .g2, .gallery .g3 { aspect-ratio: auto; }
}

/* split */
.split { display: grid; gap: 44px; align-items: center; }
.split-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { flex: none; width: 24px; height: 24px; color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; margin-top: 2px; }
@media (min-width: 861px) { .split { grid-template-columns: 1fr 1.1fr; gap: 80px; } .split.rev > :first-child { order: 2; } }

/* quote */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 880px; font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; font-style: italic; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-weight: 700; color: var(--ink-soft); font-size: 1rem; }

/* cta band */
.cta-band { background-color: var(--brand-deep); background-image: linear-gradient(120deg, var(--brand-deep) 0%, #053e61 100%); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 64px); display: grid; gap: 26px; align-items: center; }
.cta-band p { color: #e4f2fb; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
@media (min-width: 861px) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band .hero-actions { justify-content: flex-end; } }

/* notfall */
.alert { display: grid; gap: 18px; background: #fff7ef; border: 1px solid #f3dcc3; border-radius: var(--radius); padding: 28px; }
.alert h3 { color: #8a4b12; }
.alert a { font-weight: 700; color: #8a4b12; }
@media (min-width: 861px) { .alert { grid-template-columns: auto 1fr; gap: 26px; } }
.alert .ic { width: 52px; height: 52px; border-radius: 16px; background: #fde6cf; color: #b25f17; display: grid; place-items: center; }
.alert .ic svg { width: 26px; }

/* hours + contact */
.info-grid { display: grid; gap: 18px; }
@media (min-width: 861px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* team */
.team { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 861px) { .team { grid-template-columns: repeat(5, 1fr); } }
.member { margin: 0; }
.member img { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.member figcaption { padding: 12px 4px 0; font-size: .92rem; color: var(--ink-soft); }
.member b { display: block; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mint-2); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #fff; }
.timeline b { display: block; color: var(--brand-deep); font-size: .9rem; }

/* services list */
.svc-group { display: grid; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 861px) { .svc-group { grid-template-columns: 1fr 2fr; gap: 60px; } }
.svc-list { display: grid; gap: 14px; }
@media (min-width: 600px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list .card { padding: 24px; }
.svc-list h3 { font-size: 1.15rem; }

/* form */
form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
input, textarea, select { font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-ok { display: none; background: var(--mint); border-radius: 14px; padding: 16px; font-weight: 600; color: var(--brand-deep); }
.two { display: grid; gap: 14px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }

/* page hero */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }

/* footer */
.site-footer { background: var(--ink); color: #b9cdd8; padding: 70px 0 110px; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 861px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.site-footer h4 { color: #fff; font-family: var(--head); font-weight: 500; font-size: 1.15rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* floating mobile actions */
.fab { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fab a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 15px; border-radius: 16px; font-weight: 700; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 42, 58, .5); }
.fab a + a { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -10px rgba(15, 42, 58, .35); }
.fab svg { width: 18px; }
@media (min-width: 861px) { .fab { display: none; } }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w, .rv { opacity: 1; transform: none; }
}
