@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-regular-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-regular-cyr.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-italic-lat.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-italic-cyr.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-lat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-cyr.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --navy: #17253a;
  --navy-deep: #101c2d;
  --navy-light: #26364c;
  --paper: #f7f3eb;
  --cream: #efe8da;
  --white: #fffdf8;
  --gold: #ad8c59;
  --sand: #dac097;
  --bronze: #785a34;
  --muted: #585953;
  --muted-light: #c3c6cc;
  --line: #ded3c0;
  --line-dark: #4a5260;
  --serif: Cormorant, Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --page-gutter: clamp(24px, 5.55vw, 80px);
  --max-width: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { line-height: .96; letter-spacing: -.042em; }
h2 { font-size: clamp(3.2rem, 5.55vw, 5.6rem); }
h1 em, h2 em { font-weight: 500; color: var(--bronze); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a47737; outline-offset: 4px; }
.wrap { width: min(var(--max-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 16px; background: var(--white); opacity: 0; transform: translateY(-160%); }
.skip-link:focus { opacity: 1; transform: none; }

.site-header { position: relative; z-index: 2; background: var(--navy); color: var(--paper); }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--paper); }
.brand img { flex: none; width: 40px; height: auto; }
.brand strong { display: block; font: 400 2rem/.84 var(--serif); letter-spacing: -.015em; }
.brand small { display: block; margin-top: 9px; color: var(--sand); font-size: .6875rem; font-weight: 600; line-height: 1.05; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 46px); }
.primary-nav a { position: relative; padding-block: 9px; font-size: .875rem; font-weight: 600; }
.primary-nav a::after, .text-link::after { content: ""; height: 1px; position: absolute; left: 0; right: 0; bottom: 3px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 170ms ease; }
.primary-nav a:hover::after, .text-link:hover::after { transform: scaleX(1); }
.menu-button.icon-button { display: none; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 12px 21px;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-header { justify-self: end; min-height: 44px; padding-inline: 16px; border-color: #9c8058; color: var(--paper); }
.button-header .icon { width: 17px; height: 17px; color: var(--sand); }
.button-header:hover { background: var(--navy-light); }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: var(--navy-light); }
.button-outline { border-color: #a58555; color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--cream); }
.button-accent { background: var(--sand); color: var(--navy-deep); }
.button-accent:hover { background: #e7d0ac; }
.button:disabled, .button[aria-disabled=true] { opacity: .58; cursor: default; transform: none; }

.hero { min-height: calc(100svh - 88px); padding-top: clamp(44px, 6.2vh, 68px); display: grid; align-items: stretch; }
.hero > .wrap { display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(27px, 5vw, 76px); }
.hero-copy { padding: 8px 0 18px; }
.eyebrow { color: var(--bronze); font-size: .8125rem; font-weight: 800; line-height: 1.35; letter-spacing: .15em; text-transform: uppercase; }
.location { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(19px, 3vh, 30px); }
.location .icon { width: 17px; height: 17px; }
.hero h1 { font-size: clamp(4.4rem, 6.65vw, 7rem); max-width: 10ch; }
.hero h1 em { display: block; margin-top: .07em; }
.hero-description { max-width: 410px; margin-top: 25px; color: var(--muted); font-size: clamp(1rem, 1.28vw, 1.125rem); line-height: 1.67; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { position: relative; align-self: stretch; min-height: 510px; height: min(65vh, 633px); margin: 0 10px 11px 0; }
.hero-photo::after { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: 12px -11px -11px 12px; border: 1px solid var(--gold); border-top-right-radius: 128px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; border-top-right-radius: 128px; }
.hero-features { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(26px, 4.3vh, 44px) 0 0; padding: 0; list-style: none; min-height: 80px; border-top: 1px solid var(--line); }
.hero-features li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 12px; text-align: center; font-size: .875rem; font-weight: 700; }
.hero-features li:first-child { justify-content: flex-start; padding-left: 0; }
.hero-features li:last-child { justify-content: flex-end; padding-right: 0; }
.hero-features .icon { color: var(--bronze); width: 24px; height: 24px; }

.estimate { background: var(--navy); color: var(--paper); }
.estimate, .services, .process { padding-block: clamp(72px, 10.4vh, 120px); min-height: min(900px, 100svh); display: grid; align-items: center; }
.section-intro { margin-bottom: clamp(32px, 5.1vh, 48px); }
.section-intro h2, .process h2 { margin-top: 12px; }
.section-intro > p:last-child { margin-top: 17px; max-width: 525px; color: var(--muted); }
.estimate h2 em, .estimate .eyebrow { color: var(--sand); }
.estimate .section-intro > p:last-child { color: var(--muted-light); }
.estimate-grid { display: grid; grid-template-columns: 1.16fr 1fr; gap: 0; border: 1px solid var(--line-dark); }
.estimate-form { padding: clamp(23px, 3.1vw, 44px); display: grid; gap: 19px; align-content: center; }
.estimate-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.estimate-form legend, .area-head > label { padding: 0; font-size: .9375rem; font-weight: 750; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 9px; }
.repair-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices label { position: relative; display: flex; }
.choices input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choices span { display: grid; width: 100%; min-height: 47px; align-content: center; justify-items: center; padding: 8px 6px; border: 1px solid var(--line-dark); color: var(--paper); font-size: .8125rem; font-weight: 650; line-height: 1.25; text-align: center; transition: background 150ms, color 150ms, border-color 150ms; }
.choices input:hover + span { border-color: var(--sand); }
.choices input:checked + span { border-color: var(--sand); background: var(--sand); color: var(--navy-deep); font-weight: 800; }
.choices input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.estimate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.estimate-field { display: grid; gap: 5px; font-size: .875rem; font-weight: 750; }
.estimate-field select {
  appearance: none;
  color-scheme: dark;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 27px 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23dac097' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center / 16px no-repeat;
  color: var(--paper);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
}
.estimate-field select:hover { border-color: var(--sand); }
.estimate-field select:focus-visible, .extra-options input:focus-visible { outline-color: var(--sand); }
.extra-options { display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 5px; }
.extra-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; cursor: pointer; font-size: .8125rem; }
.extra-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--sand); cursor: pointer; }
.area-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.area-number { display: flex; align-items: center; justify-content: flex-end; width: 94px; min-height: 44px; border: 1px solid var(--line-dark); padding-inline: 8px; font-size: .875rem; white-space: nowrap; }
.area-number:focus-within { border-color: var(--sand); }
.area-number input { appearance: textfield; width: 100%; min-width: 0; color: var(--paper); background: transparent; border: 0; padding: 6px 5px 6px 0; text-align: right; }
.area-number input::-webkit-inner-spin-button, .area-number input::-webkit-outer-spin-button { appearance: none; }
.area-number input:focus { outline: none; }
.area-number span { color: var(--muted-light); }
.area-slider { --progress: 15.79%; display: block; width: 100%; margin: 6px 0 0; height: 26px; appearance: none; background: transparent; cursor: pointer; }
.area-slider::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--sand) 0 var(--progress), var(--line-dark) var(--progress) 100%); }
.area-slider::-moz-range-track { height: 3px; background: var(--line-dark); }
.area-slider::-moz-range-progress { height: 3px; background: var(--sand); }
.area-slider::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6.5px; appearance: none; border: 1px solid var(--sand); border-radius: 50%; background: var(--sand); }
.area-slider::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--sand); }
.range-ends { display: flex; justify-content: space-between; color: var(--muted-light); font-size: .8125rem; }
.area-error { margin-top: 7px; color: #ffcebd; font-size: .8125rem; }
.estimate-result { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(23px, 4vw, 54px); background: var(--navy-deep); border-left: 1px solid var(--line-dark); }
.price { display: flex; align-items: baseline; gap: .11em; margin-top: 13px; font: 400 min(clamp(2rem, 4.1vw, 4.75rem), 10cqi)/.95 var(--serif); letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price-upper { display: inline-flex; align-items: baseline; gap: .1em; }
.price-figure { display: inline-block; position: relative; overflow: clip; }
.price-current, .price-previous { display: block; }
.price-previous { position: absolute; inset: 0 auto auto 0; }
.price-currency { font-size: .65em; color: var(--sand); }
.estimate-summary { margin-top: 13px; color: var(--paper); font-size: .875rem; }
.estimate-breakdown { width: 100%; max-width: 420px; border-block: 1px solid var(--line-dark); padding: 11px 0; margin: 20px 0 0; font-size: .875rem; }
.estimate-breakdown > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 3px 0; }
.estimate-breakdown dt { color: var(--muted-light); }
.estimate-breakdown dd { margin: 0; white-space: nowrap; }
.estimate-note { margin-top: 15px; color: var(--muted-light); font-size: .875rem; max-width: 390px; }
.estimate-result .button { margin-top: 23px; }
.no-script { margin-top: 12px; color: var(--sand); }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.service-card { display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.service-photo { width: 100%; overflow: hidden; background: var(--cream); }
.service-photo img { width: 100%; aspect-ratio: 1.29; height: auto; object-fit: cover; transition: transform 250ms ease; }
.service-card:hover img, .service-card:focus-within img { transform: scale(1.025); }
.service-card h3 { margin-top: 19px; font-size: clamp(1.9rem, 3vw, 3.1rem); line-height: 1; letter-spacing: -.027em; }
.service-card p { margin-top: 9px; color: var(--muted); margin-bottom: 18px; }
.text-link { display: inline-block; position: relative; margin-top: auto; padding-bottom: 5px; font-size: .875rem; font-weight: 800; color: var(--bronze); }
.text-link::after { bottom: 1px; }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: .94fr 1fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.process-list { list-style: none; padding: 0; margin-block: 27px 28px; }
.process-list li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid #d5c7b1; }
.process-list li::before { content: ""; position: absolute; width: 7px; height: 7px; top: 24px; left: 2px; border: 1px solid var(--bronze); transform: rotate(45deg); }
.process-list h3 { font-size: 1.85rem; line-height: 1.1; }
.process-list p { color: var(--muted); margin-top: 3px; }
.process-photo { height: clamp(390px, 64vh, 610px); overflow: hidden; border-top-right-radius: 98px; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.site-footer { padding-block: 42px 22px; background: var(--navy); color: var(--paper); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 33px; border-bottom: 1px solid var(--line-dark); }
.footer-city { margin-top: 9px; color: var(--muted-light); font-size: .875rem; }
.footer-phone { font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 750; white-space: nowrap; }
.footer-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-contact p { color: var(--muted-light); font-size: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; padding-top: 19px; font-size: .8125rem; color: var(--muted-light); }

.dialog { width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(27px, 6vw, 46px); border: 1px solid var(--line); background: var(--paper); color: var(--navy); box-shadow: 0 20px 70px #101c2d55; }
.dialog::backdrop { background: #101c2db8; }
.dialog h2 { font-size: clamp(2.5rem, 7vw, 3.6rem); max-width: 95%; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: inherit; background: transparent; }
.dialog-close { position: absolute; right: 10px; top: 10px; }
.dialog-close:hover { background: var(--cream); }
.dialog-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.dialog-phone { margin-top: 19px; font-size: 1.35rem; font-weight: 800; }
#call-dialog .button { margin-top: 22px; }
.booking-estimate { margin-top: 15px; background: var(--cream); padding: 10px 12px; font-size: .875rem; }
.booking-estimate p { margin-top: 3px; }
.booking-form { margin-top: 21px; display: grid; gap: 13px; }
.booking-form label { display: grid; gap: 5px; font-size: .875rem; font-weight: 750; }
.booking-form input { width: 100%; min-height: 46px; border: 1px solid #a79b88; border-radius: 1px; padding: 8px 11px; background: var(--white); color: var(--navy); font-size: 1rem; }
.booking-form button { margin-top: 4px; }
.booking-status { margin-top: 17px; color: var(--navy); font-size: .9rem; }
.booking-status[data-error] { color: #87291f; }

@media (max-width: 1120px) {
  .hero h1 { font-size: clamp(3.9rem, 7.4vw, 6rem); }
  .hero-photo { min-height: 475px; }
  .estimate-form, .estimate-result { padding: 30px; }
}
@media (max-width: 1024px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .estimate-result { border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 900px) {
  .header-inner { gap: 15px; }
  .primary-nav { gap: 17px; }
  .hero-grid { gap: 26px; }
  .hero-photo { min-height: 440px; border-top-right-radius: 94px; }
  .hero-photo img, .hero-photo::after { border-top-right-radius: 94px; }
  .hero-actions .button { padding-inline: 12px; }
  .service-card p { font-size: .9375rem; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 22px; }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; gap: 9px; }
  .brand { gap: 8px; }
  .brand img { width: 33px; }
  .brand strong { font-size: 1.72rem; }
  .brand small { margin-top: 6px; font-size: .61rem; }
  .button-header { grid-column: 2; grid-row: 1; min-height: 41px; padding-inline: 11px; }
  .menu-button.icon-button { display: grid; grid-column: 3; grid-row: 1; width: 40px; }
  .primary-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 7px var(--page-gutter) 17px; background: var(--navy); border-top: 1px solid var(--line-dark); }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav a { display: block; padding-block: 11px; }
  .primary-nav a::after { display: none; }
  .hero { display: block; min-height: auto; padding-top: 37px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.55rem, 10.8vw, 5.35rem); }
  .location { margin-bottom: 14px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 21px; gap: 8px; }
  .hero-actions .button { min-height: 48px; }
  .hero-photo { height: clamp(300px, 74vw, 500px); min-height: 0; margin: 0 7px 8px 0; }
  .hero-photo img, .hero-photo::after { border-top-right-radius: 86px; }
  .hero-photo::after { inset: 8px -7px -8px 8px; }
  .hero-features { grid-template-columns: 1fr; gap: 0; margin-top: 24px; padding-block: 6px 11px; }
  .hero-features li, .hero-features li:first-child, .hero-features li:last-child { justify-content: flex-start; text-align: start; padding: 8px 0; }
  .hero-features .icon { width: 20px; height: 20px; }
  .estimate, .services, .process { min-height: 0; padding-block: 62px; }
  .process-grid { grid-template-columns: 1fr; }
  .estimate-form, .estimate-result { padding: clamp(16px, 4.3vw, 30px); }
  .estimate-summary { min-block-size: 2lh; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-photo img { aspect-ratio: 1.55; }
  .service-card h3 { font-size: 2.35rem; }
  .process-photo { height: clamp(265px, 75vw, 480px); border-top-right-radius: 75px; }
  .footer-main { flex-wrap: wrap; align-items: flex-start; }
}
@media (max-width: 395px) {
  .hero-actions .button { flex: 1 1 100%; }
}
@media (max-width: 440px) {
  .estimate-fields { grid-template-columns: 1fr; }
  .repair-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-choices label:last-child { grid-column: 1 / -1; }
  .choices span { padding-inline: 3px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 5px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 28px; }
  .site-header .brand strong { font-size: 1.55rem; }
  .site-header .brand small { font-size: .56rem; }
  .button-header { gap: 5px; padding-inline: 8px; }
  .menu-button.icon-button { width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
