@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap");

:root {
  --cream: #fefaf4;
  --ink: #373838;
  --green: #365d43;
  --green-soft: #487658;
  --gold: #bf9a4e;
  --line: rgba(55, 56, 56, 0.22);
  --serif: Baskerville, "Baskerville Old Face", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", Arial, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 23px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  background: var(--cream);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: fixed;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), visibility 900ms cubic-bezier(0.22, 1, 0.36, 1);
  visibility: visible;
  z-index: 999;
}

body.is-loaded::before {
  opacity: 0;
  visibility: hidden;
}

.hero-content,
.site-header {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header {
  transform: translateY(10px);
}

.hero-content {
  transform: translate(-50%, calc(-50% + 10px));
}

body.is-loaded .hero-content,
body.is-loaded .site-header {
  opacity: 1;
}

body.is-loaded .site-header {
  transform: translateY(0);
}

body.is-loaded .hero-content {
  transform: translate(-50%, -50%);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1100ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 1100ms cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 260ms ease, border-color 260ms ease, background-color 260ms ease, opacity 260ms ease;
}

a:hover,
a:focus-visible {
  color: var(--gold);
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 25px 35px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: color 260ms ease;
  z-index: 10;
}

.site-header > * {
  pointer-events: auto;
}

.site-header.is-on-hero {
  color: var(--cream);
}

.brand img {
  height: 42px;
  transition: filter 260ms ease;
  width: 81px;
}

.site-header:not(.is-on-hero) .brand img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(428%) hue-rotate(131deg) brightness(96%) contrast(85%);
}

.brand:hover img,
.brand:focus-visible img,
.site-header:not(.is-on-hero) .brand:hover img,
.site-header:not(.is-on-hero) .brand:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(33%) saturate(677%) hue-rotate(3deg) brightness(91%) contrast(88%);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-weight: 500;
  justify-content: center;
  text-transform: uppercase;
}

.main-nav a,
.language {
  line-height: 1;
}

.language-switcher {
  justify-self: end;
  margin-right: 15px;
  position: relative;
}

.language {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  font: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  padding: 0;
  text-transform: uppercase;
  transition: color 260ms ease;
}

.language::before {
  border-bottom: 1.25px solid currentColor;
  border-right: 1.25px solid currentColor;
  content: "";
  height: 4px;
  transform: translateY(-2px) rotate(45deg);
  width: 4px;
}

.language:hover,
.language:focus-visible,
.language-switcher.is-open .language {
  color: var(--gold);
  outline: none;
}

.language-dropdown {
  background: rgba(254, 250, 244, 0.96);
  color: var(--ink);
  display: grid;
  gap: 12px;
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 28px;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
  visibility: hidden;
}

.language-switcher.is-open .language-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.language-dropdown a {
  display: block;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  transition: color 260ms ease;
}

.language-dropdown a:hover,
.language-dropdown a:focus-visible {
  color: var(--gold);
  outline: none;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: color 260ms ease;
  width: 42px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.site-header.is-menu-open .menu-toggle {
  color: var(--gold);
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  transition: transform 260ms ease, opacity 260ms ease;
  width: 26px;
}

.site-header.is-menu-mode {
  grid-template-columns: auto 1fr auto auto;
}

.site-header.is-menu-mode .main-nav {
  background: rgba(254, 250, 244, 0.96);
  color: var(--ink);
  display: none;
  flex-direction: column;
  gap: 18px;
  min-width: 220px;
  padding: 18px 24px;
  position: absolute;
  right: 35px;
  top: 76px;
}

.site-header.is-menu-mode.is-menu-open .main-nav {
  display: flex;
}

.site-header.is-menu-mode .menu-toggle {
  display: flex;
}

.site-header.is-menu-mode .language-switcher {
  justify-self: end;
  margin-right: 15px;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: max(746px, calc(100svh - 20px));
  overflow: hidden;
  position: relative;
}

.hero-slides,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-slides img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 2200ms cubic-bezier(0.45, 0, 0.2, 1);
  will-change: opacity;
  width: 100%;
  z-index: 0;
}

.hero-slides .is-visible {
  opacity: 1;
  z-index: 1;
}

.hero-slides .is-entering {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.hero-content {
  color: var(--cream);
  left: 50%;
  max-width: 760px;
  padding: 0 24px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 4;
}

.hero-logo {
  height: auto;
  margin: 0 auto 26px;
  width: min(335px, 72vw);
}

.hero-content p {
  line-height: 1.45;
  margin: 0 auto 46px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.button,
form button {
  align-items: center;
  border: 1px solid var(--gold);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  height: 45px;
  justify-content: center;
  letter-spacing: 1.2px;
  line-height: 1;
  min-width: 205px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease;
}

.button::after,
form button::after {
  background: currentColor;
  clip-path: polygon(0 45%, 70% 45%, 70% 18%, 100% 50%, 70% 82%, 70% 55%, 0 55%);
  content: "";
  display: block;
  flex: 0 0 auto;
  height: 8px;
  margin-left: 8px;
  width: 16px;
}

.button-filled,
form button {
  background: var(--gold);
  color: var(--cream);
}

.button-outline {
  background: transparent;
  color: var(--gold);
}

.button:hover,
.button:focus-visible,
form button:hover,
form button:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--gold);
  outline: none;
}

form button:hover,
form button:focus-visible {
  background: var(--green);
  border-color: var(--gold);
  color: var(--cream);
}

.button-filled:hover,
.button-filled:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

form button:disabled,
form button:disabled:hover,
form button:disabled:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  cursor: not-allowed;
  opacity: 0.45;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}

.cookie-consent {
  background: var(--green);
  bottom: 26px;
  color: var(--cream);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: auto;
  max-width: 920px;
  opacity: 0;
  padding: 30px clamp(24px, 3vw, 38px);
  pointer-events: none;
  position: fixed;
  right: clamp(20px, 5vw, 77px);
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
  visibility: hidden;
  width: calc(100% - clamp(40px, 10vw, 154px));
  z-index: 30;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.cookie-consent h2 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.cookie-consent p {
  color: rgba(254, 250, 244, 0.84);
  font-size: 12px;
  line-height: 24px;
  margin: 12px 0 0;
  max-width: 590px;
}

.cookie-consent p a {
  color: var(--gold);
  display: inline;
  font-weight: 500;
}

.cookie-consent p a:hover,
.cookie-consent p a:focus-visible {
  color: var(--cream);
  outline: none;
}

.cookie-actions {
  align-items: end;
  display: flex;
  gap: 12px;
}

.cookie-actions button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--cream);
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  height: 42px;
  justify-content: center;
  letter-spacing: 1.2px;
  min-width: 132px;
  padding: 0 18px;
  text-transform: uppercase;
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease;
}

.cookie-actions button:first-child {
  background: var(--gold);
}

.cookie-actions button:first-child:hover,
.cookie-actions button:first-child:focus-visible {
  background: var(--green) !important;
  border-color: var(--gold) !important;
  color: var(--cream) !important;
  outline: none;
}

.cookie-actions button:last-child:hover,
.cookie-actions button:last-child:focus-visible {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--cream) !important;
  outline: none;
}

.hero-slider-controls {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.slider-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 4px));
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 35px;
}

.hero:hover .slider-arrow,
.hero:focus-within .slider-arrow {
  opacity: 1;
  transform: translateY(-50%);
}

.slider-arrow img {
  display: block;
  height: 28px;
  transition: filter 260ms ease, opacity 260ms ease;
  width: 15px;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  outline: none;
}

.slider-arrow:hover img,
.slider-arrow:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(33%) saturate(677%) hue-rotate(3deg) brightness(91%) contrast(88%);
}

.slider-prev {
  left: 65px;
}

.slider-next {
  right: 65px;
}

.slider-counter {
  align-items: center;
  bottom: 27px;
  display: flex;
  gap: 12px;
  height: 7px;
  justify-content: center;
  left: 50%;
  pointer-events: auto;
  position: absolute;
  transform: translateX(-50%);
  width: auto;
}

.slider-dot {
  background: rgba(254, 250, 244, 0.68);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  transition: background-color 360ms ease, opacity 360ms ease, transform 360ms ease;
  width: 7px;
}

.slider-dot.is-active {
  background: var(--gold);
}

.slider-dot:hover,
.slider-dot:focus-visible {
  background: var(--gold);
  outline: none;
  transform: scale(1.15);
}

.social-rail {
  display: grid;
  gap: 16px;
  justify-items: center;
  position: fixed;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
}

.social-rail > a {
  height: 17px;
  width: 17px;
}

.social-rail img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(428%) hue-rotate(131deg) brightness(96%) contrast(85%);
  height: 100%;
  object-fit: contain;
  transition: filter 260ms ease, opacity 260ms ease;
  width: 100%;
}

.social-rail.is-on-hero img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(9%) saturate(351%) hue-rotate(320deg) brightness(105%) contrast(99%);
}

.social-rail a:hover img,
.social-rail a:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(33%) saturate(677%) hue-rotate(3deg) brightness(91%) contrast(88%);
  opacity: 0.95;
}

.proof-bar {
  background: var(--green);
  color: var(--cream);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  padding: 37px clamp(24px, 8vw, 170px);
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 3.78px;
  margin: 0;
  text-transform: uppercase;
}

h2,
h3 {
  font-size: 21px;
  line-height: 23px;
}

p {
  line-height: 23px;
  margin: 0;
}

.proof-bar h2 {
  font-size: 21px;
  line-height: 23px;
}

.proof-bar p {
  margin: 4px 0 0;
}

.section-pad {
  padding: 88px clamp(24px, 5vw, 77px);
}

.intro {
  padding-bottom: 60px;
  padding-top: 90px;
}

.section-copy {
  margin: 0 auto 56px;
  max-width: 665px;
}

.section-copy p {
  margin-top: 13px;
}

.intro .section-copy {
  margin-bottom: 66px;
}

.quality {
  padding-bottom: 88px;
  padding-left: clamp(24px, 4.1vw, 59px);
  padding-right: clamp(24px, 4.1vw, 59px);
  padding-top: 100px;
}

.quality .section-copy {
  margin-bottom: 68px;
}

.projects .section-copy {
  margin-bottom: 52px;
}

.projects {
  padding-bottom: 72px;
  padding-top: 108px;
}

.centered {
  text-align: center;
}

.model-grid {
  display: grid;
  gap: 21px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1356px;
}

.model-card {
  text-align: center;
}

.model-card-taka {
  order: 1;
}

.model-card-paugurs {
  order: 2;
}

.model-card-ainava {
  order: 3;
}

.model-gallery {
  aspect-ratio: 438 / 408;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.model-gallery-stage {
  height: 100%;
  position: relative;
  width: 100%;
}

.model-gallery-stage img {
  aspect-ratio: 438 / 408;
  height: auto;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transform: scale(1.012);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.model-gallery-stage img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.model-gallery-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 4px));
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 30px;
  z-index: 2;
}

.model-gallery:hover .model-gallery-arrow,
.model-gallery:focus-within .model-gallery-arrow {
  opacity: 1;
  transform: translateY(-50%);
}

.model-gallery-arrow img {
  height: 24px;
  transition: filter 260ms ease, opacity 260ms ease;
  width: 13px;
}

.model-gallery-arrow:hover,
.model-gallery-arrow:focus-visible {
  outline: none;
}

.model-gallery-arrow:hover img,
.model-gallery-arrow:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(33%) saturate(677%) hue-rotate(3deg) brightness(91%) contrast(88%);
}

.model-gallery-prev {
  left: 20px;
}

.model-gallery-next {
  right: 20px;
}

.model-gallery-counter {
  bottom: 16px;
  display: flex;
  gap: 9px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.model-gallery-dot {
  background: rgba(254, 250, 244, 0.72);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 7px;
  padding: 0;
  transition: background-color 260ms ease, transform 260ms ease;
  width: 7px;
}

.model-gallery-dot.is-active,
.model-gallery-dot:hover,
.model-gallery-dot:focus-visible {
  background: var(--gold);
}

.model-gallery-dot:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.model-card h3 {
  margin-top: 35px;
}

.model-card p {
  margin-top: 6px;
}

sup {
  font-size: 0.62em;
}

.process {
  padding-bottom: 2px;
  padding-top: 12px;
  text-align: center;
}

.process > h2 {
  margin-bottom: 60px;
}

.step-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1356px;
}

.step-grid article {
  background: var(--green);
  color: var(--cream);
  min-height: 304px;
  padding: 48px 24px;
}

.step-grid span {
  color: var(--gold);
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.step-grid p {
  margin-bottom: 0;
  margin-top: 21px;
}

.quality-layout {
  align-items: start;
  display: grid;
  gap: clamp(48px, 5.2vw, 75px);
  grid-template-columns: minmax(0, 594px) minmax(0, 651px);
  margin: 0 auto;
  max-width: 1320px;
}

.quality-layout > *,
.estimate-panel > *,
.truhawk-form,
.footer-nav,
.footer-social,
.footer-question {
  min-width: 0;
}

.quality-image {
  aspect-ratio: 594 / 432;
  overflow: hidden;
  width: 100%;
}

.quality-image img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scaleX(-1);
  width: 100%;
}

.story {
  padding-top: 19px;
}

.story h3 {
  line-height: 23px;
  margin-bottom: 35px;
}

.story p {
  font-size: 12px;
  line-height: 23px;
  max-width: 651px;
}

.story p + p {
  margin-top: 0;
}

.story dl {
  display: grid;
  column-gap: 87px;
  grid-template-columns: 239px 217px;
  margin: 59px 0 0;
  row-gap: 39px;
}

.story dl > div {
  align-items: start;
  display: grid;
  grid-template-columns: 65px 1fr;
}

.story dt {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 3.78px;
  line-height: 23px;
}

.story dd {
  border-left: 1px solid var(--line);
  line-height: 23px;
  margin: 0 0 0 16px;
  min-height: 48px;
  padding-left: 25px;
}

.estimate {
  padding-bottom: 0;
  padding-top: 59px;
}

.estimate-panel {
  background: var(--green);
  color: var(--cream);
  display: grid;
  gap: clamp(32px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 568px);
  margin: 0 auto;
  max-width: 1356px;
  min-height: 752px;
  padding: 60px 48px 63px 63px;
  width: 100%;
}

.estimate-panel h2,
.site-footer h2 {
  margin-bottom: 24px;
}

.estimate-panel > div {
  max-width: 588px;
}

.estimate-panel > div > p {
  line-height: 23px;
  margin-top: 46px;
}

address {
  font-style: normal;
  line-height: 23px;
  margin-top: 35px;
}

address strong {
  font-weight: 400;
}

address a {
  color: var(--gold);
}

.phone-reveal,
.contact-email {
  cursor: pointer;
}

address a.is-revealed {
  color: var(--cream);
}

.truhawk-form {
  display: grid;
  gap: 0;
  max-width: 603px;
  width: 100%;
}

.estimate-form {
  justify-self: end;
  max-width: 568px;
  min-width: 0;
}

.truhawk-form h2 {
  line-height: 23px;
  margin-bottom: 46px;
}

.form-field {
  color: var(--gold);
  display: grid;
  gap: 14px;
  line-height: 23px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

input,
textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  letter-spacing: inherit;
  min-height: 35px;
  outline: none;
  padding: 0 0 10px;
  width: 100%;
}

input:focus,
textarea:focus {
  background: transparent;
}

.form-field input,
.form-field textarea {
  caret-color: currentColor;
  color: var(--cream);
}

.estimate-form input,
.estimate-form textarea {
  border-bottom-color: rgba(254, 250, 244, 0.62);
}

.estimate-form input:-webkit-autofill,
.estimate-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--green) inset;
  -webkit-text-fill-color: var(--cream);
  border-bottom-color: rgba(254, 250, 244, 0.62);
  caret-color: var(--cream);
}

.estimate-form .form-field,
.estimate-form .submit-area {
  min-width: 0;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--cream);
  opacity: 0.86;
  text-transform: none;
}

textarea {
  min-height: 79px;
  resize: vertical;
}

form button {
  border: 1px solid var(--gold);
  min-width: 0;
  width: 100%;
}

.form-note {
  color: var(--cream);
  line-height: 23px;
  margin: 13px auto 0;
  text-align: center;
  width: 345px;
}

.note-star {
  color: var(--gold);
}

.form-submit-row {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 24px 1fr;
  margin-top: 13px;
}

.submit-area {
  width: 568px;
}

.checkbox-control {
  cursor: pointer;
  display: block;
  height: 24px;
  margin-top: 11px;
  position: relative;
  width: 24px;
}

.checkbox-control input {
  height: 24px;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 24px;
}

.checkbox-box {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green-soft);
  display: flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.checkbox-control-light .checkbox-box {
  background: var(--cream);
  border-color: #8e8e8e;
}

.checkbox-box img {
  height: 15px;
  opacity: 0;
  transition: opacity 180ms ease;
  width: 15px;
}

.checkbox-control input:checked + .checkbox-box img {
  opacity: 1;
}

.checkbox-control input:focus-visible + .checkbox-box {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.gallery {
  --gallery-gap: 20px;
  --gallery-offset: 0px;
  --gallery-slide-width: min(857px, calc(100vw - 40px));
  height: 550px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  width: 100vw;
}

.gallery-stage {
  height: 514px;
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: var(--gallery-gap);
  height: 514px;
  transform: translate3d(var(--gallery-offset), 0, 0);
  transition: transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: 100%;
}

.gallery-track.no-transition {
  transition: none;
}

.gallery-slide {
  flex: 0 0 var(--gallery-slide-width);
  height: 514px;
  overflow: hidden;
  position: relative;
}

.gallery-slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.gallery-slide.is-active img {
  transform: scale(1);
}

.gallery-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 235px;
  transform: translateY(4px);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 35px;
}

.gallery:hover .gallery-arrow,
.gallery:focus-within .gallery-arrow {
  opacity: 1;
  transform: translateY(0);
}

.gallery-arrow img {
  height: 28px;
  transition: filter 260ms ease, opacity 260ms ease;
  width: 15px;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  outline: none;
}

.gallery-arrow:hover img,
.gallery-arrow:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(33%) saturate(677%) hue-rotate(3deg) brightness(91%) contrast(88%);
}

.gallery-prev {
  left: 65px;
}

.gallery-next {
  right: 65px;
}

.gallery-counter {
  align-items: center;
  bottom: 9px;
  display: flex;
  gap: 12px;
  height: 7px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: auto;
}

.gallery-dot {
  background: rgba(55, 56, 56, 0.24);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  transition: background-color 260ms ease, transform 260ms ease;
  width: 7px;
}

.gallery-dot.is-active,
.gallery-dot:hover,
.gallery-dot:focus-visible {
  background: var(--gold);
  outline: none;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
  transform: scale(1.15);
}

.site-footer {
  display: grid;
  column-gap: 0;
  grid-template-columns: 133fr 224fr 113fr 282fr 603fr;
  margin: 0 auto;
  max-width: 1356px;
  padding: 0 0 88px;
  position: relative;
  row-gap: 88px;
  width: calc(100% - clamp(128px, 10vw, 152px));
}

.footer-logo {
  grid-column: 1 / -1;
  justify-self: center;
}

.footer-logo img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(428%) hue-rotate(131deg) brightness(96%) contrast(85%);
  height: 97px;
  width: 335px;
}

.site-footer a {
  display: block;
  line-height: 23px;
}

.footer-nav {
  grid-column: 1;
}

.footer-social {
  grid-column: 3;
}

.site-footer .footer-question {
  grid-column: 5;
  justify-self: start;
  max-width: 603px;
}

.site-footer input,
.site-footer textarea {
  color: var(--ink);
}

.site-footer input:-webkit-autofill,
.site-footer textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--cream) inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
}

.footer-question h2 {
  margin-bottom: 32px;
}

.footer-question .form-field {
  gap: 18px;
  margin-bottom: 22px;
}

.footer-question .form-field:nth-of-type(1),
.footer-question .form-field:nth-of-type(2) {
  width: min(377px, 100%);
}

.footer-question .form-field:nth-of-type(3) {
  gap: 18px;
  margin-bottom: 22px;
  width: 100%;
}

.footer-question .form-field:nth-of-type(3) textarea {
  height: 38px;
  min-height: 38px;
  overflow: hidden;
  padding-top: 0;
  resize: none;
}

.footer-question .form-submit-row {
  align-items: start;
  gap: 20px;
  grid-template-columns: 24px minmax(0, 1fr);
  margin-top: 0;
}

.footer-question .checkbox-control {
  margin-top: 10px;
}

.footer-question .submit-area {
  width: 100%;
}

.footer-question .form-note {
  margin-top: 12px;
  width: 100%;
}

.site-footer input::placeholder,
.site-footer textarea::placeholder {
  color: var(--ink);
}

.site-footer .form-note {
  color: var(--ink);
}

.copyright {
  bottom: 88px;
  left: 0;
  line-height: 23px;
  margin: 0;
  position: absolute;
}

.privacy-page {
  min-height: 100vh;
}

.privacy-page::before {
  display: none;
}

.privacy-header {
  color: var(--ink);
  grid-template-columns: auto 1fr auto;
}

.privacy-tools {
  align-items: center;
  display: inline-flex;
  gap: 22px;
  font-weight: 500;
  grid-column: 3;
  justify-self: end;
  line-height: 1;
  text-transform: uppercase;
}

.privacy-tools .language-switcher {
  margin-right: 0;
}

.privacy-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 150px clamp(24px, 5vw, 77px) 110px;
}

.privacy-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 62px;
  padding-bottom: 48px;
  text-align: center;
}

.privacy-kicker {
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.privacy-hero h1,
.privacy-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 6px;
  margin: 0;
  text-transform: uppercase;
}

.privacy-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.privacy-hero p {
  font-size: 13px;
  line-height: 27px;
  margin: 26px auto 0;
  max-width: 760px;
}

.privacy-hero span {
  color: rgba(55, 56, 56, 0.66);
  display: block;
  margin-top: 20px;
}

.privacy-content {
  display: grid;
  gap: 40px;
  margin: 0 auto;
  max-width: 840px;
}

.privacy-content article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.privacy-content article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.privacy-content h2 {
  font-size: 20px;
  line-height: 1.35;
}

.privacy-content p {
  font-size: 13px;
  line-height: 27px;
  margin: 18px 0 0;
}

.privacy-content a {
  color: var(--gold);
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: var(--green);
}

@media (max-width: 1180px) {
  .estimate-panel {
    grid-template-columns: 1fr;
    padding: 48px clamp(28px, 6vw, 48px);
  }

  .estimate-form {
    justify-self: start;
    max-width: min(568px, 100%);
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }

  .hero-content,
  .site-header,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 20px;
    grid-template-columns: auto 1fr auto auto;
  }

  .main-nav {
    background: rgba(254, 250, 244, 0.96);
    color: var(--ink);
    display: none;
    flex-direction: column;
    gap: 18px;
    min-width: 220px;
    padding: 18px 24px;
    position: absolute;
    right: 24px;
    top: 72px;
  }

  .privacy-tools {
    gap: 12px;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .language {
    justify-self: end;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: max(680px, calc(100svh - 20px));
  }

  .proof-bar,
  .model-grid,
  .step-grid,
  .quality-layout,
  .estimate-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .estimate {
    padding-bottom: 0;
    padding-top: 64px;
  }

  .projects {
    padding-bottom: 56px;
    padding-top: 84px;
  }

  .estimate-panel {
    gap: 42px;
    min-height: 0;
    padding: 36px;
  }

  .estimate-form {
    justify-self: start;
    max-width: min(568px, 100%);
  }

  .submit-area,
  .footer-question .form-field:nth-of-type(1),
  .footer-question .form-field:nth-of-type(2),
  .footer-question .form-field:nth-of-type(3) {
    width: 100%;
  }

  .proof-bar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .step-grid article {
    min-height: 230px;
  }

  .site-footer form {
    justify-self: stretch;
  }

  .site-footer {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    row-gap: 34px;
    width: calc(100% - 48px);
  }

  .footer-nav,
  .footer-social,
  .site-footer .footer-question {
    grid-column: 1;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  .copyright {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
    letter-spacing: 0.8px;
  }

  .site-header {
    left: 14px;
    padding: 10px 12px;
    right: 14px;
    top: 14px;
    transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease;
  }

  .site-header:not(.is-on-hero),
  .site-header.is-menu-open {
    background: rgba(254, 250, 244, 0.96);
    border: 1px solid rgba(55, 56, 56, 0.1);
    color: var(--ink);
  }

  .site-header.is-menu-open .brand img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(428%) hue-rotate(131deg) brightness(96%) contrast(85%);
  }

  .brand img {
    height: 34px;
    width: 66px;
  }

  .main-nav {
    gap: 16px;
    right: 0;
    top: 58px;
    width: 100%;
  }

  .hero-content {
    left: 50%;
    max-width: 420px;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  body.is-loaded .hero-content {
    transform: translate(-50%, -50%);
  }

  .hero-logo {
    margin-bottom: 22px;
    width: min(270px, 70vw);
  }

  .hero-content p {
    margin-bottom: 34px;
  }

  .hero {
    min-height: max(640px, 100svh);
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .button,
  form button {
    width: min(100%, 280px);
  }

  .cookie-consent {
    bottom: 16px;
    left: 16px;
    padding: 24px 20px;
    width: calc(100% - 32px);
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button {
    width: 100%;
  }

  .slider-prev {
    left: 20px;
  }

  .slider-next {
    right: 20px;
  }

  .slider-arrow {
    top: 50%;
  }

  .slider-counter {
    bottom: 24px;
  }

  .slider-counter {
    width: 122px;
  }

  .section-pad,
  .intro,
  .quality,
  .projects {
    padding: 72px 20px;
  }

  .proof-bar {
    gap: 32px;
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .section-copy,
  .intro .section-copy,
  .quality .section-copy,
  .projects .section-copy {
    margin-bottom: 44px;
  }

  .section-copy p {
    margin-top: 12px;
  }

  .gallery {
    --gallery-slide-width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .gallery-stage {
    height: auto;
  }

  .gallery-track {
    height: auto;
  }

  .gallery-slide {
    height: auto;
  }

  .gallery-slide img {
    aspect-ratio: 857 / 514;
    height: auto;
    max-height: 520px;
  }

  .gallery-arrow {
    top: calc(50% - 22px);
  }

  .gallery-prev {
    left: 14px;
  }

  .gallery-next {
    right: 14px;
  }

  .gallery-counter {
    bottom: -28px;
    width: 122px;
  }

  .footer-logo img {
    height: auto;
    width: min(260px, 75vw);
  }

  .social-rail {
    align-items: center;
    background: transparent;
    border: 0;
    bottom: auto;
    display: grid;
    gap: 16px;
    left: auto;
    padding: 0;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: bottom 360ms ease, left 360ms ease, right 360ms ease, top 360ms ease, transform 360ms ease;
  }

  .social-rail > a {
    height: 18px;
    width: 18px;
  }

  .social-rail.is-scrolled,
  .social-rail:not(.is-on-hero) {
    bottom: 20px;
    display: flex;
    gap: 18px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }

  .social-rail img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(3%) saturate(428%) hue-rotate(131deg) brightness(96%) contrast(85%);
  }

  .social-rail.is-on-hero img {
    filter: brightness(0) saturate(100%) invert(98%) sepia(9%) saturate(351%) hue-rotate(320deg) brightness(105%) contrast(99%);
  }

  h2,
  h3,
  .proof-bar h2 {
    font-size: 18px;
    letter-spacing: 2.4px;
  }

  .estimate {
    padding-bottom: 0;
  }

  .projects {
    padding-bottom: 48px;
    padding-top: 72px;
  }

  .estimate-panel {
    padding: 32px 20px;
  }

  .form-submit-row {
    gap: 10px;
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .form-note {
    width: 100%;
  }

  .story dl {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}
