@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --film: #F2F4F3;
  --graphite: #1E2225;
  --lead: #5B636A;
  --line: #BFC6C9;
  --redline: #C8202F;
  --redline-dark: #A31A26;
  --white: #FFFFFF;

  --gutter: 1rem;
  --container: 75rem;
  --header-h: 4rem;
  --section-space: 4.5rem;
  --radius: 4px;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.3125rem;
  --text-lg: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --text-xl: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --text-price: clamp(4.25rem, 2.6rem + 7vw, 7.5rem);
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --section-space: 6rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--film);
  color: var(--graphite);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--text-base);
  font-stretch: 100%;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 750;
  font-stretch: 72%;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h3 { font-size: var(--text-md); font-stretch: 80%; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.15s; }
a:hover { color: var(--redline); }

:focus-visible { outline: 2px solid var(--redline); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -3rem;
  padding: 0.5rem 1rem; background: var(--graphite); color: var(--white);
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem;
  border: 1px solid var(--redline); border-radius: var(--radius);
  font: inherit; font-weight: 650; font-stretch: 90%;
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--redline); color: var(--white); }
.btn--primary:hover { background: var(--redline-dark); border-color: var(--redline-dark); color: var(--white); }
.btn--quiet { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn--quiet:hover { background: var(--graphite); color: var(--white); }
.btn--small { min-height: 2.5rem; padding: 0 1rem; font-size: var(--text-sm); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.link {
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.link:hover { color: var(--redline); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--film);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-h);
}
.logo img { width: 5rem; height: auto; }
.site-nav { display: none; gap: 1.75rem; margin-left: auto; font-size: var(--text-sm); }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-header__actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-header__wa { display: none; align-items: center; min-height: 2.75rem; font-size: var(--text-sm); }

@media (min-width: 40rem) {
  .site-header__wa { display: inline-flex; }
}
@media (min-width: 64rem) {
  .site-nav { display: flex; }
  .site-nav + .site-header__actions { margin-left: 0; }
}

/* hero */
.hero { padding-block: 2.5rem 4rem; }
.hero__grid { display: grid; gap: 2.5rem; }
.hero__intro { display: grid; gap: 2rem; align-content: start; }
.hero__title { font-size: var(--text-xl); max-width: 14ch; }
.hero__lede { max-width: 38rem; color: var(--lead); font-size: 1.125rem; }

.price { display: inline-grid; justify-self: start; gap: 0.25rem; }
.price__line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.75rem; }
.price__figure {
  font-size: var(--text-price); font-weight: 800; font-stretch: 62%;
  line-height: 0.9; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price__unit { font-size: 1.125rem; font-stretch: 85%; color: var(--lead); }
.price__example { font-size: var(--text-sm); color: var(--lead); }

.calc {
  display: grid; gap: 1rem;
  max-width: 34rem;
  padding: 1.25rem;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--white);
}
.calc__title { font-weight: 700; font-stretch: 85%; }
.calc__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.5rem 1rem; }
.calc__label { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--lead); }
.calc__range { width: 100%; min-height: 1.5rem; accent-color: var(--redline); margin: 0; cursor: pointer; }
.calc__number { display: inline-flex; align-items: center; gap: 0.5rem; }
.calc__number input {
  width: 5.5rem; min-height: 2.75rem; padding: 0 0.5rem;
  border: 1px solid var(--lead); border-radius: var(--radius);
  font: inherit; font-variant-numeric: tabular-nums; text-align: right;
  background: var(--white); color: var(--graphite);
}
.calc__result {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.calc__result output {
  font-size: 2rem; font-weight: 800; font-stretch: 70%;
  font-variant-numeric: tabular-nums; line-height: 1;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.sheet { display: grid; gap: 0.75rem; margin: 0; align-self: start; }
.sheet__caption { font-size: var(--text-sm); color: var(--lead); }

@media (min-width: 64rem) {
  .hero { padding-top: 4rem; }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2.5rem; align-items: start; }
  .hero__intro { grid-column: 1 / 7; grid-row: 1; }
  .hero__actions { grid-column: 1 / 7; grid-row: 2; }
  .hero__sheet { grid-column: 7 / 13; grid-row: 1; margin-top: 0.5rem; }
  .hero__calc { grid-column: 7 / 13; grid-row: 2; }
}


/* sections */
.section { padding-block: var(--section-space); }
.section--rule { border-top: 1px solid var(--line); }
.section__title { font-size: var(--text-lg); max-width: 22ch; }
.section__lede { margin-top: 1rem; max-width: 40rem; color: var(--lead); }
.note { margin-top: 2rem; max-width: 44rem; font-size: var(--text-sm); color: var(--lead); }

/* includes */
.includes {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 2rem;
}
.includes__item { display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.includes__item p { color: var(--lead); max-width: 34rem; }
@media (min-width: 48rem) {
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; row-gap: 2.5rem; }
}

/* steps */
.steps {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 2rem;
  counter-reset: step;
}
.steps__item { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.steps__item::before {
  content: counter(step);
  font-size: 3rem; font-weight: 800; font-stretch: 62%; line-height: 1;
  color: var(--redline);
  font-variant-numeric: tabular-nums;
}
.steps__item p { color: var(--lead); }
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
}

/* projects */
.projects {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 2.5rem 2rem;
}
.project { display: grid; gap: 0.75rem; align-content: start; }
.gallery { display: grid; gap: 0.5rem; }
.gallery__slide[hidden] { display: none; }
.gallery__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.sheet__img img { cursor: zoom-in; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.gallery__thumb {
  display: block; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; overflow: hidden;
  transition: border-color 0.15s;
}
.gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery__thumb:hover { border-color: var(--lead); }
.gallery__thumb.is-active { border-color: var(--redline); box-shadow: inset 0 0 0 1px var(--redline); }
.gallery__thumb:focus-visible { outline: 2px solid var(--redline); outline-offset: 2px; }
.project__name { padding-top: 0.25rem; font-size: 1.5rem; font-stretch: 72%; }
.project__specs { margin: 0; display: grid; }
.project__specs > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.project__specs dt { color: var(--lead); }
.project__specs dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.project__price { border-bottom-color: var(--lead) !important; }
.project__price dt { color: var(--graphite); font-weight: 600; }
.project__price dd { font-weight: 800; font-stretch: 75%; font-size: 1.125rem; }
@media (min-width: 40rem) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* catalogue filters */
.filters { margin-top: 2rem; display: grid; gap: 1rem; }
.filters__group { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.filters__group legend { float: left; margin-right: 0.5rem; padding: 0; font-size: var(--text-sm); color: var(--lead); }
.chip {
  position: relative; display: inline-flex; align-items: center;
  min-height: 2.5rem; padding: 0 0.9rem;
  border: 1px solid var(--lead); border-radius: var(--radius);
  background: var(--white); font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { border-color: var(--graphite); }
.chip:has(input:checked) { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.chip:has(input:focus-visible) { outline: 2px solid var(--redline); outline-offset: 2px; }
.filters__count { font-size: var(--text-sm); color: var(--lead); }
.filters__count:empty { display: none; }

/* team */
.team { display: grid; gap: 3rem; }
.team__facts { display: grid; gap: 1rem; align-content: start; }
.team__facts p { max-width: 36rem; }
.team__facts .section__title { margin-bottom: 0.5rem; }
.team__reviews { display: grid; gap: 1.75rem; align-content: start; }
.team__reviews-title { font-size: var(--text-md); }
.review { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--redline); }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.review figcaption { margin-top: 0.5rem; font-size: var(--text-sm); color: var(--lead); }
.team__reviews .note { margin-top: 0; }
@media (min-width: 64rem) {
  .team { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .team__facts { grid-column: 1 / 6; }
  .team__reviews { grid-column: 7 / 13; }
}

/* faq */
.faq { display: grid; gap: 2rem; }
.faq__list { border-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 650; font-stretch: 90%;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%;
  width: 0.875rem; border-top: 2px solid var(--redline);
}
.faq summary::after { transform: rotate(90deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details { overflow: hidden; }
.faq__body { padding: 0 2.5rem 1.25rem 0; color: var(--lead); max-width: 44rem; }
@media (min-width: 64rem) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .faq .section__title { grid-column: 1 / 5; }
  .faq__list { grid-column: 5 / 13; }
}

/* form */
.request { display: grid; gap: 3rem; }
.request form { margin-top: 2rem; display: grid; gap: 1.5rem; }
.request form .btn { justify-self: start; min-width: 14rem; }
.field-grid { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.optional { font-weight: 400; color: var(--lead); }
.field input,
.field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.75rem;
  border: 1px solid var(--lead); border-radius: var(--radius);
  background: var(--white); color: var(--graphite);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input[type="file"] { padding: 0.6rem; font-size: var(--text-sm); cursor: pointer; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--text-sm); }
.consent input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--redline); cursor: pointer; }
.consent label { cursor: pointer; }
.field__error { margin: 0; color: var(--redline); font-size: var(--text-sm); font-weight: 600; }
.field__error:empty { display: none; }
.consent .field__error { grid-column: 2; }
.field input[aria-invalid="true"] { border-color: var(--redline); border-width: 2px; }
.form-status:empty { display: none; }
.form-status:focus { outline-offset: 2px; }
.form-status__title { font-weight: 700; }
.form-status ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.form-status a { color: var(--redline); font-weight: 600; }
.form-status {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--redline);
  background: var(--white);
  font-size: var(--text-sm);
}
.request__contacts { align-self: start; }
.request__contacts h3 { margin-bottom: 1rem; }
.contacts { margin: 0; display: grid; }
.contacts > div { display: grid; gap: 0.15rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.contacts dt { font-size: var(--text-sm); color: var(--lead); }
.contacts dd { margin: 0; }
@media (min-width: 48rem) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .request { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .request__form { grid-column: 1 / 8; }
  .request__contacts { grid-column: 9 / 13; margin-top: 4.5rem; }
}

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--text-sm); color: var(--lead); }
.site-footer__inner { display: grid; gap: 0.75rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: 0.75rem; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--graphite); text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.site-footer__links a,
.site-footer__links .link { display: inline-flex; align-items: center; min-height: 1.5rem; }

/* cookie banner */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 30;
  display: grid; gap: 1rem;
  max-width: 36rem; margin-inline: auto;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--graphite); border-radius: var(--radius);
  font-size: var(--text-sm);
}
.cookie[hidden] { display: none; }
.cookie__actions { display: flex; gap: 0.75rem; }

/* sticky quote bar, phones and tablets only */
.sticky-cta { display: none; }
@media (max-width: 63.99rem) {
  body { padding-bottom: 5.25rem; }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: grid; grid-template-columns: 1fr auto; gap: 0.75rem;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--film); border-top: 1px solid var(--line);
    transition: transform 0.2s;
  }
  .sticky-cta.is-away { transform: translateY(110%); }
  .cookie { bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* lightbox */
.lightbox {
  width: min(100vw, 64rem); max-width: none; max-height: none; height: 100dvh;
  margin: 0 auto; padding: 0; border: 0; background: transparent; color: var(--white);
  display: none; place-items: center;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(14, 16, 18, 0.92); }
.lightbox__figure { margin: 0; display: grid; gap: 0.75rem; justify-items: center; width: 100%; padding: 0 var(--gutter); }
.lightbox__img { width: 100%; max-height: 80dvh; object-fit: contain; background: transparent; }
.lightbox__caption { font-size: var(--text-sm); color: #C9CED1; text-align: center; }
.lightbox__close,
.lightbox__nav {
  position: fixed; z-index: 1;
  width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius);
  background: rgba(14, 16, 18, 0.7); color: var(--white);
  font: inherit; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--redline); border-color: var(--redline); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
body:has(.lightbox[open]) { overflow: hidden; }

/* text pages */
.page { padding-block: 3rem var(--section-space); }
.page__title { font-size: var(--text-xl); max-width: 16ch; }
.page__body { margin-top: 2rem; display: grid; gap: 1rem; max-width: 42rem; }
.page__body h2 { margin-top: 1.5rem; font-size: var(--text-md); font-stretch: 80%; }
.page__body ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.page__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
