:root {
  --ink: #23302f;
  --muted-ink: #62706e;
  --line: #dbe5e2;
  --paper: #ffffff;
  --mist: #eef7f4;
  --teal: #0f9da8;
  --teal-dark: #08747c;
  --coral: #e86f4d;
  --wood: #c79b62;
  --charcoal: #2f3836;
  --shadow: 0 18px 50px rgba(35, 48, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
  background: var(--mist);
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.header-call,
.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(232, 111, 77, 0.24);
}

.button.secondary {
  color: #fff;
  background: var(--teal-dark);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button.soft {
  color: var(--teal-dark);
  background: var(--mist);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 74vh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 86px) clamp(96px, 12vw, 150px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 42, 41, 0.86), rgba(13, 42, 41, 0.52) 38%, rgba(13, 42, 41, 0.08) 72%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(0deg, var(--paper), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #ffd7c9;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-facts {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 6vw, 86px);
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span {
  min-width: 124px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(15, 157, 168, 0.88);
  border-radius: 8px;
}

.hero-facts strong {
  display: block;
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2,
.page-hero h1,
.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-band {
  background: linear-gradient(180deg, #fff, var(--mist));
}

.service-grid,
.product-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.product-card,
.project-card,
.content-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 48, 47, 0.07);
}

.service-card {
  min-height: 270px;
  padding: 24px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--teal);
  border-radius: 8px;
}

.service-card h2,
.service-card h3,
.product-card h2,
.product-card h3,
.project-card h2,
.project-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.18;
}

.service-card p,
.product-card p,
.project-card p,
.split-section p,
.content-panel p {
  color: var(--muted-ink);
}

.service-card a,
.product-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background:
    linear-gradient(180deg, #fff 0%, #fff 55%, var(--mist) 55%, var(--mist) 100%);
}

.about-copy {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted-ink);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.product-strip article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.product-strip span,
.product-card span,
.project-card span {
  display: block;
  color: var(--wood);
  font-size: 13px;
  font-weight: 900;
}

.product-strip h3 {
  margin: 4px 14px 16px;
  font-size: 17px;
  line-height: 1.2;
}

.product-strip span {
  margin: 14px 14px 0;
}

.muted {
  background: #f7faf9;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.project-card {
  overflow: hidden;
}

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

.product-card div,
.project-card div {
  padding: 20px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 86px);
  color: #fff;
  background: var(--charcoal);
}

.cta-band .eyebrow {
  color: #f7c49b;
}

.page-hero {
  padding: clamp(66px, 9vw, 110px) clamp(20px, 6vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(35, 48, 47, 0.92), rgba(35, 48, 47, 0.70)),
    url('../img/hero-duse-kabin.png') center / cover no-repeat;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.narrow {
  max-width: 980px;
  margin: 0 auto;
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
}

.product-detail > img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
  border-radius: 8px;
}

.product-detail strong {
  display: block;
  margin: 18px 0;
  color: var(--teal-dark);
}

.values-list {
  display: grid;
  gap: 12px;
}

.values-list article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 48, 47, 0.07);
}

.values-list strong,
.values-list span {
  display: block;
}

.values-list span {
  margin-top: 5px;
  color: var(--muted-ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel article,
.contact-form,
.map-panel {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel span {
  display: block;
  color: var(--wood);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-frame,
.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 6px;
}

.map-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  color: var(--muted-ink);
  background: var(--mist);
  text-align: center;
}

.map-placeholder strong {
  color: var(--ink);
}

.map-open-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 48, 47, 0.18);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.notice {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.notice.success {
  color: #186441;
  background: #e9f9f0;
  border: 1px solid #a7e5c0;
}

.notice.error {
  color: #9a3119;
  background: #fff0eb;
  border: 1px solid #f3b9a7;
}

.site-footer {
  padding: 44px clamp(20px, 6vw, 86px) 22px;
  color: #fff;
  background: #25302f;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}

.footer-grid span {
  display: block;
  color: #f7c49b;
  font-size: 13px;
  font-weight: 900;
}

.footer-grid a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

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

  .header-call {
    display: none;
  }

  .hero {
    min-height: 650px;
    background:
      linear-gradient(180deg, rgba(13, 42, 41, 0.86), rgba(13, 42, 41, 0.42)),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-facts {
    left: 20px;
    right: 20px;
  }

  .split-section,
  .about-section,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    font-size: 15px;
  }

  .hero {
    min-height: 620px;
    padding: 64px 18px 150px;
  }

  .hero-actions,
  .about-actions,
  .cta-band,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts span {
    min-width: 0;
    padding: 10px;
    font-size: 13px;
  }

  .section,
  .page-hero,
  .cta-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-grid,
  .product-grid,
  .product-strip {
    grid-template-columns: 1fr;
  }
}
