:root {
  --cream: #f7f0e5;
  --sand: #eadcc5;
  --brown: #3a261b;
  --brown-soft: #5d3a25;
  --gold: #b87900;
  --honey: #f7b600;
  --green: #527047;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(58, 38, 27, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero {
  min-height: 92vh;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(26, 33, 25, 0.32), rgba(20, 35, 32, 0.7)),
    url("assets/hero-queso.webp") center/cover;
}

.nav {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: center;
  font-size: 0.98rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--honey);
}

.hero-content {
  width: min(980px, calc(100% - 40px));
  margin: auto;
  text-align: center;
  padding: 80px 0 130px;
}

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  margin: 12px 0 28px;
}

.hero-content > p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2.3vw, 1.75rem);
  max-width: 900px;
  margin: 0 auto 34px;
}

.button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 42px;
  border-radius: 999px;
  background: var(--honey);
  color: #23170f;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 14px 30px rgba(69, 44, 4, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #ffc928;
}

.button-light {
  background: #fff7ea;
  color: var(--brown);
}

.button-light:hover {
  background: var(--white);
}

.text-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(31, 24, 17, 0.34);
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-actions a:hover {
  transform: translateY(-2px);
  background: rgba(31, 24, 17, 0.52);
}

.section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 24px;
}

.hero {
  scroll-margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.hero-eyebrow {
  color: #ffd36a;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.14;
  letter-spacing: 0;
  margin-bottom: 26px;
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.copy p:not(.eyebrow) {
  font-size: 1.08rem;
  margin-bottom: 22px;
  color: var(--brown-soft);
}

.image-stack {
  min-height: 590px;
  position: relative;
}

.image-stack img,
.feature-image img,
.story-grid img,
.gallery-grid img,
.product-strip img {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.image-stack img {
  height: 560px;
}

.stat-card {
  position: absolute;
  left: -40px;
  bottom: -22px;
  width: min(360px, calc(100% - 24px));
  padding: 34px 40px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat-card strong,
.mini-cards strong {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card span,
.mini-cards span {
  display: block;
  color: #201915;
  font-size: 1rem;
  line-height: 1.35;
}

.origin {
  padding-top: 48px;
}

.section-title {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 58px;
}

.section-title p:not(.eyebrow) {
  color: var(--brown-soft);
  font-size: 1.13rem;
}

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

.story-grid.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.story-grid article {
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-grid img {
  height: 330px;
  border-radius: 0;
}

.story-grid div {
  padding: 28px 28px 32px;
}

.story-grid h3 {
  margin-bottom: 14px;
}

.story-grid p,
.timeline p {
  color: var(--brown-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 38px;
}

.timeline article {
  background: #fffaf2;
  border-left: 6px solid var(--honey);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.timeline span,
.card-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.timeline h3 {
  margin-bottom: 12px;
}

.living-story {
  width: 100%;
  max-width: none;
  background: #fff7ea;
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.memory-card {
  display: grid;
  grid-template-rows: minmax(360px, 48vh) auto;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.memory-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-rows: auto;
  min-height: 440px;
}

.memory-card.compact {
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 360px;
}

.memory-card img {
  min-height: 100%;
}

.memory-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.memory-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.memory-card h3 {
  margin-bottom: 18px;
}

.memory-card p {
  color: var(--brown-soft);
  font-size: 1.06rem;
}

.memory-card small {
  display: block;
  max-width: 520px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 121, 0, 0.24);
  color: #7a4a22;
  font-size: 0.98rem;
  line-height: 1.55;
}

.memory-card.warm {
  background: #3a261b;
  color: var(--white);
}

.memory-card.warm span {
  color: #ffd36a;
}

.memory-card.warm p {
  color: #f1dfc7;
}

.products {
  width: 100%;
  max-width: none;
  background: var(--sand);
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
}

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

.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card img {
  height: 330px;
  box-shadow: none;
  border-radius: 0;
}

.product-card div {
  padding: 30px 30px 36px;
}

.product-card h3 {
  margin-bottom: 16px;
}

.product-card p {
  color: var(--brown-soft);
  font-size: 1rem;
}

.product-card .card-kicker {
  color: var(--gold);
  margin-bottom: 12px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.product-strip img {
  height: 250px;
  border-radius: 18px;
}

.honey .feature-image,
.cured .feature-image {
  height: 610px;
}

.picada-kilo {
  width: 100%;
  max-width: none;
  background: #fff7ea;
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
}

.picada-kilo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.picada-kilo-main,
.picada-kilo-side {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(184, 121, 0, 0.2);
  box-shadow: var(--shadow);
}

.picada-kilo-main {
  display: grid;
  grid-template-rows: minmax(430px, 52vh) auto;
}

.picada-kilo-side {
  display: grid;
  grid-template-rows: 360px auto;
}

.picada-kilo-main img,
.picada-kilo-side img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.picada-kilo-main > div,
.picada-kilo-side > div {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: var(--white);
}

.picada-kilo-main h3,
.picada-kilo-side h3 {
  margin-bottom: 14px;
}

.picada-kilo-main p:not(.card-kicker),
.picada-kilo-side p:not(.card-kicker) {
  color: var(--brown-soft);
}

.picada-kilo-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.picada-kilo-notes span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #3a261b;
  color: #ffe5a0;
  font-size: 0.94rem;
  font-weight: 700;
}

.mini-cards,
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.mini-cards div,
.value-grid article,
.contact-card {
  background: var(--white);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.values {
  padding-top: 40px;
}

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

.value-grid article {
  min-height: 260px;
}

.value-grid span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 20px;
}

.value-grid h3 {
  margin-bottom: 16px;
}

.value-grid p {
  color: var(--brown-soft);
}

.gallery {
  width: 100%;
  max-width: none;
  background: #efe2cd;
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
}

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

.gallery-grid img {
  height: 350px;
}

.gallery-grid img.contain-photo {
  object-fit: contain;
  padding: 14px;
  background: #fff8ef;
}

.location {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-card {
  margin-top: 36px;
}

.contact-card p {
  color: #211712;
  margin-bottom: 16px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.hours-block {
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  background: #fff7ea;
  border: 1px solid rgba(184, 121, 0, 0.18);
}

.hours-block > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hours-block p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 10px;
  color: #211712;
}

.hours-block p:last-child {
  margin-bottom: 0;
}

.hours-block em {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 121, 0, 0.2);
  color: #7a4a22;
  font-size: 0.96rem;
  line-height: 1.55;
}

.hours-block span {
  color: var(--brown-soft);
}

.hours-block b {
  color: var(--brown);
  white-space: nowrap;
  text-align: left;
}

.map-embed {
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 560px;
  border-radius: 28px;
}

.map-open {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--honey);
  color: #23170f;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(35, 23, 15, 0.22);
}

.cta {
  width: min(1240px, calc(100% - 48px));
  margin: 70px auto 96px;
  padding: 70px 48px;
  background: var(--brown);
  color: var(--white);
  border-radius: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 18px;
}

.cta p {
  margin: 0 auto 34px;
  font-size: 1.18rem;
  max-width: 760px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

footer {
  background: #24150f;
  color: var(--white);
  text-align: center;
  padding: 52px 24px;
}

footer h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

footer p {
  color: #eadfd2;
}

footer a {
  color: #ffd36a;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .story-grid.four,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 0.95rem;
  }

  .split,
  .location,
  .value-grid,
  .timeline,
  .memory-grid,
  .memory-card.wide,
  .picada-kilo-grid {
    grid-template-columns: 1fr;
  }

  .memory-card.wide {
    min-height: 0;
  }

  .memory-card,
  .memory-card.wide {
    grid-template-rows: 420px auto;
  }

  .section {
    padding: 70px 0;
  }

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

  .image-stack,
  .image-stack img,
  .honey .feature-image,
  .cured .feature-image,
  .map-embed {
    min-height: 420px;
    height: 420px;
  }

  .map-embed iframe {
    height: 420px;
  }

  .stat-card {
    left: 18px;
  }
}

@media (max-width: 620px) {
  body {
    line-height: 1.58;
  }

  .nav,
  .section,
  .cta {
    width: min(100% - 32px, 1240px);
  }

  .nav {
    padding: 22px 0 0;
    align-items: center;
    gap: 18px;
  }

  .brand {
    width: 100%;
    text-align: center;
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 0.78rem;
  }

  .nav-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(31, 24, 17, 0.28);
    backdrop-filter: blur(8px);
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(rgba(26, 33, 25, 0.32), rgba(20, 35, 32, 0.7)),
      url("assets/hero-queso-720.webp") center/cover;
  }

  .hero-content {
    width: min(100% - 32px, 980px);
    padding: 56px 0 74px;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1.04;
    margin: 10px 0 20px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1.03rem;
    margin-bottom: 26px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions a {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  h2 {
    font-size: 2.05rem;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  h3 {
    font-size: 1.42rem;
  }

  .eyebrow {
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    margin-bottom: 12px;
  }

  .section {
    padding: 54px 0;
  }

  .section-title {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-title p:not(.eyebrow),
  .copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .origin {
    padding-top: 36px;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
  }

  .cta-actions {
    gap: 10px;
  }

  .products,
  .picada-kilo,
  .gallery,
  .living-story {
    padding-left: 16px;
    padding-right: 16px;
  }

  .story-grid,
  .story-grid.four,
  .product-grid,
  .picada-kilo-grid,
  .product-strip,
  .gallery-grid,
  .mini-cards,
  .memory-grid {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .story-grid.four,
  .product-grid,
  .product-strip,
  .gallery-grid,
  .timeline,
  .memory-grid,
  .mini-cards,
  .value-grid {
    gap: 18px;
  }

  .image-stack,
  .image-stack img,
  .honey .feature-image,
  .cured .feature-image,
  .map-embed {
    min-height: 340px;
    height: 340px;
  }

  .map-embed iframe {
    height: 340px;
  }

  .map-open {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    min-height: 44px;
    font-size: 0.9rem;
  }

  .image-stack img,
  .feature-image img,
  .story-grid article,
  .product-card,
  .memory-card,
  .gallery-grid img,
  .product-strip img,
  .mini-cards div,
  .value-grid article,
  .contact-card,
  .timeline article,
  .map-embed {
    border-radius: 18px;
  }

  .stat-card {
    left: 12px;
    bottom: -18px;
    padding: 22px;
    border-radius: 16px;
  }

  .stat-card strong,
  .mini-cards strong {
    font-size: 1.95rem;
  }

  .story-grid img,
  .product-card img,
  .gallery-grid img,
  .product-strip img {
    height: 235px;
  }

  .memory-card,
  .memory-card.wide {
    grid-template-rows: 255px auto;
  }

  .memory-card.compact,
  .memory-card.wide {
    min-height: 0;
  }

  .memory-card img {
    height: 255px;
    min-height: 0;
  }

  .memory-card:nth-child(2) img,
  .memory-card:nth-child(3) img {
    height: 300px;
  }

  .memory-card:nth-child(2),
  .memory-card:nth-child(3) {
    grid-template-rows: 300px auto;
  }

  .memory-card h3,
  .product-card h3,
  .story-grid h3 {
    margin-bottom: 12px;
  }

  .memory-card p,
  .product-card p,
  .story-grid p,
  .timeline p,
  .value-grid p {
    font-size: 0.96rem;
  }

  .memory-card small {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 0.91rem;
  }

  .product-card div,
  .picada-kilo-main > div,
  .picada-kilo-side > div,
  .story-grid div,
  .timeline article,
  .memory-card div,
  .mini-cards div,
  .value-grid article,
  .contact-card {
    padding: 22px;
  }

  .picada-kilo-main,
  .picada-kilo-side {
    display: block;
  }

  .picada-kilo-main img,
  .picada-kilo-side img {
    height: 250px;
    min-height: 0;
  }

  .picada-kilo-main > div,
  .picada-kilo-side > div {
    background: #fffaf2;
    border-top: 1px solid rgba(184, 121, 0, 0.16);
  }

  .picada-kilo-main h3,
  .picada-kilo-side h3 {
    font-size: 1.36rem;
    line-height: 1.18;
  }

  .picada-kilo-notes {
    gap: 10px;
    margin-top: 18px;
  }

  .picada-kilo-notes span {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

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

  .gallery-grid img {
    height: 260px;
  }

  .product-strip {
    display: none;
  }

  .honey .feature-image {
    order: 2;
  }

  .honey .copy {
    order: 1;
  }

  .contact-card {
    margin-top: 24px;
  }

  .contact-card p {
    margin-bottom: 12px;
  }

  .hours-block {
    margin: 16px 0;
    padding: 16px;
  }

  .hours-block p {
    display: block;
    margin-bottom: 12px;
  }

  .hours-block span,
  .hours-block b {
    display: block;
  }

  .hours-block b {
    margin-top: 2px;
    font-size: 1.08rem;
    text-align: left;
  }

  .hours-block em {
    font-size: 0.93rem;
  }

  .cta {
    margin: 42px auto 64px;
    padding: 46px 24px;
    border-radius: 24px;
  }

  .cta p {
    font-size: 1rem;
  }
}

@media (max-width: 390px) {
  .nav-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  .memory-card,
  .memory-card.wide,
  .memory-card:nth-child(2),
  .memory-card:nth-child(3) {
    grid-template-rows: 235px auto;
  }

  .memory-card img,
  .memory-card:nth-child(2) img,
  .memory-card:nth-child(3) img {
    height: 235px;
  }
}
