/* TOKENS AND BASE */
:root {
  --primary-color: #e43182;
  --secondary-color: #252527;
  --accent-color: #ff77b2;
  --text-color: #f7f5f4;
  --muted-color: #b9b7bb;
  --bg-color: #111113;
  --card-bg: #1c1c1f;
  --line-color: #3a383e;
  --container: 1200px;
  --radius: 8px;
  --space: 40px;
  --font: Arial, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.65 var(--font); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: 32px; letter-spacing: -1.4px; }
h2 { font-size: 30px; letter-spacing: -1px; }
h3 { font-size: 21px; }
p { color: var(--muted-color); }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
[hidden] { display: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--space) 0; }
.eyebrow { margin-bottom: 18px; color: var(--accent-color); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; color: #fff; background: #bb1c62; border: 1px solid #bb1c62; border-radius: 4px; font-weight: 700; text-align: center; transition: transform .3s ease, background .3s ease; }
.button:hover { background: #9e1752; transform: translateY(-2px); }
.button-outline { color: var(--text-color); background: transparent; border-color: #77717a; }
.button-outline:hover { background: #343036; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-block; padding: 10px 0; color: var(--text-color); text-decoration: underline; text-underline-offset: 6px; }
.text-link:hover { color: var(--accent-color); }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 10; padding: 12px; background: var(--bg-color); }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 5; background: #111113f5; border-bottom: 1px solid var(--line-color); }
.header-inner { display: flex; min-height: 94px; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { font-size: 25px; font-weight: 900; letter-spacing: -1.4px; white-space: nowrap; }
.brand span { color: var(--accent-color); }
.header-phone { margin-left: auto; font-size: 14px; font-weight: 700; padding: 6px 0; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; margin-left: auto; border: 1px solid #77717a; background: transparent; color: white; border-radius: 4px; }
.menu-toggle span { width: 20px; height: 2px; background: currentColor; }
.js .menu-toggle { display: flex; }
.navigation { display: flex; width: 100%; flex-wrap: wrap; order: 4; gap: 8px 18px; font-size: 14px; }
.navigation a { padding: 10px 0; }
.navigation a:hover { color: var(--accent-color); }
.js .navigation { display: none; }
.js .navigation.open { display: flex; }
/* HERO */
.hero { position: relative; overflow: hidden; background: #09090a; }
.hero-image { position: relative; height: 360px; }
.hero-image img { width: 100%; height: 100%; object-position: 50% 38%; }
.hero-inner { position: relative; padding-top: 30px; padding-bottom: 36px; }
.hero-copy { animation: appear .7s ease both; }
.hero h1 { margin-bottom: 24px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--accent-color); }
.hero-description { max-width: 470px; margin-bottom: 28px; }
.rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; }
.rating > strong { font-size: 34px; line-height: 1; }
.rating > span { display: grid; font-size: 14px; }
.stars { display: block; color: var(--accent-color); letter-spacing: 3px; font-size: 16px; }
.hero-caption { display: none; }
@keyframes appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-color); }
.benefits article { display: flex; align-items: flex-start; gap: 16px; }
.benefits svg { color: var(--accent-color); }
.benefits h2 { margin-bottom: 10px; font-size: 20px; letter-spacing: -.3px; }
.benefits p { font-size: 16px; }
/* SERVICES */
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.section-heading > p { max-width: 330px; }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; min-width: 0; flex-direction: column; padding: 28px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); box-shadow: 0 5px 20px #0002; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #0005; }
.service-card svg { margin-bottom: 28px; color: var(--accent-color); }
.service-card h3 { margin-bottom: 16px; font-size: 21px; line-height: 1.3; overflow-wrap: anywhere; }
.service-card p { margin-bottom: 24px; }
.service-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font-size: 25px; }
.service-bottom a { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent-color); text-decoration: underline; text-underline-offset: 5px; }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
/* ABOUT AND WORKS */
.about { background: #1a191c; }
.about-layout { display: grid; gap: 30px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.eyebrow) { margin-bottom: 20px; }
.studio-photo { order: -1; }
.studio-photo img { width: 100%; height: 380px; border-radius: var(--radius); }
.studio-photo figcaption { margin-top: 10px; color: var(--muted-color); font-size: 14px; }
.gallery-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 40px 0 20px; }
.gallery-heading span { color: var(--muted-color); font-size: 14px; }
.gallery { display: grid; gap: 16px; }
.gallery img { width: 100%; height: 350px; border-radius: var(--radius); }
/* REVIEWS */
.swipe-hint { margin-bottom: 20px; font-size: 14px; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 16px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; }
.review-card blockquote { margin: 22px 0 30px; overflow-wrap: anywhere; font-size: 16px; color: #e6e2e7; }
.review-author { display: grid; gap: 4px; margin-top: auto; }
.review-author time { color: var(--muted-color); font-size: 14px; }
/* CONTACTS */
.contacts { border-top: 1px solid var(--line-color); }
.contact-layout { display: grid; gap: 36px; }
.contact-intro { margin-top: 22px; }
dl { margin: 28px 0; }
dt { margin-top: 20px; color: var(--muted-color); font-size: 14px; }
dd { margin: 4px 0 0; font-size: 18px; }
.social-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.social-links a { padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; }
.address-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 420px; padding: 28px; overflow: hidden; background: #611b3d; border: 1px solid #a94e79; border-radius: var(--radius); }
.address-card .eyebrow { color: #ffd7e8; }
.address-card h3 { position: relative; font-size: 32px; letter-spacing: -1px; }
.address-card > p:not(.eyebrow) { color: #ffd7e8; margin: 12px 0 30px; }
.address-card .button { margin-top: auto; }
.button-light { color: #22151c; background: #fff2f8; border-color: #fff2f8; }
.button-light:hover { background: #f7c7dc; }
.map-symbol { position: absolute; right: -35px; top: 100px; color: #a53c6d; transform: rotate(16deg); }
.map-symbol svg { width: 250px; height: 250px; }
/* FOOTER AND PRIVACY */
.footer { padding: 30px 0; border-top: 1px solid var(--line-color); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; font-size: 14px; }
.footer a:not(.brand) { padding: 10px 0; }
.privacy { padding-top: 40px; padding-bottom: 60px; max-width: 800px; }
.privacy h1 { margin: 30px 0; overflow-wrap: anywhere; }
.privacy p { margin: 20px 0; }
.privacy p a { color: var(--text-color); text-decoration: underline; }
/* PRICE DIALOG */
dialog { width: min(1100px, calc(100% - 24px)); max-height: 90dvh; padding: 22px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
dialog::backdrop { background: #000c; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 26px; }
.close-button { flex-shrink: 0; width: 44px; height: 44px; color: #fff; background: var(--secondary-color); border: 1px solid #77717a; border-radius: 4px; font-size: 30px; line-height: 1; }
/* TABLET */
@media (min-width: 768px) {
  :root { --space: 64px; }
  h1 { font-size: 54px; }
  h2 { font-size: 40px; }
  .header-inner { min-height: 84px; }
  .header-phone { font-size: 16px; }
  .header-cta { display: inline-flex; }
  .hero-image { position: absolute; inset: 0 0 0 43%; height: auto; }
  .hero-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #09090a, transparent 50%); }
  .hero-image img { object-position: 50% 40%; }
  .hero-inner { min-height: 670px; padding-top: 80px; padding-bottom: 70px; }
  .hero-copy { position: relative; max-width: 550px; }
  .hero-description { max-width: 400px; color: #ded9df; }
  .hero-caption { position: absolute; right: 28px; bottom: 25px; display: grid; color: white; font-size: 20px; font-weight: 700; text-shadow: 0 2px 8px #000; }
  .hero-caption span { font-size: 14px; font-weight: 400; }
  .service-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; }
  .swipe-hint { display: none; }
  .about-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
  .studio-photo { order: 0; }
  .studio-photo img { height: 530px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .address-card { padding: 36px; }
  .footer-inner p { margin-right: auto; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --space: 80px; }
  .header-inner { gap: 18px; }
  .js .menu-toggle { display: none; }
  .js .navigation, .navigation { display: flex; order: 0; width: auto; margin-left: auto; flex-wrap: nowrap; gap: 16px; }
  .header-phone { margin-left: 0; }
  .header-cta { padding-right: 16px; padding-left: 16px; }
  .hero h1 { font-size: 64px; letter-spacing: -2.8px; }
  .hero-inner { min-height: 720px; padding-top: 94px; }
  .hero-copy { max-width: 610px; }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 38px; padding-bottom: 38px; }
  .service-grid, .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery img { height: 330px; }
  .gallery-heading { margin-top: 65px; }
  .address-card h3 { font-size: 44px; }
}
/* WIDE SCREENS AND MOTION PREFERENCES */
@media (min-width: 1440px) { .hero-image { left: 44%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
}
