:root {
  color-scheme: light;
  --orange: #df720b;
  --orange-dark: #b95706;
  --ink: #2b211b;
  --muted: #705f53;
  --cream: #fbf4ea;
  --sand: #efe1cf;
  --paper: #fffaf3;
  --white: #ffffff;
  --green: #3f7d54;
  --line: rgba(43, 33, 27, 0.14);
  --shadow: 0 20px 60px rgba(79, 45, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(223, 114, 11, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--paper), #fff6eb 42%, var(--paper));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 850;
}

.brand-mark {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange), 0 8px 24px rgba(223, 114, 11, 0.24);
  animation: logoPulse 5.5s ease-in-out infinite;
}

.brand-mark img {
  width: 58px;
  max-width: 58px;
  height: 58px;
  object-fit: cover;
}

.brand-logo {
  width: 58px !important;
  max-width: 58px !important;
  height: 58px !important;
  object-fit: cover;
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav a:hover {
  color: var(--orange-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  min-height: calc(100vh - 86px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(34px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.hero::before {
  position: absolute;
  right: -9vw;
  bottom: -16vw;
  width: min(62vw, 760px);
  height: min(62vw, 760px);
  content: "";
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

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

.eyebrow,
.section-kicker,
.mini-label {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 9.2vw, 9.2rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-text,
.section-copy p,
.story-card p,
.contact p,
.product-card p,
.benefit-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

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

.button,
.contact-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
}

.button.primary,
.primary-link {
  color: var(--white);
  background: var(--orange);
}

.button.secondary {
  color: var(--orange-dark);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  max-width: 460px;
  justify-self: center;
  width: 100%;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(251, 244, 234, 0.16), rgba(251, 244, 234, 0.86)),
    url("./assets/chiki-brand.jpg") center 15% / 118% auto no-repeat,
    linear-gradient(145deg, var(--sand), var(--cream));
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: auto -42px -54px auto;
  width: 260px;
  height: 260px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.22;
  z-index: -1;
  animation: slowFloat 8s ease-in-out infinite;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0), rgba(255, 250, 243, 0.9) 70%),
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.1), rgba(255, 250, 243, 0.72) 62%);
  z-index: -1;
}

.hero-product {
  align-self: end;
  width: min(78%, 330px);
  aspect-ratio: 1 / 1;
  margin: 88px auto 120px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0), rgba(255, 250, 243, 0.36)),
    url("./assets/arena-yuca-tofu.jpg") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(79, 45, 17, 0.16);
  animation: productLift 7s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange);
  z-index: 2;
}

.hero-badge img {
  width: 88px;
  max-width: 88px;
  height: 88px;
  object-fit: cover;
}

.badge-logo {
  width: 88px !important;
  max-width: 88px !important;
  height: 88px !important;
  object-fit: cover;
  border-radius: 50%;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  max-width: 360px;
  margin: 0 auto;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  z-index: 2;
}

.cat-signature {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  width: min(42%, 170px);
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 850;
  z-index: 2;
}

.cat-signature img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-note strong {
  color: var(--orange-dark);
  font-size: 1.12rem;
}

.hero-note span {
  color: var(--muted);
  line-height: 1.45;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.brand-strip span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--orange-dark);
  font-weight: 850;
  text-align: center;
}

.section {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: var(--white);
}

.section-copy {
  position: sticky;
  top: 118px;
}

.product-showcase {
  display: grid;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card.featured {
  background:
    linear-gradient(90deg, rgba(251, 244, 234, 0.88), rgba(251, 244, 234, 1)),
    url("./assets/chiki-brand.jpg") right center / auto 112% no-repeat;
}

.product-card img {
  width: 100%;
  max-width: 280px;
  justify-self: center;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.benefits {
  background: var(--cream);
}

.cat-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  min-height: 520px;
  overflow: hidden;
  background: var(--orange);
}

.cat-band-image {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(223, 114, 11, 0.08), rgba(223, 114, 11, 0.82)),
    url("./assets/chiki-brand.jpg") center / cover no-repeat;
}

.cat-band-copy {
  display: grid;
  align-content: center;
  max-width: 760px;
  padding: clamp(46px, 7vw, 92px) clamp(26px, 6vw, 80px);
  color: var(--white);
}

.section-logo {
  width: min(220px, 44vw);
  margin-bottom: 26px;
  opacity: 0.92;
}

.cat-band-copy .section-kicker,
.cat-band-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.cat-band-copy p {
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

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

.benefit-grid article {
  min-height: 280px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-grid span {
  display: inline-flex;
  margin-bottom: 50px;
  color: var(--orange);
  font-weight: 900;
}

.story {
  position: relative;
  overflow: hidden;
  background: var(--orange);
}

.story::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("./assets/logo-stacked-cream.png") right -7vw center / min(46vw, 620px) auto no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.story-card {
  position: relative;
  max-width: 980px;
  color: var(--white);
  z-index: 1;
}

.story-logo {
  width: min(340px, 58vw);
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.story-card .section-kicker,
.story-card p {
  color: rgba(255, 255, 255, 0.86);
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes slowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-14px, -18px, 0);
  }
}

@keyframes productLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.5fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-link {
  background: var(--white);
  color: var(--orange-dark);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero,
  .product,
  .cat-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

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

  .cat-band-image {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .brand-strip,
  .benefit-grid,
  .product-card {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-link {
    width: 100%;
  }

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

  .hero-note,
  .cat-signature {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-top: 10px;
  }

  .hero-product {
    width: min(88%, 300px);
    margin: 104px auto 16px;
  }
}
