*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: "Outfit", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-bright); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--wa { background: var(--wa); color: #073b1d; width: 100%; }

.kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker--light { color: rgba(255, 255, 255, 0.78); }

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 8px 0;
}

.topbar a { color: #fff; text-decoration: none; margin-left: 12px; }
.topbar a:hover { color: var(--teal-bright); }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  border-bottom-color: rgba(26, 36, 40, 0.08);
  box-shadow: 0 8px 24px rgba(26, 36, 40, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav { display: none; }
.nav__list { display: flex; gap: 4px; align-items: center; }
.nav__link {
  display: inline-block;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.nav__link:hover,
.nav__link.is-active { color: var(--teal); }

.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: relative;
}

.menu-btn__lines::before { top: -7px; }
.menu-btn__lines::after { top: 5px; }
.menu-btn.is-open .menu-btn__lines { background: transparent; }
.menu-btn.is-open .menu-btn__lines::before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open .menu-btn__lines::after { top: -2px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 18, 0.45);
  z-index: 45;
}

.drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100dvh;
  padding: 88px 22px 28px;
  background: var(--ink);
  color: #fff;
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 0.28s ease;
}

.drawer.is-open { transform: none; }
.drawer[hidden],
.nav-overlay[hidden] { display: none !important; }

.drawer__label {
  color: var(--teal-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.drawer__list { margin: 18px 0 24px; }
.drawer a {
  display: block;
  padding: 12px 0;
  color: #fff;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.drawer a[aria-current="page"] { color: var(--teal-bright); }
.drawer__cta { width: 100%; margin-top: 8px; }
.drawer__meta { margin-top: 22px; color: #9aabb1; font-size: 0.9rem; }

.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 28, 34, 0.88), rgba(31, 100, 118, 0.55)),
    var(--hero-image, none) center / cover no-repeat;
  overflow: hidden;
}

.hero__copy {
  padding: 72px 0 64px;
  max-width: 34rem;
  animation: rise 0.7s ease both;
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  max-width: 14ch;
}

.hero .lead { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__phone {
  margin-top: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--ink {
  background:
    linear-gradient(135deg, var(--ink), var(--teal-deep) 70%);
  color: #fff;
}

.section__head {
  max-width: 42rem;
  margin-bottom: 28px;
}

.section__head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section__head p { color: var(--muted); }
.section--ink .section__head p { color: rgba(255, 255, 255, 0.82); }

.intro-band {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(44, 133, 156, 0.12);
  box-shadow: 0 14px 36px rgba(26, 36, 40, 0.05);
}

.intro-band strong { color: var(--teal-deep); }

.card-grid {
  display: grid;
  gap: 16px;
}

.solution-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(26, 36, 40, 0.06);
  box-shadow: 0 10px 28px rgba(26, 36, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(26, 36, 40, 0.08);
}

.solution-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: linear-gradient(160deg, #f3f8fa, #fff);
  border-radius: 14px;
}

.solution-card h3 { font-size: 1.15rem; }
.solution-card p { color: var(--muted); font-size: 0.95rem; }

.why-grid {
  display: grid;
  gap: 14px;
}

.why-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.why-card h3 { font-size: 1.15rem; }
.why-card p { color: rgba(255, 255, 255, 0.8); }

.brand-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brand-pill {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(26, 36, 40, 0.06);
}

.brand-pill img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.testimonial-grid {
  display: grid;
  gap: 14px;
}

.testimonial {
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border-top: 4px solid var(--teal);
  box-shadow: 0 10px 28px rgba(26, 36, 40, 0.04);
}

.testimonial blockquote {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.testimonial strong { display: block; }
.testimonial span { color: var(--muted); font-size: 0.9rem; }

.page-hero {
  padding: 56px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, var(--teal-bright), transparent 40%),
    linear-gradient(135deg, var(--ink), var(--teal-deep));
}

.page-hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 48ch; }

.story-block {
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
  scroll-margin-top: 96px;
}

.story-block figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f8fa;
  border: 1px solid rgba(26, 36, 40, 0.06);
}

.story-block img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 520px);
  object-fit: contain;
  object-position: center;
  background: #f3f8fa;
}

.story-block figcaption {
  padding: 10px 14px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: 16px;
  background: var(--sand);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  color: var(--teal-deep);
}

.supply-item,
.post-item,
.project-card {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(26, 36, 40, 0.06);
  scroll-margin-top: 96px;
}

.supply-item img,
.project-card img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 480px);
  object-fit: contain;
  object-position: center;
  background: #f3f8fa;
  border-radius: 14px;
}

.faq {
  margin-top: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 36, 40, 0.08);
  overflow: hidden;
}

.faq + .faq { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary { color: var(--teal-deep); }
.faq p { padding: 0 18px 16px; color: var(--muted); }

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

.gallery-grid a {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  background: #111;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: #f3f8fa;
  transition: transform 0.25s ease;
}

.gallery-grid a:hover img { transform: scale(1.04); }

.contact-grid {
  display: grid;
  gap: 18px;
}

.contact-card,
.contact-form {
  padding: 24px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(26, 36, 40, 0.06);
}

.contact-card li + li { margin-top: 10px; }
.contact-card a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }

.contact-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(26, 36, 40, 0.14);
  font: inherit;
  background: #fff;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.form-ok {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #e8f7ef;
  color: #0d5c38;
  font-weight: 600;
}

.map-frame {
  margin-top: 18px;
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
}

.cta-band {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--ink));
  color: #fff;
}

.cta-band__inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.cta-band h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer__links a:hover { color: var(--teal-bright); }
.footer__links li + li { margin-top: 8px; }

.footer__bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #8ea0a7;
}

.wa-widget {
  position: fixed;
  bottom: var(--wa-y);
  z-index: 60;
}

.wa-widget--right { right: var(--wa-x); }
.wa-widget--left { left: var(--wa-x); }

.wa-fab {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.35);
  cursor: pointer;
}

.wa-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: min(300px, 78vw);
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.wa-panel[hidden] { display: none !important; }
.wa-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wa-panel__head button {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.wa-panel__notice {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 760px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-row { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .story-block {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
  .story-block--reverse { direction: rtl; }
  .story-block--reverse > * { direction: ltr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .supply-item,
  .project-card { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid img { height: 200px; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .cta-band__inner {
    grid-template-columns: 1fr auto;
  }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .menu-btn,
  .drawer,
  .nav-overlay { display: none !important; }

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

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-row { grid-template-columns: repeat(5, 1fr); }
}
