:root {
  --paper: #fbf8f4;
  --paper-deep: #f2eae2;
  --white: #fffdfb;
  --ink: #392f2b;
  --muted: #756a64;
  --line: rgba(91, 70, 59, 0.16);
  --cocoa: #795f50;
  --cocoa-dark: #4f3d34;
  --blush: #d9aaa2;
  --peach: #e6c0a8;
  --shadow: 0 24px 70px rgba(72, 52, 42, 0.12);
  --radius-lg: 34px;
  --radius-md: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3.3rem, 6.6vw, 6.6rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.4rem, 4.7vw, 4.5rem); margin-bottom: 22px; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 14px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--cocoa);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.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; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding: 15px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  padding: 9px 0;
  background: rgba(251, 248, 244, 0.94);
  box-shadow: 0 8px 30px rgba(75, 55, 44, 0.08);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand img.brand-logo-approved { width: 158px; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.brand-text { display: grid; line-height: 1.08; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.12em; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 0.61rem; letter-spacing: 0.04em; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; font-size: 0.91rem; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--cocoa); transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid var(--cocoa);
  border-radius: 999px;
  background: var(--cocoa);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--cocoa-dark); border-color: var(--cocoa-dark); }
.button-small { min-height: 44px; padding: 9px 20px; font-size: 0.86rem; }
.button-light { border-color: rgba(79, 61, 52, 0.25); background: rgba(255, 253, 251, 0.7); color: var(--ink); backdrop-filter: blur(10px); }
.button-light:hover, .button-outline:hover { background: var(--white); color: var(--ink); border-color: var(--cocoa); }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); }
.text-link { color: var(--cocoa-dark); font-weight: 650; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.hero { position: relative; min-height: 790px; overflow: hidden; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; background: url("assets/hero.webp") center/cover no-repeat; transform: scale(1.01); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,248,244,.99) 0%, rgba(251,248,244,.94) 31%, rgba(251,248,244,.55) 54%, rgba(251,248,244,.03) 79%); }
.hero-content { position: relative; z-index: 1; padding-top: 94px; }
.hero-content > * { max-width: 680px; }
.hero-lead { max-width: 610px; margin-bottom: 34px; color: #5f544e; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 0.84rem; }
.hero-notes span { position: relative; padding-left: 16px; }
.hero-notes span::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--blush); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11%; align-items: start; }
.intro-grid h2 { max-width: 580px; }
.intro-copy { padding-top: 50px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.intro-copy p:last-child { margin-bottom: 0; }

.services { background: linear-gradient(180deg, var(--paper), #f7f1eb); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { overflow: hidden; min-height: 660px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 8px 34px rgba(63, 44, 34, 0.04); }
.service-photo-card img { width: 100%; height: 390px; object-fit: cover; }
.service-card-body { padding: 35px 38px 38px; }
.service-card-body p:not(.service-number) { max-width: 590px; color: var(--muted); }
.service-card-body a { color: var(--cocoa-dark); font-weight: 650; text-decoration: none; border-bottom: 1px solid rgba(79,61,52,.35); }
.service-number { margin-bottom: 18px; color: var(--blush); font-size: .74rem; font-weight: 700; letter-spacing: .18em; }
.comfort-card { position: relative; grid-column: 1 / -1; min-height: 430px; display: flex; align-items: flex-end; background: #dac0b0; color: var(--ink); }
.comfort-card .service-card-body { position: relative; z-index: 2; width: 58%; padding: 56px; }
.comfort-card .service-card-body p:not(.service-number) { color: rgba(57,47,43,.76); }
.soft-orbit { position: absolute; right: -5%; top: 50%; width: 49%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transform: translateY(-50%); }
.soft-orbit::before, .soft-orbit::after, .soft-orbit span { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.soft-orbit::after { inset: 25%; }
.soft-orbit span { inset: 40%; background: rgba(255,255,255,.22); }

.comfort { background: var(--cocoa-dark); color: white; }
.comfort-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: start; }
.comfort-title { position: sticky; top: 120px; }
.comfort-title .eyebrow { color: #d9b9a6; }
.comfort-title > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.comfort-list article { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.18); }
.comfort-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.comfort-list article > span { color: #d9b9a6; font-size: .76rem; letter-spacing: .14em; }
.comfort-list h3 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.comfort-list p { margin-bottom: 0; color: rgba(255,255,255,.65); }
.legal-note { margin-top: 54px; }
.legal-note p { margin: 0; padding: 22px 26px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; color: rgba(255,255,255,.62); font-size: .82rem; }
.legal-note strong { color: rgba(255,255,255,.85); }

.prices { background: var(--white); }
.price-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.price-groups { border-top: 1px solid var(--line); }
.price-group { border-bottom: 1px solid var(--line); }
.price-group summary { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px 8px; cursor: pointer; list-style: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.price-group summary::-webkit-details-marker { display: none; }
.price-from { color: var(--cocoa); font-family: Inter, sans-serif; font-size: .88rem; font-weight: 650; }
.price-list { padding: 0 8px 34px; }
.price-list > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.price-list strong { color: var(--cocoa-dark); font-weight: 650; white-space: nowrap; }
.price-list-copy { max-width: 760px; color: var(--muted); }

.values { padding-block: 72px; background: var(--paper-deep); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values article { padding: 30px; border-left: 1px solid rgba(92,66,52,.22); }
.values article > span { color: var(--blush); font-size: .74rem; font-weight: 700; letter-spacing: .15em; }
.values h3 { margin: 32px 0 12px; }
.values p { margin: 0; color: var(--muted); }

.contact { background: var(--paper); }
.contact-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: 9%; padding: 70px; border-radius: var(--radius-lg); background: #ead7ca; }
.contact-shell::before { content: ""; position: absolute; width: 440px; height: 440px; right: -200px; top: -240px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.10), 0 0 0 140px rgba(255,255,255,.09); }
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { max-width: 720px; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-card { position: relative; z-index: 1; align-self: stretch; padding: 36px; border-radius: var(--radius-md); background: rgba(255,253,251,.78); font-style: normal; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.contact-card strong { display: block; margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 400; line-height: 1.25; }
.contact-card a { color: var(--cocoa-dark); font-weight: 650; text-decoration: none; }
.contact-label { margin-bottom: 11px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-divider { height: 1px; margin: 30px 0; background: var(--line); }

.site-footer { padding: 72px 0 90px; background: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.35fr .68fr 1.1fr 1fr; gap: 56px; }
.footer-about > p { max-width: 330px; margin: 24px 0 0; color: var(--muted); font-size: .88rem; }
.footer-column, .footer-requisites { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-title { margin: 0 0 11px; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.footer-column a, .footer-requisites a { color: var(--ink); font-size: .86rem; text-decoration: none; }
.footer-column a:hover, .footer-requisites a:hover { color: var(--cocoa); }
.footer-requisites strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 400; }
.footer-requisites > p:not(.footer-title), .footer-requisites > span { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.footer-requisites [data-requisite] { color: #a5948b; font-size: .72rem; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr; gap: 50px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .72rem; }
.footer-bottom p:last-child { text-align: right; }
.mobile-actions { display: none; }

.legal-body { background: var(--white); }
.legal-header { position: static; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-header .header-inner { min-height: 70px; }
.legal-back { margin-left: auto; color: var(--cocoa-dark); font-size: .88rem; font-weight: 650; text-decoration: none; }
.legal-main { padding: 84px 0 120px; }
.legal-wrap { width: min(calc(100% - 48px), 860px); margin-inline: auto; }
.legal-wrap h1 { max-width: 830px; margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5rem); }
.legal-date { margin-bottom: 52px; color: var(--muted); font-size: .82rem; }
.legal-lead { margin-bottom: 50px; padding: 26px 28px; border-radius: 20px; background: var(--paper); color: var(--muted); }
.legal-section { margin-top: 46px; }
.legal-section h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-section h3 { margin: 28px 0 12px; font-size: 1.3rem; }
.legal-section p, .legal-section li { color: #5f5550; }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section li { margin-bottom: 9px; }
.legal-requisites { display: grid; grid-template-columns: 150px 1fr; gap: 8px 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; }
.legal-requisites dt { color: var(--muted); font-size: .8rem; }
.legal-requisites dd { margin: 0; font-weight: 600; }
.legal-notice { padding: 20px 24px; border-left: 3px solid var(--blush); background: #fcf7f3; color: var(--muted); }

@media (max-width: 920px) {
  .section { padding: 86px 0; }
  .header-book { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 53; }
  .main-nav {
    position: fixed;
    z-index: 52;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 110px 32px 80px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .main-nav a { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .menu-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 740px; align-items: flex-end; padding-bottom: 70px; }
  .hero-image { background-position: 64% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(251,248,244,.98), rgba(251,248,244,.83) 50%, rgba(251,248,244,.22)); }
  .intro-grid, .contact-shell { grid-template-columns: 1fr; }
  .comfort-shell { display: block; }
  .intro-copy { padding-top: 0; }
  .service-card { min-height: 590px; }
  .comfort-title { position: static; }
  .price-heading { align-items: flex-start; flex-direction: column; }
  .contact-shell { padding: 52px; }
  .footer-top { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-requisites { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 70px 0; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1.1rem; }
  .site-header { padding: 10px 0; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-header .brand img.brand-logo-approved { width: 132px; height: auto; max-height: 50px; }
  .hero { min-height: 760px; padding-bottom: 46px; }
  .hero-image { background-position: 69% center; }
  .hero-wash { background: linear-gradient(180deg, rgba(251,248,244,.56) 0%, rgba(251,248,244,.42) 28%, rgba(251,248,244,.93) 68%, var(--paper) 100%); }
  .hero-content { padding-top: 380px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { padding-inline: 18px; }
  .hero-notes { gap: 5px 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-photo-card img { height: 280px; }
  .service-card-body { padding: 28px 25px 32px; }
  .comfort-card { grid-column: auto; min-height: 430px; }
  .comfort-card .service-card-body { width: 100%; padding: 34px 26px; }
  .soft-orbit { width: 82%; right: -34%; top: 19%; }
  .comfort-list { margin-top: 32px; }
  .comfort-list article { grid-template-columns: 36px 1fr; gap: 10px; }
  .comfort-list article > div { min-width: 0; }
  .price-group summary { padding: 24px 3px; }
  .price-list { padding-inline: 3px; }
  .price-list > div { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .price-list strong { color: var(--cocoa); }
  .values-grid { grid-template-columns: 1fr; }
  .values article { padding: 24px; }
  .values h3 { margin-top: 20px; }
  .contact-shell { padding: 36px 24px; }
  .contact-actions { display: grid; }
  .contact-card { padding: 28px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-about, .footer-requisites { grid-column: 1 / -1; }
  .footer-requisites { padding-top: 30px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom p:last-child { text-align: left; }
  .site-footer { padding-bottom: 96px; }
  .legal-main { padding: 58px 0 100px; }
  .legal-wrap { width: min(calc(100% - 30px), 860px); }
  .legal-date { margin-bottom: 34px; }
  .legal-lead { padding: 22px 20px; }
  .legal-requisites { grid-template-columns: 1fr; padding: 22px 20px; }
  .legal-requisites dd { margin-bottom: 12px; }
  .mobile-actions {
    position: fixed;
    z-index: 45;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 18px;
    background: rgba(255,253,251,.91);
    box-shadow: 0 14px 44px rgba(55,38,29,.24);
    backdrop-filter: blur(18px);
  }
  .mobile-actions a { padding: 14px 10px; text-align: center; font-size: .88rem; font-weight: 650; text-decoration: none; }
  .mobile-actions a:last-child { margin: 4px; border-radius: 14px; background: var(--cocoa); color: white; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
