:root {
  --ink: #111820;
  --muted: #5e6874;
  --surface: #f4f6f7;
  --surface-strong: #e6ebef;
  --panel: #ffffff;
  --line: #d3dbe2;
  --steel: #2f3d4b;
  --steel-dark: #172330;
  --blue: #1f6f9c;
  --orange: #df8b28;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(244, 246, 247, 0.96);
  box-shadow: 0 10px 30px rgba(17, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

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

.brand small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--surface-strong);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92) 0%, rgba(17, 24, 32, 0.68) 42%, rgba(17, 24, 32, 0.1) 100%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.34), rgba(17, 24, 32, 0.04));
}

.hero-content {
  position: relative;
  width: min(800px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 6.25rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--orange);
}

.button-primary:hover {
  background: #c97518;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(17, 24, 32, 0.24);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(17, 24, 32, 0.38);
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  background: var(--panel);
}

.section-intro > p,
.section-heading p,
.contact-form-wrap > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-offer {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.offer-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.offer-card.featured {
  color: var(--white);
  background: var(--steel-dark);
  border-color: var(--steel-dark);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.featured .card-icon {
  background: var(--orange);
}

.offer-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.offer-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.offer-card.featured p,
.offer-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.offer-card li {
  color: var(--muted);
  font-weight: 700;
}

.offer-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 8px;
  background: var(--orange);
}

.section-living {
  background: var(--panel);
}

.living-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.living-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.living-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.living-gallery figcaption {
  padding: 18px 20px;
  color: var(--steel-dark);
  font-weight: 800;
  line-height: 1.35;
}

.section-uses {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(0, 0.9fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
  background: var(--panel);
}

.uses-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.use-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.use-list div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.use-list h3 {
  margin: 0;
  color: var(--steel-dark);
  font-size: 1.12rem;
}

.use-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-spec {
  background: var(--surface);
}

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

.spec-grid div {
  padding: 24px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.spec-grid h3 {
  margin: 0;
  color: var(--steel-dark);
  font-size: 1.1rem;
}

.spec-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-process {
  background: var(--steel-dark);
  color: var(--white);
}

.section-process .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-steps div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 800;
}

.process-steps h3 {
  margin: 0;
  font-size: 1.15rem;
}

.process-steps p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.section-faq {
  background: var(--panel);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.07);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--steel-dark);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.section-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 560px);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--surface-strong);
}

.contact-form-wrap,
.contact-details {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(31, 111, 156, 0.2);
  border-color: var(--blue);
}

.checkbox-label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-form .button {
  width: 100%;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.map-card,
.detail-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 35, 48, 0.9), rgba(31, 111, 156, 0.58)),
    url("assets/kontenery-hero.png") center / cover;
  text-align: center;
}

.map-card a {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.detail-block {
  padding: 24px;
}

.detail-block h3 {
  margin: 0 0 10px;
  color: var(--steel-dark);
  font-size: 1.05rem;
}

.detail-block a,
.detail-block p {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .section-intro,
  .section-uses,
  .section-contact {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .living-gallery,
  .spec-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uses-media img {
    aspect-ratio: 16 / 10;
  }
}

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

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 92vh;
    align-items: flex-end;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(17, 24, 32, 0.95) 0%, rgba(17, 24, 32, 0.74) 58%, rgba(17, 24, 32, 0.12) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 46px;
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .section {
    padding: 58px 18px;
  }

  .offer-card,
  .spec-grid div,
  .process-steps div {
    padding: 24px;
  }

  .offer-grid,
  .living-gallery,
  .spec-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
