:root {
  --ink: #26352d;
  --ink-soft: #526057;
  --ink-pale: #718078;
  --paper: #faf9f6;
  --white: #ffffff;
  --orange: #ff8e01;
  --orange-soft: #fff0da;
  --green: #178c00;
  --green-deep: #106f00;
  --green-soft: #edf5e9;
  --line: #dce2dc;
  --shadow: 0 18px 45px rgba(35, 53, 43, 0.11);
  --sans: "Source Sans 3", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { color: var(--ink); background: #ffd59c; }

.shell { width: var(--shell); margin: 0 auto; }
.section-space { padding: 142px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 18px; padding: 10px 16px; color: var(--ink); background: var(--orange); border-radius: 8px; font-family: var(--display); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(250, 249, 246, .93); border-color: rgba(38, 53, 45, .11); box-shadow: 0 5px 22px rgba(38, 53, 45, .04); backdrop-filter: blur(13px); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 27px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-width: 217px; }
.brand-logo { width: 25px; height: 46px; object-fit: cover; object-position: 51% 52%; mix-blend-mode: multiply; }
.brand-wording { display: flex; flex-direction: column; line-height: 1.14; }
.brand-wording strong, .footer-brand { font-family: var(--display); font-size: 15px; letter-spacing: -.03em; }
.brand-wording span { margin-top: 3px; color: var(--green-deep); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 24px; align-items: center; font-family: var(--display); font-size: 13px; font-weight: 600; }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid #cad5c8; border-radius: 99px; color: var(--green-deep); font-family: var(--display); font-size: 13px; font-weight: 700; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.header-phone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-phone:hover { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.nav-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: 64px 0 115px; background: linear-gradient(117deg, #faf9f6 0%, #faf9f6 51%, #f6f8f3 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr); gap: clamp(42px, 7vw, 105px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-top: 13px; }
.eyebrow, .section-index { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--green-deep); font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { width: 20px; height: 1px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
h1 { max-width: 680px; font-size: clamp(43px, 5.2vw, 69px); }
h1 em, h2 em { color: var(--green); font-style: normal; font-weight: 500; }
.hero-sentence { margin: 29px 0 15px; color: var(--ink); font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -.025em; }
.hero-intro { max-width: 545px; margin-bottom: 29px; color: var(--ink-soft); font-size: 19px; line-height: 1.52; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 53px; padding: 13px 19px; border-radius: 5px; font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(38, 53, 45, .16); }
.button:hover svg { transform: translateX(3px); }
.button-primary { color: var(--ink); background: var(--orange); }
.button-primary:hover { background: #ff9d26; }
.button-dark { width: 100%; color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--green-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-size: 14px; font-weight: 700; }
.text-link > span { color: var(--orange); font-size: 17px; transition: transform .2s ease; }
.text-link:hover > span { transform: translateY(2px); }
.call-note { margin: 17px 0 0; color: var(--ink-pale); font-size: 15px; }
.hero-visual { position: relative; min-height: 545px; }
.hero-photo-wrap { position: absolute; inset: 0 0 0 31px; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; border-radius: 38px 6px 38px 6px; filter: saturate(.88) contrast(.99); }
.photo-frame { position: absolute; z-index: -1; top: 21px; right: -20px; width: 78%; height: 100%; border: 1px solid rgba(23, 140, 0, .48); border-radius: 6px 42px 6px 42px; }
.hero-swoop { position: absolute; right: -51px; bottom: -32px; width: 63%; height: auto; overflow: visible; }
.hero-swoop path { stroke: var(--green); stroke-width: 1.5; }
.hero-swoop circle { fill: var(--orange); }
.location-card { position: absolute; left: 0; bottom: 26px; display: flex; align-items: center; gap: 11px; padding: 15px 19px; color: var(--ink); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); border-radius: 3px 18px 3px 18px; font-size: 14px; line-height: 1.35; }
.location-card svg, .address-card svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: var(--green); stroke-width: 1.5; }
.location-card b { font-family: var(--display); font-size: 13px; }
.hero-line { position: absolute; pointer-events: none; }
.hero-line svg { overflow: visible; }
.hero-line path { stroke: rgba(23, 140, 0, .28); stroke-width: 1.2; }
.hero-line span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-line-one { top: 92px; right: max(8vw, calc((100vw - 1330px) / 2)); width: 160px; }
.hero-line-one span { top: 109px; left: 40px; }

.about-section { display: grid; grid-template-columns: minmax(360px, .93fr) minmax(390px, 1.07fr); gap: clamp(70px, 12vw, 180px); align-items: center; }
.about-photo-group { position: relative; min-height: 560px; }
.about-photo-main { position: absolute; top: 0; right: 0; width: 91%; height: 500px; overflow: hidden; border-radius: 4px 48px 4px 32px; }
.about-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 37%; filter: grayscale(1) contrast(1.05); }
.about-photo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(23, 140, 0, .11), transparent 50%); mix-blend-mode: multiply; }
.photo-caption { position: absolute; bottom: 14px; left: 0; padding: 13px 0 13px 16px; border-left: 2px solid var(--orange); color: var(--ink-soft); font-family: var(--display); font-size: 12px; font-weight: 600; line-height: 1.35; }
.about-accent { position: absolute; z-index: -1; bottom: 54px; right: 8px; width: 68%; height: 39%; border: 1px solid rgba(23, 140, 0, .4); border-radius: 40px 2px 38px 2px; transform: translate(24px, 14px); }
.about-accent span { position: absolute; top: 0; right: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section-index { margin-bottom: 18px; color: var(--orange); }
.section-index span { color: var(--ink-soft); }
h2 { font-size: clamp(35px, 4.2vw, 53px); }
.about-copy > p:not(.section-index), .cabinet-head > p, .trust-copy > p:not(.section-index), .contact-copy > p:not(.section-index) { max-width: 595px; margin: 29px 0 36px; color: var(--ink-soft); font-size: 19px; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 42px auto; align-items: center; min-height: 59px; border-bottom: 1px solid var(--line); }
.principle-number { color: var(--orange); font-family: var(--display); font-size: 11px; font-weight: 800; }
.principle h3 { margin: 0; color: var(--ink); font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.025em; }

.practices-section { position: relative; overflow: hidden; padding: 125px 0 134px; color: var(--white); background: var(--ink); }
.practices-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; }
.section-index-light span { color: rgba(255,255,255,.7); }
.practices-intro h2 { max-width: 490px; color: var(--white); }
.practices-intro p:not(.section-index) { max-width: 385px; margin: 25px 0 0; color: rgba(255,255,255,.7); }
.practice-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.27); }
.practice-item { position: relative; display: grid; grid-template-columns: 35px 1fr 22px; gap: 6px; align-items: center; min-height: 116px; padding: 19px 6px 19px 0; border-bottom: 1px solid rgba(255,255,255,.27); }
.practice-item:nth-child(odd) { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.27); }
.practice-item:nth-child(even) { padding-left: 28px; }
.practice-item span { color: var(--orange); font-family: var(--display); font-size: 11px; font-weight: 700; align-self: start; padding-top: 3px; }
.practice-item p { margin: 0; color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.27; letter-spacing: -.03em; }
.practice-item i { width: 18px; height: 1px; background: var(--green); transform: scaleX(.6); transform-origin: right; transition: transform .2s ease; }
.practice-item:hover i { transform: scaleX(1); }
.practice-line { position: absolute; right: -43px; bottom: -11px; width: min(28vw, 390px); opacity: .65; }
.practice-line svg { overflow: visible; }
.practice-line path { stroke: var(--green); stroke-width: 1.4; }

.cabinet-head { display: grid; grid-template-columns: 1fr .76fr; gap: 8vw; align-items: end; margin-bottom: 57px; }
.cabinet-head > p { margin: 0; padding-bottom: 3px; }
.cabinet-gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 285px 168px; gap: 21px; position: relative; padding-right: 15px; }
.cabinet-gallery figure { margin: 0; overflow: hidden; }
.cabinet-large { grid-row: span 2; position: relative; border-radius: 4px 46px 4px 4px; }
.cabinet-large img, .cabinet-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cabinet-large:hover img, .cabinet-small:hover img { transform: scale(1.025); }
.cabinet-large figcaption { position: absolute; right: 0; bottom: 0; max-width: 215px; margin: 0; padding: 15px 20px; color: var(--ink); background: rgba(250,249,246,.94); font-family: var(--display); font-size: 12px; font-weight: 600; line-height: 1.35; }
.cabinet-small { border-radius: 4px 4px 4px 34px; }
.address-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 24px 27px; background: var(--green-soft); border-radius: 3px 3px 28px 3px; }
.address-card p { margin: 13px 0 13px; color: var(--ink); font-size: 16px; line-height: 1.42; }
.address-card p b { font-family: var(--display); font-size: 14px; }
.address-card a { color: var(--green-deep); font-family: var(--display); font-size: 13px; font-weight: 800; }
.address-card a span { color: var(--orange); }

.trust-section { overflow: hidden; padding: 131px 0; background: var(--white); }
.trust-layout { display: grid; grid-template-columns: minmax(330px, .92fr) minmax(370px, 1.08fr); gap: clamp(62px, 10vw, 153px); align-items: center; }
.trust-photo { position: relative; height: 470px; overflow: hidden; border-radius: 42px 4px 4px 4px; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trust-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(17, 74, 73, .33)); }
.trust-photo-tag { position: absolute; z-index: 1; bottom: 19px; left: 23px; color: var(--white); font-family: var(--display); font-size: 13px; font-weight: 600; }
.text-link-green { color: var(--green-deep); }
.text-link-green > span { color: var(--orange); }
.text-link-green:hover > span { transform: translate(2px, -2px); }

.contact-section { position: relative; overflow: hidden; padding: 132px 0; background: var(--orange-soft); }
.contact-layout { display: grid; grid-template-columns: .95fr .79fr; gap: 13vw; align-items: center; }
.contact-panel { padding: 38px; background: var(--white); border-radius: 4px 35px 4px 4px; box-shadow: var(--shadow); }
.contact-label { margin: 0 0 8px; color: var(--green-deep); font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-number { display: inline-block; color: var(--ink); font-family: var(--display); font-size: clamp(28px, 3.1vw, 40px); font-weight: 700; letter-spacing: -.065em; line-height: 1.2; }
.contact-number:hover { color: var(--green-deep); }
.contact-rule { width: 52px; height: 2px; margin: 26px 0 18px; background: var(--orange); }
.contact-address { margin: 0 0 28px; color: var(--ink-soft); font-size: 17px; line-height: 1.42; }
.contact-line { position: absolute; top: -43px; right: 4vw; width: 275px; }
.contact-line svg { overflow: visible; }
.contact-line path { stroke: var(--green); stroke-width: 1.3; }
.contact-line circle { fill: var(--orange); }

.site-footer { padding: 65px 0 24px; color: rgba(255,255,255,.78); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 35px; padding-bottom: 49px; }
.footer-brand { display: inline-block; margin-bottom: 17px; color: var(--white); font-size: 18px; }
.footer-brand span { color: var(--orange); font-weight: 500; }
.site-footer p { margin: 0; font-size: 15px; line-height: 1.5; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; font-family: var(--display); font-size: 14px; font-weight: 600; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact a:first-child { color: var(--white); font-size: 18px; }
.footer-contact span { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.48); font-size: 12px; }
.footer-bottom a:hover { color: var(--orange); }
.mobile-call { display: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-delay { transition-delay: .14s; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 52px, 850px); }
  .header-inner { gap: 15px; }
  .main-nav { gap: 15px; }
  .header-phone { padding: 10px 11px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 47px; }
  .hero-visual { min-height: 504px; }
  .hero-photo-wrap { left: 12px; }
  .about-section { gap: 70px; }
  .about-photo-group { min-height: 492px; }
  .about-photo-main { height: 430px; }
  .practices-layout { gap: 55px; }
  .cabinet-gallery { grid-template-rows: 245px 160px; }
  .contact-layout { gap: 70px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 40px); }
  body { font-size: 17px; padding-bottom: 68px; }
  html { scroll-padding-top: 74px; }
  .section-space { padding: 82px 0; }
  .header-inner { height: 70px; gap: 13px; }
  .brand { min-width: auto; }
  .brand-logo { width: 21px; height: 38px; }
  .brand-wording strong { font-size: 14px; }
  .brand-wording span { font-size: 10px; }
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 38px; height: 38px; padding: 0; background: transparent; border: 1px solid #cdd7cb; border-radius: 50%; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; width: 15px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }
  .main-nav { position: absolute; top: 64px; right: 20px; left: 20px; display: grid; gap: 3px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 4px 4px 19px 4px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 10px; }
  .header-phone { margin-left: auto; padding: 8px 10px; font-size: 11px; }
  .header-phone svg { display: none; }
  .hero { padding: 35px 0 79px; }
  .hero-grid, .about-section, .practices-layout, .cabinet-head, .trust-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-line-one { display: none; }
  h1 { font-size: clamp(39px, 11vw, 53px); }
  h2 { font-size: clamp(34px, 9vw, 45px); }
  .hero-sentence { margin-top: 23px; }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button-primary { width: 100%; min-height: 55px; }
  .hero-visual { min-height: min(121vw, 490px); }
  .hero-photo-wrap { inset: 0 3px 0 0; }
  .photo-frame { top: 12px; right: -10px; }
  .hero-swoop { right: -33px; bottom: -24px; width: 66%; }
  .location-card { bottom: 13px; padding: 12px 15px; font-size: 12px; }
  .about-section { gap: 48px; }
  .about-photo-group { min-height: 424px; }
  .about-photo-main { width: 95%; height: 372px; }
  .about-accent { bottom: 28px; right: 0; }
  .about-copy > p:not(.section-index), .cabinet-head > p, .trust-copy > p:not(.section-index), .contact-copy > p:not(.section-index) { margin: 22px 0 28px; font-size: 18px; }
  .practices-section { padding: 83px 0 94px; }
  .practices-layout { gap: 42px; }
  .practice-list { display: block; }
  .practice-item, .practice-item:nth-child(odd), .practice-item:nth-child(even) { min-height: 82px; padding: 14px 0; border-right: 0; }
  .practice-item p { font-size: 17px; }
  .cabinet-head { gap: 0; margin-bottom: 36px; }
  .cabinet-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: 320px 195px auto; gap: 15px; padding-right: 0; }
  .cabinet-large { grid-row: auto; }
  .cabinet-small { grid-row: auto; }
  .address-card { min-height: 174px; }
  .trust-section { padding: 82px 0; }
  .trust-layout { gap: 42px; }
  .trust-photo { height: 310px; border-radius: 34px 4px 4px 4px; }
  .contact-section { padding: 84px 0; }
  .contact-layout { gap: 27px; }
  .contact-panel { padding: 30px 24px; }
  .contact-line { right: -115px; top: -72px; opacity: .8; }
  .site-footer { padding: 51px 0 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 34px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { gap: 17px; font-size: 11px; }
  .mobile-call { position: fixed; z-index: 45; right: 12px; bottom: 12px; left: 12px; display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 48px; color: var(--ink); background: var(--orange); border-radius: 5px 18px 5px 5px; box-shadow: 0 10px 25px rgba(38, 53, 45, .24); font-family: var(--display); font-size: 14px; font-weight: 700; }
  .mobile-call b { color: var(--green-deep); }
}

@media (max-width: 385px) {
  :root { --shell: calc(100% - 32px); }
  .header-phone { display: none; }
  .nav-toggle { margin-left: auto; }
  h1 { font-size: 39px; }
  .about-photo-group { min-height: 385px; }
  .about-photo-main { height: 335px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
