:root {
  color-scheme: light;
  --paper: #f8f5f3;
  --ink: #272322;
  --muted: #716664;
  --accent: #a14268;
  --line: #dfd6d2;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Montserrat", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
.maintenance-page { max-width: 1600px; min-height: 100svh; margin: auto; padding: 0 72px; display: flex; flex-direction: column; }
.header { min-height: 126px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 185px; height: auto; mix-blend-mode: multiply; }
.header-caption { margin-left: 18px; padding-left: 32px; border-left: 1px solid var(--line); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.header-phone { margin-left: auto; font-size: 13px; font-weight: 500; white-space: nowrap; }
.header-phone span { margin-left: 18px; font-size: 19px; color: var(--accent); }
.main { flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 70px; padding: 54px 0; align-items: center; }
.message { padding: 18px 0; }
.status { display: flex; align-items: center; gap: 10px; margin: 0 0 32px; font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #62564e; }
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #4e7860; box-shadow: 0 0 0 4px #4e786010; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4vw, 62px); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; margin: 0; }
h1 em { font-weight: 400; color: var(--accent); }
.accent-line { width: 44px; height: 2px; background: #b5798d; margin: 28px 0; }
.intro { font-size: 18px; line-height: 1.6; font-weight: 500; letter-spacing: -.025em; margin: 0 0 18px; }
.description { font-size: 13px; line-height: 1.9; color: #685e5b; margin: 0; max-width: 490px; }
.description a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; gap: 12px; margin-top: 29px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 18px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { text-decoration: none; transform: translateY(-2px); }
.button-primary { background: #272322; color: #fff; }
.button-primary:hover { background: #493c40; }
.button-secondary { background: transparent; border-color: #bca5ad; color: #72334e; }
.button-secondary:hover { background: #efe4e8; border-color: var(--accent); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.button-arrow { margin-left: 7px; font-size: 17px; line-height: 1; font-weight: 400; }
.thanks { margin: 25px 0 0; font-size: 11px; line-height: 1.85; color: var(--muted); }
.instagram-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 18px; font-size: 11px; color: #685951; }
.instagram-link .icon { width: 16px; height: 16px; }
.instagram-link span:last-child { margin-left: 6px; font-size: 16px; }
.visual { position: relative; align-self: stretch; min-height: 630px; max-height: 760px; overflow: hidden; border-radius: 120px 6px 6px 6px; background: #c7b1a5; }
.salon-photo { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 35%; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(38,22,24,.22),transparent 38%,rgba(38,22,24,.2) 56%,rgba(38,22,24,.87)); }
.photo-label { position: absolute; right: 28px; top: 30px; font-size: 9px; font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .12em; padding: 11px 14px; border: 1px solid #ffffff7a; border-radius: 40px; background: #30222238; }
.photo-caption { position: absolute; left: 40px; right: 30px; bottom: 38px; color: white; }
.caption-kicker { font-size: 11px; letter-spacing: .025em; }
.photo-caption p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 3.8vw, 58px); font-style: italic; font-weight: 400; letter-spacing: -.025em; line-height: 1.02; margin: 13px 0 24px; }
.caption-rule { display: block; width: 34px; height: 1px; background: #e1b8c7; margin-bottom: 18px; }
.caption-city { font-size: 9px; letter-spacing: .2em; }
.footer { display: flex; align-items: center; gap: 32px; min-height: 83px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-name { font-weight: 600; font-size: 11px; letter-spacing: .08em; }
.footer-name span { margin-left: 12px; font-weight: 400; font-size: 10px; letter-spacing: 0; }
.address { margin-left: auto; line-height: 1.7; }
.address span { margin-left: 10px; color: var(--accent); font-size: 15px; }
.footer-phone { display: none; }

@media (min-width: 1700px) {
  .main { gap: 100px; padding: 66px 0; }
  h1 { font-size: 67px; }
  .intro { font-size: 20px; }
  .description { font-size: 15px; max-width: 560px; }
  .status { font-size: 11px; }
  .button { padding: 18px 22px; font-size: 12px; min-height: 60px; }
  .thanks, .instagram-link { font-size: 12px; }
}
@media (max-width: 1199px) {
  .maintenance-page { padding: 0 40px; }
  .main { gap: 36px; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
  .visual { min-height: 600px; }
  .header-caption { display: none; }
  .button { padding: 15px 12px; gap: 7px; font-size: 10px; }
  .button-arrow { margin-left: 2px; }
  .photo-caption { left: 28px; }
  .photo-label { font-size: 8px; right: 18px; }
}
@media (max-width: 900px) {
  .maintenance-page { max-width: 700px; }
  .header { min-height: 104px; }
  .brand { width: 160px; }
  .header-phone { font-size: 11px; }
  .header-phone span { margin-left: 5px; }
  .main { grid-template-columns: 1fr; padding: 34px 0; gap: 34px; }
  h1 { font-size: clamp(39px, 6.6vw, 57px); }
  .message { padding: 8px 0 0; }
  .description { max-width: 520px; }
  .visual { min-height: 390px; height: 390px; border-radius: 70px 6px 6px 6px; }
  .salon-photo { object-position: center 45%; }
  .photo-caption p { font-size: 46px; }
  .photo-caption { bottom: 28px; }
  .photo-label { top: 24px; right: 24px; font-size: 9px; }
  .button { padding: 17px 19px; font-size: 12px; }
  .footer { flex-wrap: wrap; justify-content: space-between; padding: 24px 0; gap: 15px; }
  .footer-name span { display: none; }
  .address { margin-left: 0; }
}
@media (max-width: 540px) {
  .maintenance-page { padding: 0 24px; }
  .header { min-height: 91px; gap: 12px; }
  .brand { width: 137px; }
  .header-phone { font-size: 9px; }
  .header-phone span { display: none; }
  .status { font-size: 8px; letter-spacing: .09em; margin-bottom: 22px; gap: 8px; }
  h1 { font-size: clamp(32px, 8.5vw, 45px); line-height: 1.15; }
  .accent-line { margin: 23px 0; width: 34px; }
  .intro { font-size: 16px; line-height: 1.65; margin-bottom: 16px; }
  .description { font-size: 12px; line-height: 1.9; }
  .desktop-break { display: none; }
  .actions { flex-direction: column; margin-top: 24px; gap: 10px; }
  .button { width: 100%; min-height: 56px; padding: 16px 22px; font-size: 12px; }
  .button-arrow { margin-left: auto; }
  .button span:nth-child(2) { margin-right: auto; }
  .thanks { font-size: 11px; margin-top: 22px; }
  .instagram-link { margin-top: 12px; }
  .main { padding-top: 28px; gap: 22px; }
  .visual { min-height: 350px; height: 350px; border-radius: 64px 5px 5px 5px; }
  .photo-label { right: 18px; top: 20px; font-size: 7px; }
  .photo-caption { left: 26px; bottom: 26px; }
  .photo-caption p { font-size: 42px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 10px; padding: 23px 0 28px; }
  .footer-name span { display: inline; font-size: 9px; }
  .footer-phone { display: block; min-height: 32px; padding-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
