@font-face {
  font-family: Golos;
  src: url(fonts/golos-cyr.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-052F,U+2116;
}
@font-face {
  font-family: Golos;
  src: url(fonts/golos-lat.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-024F,U+2000-206F;
}
:root {
  color-scheme: light;
  --ink: #172c25;
  --deep: #10352e;
  --hero: #143b33;
  --muted: #52635b;
  --light: #f5f6ef;
  --line: #d9e1d7;
  --accent: #d7ed9f;
  --wrap: 78rem;
  --edge: clamp(1.05rem, 3.8vw, 3rem);
  font-family: Golos, Arial, sans-serif;
  scroll-padding-top: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--light); }
p { line-height: 1.65; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 5.25rem); letter-spacing: -.065em; line-height: .99; font-weight: 660; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3.25rem); letter-spacing: -.055em; line-height: 1.08; font-weight: 640; }
h3 { font-size: 1.36rem; letter-spacing: -.035em; line-height: 1.2; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bb8119; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - var(--edge) * 2); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: .7rem; left: .7rem; padding: .8rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; background: #f9faf3; border-bottom: 1px solid #e5e9df; }
.header-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 2.12rem; font-weight: 760; letter-spacing: -.09em; line-height: 1; }
.brand-icon { display: inline-block; flex: none; width: 1.75rem; height: 1.75rem; background: currentColor; border-radius: .2rem; position: relative; }
.brand-icon::before { content: ""; position: absolute; inset: .28rem; background: linear-gradient(90deg, transparent 46%, currentColor 46% 54%, transparent 54%), linear-gradient(transparent 46%, currentColor 46% 54%, transparent 54%), var(--accent); border-radius: .06rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.1vw, 2rem); }
.desktop-nav a, .footer a, .header-phone { font-size: .95rem; text-decoration: none; }
.desktop-nav a:hover, .footer a:hover, .header-phone:hover, .desktop-nav a[aria-current] { text-decoration: underline; }
.footer .brand { font-size: 2.12rem; }
.header-phone { white-space: nowrap; font-weight: 650; }
.mobile-nav, .mobile-actions { display: none; }
.hero { position: relative; isolation: isolate; background: var(--hero); color: #fff; padding-block: 1.6rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero-copy { padding-block: 2.2rem; }
.hero h1 { max-width: 9.5em; margin: 1.15rem 0 1.55rem; text-wrap: initial; }
.location { display: flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .9rem; font-weight: 550; }
.location span { width: .53rem; height: .53rem; background: currentColor; border-radius: 50%; }
.hero-intro { max-width: 31rem; color: #e2ebe2; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero-media { position: relative; overflow: hidden; min-height: 27rem; height: clamp(27rem, 39vw, 34rem); border-radius: .9rem; background: #285346; }
.hero-media img, .inside-title > img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: center 54%; }
.hero-media figcaption { position: absolute; right: .9rem; bottom: .9rem; max-width: calc(100% - 1.8rem); padding: .48rem .7rem; color: #fff; background: #142a23e8; border-radius: .32rem; font-size: .82rem; }
.actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .65rem; margin-top: 1.55rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; text-align: center; border: 1px solid transparent; border-radius: .48rem; padding: .62rem 1.08rem; text-decoration: none; font-weight: 650; font-size: .95rem; line-height: 1.22; transition: background-color .18s, color .18s; }
.button-accent { background: var(--accent); color: var(--deep); }
.button-accent:hover { background: #e7f6bf; }
.button-outline { border-color: #9ab2a7; color: #fff; }
.button-outline:hover { background: #ffffff19; }
.button-dark { background: var(--deep); color: #fff; }
.button-dark:hover { background: #23594b; }
.button-light { border-color: #9dac9e; background: transparent; color: var(--ink); }
.button-light:hover { background: #e3ebdb; }
.block { margin-block: clamp(3rem, 7vw, 6.4rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); margin-top: .75rem; }
.text-link { font-weight: 620; white-space: nowrap; }
.services-grid, .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.5rem); }
.service-card, .project { overflow: hidden; border-radius: .7rem; background: #fff; border: 1px solid var(--line); position: relative; }
.service-card img, .project img { width: 100%; aspect-ratio: 1.62; object-fit: cover; background: #e4e9dc; }
.service-card-copy, .project-text { padding: clamp(1rem, 2vw, 1.45rem); }
.service-card a, .project a { text-decoration: none; }
.service-card a:hover, .project a:hover { text-decoration: underline; }
.service-card a::after, .project a::after { content: ""; position: absolute; inset: 0; }
.service-card:focus-within, .project:focus-within { outline: 3px solid #bb8119; outline-offset: 3px; }
.service-card p { margin-top: .55rem; color: var(--muted); }
.project-text span { display: block; color: var(--muted); font-size: .875rem; margin-bottom: .35rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem .15rem; min-height: 4.4rem; border-bottom: 1px solid var(--line); line-height: 1.35; }
.price-row small { display: block; color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.price-row strong { text-align: right; white-space: nowrap; font-weight: 670; }
.price-note { margin-top: .9rem; color: var(--muted); max-width: 45rem; }
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: #e5eddb; border: 1px solid #d5e0cc; border-radius: .8rem; padding: clamp(1.25rem, 4vw, 3rem); }
.lead-copy h2 { max-width: 12em; }
.lead-copy p { margin-top: .75rem; color: var(--muted); }
.lead-copy a { white-space: nowrap; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem .7rem; }
.lead-form > label, .config-form > label, .dimensions > label, .config-sashes > label { display: grid; align-content: start; gap: .34rem; font-size: .9rem; font-weight: 550; }
.form-wide { grid-column: 1 / -1; }
.lead-form .consent { display: flex; align-items: start; gap: .6rem; max-width: 30rem; }
input:not([type="checkbox"]), textarea, select { width: 100%; min-width: 0; min-height: 2.8rem; border-radius: .4rem; border: 1px solid #9cac9f; background: #fff; color: var(--ink); padding: .55rem .65rem; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: .1rem 0 0; accent-color: var(--deep); flex: none; }
select { appearance: none; padding-right: 1.8rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23172c25' stroke-width='1.5'/%3E%3C/svg%3E") right .5rem center / 1rem no-repeat; }
.form-status { line-height: 1.4; margin-top: .5rem; }
.form-status:empty { display: none; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.4rem 0; font-size: .87rem; color: var(--muted); }
.inside-title { border-radius: .85rem; padding: clamp(1.5rem, 4vw, 3.2rem); background: #e6ecdf; }
.inside-title h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 16em; hyphens: auto; }
.inside-title p { margin-top: 1rem; max-width: 43rem; color: var(--muted); font-size: 1.05rem; }
.inside-title.with-photo { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); gap: 2rem; align-items: center; }
.inside-title > img { aspect-ratio: 1.3; border-radius: .65rem; max-height: 23rem; }
.detail-grid, .directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.detail-grid article, .directory article { border-radius: .7rem; padding: 1.3rem; border: 1px solid var(--line); background: #fff; }
.detail-grid h2, .directory h2 { font-size: 1.35rem; letter-spacing: -.03em; margin-bottom: .7rem; }
.detail-grid p, .directory p, .reading p { color: var(--muted); }
.reading p { margin-top: .8rem; max-width: 46rem; }
.text-grid { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.text-grid a { padding: .58rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: .35rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.filter button { border: 1px solid #aeb8a9; border-radius: 1.2rem; padding: .45rem .95rem; background: #fff; color: var(--ink); }
.filter button[aria-pressed="true"] { border-color: var(--deep); background: var(--deep); color: white; }
.config { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1.7rem, 3.8vw, 3.5rem); }
.config-form, .window-panel { border: 1px solid var(--line); border-radius: .75rem; background: #fff; padding: clamp(1rem, 3vw, 2rem); min-width: 0; }
.config-form { display: grid; gap: 1rem; align-content: start; }
.dimensions, .config-sashes { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.config-form fieldset { border: 0; padding: 0; margin: 0; }
.config-form legend { font-weight: 630; margin-bottom: .55rem; }
.check-list { display: flex; flex-wrap: wrap; gap: .55rem .95rem; }
.check-list label { display: inline-flex; gap: .35rem; align-items: center; }
.window-picture { height: clamp(13rem, 32vw, 20rem); position: relative; background: #eaf0e7; border-radius: .45rem; overflow: hidden; }
.window-picture canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.window-legend { margin-top: .55rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.measurements { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin: 1rem 0; }
.measurements div { border-left: 2px solid #7d977f; padding-left: .55rem; }
.measurements dt { color: var(--muted); font-size: .88rem; }
.measurements dd { font-weight: 680; margin-top: .25rem; }
.window-panel textarea { min-height: 5rem; resize: vertical; font-size: .9rem; }
.window-panel .actions { margin-top: .6rem; }
.button:disabled, .button[aria-disabled="true"] { opacity: .58; cursor: default; }
.footer { background: var(--deep); color: #f4f8ef; padding: 2.5rem 0; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 1.5rem; }
.footer-grid p { margin-top: .65rem; }
.footer-grid nav, .footer-contact { display: grid; align-content: start; gap: .65rem; }
.footer p, .footer-contact span { color: #cfdbd0; font-size: .94rem; }
@media (max-width: 62rem) {
  .desktop-nav { gap: .85rem; }
  .header-inner { gap: .85rem; }
  .hero-grid { gap: 1.4rem; }
  .hero-media { min-height: 23rem; height: 100%; }
  .hero-copy { padding-block: 1.5rem; }
}
@media (max-width: 49rem) {
  .header-inner { min-height: 3.9rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: static; }
  .mobile-nav summary { padding: .42rem .65rem; border: 1px solid #a6b1a3; border-radius: .35rem; font-size: .9rem; font-weight: 600; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { display: grid; position: absolute; top: 100%; right: 0; left: 0; padding: .5rem var(--edge) 1rem; background: #f9faf3; box-shadow: 0 .4rem .8rem #213c2920; }
  .mobile-nav nav a { padding: .65rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none; }
  .mobile-nav nav a[aria-current] { font-weight: 740; text-decoration: underline; }
  .header-phone { margin-left: auto; }
  .hero { padding: 1.65rem 0 1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 12em; font-size: clamp(2.7rem, 9.5vw, 4.2rem); margin: .75rem 0 .7rem; }
  .hero-media { min-height: 0; height: clamp(13rem, 60vw, 25rem); }
  .hero-media figcaption { font-size: .8rem; }
  .lead, .inside-title.with-photo { grid-template-columns: 1fr; gap: 1rem; }
  .inside-title > img { max-height: 16rem; }
  .services-grid, .projects-grid, .detail-grid, .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { margin-top: 3rem; padding-bottom: 5.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; position: fixed; z-index: 3; bottom: 0; right: 0; left: 0; background: #f9faf3; border-top: 1px solid var(--line); padding: .55rem var(--edge) calc(.55rem + env(safe-area-inset-bottom)); }
  .mobile-actions a { display: grid; place-content: center; min-height: 2.65rem; border-radius: .4rem; background: var(--deep); color: #fff; font-weight: 640; text-decoration: none; font-size: .91rem; }
  .mobile-actions a + a { background: var(--accent); color: var(--deep); }
}
@media (max-width: 36rem) {
  .brand { font-size: 1.75rem; gap: .35rem; }
  .brand-icon { width: 1.42rem; height: 1.42rem; }
  .header-phone { font-size: .77rem; }
  .header-inner { gap: .45rem; }
  .hero .actions { margin-top: .95rem; }
  .hero .button { padding-inline: .65rem; font-size: .86rem; }
  .section-head { align-items: start; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
  .services-grid, .detail-grid, .directory, .config, .config-sashes, .price-grid { grid-template-columns: 1fr; }
  .projects-grid { gap: .6rem; }
  .project h3 { font-size: 1.06rem; }
  .project-text { padding: .65rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
