@font-face { font-family: 'Nunito Sans'; src: url('/assets/fonts/nunito-sans.woff2') format('woff2'); font-weight: 200 1000; font-stretch: 75% 125%; font-display: swap; }

:root {
  --bg: #F3FAFA;
  --surface: #FFFFFF;
  --text: #20383A;
  --muted: #526669;
  --primary: #24686D;
  --primary-hover: #1D5559;
  --accent: #FFA074;
  --border: #C4DDDF;
  --aqua: #88D9DE;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --section: 56px;
}
@media (min-width: 960px) { :root { --gutter: 40px; --section: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/27px var(--sans); -webkit-font-smoothing: antialiased; }
@media (min-width: 960px) { body { font-size: 18px; line-height: 29px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: 36px; line-height: 41px; letter-spacing: -0.02em; }
h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; }
h3 { font-size: 21px; line-height: 28px; font-weight: 700; }
@media (min-width: 960px) {
  h1 { font-size: 56px; line-height: 62px; }
  h2 { font-size: 38px; line-height: 44px; }
  h3 { font-size: 24px; line-height: 31px; }
}
p { margin: 0 0 16px; max-width: 62ch; }
address { font-style: normal; }

.wrap { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--primary); color: #fff; padding: 12px 16px; z-index: 50; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }

/* Buttons and links */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 24px; background: var(--primary); color: #fff; font: 700 16px/22px var(--sans); text-decoration: none; border: 0; border-radius: 8px; cursor: pointer; transition: background-color .15s ease; }
.btn:hover, .btn:active { background: var(--primary-hover); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .75; cursor: progress; }
.btn--outline { background: var(--surface); color: var(--text); border: 2px solid var(--primary); }
.btn--outline:hover, .btn--outline:active { background: var(--bg); }
@media (min-width: 600px) { .btn { display: inline-flex; width: auto; } }
@media (prefers-reduced-motion: reduce) { .btn, .btn:active { transition: none; transform: none; } }
.textlink { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
.textlink:hover { text-decoration-thickness: 3px; }

/* Nav: normal flow, logo left */
.nav { background: var(--surface); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 88px; height: 88px; }
.nav__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 700; font-size: 16px; text-decoration: none; }
.nav__links a:hover, .nav__links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav__desk { display: none; }
@media (min-width: 960px) { .brand img { width: 104px; height: 104px; } .nav__desk { display: list-item; } .nav__links { gap: 32px; } }

/* Hero */
.hero { padding: 32px 0 var(--section); }
.hero__grid { display: grid; gap: 32px; }
.hero__copy h1 { margin-bottom: 16px; }
.hero__sub { font-size: 19px; line-height: 29px; margin-bottom: 24px; }
.hero__phone { margin: 12px 0 0; font-size: 20px; font-weight: 700; }
.hero__phone a { text-decoration: none; }
.hero__phone a:hover { text-decoration: underline; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; border-radius: 16px; }
.js-motion [data-fade-in] { opacity: 0; }
@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: 45fr 55fr; gap: 48px; align-items: center; }
  .hero__sub { font-size: 20px; line-height: 31px; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section--white { background: var(--surface); }
.section--tight { padding-top: 0; }
.section--aqua { background: var(--bg); }

/* Services */
#services h2 { margin-bottom: 32px; }
.rows { border-top: 2px solid var(--accent); max-width: 820px; }
.row { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.row p { margin: 0; }
@media (min-width: 768px) { .row { grid-template-columns: 220px 1fr; gap: 48px; padding: 32px 0; } }
.note { margin-top: 24px; color: var(--muted); }
.portraits { display: grid; gap: 24px; margin-top: 40px; }
.portraits figure { margin: 0; max-width: 360px; }
.portraits img { width: 100%; border-radius: 16px; }
.portraits figcaption { margin-top: 8px; font-size: 14px; line-height: 21px; font-weight: 600; color: var(--muted); }
@media (min-width: 768px) { .portraits { grid-template-columns: repeat(2, 360px); gap: 32px; align-items: start; } }

/* Reviews */
.reviews { display: grid; gap: 24px; }
.reviews__summary { background: var(--aqua); color: var(--text); border-radius: 12px; padding: 24px; }
.reviews__summary h2 { margin-bottom: 8px; }
.reviews__summary p { margin: 0; font-weight: 700; font-size: 18px; }
.reviews__summary .reviews__checked { font-weight: 400; font-size: 14px; margin-top: 8px; }
.reviews__quote { margin: 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; }
.reviews__quote p { font-size: 24px; line-height: 33px; font-weight: 700; margin-bottom: 12px; }
.reviews__quote footer { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
@media (min-width: 768px) {
  .reviews { grid-template-columns: 320px 1fr; gap: 32px; }
  .reviews__summary, .reviews__quote { padding: 32px; }
  .reviews__quote p { font-size: 30px; line-height: 40px; }
}

/* About */
.about { display: grid; gap: 16px; }
@media (min-width: 768px) { .about { grid-template-columns: 4fr 8fr; gap: 48px; } }

/* Area */
.section--aqua { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.area { display: grid; gap: 16px; }
.area__address { font-size: 22px; line-height: 31px; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .area { grid-template-columns: 4fr 8fr; gap: 48px; } }

/* Contact */
.contact { display: grid; gap: 48px; }
.contact__direct h2 { margin-bottom: 16px; }
.contact__phone { font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.contact__links { list-style: none; padding: 0; margin: 16px 0 0; }
.contact__form h3 { margin-bottom: 8px; }
.contact__hint { color: var(--muted); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 48px; } .contact__phone { font-size: 40px; line-height: 48px; } }

.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 17px/1.4 var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 8px; }
.field textarea { resize: vertical; min-height: 132px; }
.field textarea::placeholder { color: var(--muted); }
.field [aria-invalid="true"] { border: 2px solid var(--text); }
.field__error { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--text); }
.field__error:empty { display: none; }
.form__status { margin: 0; font-weight: 700; }
.form__status:empty { display: none; }
.form__status[data-state] { padding: 16px; border-radius: 8px; background: var(--bg); border-left: 4px solid var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 0; font-size: 14px; line-height: 21px; color: var(--muted); }
.footer__inner { display: grid; gap: 16px; align-items: center; }
.footer img { width: 72px; height: 72px; }
.footer p { margin: 0 0 4px; }
.footer__name { font-weight: 800; font-size: 17px; color: var(--text); }
@media (min-width: 768px) { .footer__inner { grid-template-columns: auto 1fr auto; gap: 24px; } }
