:root {
  --red: #d92314;
  --red-strong: #b7180c;
  --red-soft: #fff0ee;
  --green: #2fa849;
  --green-soft: #effaf2;
  --blue: #315cf4;
  --blue-soft: #f0f4ff;
  --yellow: #ffd400;
  --yellow-soft: #fff8d6;
  --ink: #0f172a;
  --ink-soft: #26344d;
  --muted: #65758d;
  --line: #e7eaf0;
  --paper: #fff8f6;
  --surface: #ffffff;
  --dark: #101524;
  --dark-2: #171d2d;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 38px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

body.menu-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.top-strip {
  color: #ffffff;
  background: var(--red-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.top-strip p {
  margin: 0;
}

.top-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 234, 240, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(217, 35, 20, 0.12);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  color: #ffffff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 0 16px;
  box-shadow: 0 12px 24px rgba(217, 35, 20, 0.22);
}

.nav-cta:hover {
  color: #ffffff;
  background: var(--red-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle .close-icon {
  display: none;
}

.site-header.menu-open .menu-toggle .menu-icon {
  display: none;
}

.site-header.menu-open .menu-toggle .close-icon {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(217, 35, 20, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  background-size: 72px 72px, auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 246, 0.9) 52%, rgba(255, 240, 238, 0.94) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: 46px;
  align-items: center;
  padding: 46px 0 42px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--red);
  background: #fff0ee;
  border: 1px solid rgba(217, 35, 20, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

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

.hero h1 {
  margin: 20px 0 0;
  max-width: 11ch;
  color: var(--ink);
  font-size: 4.35rem;
  line-height: 0.98;
  font-weight: 950;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-lede {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
  max-width: 58ch;
}

.hero-lede strong {
  color: var(--red);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(217, 35, 20, 0.28);
}

.btn-primary:hover {
  background: var(--red-strong);
  box-shadow: 0 18px 34px rgba(217, 35, 20, 0.34);
}

.btn-secondary {
  color: var(--red);
  background: #ffffff;
  border-color: var(--red);
}

.btn-secondary:hover {
  background: var(--red-soft);
}

.btn-light {
  color: var(--red);
  background: #ffffff;
  border-color: #ffffff;
}

.btn-dark {
  color: #ffffff;
  background: rgba(16, 21, 36, 0.28);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-dark:hover {
  background: rgba(16, 21, 36, 0.42);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 900;
}

.hero-proof .icon {
  color: var(--green);
}

.hero-media {
  position: relative;
  width: min(470px, 100%);
  justify-self: end;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 26px 58px rgba(77, 18, 13, 0.18);
}

.delivery-card {
  position: absolute;
  left: -28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(270px, calc(100% - 24px));
  color: #ffffff;
  background: rgba(16, 21, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.delivery-card .icon {
  width: 28px;
  height: 28px;
  color: var(--yellow);
}

.delivery-card strong,
.delivery-card span {
  display: block;
}

.delivery-card span {
  color: #d8dee9;
  font-size: 0.9rem;
}

.benefits,
.products,
.steps,
.brand-story,
.contact {
  padding: 76px 0;
}

.benefits {
  background: #ffffff;
}

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

.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.benefit-red {
  background: linear-gradient(180deg, #ffffff 0%, var(--red-soft) 100%);
}

.benefit-green {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-soft) 100%);
}

.benefit-blue {
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-soft) 100%);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--red);
  border-radius: var(--radius);
}

.benefit-green .icon-box {
  background: var(--green);
}

.benefit-blue .icon-box {
  background: var(--blue);
}

.icon-box .icon {
  width: 26px;
  height: 26px;
}

.benefit-card h2 {
  margin: 20px 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

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

.products {
  background: #f6f7f9;
}

.section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head-center .eyebrow {
  margin-inline: auto;
}

.section-head h2,
.steps-copy h2,
.brand-copy h2,
.contact-copy h2,
.final-cta h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 2.75rem;
  line-height: 1.06;
  font-weight: 950;
}

.section-head p,
.steps-copy p,
.brand-copy p,
.contact-address,
.final-cta p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.product-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 35, 20, 0.24);
  box-shadow: var(--shadow-md);
}

.product-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

.product-icon .icon {
  width: 28px;
  height: 28px;
}

.product-icon-red {
  color: var(--red);
  background: var(--red-soft);
}

.product-icon-green {
  color: var(--green);
  background: var(--green-soft);
}

.product-icon-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.product-icon-yellow {
  color: #8b6a00;
  background: var(--yellow-soft);
}

.product-card h3 {
  margin: 24px 0 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

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

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.steps {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  background-size: 28px 28px, auto;
}

.steps .eyebrow,
.final-cta .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
}

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.steps-copy {
  position: sticky;
  top: 116px;
}

.steps-copy h2,
.final-cta h2 {
  color: #ffffff;
}

.steps-copy p,
.final-cta p {
  color: #d7dde8;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 8px;
  align-items: start;
  min-height: 132px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.step-list span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--yellow);
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.22);
  border-radius: var(--radius);
  font-size: 1.15rem;
  font-weight: 950;
}

.step-list h3 {
  grid-column: 2;
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
}

.step-list p {
  grid-column: 2;
  max-width: 48ch;
  margin: 0;
  color: #cbd4e3;
}

.brand-story {
  background: #ffffff;
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.brand-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--red-soft);
  box-shadow: var(--shadow-md);
}

.brand-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 54%;
}

.brand-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.brand-list p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.brand-list .icon {
  margin-top: 4px;
  color: var(--green);
}

.contact {
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.contact-list > article > .icon {
  width: 24px;
  height: 24px;
  color: var(--red);
  margin-top: 2px;
}

.contact-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.contact-list p,
.contact-list a {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
}

.contact-list a {
  color: var(--red);
  font-weight: 950;
}

.contact-alert {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 18px 20px;
  color: #80170f;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}

.contact-alert span {
  color: var(--red-strong);
}

.location-visual {
  position: relative;
  width: 100%;
  min-height: 350px;
  max-height: 350px;
  margin-top: 150px;
  justify-self: end;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fff0ee 100%);
  box-shadow: var(--shadow-md);
}

.location-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.42) 38%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.location-visual::after {
  content: "PoupaFarma";
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 2;
  color: var(--red);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 35, 20, 0.14);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 950;
  box-shadow: var(--shadow-sm);
}

.location-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 52% center;
}

.final-cta {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(135deg, var(--red-strong) 0%, var(--red) 100%);
  background-size: 64px 64px, auto;
  padding: 74px 0;
  text-align: center;
}

.final-cta__inner {
  max-width: 820px;
}

.final-cta__inner .eyebrow,
.final-actions {
  margin-inline: auto;
}

.final-actions {
  justify-content: center;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  color: #ffffff;
  background: #21a546;
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(33, 165, 70, 0.32);
}

.footer {
  color: #d7dde8;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.6fr) minmax(170px, 0.6fr);
  gap: 32px;
  padding: 42px 0 30px;
}

.footer img {
  width: 190px;
  height: auto;
}

.footer p {
  max-width: 44ch;
  margin: 16px 0 0;
  color: #aeb8c9;
}

.footer nav,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer nav a,
.footer-contact a,
.footer-contact span {
  color: #cbd4e3;
}

.footer nav a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact strong {
  color: #ffffff;
}

.footer-bottom {
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}

.section-reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .brand-grid,
  .contact-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: 12ch;
    font-size: 3.65rem;
  }

  .hero-media {
    justify-self: start;
    width: min(560px, 100%);
  }

  .steps-copy {
    position: static;
  }

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

  .location-visual,
  .location-visual img {
    min-height: 260px;
    max-height: 260px;
  }

  .location-visual {
    width: min(560px, 100%);
    margin-top: 0;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .top-strip__inner {
    min-height: 34px;
    justify-content: center;
    text-align: center;
  }

  .top-strip a {
    display: none;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand img {
    width: 142px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 104px;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .site-header.is-scrolled .nav {
    top: 70px;
  }

  .site-header.menu-open .nav {
    display: grid;
  }

  .nav a {
    min-height: 46px;
    padding: 0 10px;
    border-radius: var(--radius);
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.is-active {
    background: var(--red-soft);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    color: #ffffff;
  }

  .nav-cta:hover {
    background: var(--red-strong);
  }

  .hero-grid {
    gap: 34px;
    padding: 42px 0 38px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 2.9rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

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

  .hero-proof li {
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .delivery-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .benefits,
  .products,
  .steps,
  .brand-story,
  .contact {
    padding: 56px 0;
  }

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

  .section-head h2,
  .steps-copy h2,
  .brand-copy h2,
  .contact-copy h2,
  .final-cta h2 {
    font-size: 2.15rem;
  }

  .step-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
    column-gap: 16px;
  }

  .step-list span {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .contact-list article {
    padding: 16px;
  }

  .location-visual,
  .location-visual img {
    min-height: 190px;
    max-height: 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: 2.42rem;
  }

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

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.92rem;
  }
}
