:root {
  --white: #fff;
  --ink: #232b23;
  --muted: #596454;
  --line: #dce5d6;
  --green: #4e813d;
  --green-deep: #3f6c32;
  --soft: #edf4e8;
  --sans: "Manrope", Arial, sans-serif;
  --wrap: 1240px;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.page-wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px 20px; z-index: 100; border-radius: 12px; background: var(--green); color: white; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 80px; padding: 16px 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.wordmark { display: inline-block; }
.brand-logo { display: block; width: 140px; height: auto; object-fit: contain; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(15px, 1.6vw, 24px); }
.site-nav a { font-size: 16px; white-space: nowrap; padding: 10px 0; }
.site-nav a:hover, .text-link:hover, .footer-main a:hover { color: var(--green-deep); }
.menu-toggle { display: none; }
.button { min-height: 48px; padding: 11px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 14px; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.button-dark { color: white; background: var(--green); border-color: var(--green); }
.button-dark:hover { background: var(--green-deep); border-color: var(--green-deep); }
.header-book { justify-self: end; white-space: nowrap; }
.text-link { display: inline-block; font-size: 16px; font-weight: 600; color: var(--green-deep); text-decoration: underline; text-underline-offset: 5px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: -.035em; }
h1, h2 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.2; margin: 0; }
h2 em { font-style: normal; font-weight: 600; color: var(--green-deep); }
.brand-accent { color: var(--green-deep); }
.section { padding-block: 84px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.studio-section { padding-top: 56px; background: linear-gradient(180deg, #fff 0%, #f1f6ec 17%, #edf4e8 72%, #fff 100%); }
.studio-intro { text-align: center; }
.studio-intro h1 { max-width: 1080px; margin: auto; }
.studio-subtitle { color: var(--muted); font-size: 21px; line-height: 1.6; margin: 18px auto 0; max-width: 820px; }
.studio-gallery { max-width: 1080px; margin: 36px auto 0; }
.studio-gallery-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.studio-gallery-track::-webkit-scrollbar, .team-cards::-webkit-scrollbar { display: none; }
.studio-gallery-slide { position: relative; flex: 0 0 calc((100% - 20px) / 2); aspect-ratio: 1.08; overflow: hidden; margin: 0; border-radius: var(--radius); scroll-snap-align: start; background: #dfe9d8; }
.studio-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-gallery-slide:first-child img { object-position: 52% 40%; }
.studio-gallery-slide--wash img { object-position: 50% 52%; }
.studio-gallery-slide--entrance img { object-position: 38% center; }
.studio-gallery-slide--interior img { object-position: 50% 55%; }
.studio-photo { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.studio-photo:focus-visible { outline: 3px solid white; outline-offset: -6px; }
.studio-gallery-slide figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; width: fit-content; max-width: calc(100% - 32px); border-radius: 10px; padding: 9px 13px; background: rgba(255,255,255,.94); color: var(--green-deep); font-size: 14px; font-weight: 500; line-height: 1.5; pointer-events: none; }
.studio-gallery-controls, .team-carousel-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; }
.round-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 1px solid #bfd1b3; border-radius: 50%; background: white; color: var(--green-deep); font-size: 25px; line-height: 1; transition: color .2s, background .2s, border-color .2s; }
.round-button svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.round-button:hover { background: var(--green); color: white; border-color: var(--green); }
.intro-band { padding: 0 0 76px; }
.studio-about-copy { max-width: 1080px; }
.intro-quote { margin: 28px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--green); }
.intro-quote .intro-text { margin: 0; }
.intro-text { color: var(--muted); font-size: 18px; line-height: 1.8; margin: 28px 0 0; }
.team-section { padding-block: 68px 84px; background: white; }
.team-inner { display: block; }
.team-copy { margin-bottom: 32px; }
.team-carousel-wrap, .team-empty, .team-cards { min-width: 0; max-width: 100%; }
.team-cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.team-card { flex: 0 0 min(320px, 88%); overflow: hidden; border-radius: var(--radius); background: #f5f8f1; scroll-snap-align: start; }
.team-card img, .team-card-blank { display: flex; width: 100%; height: 300px; object-fit: cover; }
.team-card-blank { align-items: center; justify-content: center; background: linear-gradient(145deg,#d6e5ca,#f0f6ea); color: var(--green-deep); font-size: 48px; font-weight: 500; letter-spacing: .04em; }
.team-card > div:last-child { padding: 24px; }
.team-card strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.35; }
.team-card span { display: block; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--green-deep); margin-top: 12px; }
.team-card p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 16px 0 0; }
.review-section { padding-block: 92px; background: linear-gradient(180deg,#fff 0%,#edf4e8 23%,#edf4e8 78%,#fff 100%); }
.review-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.review-description { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.review-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.review-stat { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 15px; line-height: 1.3; text-align: left; }
.review-stat b { font-size: 22px; font-weight: 700; color: var(--ink); }
.review-stat svg { width: 20px; height: 20px; fill: #f5b301; flex: none; }
.review-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.review-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: white; border: 1px solid rgba(78,129,61,.12); box-shadow: 0 12px 36px rgba(40,65,30,.05); }
.review-card-top { display: flex; align-items: center; gap: 14px; }
.review-avatar { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg,#d6e5ca,#f0f6ea); color: var(--green-deep); font-weight: 700; font-size: 18px; }
.review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review-avatar::after { content: "Я"; position: absolute; right: -4px; bottom: -4px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fc3f1d; color: white; font-size: 11px; font-weight: 700; border: 2px solid white; }
.review-meta { flex: 1; min-width: 0; }
.review-meta strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.review-meta time { display: block; font-size: 14px; color: #7a8575; line-height: 1.4; }
.review-stars { display: inline-flex; gap: 2px; flex: none; }
.review-stars svg { width: 17px; height: 17px; fill: #f5b301; }
.review-stars svg.off { fill: #d8ded3; }
.review-text { margin: 0; color: #2f382e; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.review-text.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.review-toggle { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--green-deep); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.review-avatar[data-src="2gis"]::after { content: "2"; background: #1da42c; }
.review-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.review-more[hidden], .review-stats[hidden] { display: none; }
.review-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }
.service-tabs { display: flex; align-items: stretch; gap: 10px; overflow-x: auto; padding: 4px 4px 16px; margin: -4px -4px 8px; scrollbar-width: thin; }
.service-tabs button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: #f5f8f1; font-size: 16px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.service-tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: white; }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-height: 180px; }
.service-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; gap: 6px 14px; padding: 18px; border-radius: var(--radius); background: #f3f7ef; }
.service-name { font-size: 18px; font-weight: 600; line-height: 1.45; }
.service-price { color: var(--green-deep); font-size: 19px; font-weight: 700; line-height: 1.45; white-space: nowrap; }
.service-details { grid-column: 1 / -1; min-width: 0; }
.service-details summary { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.service-details summary::-webkit-details-marker { display: none; }
.service-duration { color: var(--muted); font-size: 14px; line-height: 1.6; }
.service-more { color: var(--green-deep); font-size: 14px; line-height: 1.6; }
.service-more::after { content: "+"; display: inline-block; margin-left: 8px; font-size: 18px; }
.service-details[open] .service-more::after { content: "−"; }
.service-description { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 10px 0 0; }
.loading-state, .empty-state { grid-column: 1 / -1; padding: 24px; font-size: 17px; color: var(--muted); }
.empty-state a { color: var(--green-deep); text-decoration: underline; }
.price-note { max-width: 960px; color: var(--muted); font-size: 14px; line-height: 1.75; margin: 18px 0 0; }
.booking-band { position: relative; overflow: hidden; padding-block: 92px; background: linear-gradient(180deg,#fff 0%,#eaf2e4 25%,#eaf2e4 76%,#fff 100%); }
.booking-inner { position: relative; z-index: 1; }
.booking-heading { margin-bottom: 28px; }
.booking-heading p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.booking-heading a[href^="tel:"] { color: var(--green-deep); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.booking-widget-panel { width: 100%; min-width: 0; overflow: hidden; border-radius: var(--radius); background: white; }
.booking-widget { display: block; width: 100%; height: 700px; border: 0; }
.contact-section { padding-bottom: 84px; }
.contact-heading { display: block; }
.contact-heading .contact-address { max-width: none; color: var(--muted); font-size: 17px; line-height: 1.7; margin: 18px 0 28px; }
.contact-address-end { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; white-space: normal; }
.route-button { min-height: 44px; vertical-align: middle; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: stretch; }
.contact-details { min-width: 0; padding: 8px 0; }
.contact-row { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 18px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.contact-row > span { font-size: 14px; line-height: 1.7; color: var(--green-deep); font-weight: 600; }
.contact-row p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.contact-row a { color: var(--ink); }
.contact-row a:hover { color: var(--green-deep); }
.map-placeholder { position: relative; grid-column: 1; grid-row: 1; min-width: 0; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.map-live iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; }
.site-footer { padding-top: 68px; background: linear-gradient(180deg,#fff 0%,#f0f5eb 50%,#edf4e8 100%); }
.footer-main { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 48px; padding-bottom: 40px; }
.footer-brand { min-width: 0; }
.footer-slogan { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 20px 0 0; }
.footer-main nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; font-size: 16px; line-height: 1.6; }
.footer-main nav a { width: fit-content; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; min-height: 72px; padding-block: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); border-top: 1px solid #d8e3d0; }
.footer-legal { margin: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.section-up { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: white; box-shadow: 0 4px 16px rgba(43,75,31,.2); transition: background .2s, transform .2s; }
.section-up[hidden] { display: none; }
.section-up:hover { background: var(--green-deep); }
.section-up:active { transform: scale(.96); }
.section-up svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.lightbox { width: min(900px,calc(100% - 40px)); max-height: 90vh; border: 0; padding: 0; border-radius: var(--radius); background: transparent; }
.lightbox::backdrop { background: rgba(24,34,20,.88); }
.lightbox img { display: block; max-height: 85vh; margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 28px; }
@media (max-width: 1100px) {
  .page-wrap { width: calc(100% - 48px); }
  .site-header { padding-inline: 24px; gap: 20px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 15px; }
  .header-book { padding-inline: 18px; }
}
@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 16px; }
  .menu-toggle { display: flex; grid-column: 3; grid-row: 1; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: #f5f8f1; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; }
  .menu-toggle i { display: block; width: 22px; height: 2px; background: var(--green-deep); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 30px rgba(35,55,25,.08); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 17px; padding-block: 12px; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-placeholder { grid-row: auto; order: -1; }
  .map-placeholder, .map-live iframe { min-height: 400px; }
}
@media (max-width: 760px) {
  .service-list { grid-template-columns: 1fr; }
  .service-name { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  :root { --radius: 22px; }
  html { scroll-padding-top: 92px; }
  body { font-size: 17px; }
  .page-wrap { width: calc(100% - 36px); }
  .site-header { min-height: 76px; padding: 12px 18px; gap: 10px; }
  .brand-logo { width: 120px; }
  .button { min-height: 44px; padding: 10px 16px; font-size: 15px; }
  .header-book { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .menu-toggle { width: 44px; height: 44px; }
  h1, h2 { font-size: clamp(30px,8vw,36px); line-height: 1.25; }
  .studio-section { padding-top: 36px; }
  .studio-subtitle { font-size: 19px; line-height: 1.65; margin-top: 16px; }
  .studio-gallery { margin-top: 26px; }
  .studio-gallery-track { gap: 16px; }
  .studio-gallery-slide { flex-basis: 91%; aspect-ratio: .94; }
  .studio-gallery-slide figcaption { left: 12px; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 11px; }
  .round-button { width: 44px; height: 44px; flex-basis: 44px; font-size: 24px; }
  .studio-gallery-controls, .team-carousel-controls { margin-top: 16px; }
  .intro-band { padding-bottom: 48px; }
  .intro-text { font-size: 17px; margin-top: 24px; }
  .intro-quote { margin-top: 24px; padding-left: 18px; }
  .section, .team-section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .team-copy { margin-bottom: 26px; }
  .team-card { flex-basis: 90%; }
  .team-card > div:last-child { padding: 22px; }
  .review-section, .booking-band { padding-block: 68px; }
  .review-description, .booking-heading p { font-size: 17px; }
  .review-card { padding: 20px; }
  .review-head { margin-bottom: 28px; }
  .service-list { grid-template-columns: 1fr; gap: 10px; }
  .service-tabs { margin-bottom: 4px; gap: 8px; }
  .service-tabs button { min-height: 44px; font-size: 15px; padding: 8px 12px; }
  .service-row { padding: 14px 16px; gap: 4px 12px; }
  .service-name { font-size: 16px; }
  .service-price { font-size: 17px; }
  .booking-heading { margin-bottom: 24px; }
  .booking-widget { height: clamp(540px,76vh,640px); height: clamp(540px,76dvh,640px); }
  .contact-row { grid-template-columns: 1fr; gap: 6px; padding-block: 16px; }
  .map-placeholder, .map-live iframe { min-height: 370px; }
  .site-footer { padding-top: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-slogan { font-size: 17px; margin-top: 18px; }
  .footer-main nav { gap: 12px 24px; }
  .footer-bottom { min-height: 68px; padding-bottom: 88px; }
  .section-up { width: 64px; height: 64px; right: 32px; bottom: 48px; bottom: max(48px,env(safe-area-inset-bottom)); }
  .section-up svg { width: 32px; height: 32px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 12px; gap: 8px; }
  .header-book { padding-inline: 12px; }
}
/* Телефоны: отзывы горизонтальной лентой со свайпом */
@media (max-width: 600px) {
  .review-grid { display: flex; grid-template-columns: none; align-items: stretch; gap: 14px; margin-inline: -18px; padding: 4px 18px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 84%; scroll-snap-align: start; }
  .review-card-top { gap: 12px; }
  .review-stars svg { width: 14px; height: 14px; }
  .review-meta time { white-space: nowrap; }
  .review-more { display: none; }
  .review-actions { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}