:root {
  --ink: #171411;
  --brown-black: #201713;
  --brown: #75583f;
  --bronze: #a6805c;
  --cream: #f2eadf;
  --paper: #e6d8c7;
  --muted: #c8bcae;
  --line: rgba(242, 234, 223, 0.18);
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 128px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow.light { color: #d7b999; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1 { margin-bottom: 28px; font-size: clamp(52px, 6.2vw, 92px); line-height: 0.95; letter-spacing: -0.03em; }
h2 { margin-bottom: 24px; font-size: clamp(42px, 4.4vw, 66px); line-height: 1; letter-spacing: -0.025em; }
h3 { font-size: 28px; line-height: 1.1; }
.section-heading { max-width: 760px; margin-bottom: 76px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; color: #725f4f; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: padding .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled { padding: 10px 0; background: rgba(23, 20, 17, .94); border-color: var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; filter: brightness(0) invert(1); }
.brand span { font-family: var(--serif); font-size: 32px; font-weight: 700; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; font-family: var(--serif); font-size: 19px; text-decoration: none; }
.main-nav .nav-phone { display: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-phone { margin-left: 18px; font-family: var(--serif); font-size: 19px; font-weight: 500; text-align: right; text-decoration: none; }
.header-phone span { display: block; color: #d7b999; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero.webp") center / cover no-repeat; transform: scale(1.02); }
.hero-shade { background: linear-gradient(90deg, rgba(13, 10, 8, .55) 0%, rgba(13, 10, 8, .32) 48%, rgba(13, 10, 8, .1) 100%); }
.hero-kicker {
  position: absolute;
  z-index: 2;
  top: 91px;
  left: max(24px, calc((100% - var(--container)) / 2));
  margin: 0;
  color: #d7b999;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-content { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 90px; }
.hero-content > * { max-width: 690px; }
.hero-lead { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(23px, 2vw, 30px); }
.hero-copy { max-width: 650px; margin-bottom: 34px; color: #e0d8cf; font-size: 16px; line-height: 1.85; }
.hero-actions, .contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-width: 210px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--brown); color: #fff; background: var(--brown); }
.button-primary:hover { border-color: #8d6a4c; background: #8d6a4c; }
.button-secondary { border-color: rgba(242,234,223,.55); color: var(--cream); background: transparent; }
.button-secondary:hover { border-color: var(--cream); background: rgba(242,234,223,.1); }
.scroll-hint { position: absolute; z-index: 2; bottom: 30px; left: 50%; width: 40px; height: 40px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; top: 7px; left: 9px; width: 22px; height: 22px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: float 1.8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(7px) rotate(45deg); } }

.section-staff { color: #2a1c14; background: var(--paper); }
.section-cleaning { color: #2a1c14; background: #d9c8b3; }
.services-heading { margin-bottom: 54px; }
.services-heading > p:last-child { color: #725f4f; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); justify-content: center; gap: 30px; }
.staff-card { position: relative; overflow: hidden; border: 1px solid rgba(42,28,20,.2); background: #f4eadc; box-shadow: 0 20px 55px rgba(60,39,25,.12); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.staff-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; transition: transform .55s ease, filter .35s ease; }
.staff-card:hover, .staff-card:focus-within { border-color: rgba(117,88,63,.55); box-shadow: 0 28px 65px rgba(60,39,25,.22); transform: translateY(-8px); }
.staff-card:hover img, .staff-card:focus-within img { filter: saturate(1.06) contrast(1.02); transform: scale(1.045); }
.staff-card h3 { margin-bottom: 12px; font-size: 38px; }
.staff-card p { margin-bottom: 24px; color: #705f51; font-size: 14px; }
.service-card-body { padding: 30px 34px 34px; }
.cleaning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cleaning-grid .service-card { display: flex; min-height: 315px; flex-direction: column; padding-top: 58px; }
.cleaning-grid .service-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.cleaning-grid .service-card-body p { flex: 1; }
.cleaning-grid .card-number { color: var(--brown); background: transparent; box-shadow: inset 0 0 0 1px rgba(117,88,63,.25); }
.service-more { padding: 10px 24px; border: 1px solid var(--brown); border-radius: 999px; color: var(--brown); background: transparent; cursor: pointer; font-family: var(--serif); font-size: 20px; transition: color .2s ease, background .2s ease; }
.service-more:hover { color: #fff; background: var(--brown); }
.card-number { position: absolute; top: 22px; left: 25px; color: #9a7c61; font-family: var(--serif); }
.service-card .card-number { z-index: 2; top: 18px; left: 18px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #f4eadc; background: rgba(32,23,19,.82); }
.centered-action { display: flex; flex-direction: column; align-items: center; gap: 13px; margin-top: 55px; }
.text-link { color: #5e4a3c; font-size: 13px; text-underline-offset: 4px; }

.values { background: var(--brown-black); }
.values-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.values-heading { position: sticky; top: 145px; align-self: start; }
.values-heading p:last-child { max-width: 450px; color: var(--muted); }
.values-list article { display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid var(--line); }
.values-list article:last-child { border-bottom: 1px solid var(--line); }
.values-list article > span { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #9e7958; border-radius: 50%; color: #d6b18e; font-family: var(--serif); font-size: 17px; box-shadow: inset 0 0 0 5px var(--brown-black), inset 0 0 0 6px rgba(158,121,88,.35); }
.values-list h3 { margin-bottom: 10px; font-size: 34px; }
.values-list p { margin: 0; color: var(--muted); }

.process { background: #1a1c1c; }
.process .eyebrow { color: #a88d73; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-grid li { position: relative; padding: 42px 14px 0; text-align: center; }
.process-grid li:not(:last-child)::after { content: ""; position: absolute; top: 68px; left: calc(50% + 50px); width: calc(100% - 100px); height: 1px; background: #9b816a; }
.process-grid span { position: relative; z-index: 1; display: grid; width: 52px; height: 52px; margin: 0 auto 32px; place-items: center; border: 1px solid #b38c68; border-radius: 50%; background: #8d6a4c; }
.process-grid span img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.staff-process-grid span { color: var(--cream); font-family: var(--serif); font-size: 16px; }
.process-grid h3 { margin-bottom: 12px; }
.process-grid p { color: #b7afa7; font-size: 14px; }

.contracts { color: #2a1c14; background: #eee2d2; }
.contracts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.contract-card { position: relative; min-height: 360px; padding: 48px; border: 1px solid rgba(42,28,20,.2); background: #f5ecdf; box-shadow: 0 20px 55px rgba(60,39,25,.1); }
.contract-card > span { display: grid; width: 42px; height: 42px; margin-bottom: 34px; place-items: center; border: 1px solid rgba(117,88,63,.55); border-radius: 50%; color: var(--brown); font-family: var(--serif); }
.contract-card h3 { margin-bottom: 30px; font-size: 36px; }
.contract-card > p:last-child { max-width: 430px; margin: 0; color: #705f51; }
.contract-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; color: var(--brown); font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: 1; }
.contract-price small { max-width: 190px; color: #705f51; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.5; }

.faq { background: #202323; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-heading p:last-child { color: #b7afa7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; cursor: pointer; font-family: var(--serif); font-size: 25px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 24px; width: 24px; height: 24px; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 11px; left: 3px; width: 18px; height: 1px; background: #c7aa8c; transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 690px; padding: 0 48px 28px 0; color: #b7afa7; }

.contact { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; }
.contact-image, .contact-shade { position: absolute; inset: 0; }
.contact-image { background: url("assets/hero.webp") center 62% / cover no-repeat; filter: saturate(.62); }
.contact-shade { background: rgba(18,13,10,.78); }
.contact-content { position: relative; z-index: 2; text-align: center; }
.contact-content h2 { max-width: 850px; margin-inline: auto; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 38px 0 32px; }
.contact-actions a { text-decoration: none; }
.contact-actions span { margin-top: 8px; color: #c5b9ad; font-size: 13px; }
.contact-phone { font-family: var(--sans); font-size: 30px; font-variant-numeric: lining-nums tabular-nums; font-weight: 400; letter-spacing: .02em; line-height: 1.45; }
.contact-links { display: flex; justify-content: center; gap: 10px; margin: -8px 0 34px; }
.contact-links a { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(242,234,223,.35); border-radius: 50%; color: #201713; background: #a8876e; transition: color .2s ease, background .2s ease, transform .2s ease; }
.contact-links a:hover { color: #fff; background: var(--brown); transform: translateY(-2px); }
.contact-links svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-links a:nth-child(-n+2) svg { width: 27px; height: 27px; stroke-width: 1.8; }
.contact-links svg.icon-filled { fill: currentColor; stroke: none; }
.contact-links .icon-telegram { width: 24px; height: 24px; transform: translate(-1px, 1px); }
.contact-links .icon-whatsapp { width: 25px; height: 25px; }
.contact-buttons { justify-content: center; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: #11100e; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p { margin: 0; color: #8f8881; font-size: 12px; }
.footer-brand span { font-size: 25px; }

.dialog {
  width: min(calc(100% - 32px), 610px);
  max-height: calc(100svh - 32px);
  padding: 48px;
  border: 1px solid rgba(95, 69, 49, .35);
  color: #281d16;
  background: #eee2d2;
  box-shadow: 0 25px 100px rgba(0,0,0,.45);
}
.dialog::backdrop { background: rgba(12, 10, 8, .78); backdrop-filter: blur(4px); }
.dialog h2 { margin-bottom: 14px; font-size: 48px; }
.dialog > p:not(.eyebrow) { color: #665448; }
.dialog-close { position: absolute; top: 14px; right: 18px; border: 0; color: #4a3528; background: transparent; cursor: pointer; font-family: var(--serif); font-size: 38px; line-height: 1; }
.dialog form { display: grid; gap: 16px; margin-top: 28px; }
.dialog label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.dialog input, .dialog select, .dialog textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(54,37,27,.35); border-radius: 0; outline: 0; color: #281d16; background: transparent; }
.dialog input:focus, .dialog select:focus, .dialog textarea:focus { border-color: var(--brown); }
.dialog input[type="file"] { font-size: 12px; }
.dialog small { color: #746359; font-size: 10px; font-weight: 400; letter-spacing: 0; }
.service-dialog { width: min(calc(100% - 32px), 760px); }
.service-dialog h3 { margin: 28px 0 14px; font-size: 27px; }
.service-dialog ul { display: grid; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: #57463b; }
.service-dialog li { position: relative; padding-left: 24px; }
.service-dialog li::before { content: "—"; position: absolute; left: 0; color: var(--brown); }
.service-dialog .button { margin-top: 8px; }

@media (max-width: 980px) {
  .header-inner { gap: 20px; }
  .header-phone span { display: none; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 17px; }
  .values-layout, .faq-layout { grid-template-columns: 1fr; gap: 65px; }
  .values-heading { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .process-grid li:nth-child(2)::after { display: none; }
  .contracts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 88px 0; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  h2 { font-size: clamp(40px, 12vw, 56px); }
  .site-header { padding: 12px 0; }
  .site-header.scrolled { backdrop-filter: none; }
  .brand img { width: 46px; height: 46px; }
  .brand span { font-size: 27px; }
  .header-inner > .brand { position: relative; z-index: 3; }
  .header-phone { display: none; }
  .menu-toggle { z-index: 3; display: grid; width: 42px; height: 42px; margin-left: auto; place-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle span { width: 25px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 2; inset: 0; width: 100%; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; margin: 0; padding: 80px 24px; background: var(--ink); opacity: 0; overflow-y: auto; pointer-events: none; transition: opacity .2s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 32px; }
  .main-nav .nav-phone { display: block; margin-top: 12px; font-family: var(--serif); font-size: 32px; letter-spacing: 0; }
  .hero { min-height: 760px; }
  .hero-image { background-position: 78% center; }
  .hero-kicker { top: 82px; left: 16px; font-size: 10px; }
  .hero-content { padding-top: 120px; }
  .hero-copy { font-size: 14px; line-height: 1.75; }
  .hero-actions .button { width: 100%; }
  .scroll-hint { display: none; }
  .section-heading { margin-bottom: 52px; }
  .staff-grid { grid-template-columns: 1fr; }
  .cleaning-grid .service-card { min-height: 0; }
  .service-card-body { padding: 27px 24px 30px; }
  .values-list article { grid-template-columns: 58px 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid li { padding-bottom: 35px; border-bottom: 1px solid var(--line); }
  .process-grid li::after { display: none; }
  .contract-card { min-height: 0; padding: 36px 26px; }
  .contract-price { font-size: 46px; }
  .faq-layout { gap: 32px; }
  .faq-list summary { font-size: 22px; }
  .contact { min-height: 700px; }
  .contact-buttons .button { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .dialog { padding: 40px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
