@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

* {
  margin: 0;
}

:root {
  --brand: #b70808;
  --brand-dark: #850606;
  --accent: #f59f00;
  --green: #16784b;
  --ink: #161413;
  --text: #4e4944;
  --muted: #77706a;
  --line: #e8e0d8;
  --paper: #fffdf9;
  --soft: #f6f1ea;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(42, 25, 9, 0.16);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.92) 44%, rgba(22, 20, 19, 0.22) 100%),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=80") center right / cover;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0), var(--paper));
  pointer-events: none;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 6vw, 80px);
  background: rgba(255, 253, 249, 0.82);
  border-bottom: 1px solid rgba(232, 224, 216, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.nav.is-scrolled {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 12px 30px rgba(40, 28, 18, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.nav-panel a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-panel a:hover {
  color: var(--brand);
}

.nav-panel .nav-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.nav-panel .nav-action:hover {
  color: var(--white);
  background: var(--brand);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 126px clamp(20px, 6vw, 80px) 82px;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.92;
}

.hero-lede {
  max-width: 620px;
  margin-top: 26px;
  color: var(--text);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.button.primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 14px 32px rgba(183, 8, 8, 0.22);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 48px;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 224, 216, 0.92);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.hero-metrics dd {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.visual-photo {
  position: absolute;
  inset: 56px 0 26px 62px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22, 20, 19, 0.1), rgba(22, 20, 19, 0.48)),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=900&q=80") center / cover;
  box-shadow: var(--shadow);
}

.visual-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-main {
  top: 0;
  left: 0;
  width: min(86%, 420px);
}

.visual-main img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.visual-card span,
.visual-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.visual-card strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.visual-note {
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 120, 75, 0.12);
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.02;
}

.intro p:last-child {
  color: var(--text);
  font-size: 18px;
}

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

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

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

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.product-card div {
  flex: 1;
  padding: 22px;
}

.product-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

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

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

.steps article {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.steps h3 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.15;
}

.steps p {
  margin-top: 12px;
  color: var(--text);
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 44px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 20, 19, 0.97), rgba(133, 6, 6, 0.94)),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1400&q=80") center / cover;
  border-radius: var(--radius);
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-panel p {
  max-width: 560px;
  margin-top: 18px;
  opacity: 0.78;
  font-size: 17px;
}

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

.contact-details div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.contact-details span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact iframe {
  width: 100%;
  height: 360px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius);
}

.footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer .brand {
  color: var(--white);
}

.footer .brand img {
  filter: drop-shadow(0 0 0 transparent);
}

.footer p,
.footer span {
  font-size: 14px;
}

@media (max-width: 1020px) {
  .site-header {
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.86) 58%, rgba(255, 253, 249, 0.98) 100%),
      url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1400&q=80") center / cover;
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .visual-photo {
    inset: 42px 0 18px 28px;
  }

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

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

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

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 44px rgba(42, 25, 9, 0.16);
  }

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

  .nav-panel a {
    padding: 13px 12px;
  }

  .nav-panel .nav-action {
    margin-top: 6px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(46px, 18vw, 76px);
  }

  .hero-metrics,
  .steps,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .visual-card {
    align-items: flex-start;
  }

  .visual-main {
    width: 92%;
  }

  .visual-photo {
    inset: 66px 0 22px 0;
  }

  .visual-note {
    right: 10px;
    max-width: calc(100% - 20px);
  }

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

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

  .product-card img {
    height: 210px;
  }

  .contact iframe {
    height: 300px;
  }
}
