:root {
  --ink: #171b1f;
  --muted: #66727f;
  --line: #d9e0e7;
  --paper: #f7f8f7;
  --white: #ffffff;
  --accent: #d69a2d;
  --accent-dark: #9c6715;
  --steel: #24323d;
  --aqua: #4f8f9b;
  --shadow: 0 24px 80px rgba(24, 31, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 62px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(24, 31, 38, 0.1);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
}

.brand-logo {
  width: 118px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-logo,
.footer-brand .brand-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: invert(1);
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-slide,
.why-media,
.catalog-media {
  background-position: center;
  background-size: cover;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(12, 18, 23, 0.82), rgba(12, 18, 23, 0.3) 48%, rgba(12, 18, 23, 0.65)),
    url("assets/hero-1.png");
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 900ms ease,
    transform 5400ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.06);
}

.slide-balcony {
  background-image:
    linear-gradient(90deg, rgba(12, 18, 23, 0.82), rgba(12, 18, 23, 0.28) 48%, rgba(12, 18, 23, 0.64)),
    url("assets/hero-2.png");
}

.slide-pergola {
  background-image:
    linear-gradient(90deg, rgba(12, 18, 23, 0.82), rgba(12, 18, 23, 0.26) 48%, rgba(12, 18, 23, 0.66)),
    url("assets/hero-3.png");
}

.slide-showroom {
  background-image:
    linear-gradient(90deg, rgba(12, 18, 23, 0.82), rgba(12, 18, 23, 0.28) 48%, rgba(12, 18, 23, 0.64)),
    url("assets/project-1.png");
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(58px, 10vh, 110px) clamp(18px, 6vw, 92px);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 6vh, 70px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dots button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 0 4px;
  font-size: 34px;
  line-height: 1;
}

.hero-arrow:hover,
.hero-arrow:focus-visible,
.hero-dots button:hover,
.hero-dots button:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hero-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border-radius: 0;
}

.hero-dots button.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: var(--ink);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #efb751;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button.ghost.dark {
  border-color: rgba(23, 27, 31, 0.28);
  color: var(--ink);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--steel);
  color: var(--white);
}

.feature-strip article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-strip span {
  color: var(--accent);
  font-weight: 900;
}

.feature-strip h2 {
  margin: 18px 0 8px;
  font-size: 25px;
}

.feature-strip p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 78px);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: var(--white);
}

.section-text h2,
.section-heading h2,
.why-copy h2,
.discovery h2,
.catalog h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-text p:not(.eyebrow),
.why-copy p,
.discovery p,
.catalog p {
  color: var(--muted);
  font-size: 17px;
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.story-images img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.story-images img:last-child {
  height: 330px;
  margin-bottom: -42px;
  box-shadow: var(--shadow);
}

.cta-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cta-pair a {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 58px);
  color: var(--white);
}

.cta-pair a:first-child {
  background: var(--aqua);
}

.cta-pair a:last-child {
  background: var(--accent-dark);
}

.cta-pair strong {
  max-width: 520px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.05;
}

.cta-pair span {
  margin-top: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.products {
  background: var(--paper);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-height: 430px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(24, 31, 38, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-card div {
  padding: 24px;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.product-card p {
  color: var(--muted);
}

.why {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  min-height: 660px;
  background: var(--white);
}

.why-media {
  background-image:
    linear-gradient(rgba(26, 37, 46, 0.15), rgba(26, 37, 46, 0.18)),
    url("assets/project-4.png");
}

.why-copy {
  align-self: center;
  padding: clamp(48px, 8vw, 92px);
}

.why-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.why-copy li {
  position: relative;
  padding-left: 28px;
  font-weight: 750;
}

.why-copy li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.discovery {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 78px);
  background: var(--steel);
  color: var(--white);
}

.discovery p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catalog {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 78px);
  background: var(--white);
}

.catalog-media {
  min-height: 340px;
  background-image: url("assets/project-3.png");
}

.contact-page {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 118px) clamp(18px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(17, 24, 30, 0.94), rgba(36, 50, 61, 0.82)),
    url("assets/hero-2.png") center / cover;
  color: var(--white);
}

.contact-page::after {
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
  transform: rotate(18deg);
}

.contact-hero,
.contact-panel,
.contact-bottom {
  position: relative;
  z-index: 1;
}

.contact-hero {
  max-width: 940px;
  margin-bottom: 36px;
}

.contact-hero h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.contact-card {
  min-height: 138px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.contact-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  margin: 0;
  color: var(--white);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 850;
  line-height: 1.18;
}

.contact-bottom {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-form-large {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.map-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 5vw, 42px);
  background:
    linear-gradient(180deg, rgba(214, 154, 45, 0.1), rgba(17, 24, 30, 0.92)),
    url("assets/project-1.png") center / cover;
  box-shadow: var(--shadow);
}

.map-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1;
}

.map-card p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 28px;
  padding: 54px clamp(18px, 5vw, 78px) 92px;
  background: #11181e;
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.footer-brand {
  margin-bottom: 18px;
}

.floating-actions {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(12, 18, 23, 0.24);
}

.floating-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.floating-actions a:last-child {
  background: #1f7f5c;
  color: var(--white);
}

@media (max-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story,
  .why,
  .catalog,
  .discovery,
  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .why-media,
  .catalog-media {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    box-shadow: 0 20px 36px rgba(24, 31, 38, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .feature-strip,
  .cta-pair,
  .product-grid,
  .site-footer,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .story-images {
    grid-template-columns: 1fr;
  }

  .story-images img,
  .story-images img:last-child {
    height: 310px;
    margin: 0;
  }

  .product-card {
    min-height: auto;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .floating-actions a {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
  }

  .contact-page {
    padding-bottom: 92px;
  }

  .contact-hero h2 {
    font-size: 40px;
  }

  .contact-card {
    min-height: auto;
  }
}
