:root {
  --ink: #121417;
  --muted: #646b73;
  --line: #dde3e8;
  --paper: #f6f8f9;
  --white: #ffffff;
  --brand: #0d6b58;
  --brand-dark: #084b3d;
  --accent: #d7aa55;
  --shadow: 0 24px 70px rgba(13, 30, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  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;
  min-height: 76px;
  padding: 18px clamp(18px, 5vw, 70px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 66px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(12, 23, 28, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-width: 150px;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  transition:
    max-height 180ms ease,
    filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  max-height: 50px;
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 22, 0.74), rgba(5, 18, 22, 0.22) 56%, rgba(5, 18, 22, 0.08)),
    linear-gradient(0deg, rgba(5, 18, 22, 0.34), rgba(5, 18, 22, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, calc(100% - 36px));
  min-height: 92vh;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

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

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

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

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

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

.button.whatsapp {
  color: var(--brand-dark);
  border-color: rgba(13, 107, 88, 0.18);
  background: #dff4eb;
}

.product-strip {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: -70px auto 0;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-strip article {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.product-strip article:last-child {
  border-right: 0;
}

.icon {
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--brand);
  border: 1px solid rgba(13, 107, 88, 0.22);
}

.icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-strip h2,
.product-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.product-strip p,
.product-card p,
.about p,
footer {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 110px auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 46px rgba(13, 30, 36, 0.08);
}

.product-card img {
  height: 320px;
  object-fit: cover;
}

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

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

.gallery img {
  height: 430px;
  object-fit: cover;
  background: var(--line);
}

.about {
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: 110px auto 0;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: 70px clamp(24px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(rgba(8, 75, 61, 0.88), rgba(8, 75, 61, 0.88)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1400&q=82") center/cover;
}

.about p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.contact {
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: 110px auto 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: clamp(28px, 5vw, 56px);
}

.phone {
  display: inline-block;
  margin-top: 22px;
  color: var(--brand-dark);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.address {
  margin: 22px 0;
  color: var(--muted);
  font-weight: 700;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbfcfc;
  font: inherit;
}

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

.hidden-field {
  display: none;
}

.file-field {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(13, 107, 88, 0.35);
  padding: 15px 16px;
  color: var(--muted);
  background: #fbfcfc;
  font-weight: 700;
}

.file-field input {
  border: 0;
  padding: 0;
  background: transparent;
}

.map-wrap {
  min-height: 620px;
  background: var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  display: flex;
  width: min(1120px, calc(100% - 36px));
  margin: 34px auto;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

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

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .product-strip,
  .product-grid,
  .gallery,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-strip article:last-child {
    border-bottom: 0;
  }

  .about {
    padding-block: 54px;
  }

  .map-wrap {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: 148px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    justify-content: end;
    padding-bottom: 130px;
  }

  h1 {
    font-size: 58px;
  }

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

  .product-strip {
    margin-top: -80px;
  }

  .section,
  .about,
  .contact {
    margin-top: 78px;
  }

  .section-heading {
    display: block;
  }

  .product-card img,
  .gallery img {
    height: 260px;
  }

  footer {
    flex-direction: column;
  }
}
