/* TOKENS AND BASE */
:root {
  --primary-color: #ed9b66;
  --secondary-color: #252624;
  --accent-color: #ed9b66;
  --text-color: #f3f0e9;
  --bg-color: #171817;
  --card-bg: #20211f;
  --muted-color: #b9bbb4;
  --line-color: #41423d;
  --container-width: 1200px;
  --radius: 8px;
  --section-space: 48px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 16px/1.6 var(--font-body); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
h2 { margin-bottom: 25px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 21px; line-height: 1.3; }
em { color: var(--accent-color); font-weight: 400; }
.container { width: min(100% - 40px, var(--container-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 22px; color: var(--muted-color); font-size: 14px; letter-spacing: .13em; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 23px; color: #171817; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 4px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #ffb789; transform: translateY(-2px); }
.button.outline { color: var(--text-color); background: transparent; border-color: #77786f; }
.button.outline:hover { background: #30312d; }
.button.small { min-height: 44px; padding: 8px 17px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 30px; height: 30px; color: var(--accent-color); flex-shrink: 0; }
.text-link { display: inline-block; padding-block: 12px; color: var(--accent-color); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 10px; color: #171817; background: var(--primary-color); }
.skip-link:focus { top: 10px; }
/* HEADER */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.header-inner { display: flex; min-height: 82px; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 31px; font-weight: 800; line-height: 1; letter-spacing: -2px; text-decoration: none; }
.brand > span:first-child { font-weight: 400; }
.brand-dot { padding-left: 3px; color: var(--accent-color); font-size: 34px; }
.header-phone { margin-left: auto; font-size: 14px; text-decoration: none; white-space: nowrap; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: inherit; background: transparent; border: 1px solid var(--line-color); border-radius: 4px; }
.menu-toggle span { display: block; height: 2px; margin-block: 6px; background: currentColor; }
nav { display: flex; width: 100%; order: 4; flex-wrap: wrap; gap: 4px 18px; }
nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--accent-color); }
.js .menu-toggle { display: block; }
.js nav { display: none; }
.js nav.is-open { display: flex; }
/* HERO */
.hero { padding-top: 34px; }
.hero-grid { display: grid; gap: 34px; }
.hero-copy { animation: appear .7s ease both; }
.small-cross { margin-right: 9px; color: var(--accent-color); font-size: 24px; vertical-align: middle; }
.hero-description { max-width: 450px; margin-bottom: 30px; color: var(--muted-color); font-size: 17px; }
.hero-note { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: 14px; color: var(--muted-color); }
.rating-number { color: var(--text-color); font-size: 36px; line-height: 1; }
.rating-number .stars { padding-left: 5px; font-size: 25px; }
.hero-art { position: relative; min-width: 0; }
.hero-photo { width: 100%; height: 390px; object-position: center 51%; border-radius: 140px 140px 4px 4px; }
.photo-label { position: absolute; right: 12px; bottom: 14px; left: 12px; display: flex; justify-content: space-between; gap: 8px; padding: 12px; font-size: 12px; letter-spacing: .07em; color: #fff; background: #171817ee; }
.photo-label span { letter-spacing: 0; }
.art-stamp { position: absolute; top: 10px; right: 4px; display: grid; width: 76px; height: 76px; place-items: center; color: #171817; font-size: 66px; line-height: 1; background: var(--accent-color); border-radius: 50%; transform: rotate(12deg); }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-block: 20px; color: var(--muted-color); font-size: 14px; border-block: 1px solid var(--line-color); }
/* BENEFITS */
.benefits { display: grid; gap: 32px; padding-block: 42px; }
.benefits h2 { margin: 15px 0 10px; font-family: var(--font-body); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.benefits p { max-width: 340px; margin-bottom: 0; color: var(--muted-color); }
/* SERVICES */
.services { border-top: 1px solid var(--line-color); }
.section-heading { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted-color); }
.service-grid { display: grid; gap: 22px; }
.service-card { overflow: hidden; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #0005; }
.service-card > img { width: 100%; height: 280px; object-position: 50% 40%; }
.service-body { padding: 24px; }
.service-body > p { color: var(--muted-color); }
.price-variants { padding: 0; margin: 24px 0 0; list-style: none; }
.price-variants li { display: flex; flex-direction: column; gap: 5px; padding-block: 14px; border-top: 1px solid var(--line-color); }
.price-variants span { font-size: 14px; color: var(--muted-color); overflow-wrap: anywhere; }
.price-variants strong { color: var(--accent-color); font-size: 20px; font-weight: 500; }
.training { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; padding: 25px; border: 1px solid var(--line-color); border-radius: var(--radius); }
.training > div { display: flex; align-items: center; gap: 16px; }
.training h3 { margin: 0; font-size: 19px; }
.training strong { color: var(--accent-color); font-size: 22px; }
.training a { display: inline-flex; min-height: 44px; align-items: center; }
.services-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.services-bottom p { margin: 0; color: var(--muted-color); }
/* ABOUT */
.about { background: var(--secondary-color); }
.about-grid { display: flex; flex-direction: column-reverse; gap: 40px; }
.about-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted-color); }
.about-photos { position: relative; padding: 0 25px 40px 0; }
.studio-photo { width: 85%; height: 360px; border-radius: var(--radius); }
.detail-photo { position: absolute; right: 0; bottom: 0; width: 48%; height: 210px; border: 6px solid var(--secondary-color); border-radius: var(--radius); }
/* REVIEWS */
.review-rating { display: flex; flex-direction: column; align-self: flex-start; text-decoration: none; }
.review-rating strong { font-size: 38px; font-weight: 400; }
.review-rating strong span { color: var(--accent-color); }
.review-rating > span { color: var(--muted-color); font-size: 14px; text-decoration: underline; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; align-items: start; gap: 20px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory; }
.review-card { padding: 26px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; }
.stars { color: var(--accent-color); letter-spacing: .12em; }
blockquote { margin: 22px 0; }
blockquote p { margin: 0; overflow-wrap: anywhere; }
.review-card summary { min-height: 44px; margin-top: 20px; color: var(--accent-color); cursor: pointer; }
.review-card summary:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.avatar { display: grid; width: 42px; height: 42px; flex-shrink: 0; place-items: center; background: #393b34; border-radius: 50%; }
.review-author h3 { margin: 0; font-size: 16px; }
time { font-size: 14px; color: var(--muted-color); }
.swipe-hint { color: var(--muted-color); font-size: 14px; }
/* CONTACTS */
.contacts { background: var(--secondary-color); }
.contact-grid { display: grid; gap: 40px; }
.contact-list { margin-block: 30px; }
.contact-list > div { margin-bottom: 22px; }
dt { color: var(--muted-color); font-size: 14px; }
dd { margin: 4px 0 0; font-size: 18px; }
dd a { text-decoration: none; }
.social-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 15px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; }
.location-card { align-self: stretch; overflow: hidden; border: 1px solid #73756b; border-radius: var(--radius); }
.map-frame { height: 380px; background: #dadbd3; }
iframe { width: 100%; height: 100%; border: 0; }
.map-link { display: block; min-height: 60px; padding: 18px; text-align: center; }
/* FOOTER */
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 34px; }
.footer-inner p { margin: 0; color: var(--muted-color); font-size: 14px; }
.footer-inner > a:not(.brand) { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--muted-color); }
/* DIALOG AND PRIVACY */
dialog { position: fixed; width: min(780px, calc(100% - 28px)); max-height: calc(100dvh - 40px); padding: 24px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
dialog::backdrop { background: #000b; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { font-size: 30px; }
.close-dialog { width: 44px; height: 44px; flex-shrink: 0; color: var(--text-color); font-size: 30px; background: transparent; border: 1px solid var(--line-color); border-radius: 4px; }
.price-row { display: grid; gap: 8px; padding-block: 18px; border-bottom: 1px solid var(--line-color); }
.price-row strong { color: var(--accent-color); white-space: nowrap; }
.price-list { margin-bottom: 25px; }
.privacy { max-width: 800px; padding-block: 50px; }
.privacy h1 { margin-top: 30px; overflow-wrap: anywhere; }
.privacy h2 { margin-top: 35px; font-size: 28px; }
/* TABLET */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .hero-photo { height: 510px; }
  .hero { padding-top: 45px; }
  .hero-copy { padding-block: 20px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
  .section-heading > p { margin-bottom: 4px; }
  .training strong { margin-left: auto; }
  .training a { margin-left: 20px; }
  .review-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .swipe-hint { display: none; }
  .about-photos { max-width: 600px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .map-frame { height: calc(100% - 62px); min-height: 420px; }
  .price-row { grid-template-columns: 1fr auto; gap: 24px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { min-height: 88px; flex-wrap: nowrap; gap: 24px; }
  .js .menu-toggle { display: none; }
  .js nav, nav { display: flex; width: auto; order: 0; margin-left: auto; gap: 18px; }
  .header-phone { margin-left: 0; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .hero-photo { height: 565px; border-radius: 220px 220px 4px 4px; }
  .hero-copy h1 { white-space: nowrap; }
  .hero-note { margin-top: 42px; }
  .hero-bottom { margin-top: 45px; }
  .art-stamp { right: -13px; top: 30px; width: 90px; height: 90px; font-size: 80px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 60px; padding-block: 50px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .service-card > img { height: 300px; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
  .studio-photo { height: 490px; }
  .detail-photo { height: 260px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .review-rating { align-self: end; }
  .contact-grid { gap: 90px; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 65px; }
  .hero-copy h1 { font-size: 4.6rem; }
}
/* MOTION */
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-copy { animation: none; }
  .button, .service-card { transition: none; }
}
