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

:root {
  --bg: #f3ecde;
  --bg-soft: #fbf7ef;
  --card: rgba(255, 250, 243, 0.88);
  --card-strong: #fff9f0;
  --card-elevated: rgba(255, 252, 247, 0.96);
  --ink: #2f1d14;
  --ink-soft: #675244;
  --line: rgba(63, 39, 22, 0.12);
  --line-strong: rgba(96, 63, 38, 0.16);
  --coffee: #7b4b2a;
  --coffee-dark: #2b1a12;
  --leaf: #52643a;
  --accent: #d39a54;
  --accent-soft: rgba(211, 154, 84, 0.22);
  --white: #fffdf9;
  --shadow: 0 24px 60px rgba(41, 24, 16, 0.14);
  --shadow-soft: 0 18px 45px rgba(52, 30, 19, 0.12);
  --shadow-strong: 0 32px 90px rgba(39, 24, 16, 0.18);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1160px, calc(100vw - 2rem));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Urbanist", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 154, 84, 0.2), transparent 30%),
    radial-gradient(circle at right 20%, rgba(82, 100, 58, 0.18), transparent 26%),
    linear-gradient(180deg, #f6efe5 0%, #f2ebdf 30%, #f8f3eb 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
a,
input,
textarea {
  font: inherit;
}

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

.topbar {
  padding: 0.75rem 1rem;
  background: var(--coffee-dark);
  color: rgba(255, 248, 240, 0.9);
  text-align: center;
  font-size: 0.92rem;
}

.topbar p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(246, 239, 229, 0.76);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(61, 39, 23, 0.06);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

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

.brand img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(61, 35, 20, 0.18);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--coffee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 250, 243, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--coffee-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #82512d, #bb7b3f);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(110, 63, 29, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 24px 50px rgba(110, 63, 29, 0.25);
  filter: saturate(1.03);
}

.button--ghost,
.button--ghost-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(63, 39, 22, 0.16);
  box-shadow: none;
}

.button--ghost-light {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.28);
}

.button--light {
  background: var(--white);
  color: var(--coffee-dark);
}

.button--small {
  min-height: 2.9rem;
  padding-inline: 1.1rem;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5.2rem 0 4.6rem;
}

.hero__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(243, 236, 222, 0.86), rgba(243, 236, 222, 0.4)),
    url("assets/images/origen-cafetal.jpg") center/cover no-repeat;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.8rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--leaf);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.section-heading h2,
.wholesale__content h2,
.origin__content h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero__chips span,
.feature-list li,
.product-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.8);
  border: 1px solid rgba(82, 100, 58, 0.1);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stats article,
.benefit-card,
.process-card,
.social-card,
.faq-item,
.proof-strip article {
  background: var(--card);
  border: 1px solid rgba(63, 39, 22, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero__stats article:hover,
.benefit-card:hover,
.process-card:hover,
.social-card:hover,
.proof-strip article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(96, 63, 38, 0.14);
}

.hero__stats article {
  padding: 1.1rem 1rem;
  border-radius: 1.35rem;
}

.hero__stats strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.hero__stats span {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.hero__visual {
  position: relative;
  min-height: 43rem;
  perspective: 1200px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(72, 43, 24, 0.08);
  box-shadow: 0 28px 80px rgba(44, 25, 16, 0.18);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-card--main {
  inset: 1.2rem 8.4rem 4.2rem 0;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  background:
    radial-gradient(circle at top, rgba(211, 154, 84, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(245, 236, 224, 0.96));
}

.hero-card__product {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 2.4rem 1.2rem 1.6rem;
  filter: drop-shadow(0 18px 22px rgba(67, 41, 22, 0.16));
}

.hero-card__details {
  padding: 2.4rem 2.5rem 2.2rem 0.5rem;
}

.hero-card__details h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.hero-card__details ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-card__details li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.hero-card__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card--photo {
  top: 1.35rem;
  right: 0.5rem;
  width: 9.8rem;
  aspect-ratio: 0.8;
  transform: rotate(1.8deg);
}

.hero-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--badge {
  right: 1rem;
  bottom: 0;
  width: 14rem;
  padding: 1.35rem;
  background: var(--coffee-dark);
  color: rgba(255, 250, 243, 0.92);
  box-shadow: 0 22px 48px rgba(34, 18, 12, 0.28);
}

.hero__visual:hover .hero-card--main {
  transform: translate3d(0, -4px, 0);
}

.hero__visual:hover .hero-card--photo {
  transform: translate3d(0, -6px, 0) rotate(1deg);
}

.hero__visual:hover .hero-card--badge {
  transform: translate3d(0, -3px, 0);
}

.hero-card--badge p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 250, 243, 0.72);
}

.hero-card--badge strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.25;
}

.proof-strip {
  padding-bottom: 2.2rem;
}

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

.proof-strip article {
  padding: 1.35rem;
  border-radius: 1.35rem;
}

.proof-strip span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--coffee);
  font-weight: 800;
}

.proof-strip p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.section-heading > p:last-child {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.benefits-grid,
.products-grid,
.process-grid,
.social-grid {
  display: grid;
  gap: 1.35rem;
}

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

.benefit-card {
  padding: 1.7rem;
  border-radius: 1.4rem;
}

.benefit-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(82, 100, 58, 0.12);
  color: var(--leaf);
  font-weight: 800;
}

.benefit-card h3,
.process-card h3,
.product-card h3,
.social-card__caption strong,
.social-card__quote strong,
.footer-grid h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.3rem;
}

.benefit-card p,
.process-card p,
.product-card p,
.social-card p,
.footer-copy,
.footer-grid li,
.origin__content p,
.wholesale__content p,
.cta-panel p {
  margin: 0;
  color: var(--ink-soft);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 239, 228, 0.92));
  border: 1px solid rgba(63, 39, 22, 0.07);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card--recommended {
  border-color: rgba(211, 154, 84, 0.3);
}

.product-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--coffee-dark);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(43, 26, 18, 0.18);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 12rem;
  min-height: 0;
  overflow: hidden;
  padding: 1rem 1.25rem 0.35rem;
}

.product-card__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 70%;
  background:
    radial-gradient(circle at top, rgba(211, 154, 84, 0.24), transparent 40%),
    linear-gradient(180deg, #fff9ef, rgba(247, 239, 228, 0.72));
}

.product-card__media img {
  position: absolute;
  z-index: 1;
  inset: 0.8rem 1.25rem 0.45rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 1.25rem);
  object-fit: contain;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.78rem;
  padding: 1rem 1.15rem 1.2rem;
}

.product-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(82, 100, 58, 0.11);
  color: var(--leaf);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--coffee-dark);
  white-space: nowrap;
}

.product-card__deal {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  min-width: 7.6rem;
  padding: 0.62rem 0.7rem;
  border-radius: 1rem;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(211, 154, 84, 0.22);
}

.product-card__deal span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: line-through;
}

.product-card__deal strong {
  color: var(--coffee-dark);
  font-size: 1.05rem;
  line-height: 1.05;
  white-space: nowrap;
}

.product-card__deal small {
  color: var(--leaf);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.product-card__description {
  min-height: 4.6rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-card .button {
  width: 100%;
  margin-top: auto;
}

.product-card__actions {
  display: grid;
  gap: 0.7rem;
  margin-top: auto;
}

.product-card__actions a {
  justify-self: center;
  color: var(--coffee);
  font-weight: 800;
  font-size: 0.92rem;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(96, 63, 38, 0.14);
}

.product-card:hover .product-card__media img {
  position: absolute;
  z-index: 1;
  inset: 0.8rem 1.25rem 0.45rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 1.25rem);
  object-fit: contain;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.section--dark {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at top left, rgba(211, 154, 84, 0.18), transparent 30%),
    linear-gradient(135deg, #24150f, #2f1c13 46%, #4f331f 100%);
  color: var(--white);
}

.wholesale {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.wholesale__image {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 248, 240, 0.12);
}

.wholesale__content h2 {
  font-size: clamp(2.3rem, 4vw, 4.1rem);
}

.wholesale__content p,
.wholesale__content .eyebrow {
  color: rgba(255, 248, 240, 0.86);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  list-style: none;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 243, 0.92);
}

.origin {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.origin__media img {
  border-radius: var(--radius);
  min-height: 36rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.origin__content h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.origin__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.origin__facts article {
  padding: 1.15rem;
  border-radius: 1.25rem;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid rgba(63, 39, 22, 0.08);
}

.origin__facts strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--coffee);
}

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

.process-card {
  overflow: hidden;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(246, 237, 225, 0.94));
}

.process-card img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.process-card div {
  padding: 1.5rem;
}

.process-card span {
  display: inline-block;
  color: var(--coffee);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.process-story {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.process-story__person {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.88), rgba(246, 236, 222, 0.92));
  border: 1px solid rgba(63, 39, 22, 0.08);
  box-shadow: var(--shadow);
}

.process-story__person img {
  width: 100%;
  border-radius: 1.3rem;
  aspect-ratio: 0.88;
  object-fit: cover;
}

.process-story__copy {
  display: grid;
  gap: 0.8rem;
}

.process-story__copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.process-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.process-video {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid rgba(63, 39, 22, 0.08);
  box-shadow: var(--shadow);
}

.process-video video {
  width: 100%;
  border-radius: 1.2rem;
  background: #000;
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.social-card {
  overflow: hidden;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
}

.social-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.social-card--feature {
  grid-column: span 2;
}

.social-card--feature img {
  aspect-ratio: 1.28;
}

.social-card--wide {
  grid-column: span 2;
}

.social-card--wide img {
  aspect-ratio: 1.55;
}

.social-card__caption,
.social-card__quote {
  padding: 1.35rem;
}

.process-card:hover img,
.social-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.03);
}

.social-card__quote strong,
.social-card__caption strong {
  display: block;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border-radius: 1.35rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 1.3rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.faq-question span:last-child {
  font-size: 1.6rem;
  color: var(--coffee);
  transition: transform 0.25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.3rem 0;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1.2rem;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.section--cta {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background:
    linear-gradient(135deg, rgba(43, 26, 18, 0.96), rgba(76, 48, 28, 0.92)),
    url("assets/images/flor-cafe.jpg") center/cover no-repeat;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel p,
.cta-panel .eyebrow {
  color: rgba(255, 248, 240, 0.88);
}

.cta-panel h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.site-footer {
  padding: 4rem 0 0;
  background: #22140f;
  color: rgba(255, 248, 240, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  gap: 2rem;
}

.brand--footer strong,
.footer-grid h3 {
  color: var(--white);
}

.brand--footer small,
.footer-copy,
.footer-grid a {
  color: rgba(255, 248, 240, 0.72);
}

.footer-grid ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 0.45rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: var(--accent);
}

.footer-contact-link:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 248, 240, 0.12);
  text-align: center;
  color: rgba(255, 248, 240, 0.62);
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  min-height: 3.35rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 22px 46px rgba(31, 168, 85, 0.28);
}

.floating-cart {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 26;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 999px;
  background: var(--coffee-dark);
  color: var(--white);
  box-shadow: 0 20px 45px rgba(35, 22, 15, 0.28);
  cursor: pointer;
}

.floating-cart span {
  font-weight: 800;
}

.floating-cart strong {
  display: grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--coffee-dark);
  font-size: 0.86rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 20, 14, 0.42);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(31rem, calc(100vw - 1rem));
  height: 100dvh;
  background:
    radial-gradient(circle at top, rgba(211, 154, 84, 0.16), transparent 32%),
    linear-gradient(180deg, #fffaf3, #f5ebdf);
  border-left: 1px solid rgba(63, 39, 22, 0.12);
  box-shadow: -28px 0 80px rgba(41, 24, 16, 0.24);
  transform: translateX(105%);
  transition: transform 0.32s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: 1.25rem;
}

.cart-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(63, 39, 22, 0.1);
}

.cart-drawer__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.cart-drawer__close,
.cart-item__top button,
.quantity-control button {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(63, 39, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.7);
  color: var(--coffee-dark);
  cursor: pointer;
}

.cart-drawer__close {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
}

.cart-drawer__body {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(63, 39, 22, 0.08);
}

.cart-empty strong {
  display: block;
  margin-bottom: 0.3rem;
}

.cart-empty p,
.cart-summary p,
.cart-item span {
  margin: 0;
  color: var(--ink-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 1.2rem;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(63, 39, 22, 0.08);
}

.cart-item img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  border-radius: 0.9rem;
  background: rgba(246, 238, 228, 0.8);
}

.cart-item__content {
  display: grid;
  gap: 0.75rem;
}

.cart-item__top,
.cart-item__bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-item__top button {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
}

.cart-item__bottom {
  align-items: center;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(63, 39, 22, 0.06);
}

.quantity-control button {
  width: 1.8rem;
  height: 1.8rem;
}

.quantity-control span {
  min-width: 1.4rem;
  color: var(--coffee-dark);
  font-weight: 800;
  text-align: center;
}

.cart-drawer__footer {
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(63, 39, 22, 0.1);
}

.cart-summary {
  display: grid;
  gap: 0.65rem;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-summary span {
  color: var(--ink-soft);
  font-weight: 700;
}

.cart-summary strong {
  color: var(--coffee-dark);
  font-size: 1.35rem;
}

.cart-actions {
  display: grid;
  gap: 0.7rem;
}

.cart-actions .button {
  width: 100%;
}

.button.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

body.cart-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .hero__grid,
  .wholesale,
  .origin,
  .process-story__person,
  .process-video,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 36rem;
  }

  .benefits-grid,
  .products-grid,
  .process-grid,
  .social-grid,
  .process-videos,
  .proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-card--feature,
  .social-card--wide {
    grid-column: span 2;
  }

  .hero-card--main {
    inset: 1rem 6.4rem 3rem 0;
  }

  .cta-panel__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1.35rem;
    background: rgba(255, 250, 243, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero__stats,
  .origin__facts,
  .benefits-grid,
  .products-grid,
  .process-grid,
  .process-videos,
  .social-grid,
  .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .wholesale__content h2,
  .origin__content h2,
  .cta-panel h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero__visual {
    min-height: auto;
    perspective: none;
  }

  .hero-card,
  .hero-card--main,
  .hero-card--photo,
  .hero-card--badge {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    width: auto;
  }

  .hero__visual {
    display: grid;
    gap: 1rem;
  }

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

  .hero-card__details {
    padding: 0 1.4rem 1.5rem;
  }

  .social-card--feature,
  .social-card--wide {
    grid-column: auto;
  }

  .header-shell {
    position: relative;
  }
}

@media (max-width: 540px) {
  .topbar {
    font-size: 0.82rem;
  }

  .hero__actions,
  .cta-panel__actions {
    flex-direction: column;
  }

  .button,
  .button--small {
    width: 100%;
  }

  .floating-whatsapp,
  .floating-cart {
    width: auto;
    min-height: 2.85rem;
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
  }

  .floating-whatsapp {
    right: 0.75rem;
    left: auto;
    bottom: 0.75rem;
    text-align: center;
  }

  .floating-cart {
    right: 0.75rem;
    left: auto;
    bottom: 4rem;
    justify-content: center;
  }

  .cart-drawer {
    width: 100%;
  }

  .section {
    padding: 4.3rem 0;
  }

  .process-video,
  .cta-panel,
  .wholesale__image {
    padding: 1rem;
  }
}



