:root {
  --ink: #171815;
  --paper: #f5f2ed;
  --orange: #ff793d;
  --muted: #68645e;
  --line: #d9d4ca;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
img { width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #bb571f; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: clamp(54px, 8vw, 104px); }
.skip { position: fixed; z-index: 9; left: 16px; top: 16px; transform: translateY(-150%); padding: 12px; background: white; }
.skip:focus { transform: none; }
.top, .hero { background: var(--ink); color: #fff8ed; }
.nav { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #ffffff2c; }
.brand, nav { display: flex; align-items: center; gap: 13px; }
.brand { font-weight: 800; font-size: .68rem; line-height: 1.22; letter-spacing: .12em; }
.mark { display: grid; place-items: center; width: 45px; height: 39px; color: var(--ink); background: var(--orange); font-size: .9rem; letter-spacing: -.045em; }
nav { gap: clamp(18px, 3vw, 42px); color: #cbc9bd; font-size: .9rem; }
nav a:hover, .top-contact:hover, .hero-foot a:hover { color: var(--orange); }
.top-contact { display: flex; gap: 14px; align-items: center; border: 1px solid #ffffff4b; border-radius: 6px; padding: 10px 14px; font-size: .82rem; font-weight: 700; }
.hero { background-image: radial-gradient(ellipse at 60% 15%, #2c251e, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(26px, 6vw, 86px); align-items: center; padding-block: 48px 32px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--orange); font-size: .7rem; letter-spacing: .18em; font-weight: 800; margin-bottom: 19px; }
.eyebrow span { width: 22px; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 820; }
h1 { font-size: clamp(3rem, 6.6vw, 6.45rem); line-height: .94; letter-spacing: -.077em; }
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(1.06rem, 1.7vw, 1.38rem); font-weight: 680; margin-top: 24px; }
.hero-note { margin-top: 10px; max-width: 460px; color: #d1cbbf; line-height: 1.65; font-size: .98rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.btn { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: .88rem; font-weight: 760; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.orange { color: #18140f; background: var(--orange); }
.orange:hover { background: #ffa278; }
.ghost { color: #fff8ed; border-color: #ffffff48; }
.ghost:hover { background: #ffffff14; }
.dark { color: white; background: var(--ink); }
.dark:hover { background: #35362f; }
.hero-photo { position: relative; isolation: isolate; border-radius: 12px; overflow: hidden; border: 1px solid #ffffff3a; aspect-ratio: 1.09; background: #403932; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #000a); }
figcaption { position: absolute; z-index: 1; bottom: 17px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid #ffffff45; background: #181815e8; border-radius: 7px; font-size: .875rem; }
figcaption small { display: block; color: #dfd9cf; font-size: .71rem; margin-top: 3px; }
.photo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 16px 20px; border-top: 1px solid #ffffff2c; color: #d1cbbf; font-size: .8rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 27px; }
h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: .99; letter-spacing: -.064em; text-wrap: balance; }
.section-head p, .card p, .consult p { color: var(--muted); line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; background: #fbf9f5; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); }
.card-photo { aspect-ratio: 1.6; overflow: hidden; background: #e7e4de; }
.card-photo img { height: 100%; object-fit: cover; object-position: center 56%; transition: transform .32s; }
.card:hover img { transform: scale(1.045); }
.card-body { padding: 20px; display: flex; flex-direction: column; align-items: start; flex: 1; }
.card h3 { font-size: clamp(1.22rem, 2vw, 1.6rem); letter-spacing: -.04em; }
.card p { font-size: .92rem; margin: 8px 0 16px; }
.card a { display: flex; align-items: center; gap: 8px; color: #843a1a; font-weight: 750; font-size: .86rem; margin-top: auto; }
.card a:hover, .footer a:hover { text-decoration: underline; }
.profile-band { background: #24251f; color: #fff8ed; }
.profile-grid { display: grid; grid-template-columns: minmax(180px, .65fr) 1fr; gap: clamp(26px, 8vw, 112px); align-items: center; max-width: 970px; }
.profile-image { border-radius: 9px; overflow: hidden; border: 1px solid #ffffff40; max-height: 400px; }
.profile-image img { object-fit: cover; aspect-ratio: 1.1; object-position: center 32%; }
.profile-grid p:not(.eyebrow) { line-height: 1.7; color: #e0d9cc; max-width: 49ch; margin-top: 15px; }
.profile-grid .btn { margin-top: 22px; }
.consult { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(28px, 7vw, 95px); }
.consult h2 { font-size: clamp(1.85rem, 3.4vw, 3.1rem); margin-bottom: 14px; }
form { margin-top: 21px; display: grid; gap: 14px; justify-items: start; }
form label { display: grid; gap: 7px; width: 100%; font-weight: 680; font-size: .91rem; }
select, textarea { width: 100%; border: 1px solid #b6afa3; border-radius: 6px; background: #fbf9f5; color: var(--ink); padding: 11px; }
textarea { resize: vertical; }
details { padding-block: 13px; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 9px; }
.footer { background: var(--ink); color: #f7efe1; padding-block: 22px; font-size: .84rem; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer span { display: block; color: #c9c1b6; margin-top: 5px; }
.mobile-wa { display: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 27px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 61px; }
  nav { display: none; }
  .hero-grid, .profile-grid, .consult { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 34px 20px; }
  h1 { font-size: clamp(2.7rem, 11.3vw, 4.3rem); }
  .hero-photo { aspect-ratio: 1.23; }
  .hero-photo img { object-position: center 7%; }
  .cards { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1.65; }
  .profile-image { max-width: 335px; }
  .footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mobile-wa { display: flex; justify-content: space-between; align-items: center; position: fixed; z-index: 5; inset: auto 14px calc(10px + env(safe-area-inset-bottom)); padding: 13px 17px; border-radius: 8px; box-shadow: 0 5px 18px #0005; background: var(--orange); color: var(--ink); font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
