:root {
  color-scheme: light;
  --petroleo: #004f51;
  --petroleo-800: #00383a;
  --petroleo-900: #002224;
  --petroleo-50: #f0f6f6;
  --petroleo-100: #cfe0e0;
  --brillante: #00c08b; /* Pantone 3395 C */
  --brillante-100: #ccf3e8;
  --brillante-700: #008a64;
  --morado: #612166;
  --morado-800: #451649;
  --morado-50: #f7f3f7;
  --morado-100: #dfd3e0;
  --crema: #faf8f5;
  --piedra: #f2efe9;
  --borde: #e4dfd7;
  --tierra: #4a4640;
  --carbon: #1c2424;
  --blanco: #ffffff;
  --surface: #ffffff;
  --font-display: "LEMON MILK", "Montserrat", system-ui, sans-serif;
  --font-script: "Blackbird", "Caveat", Georgia, serif;
  --font-body: "Nunito", "Source Sans 3", system-ui, -apple-system, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 3rem;
  --space-12: 4rem;
  --space-16: 5rem;
  --radius-control: 0.75rem;
  --radius-card: 1rem;
  --radius-panel: 1.5rem;
  --shadow-card: 0 4px 16px rgba(0, 79, 81, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 79, 81, 0.1);
  --ease-valle: cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle__label {
  display: inline;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--crema);
  color: var(--carbon);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

svg {
  display: block;
}

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

.icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  flex: 0 0 auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brillante);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-control);
  background: var(--petroleo);
  color: var(--blanco);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--borde);
  background: var(--surface);
}

.site-header__inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  color: var(--petroleo);
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.brand__logo--dark {
  display: none;
}

html[data-theme="dark"] .brand__logo--light {
  display: none;
}

html[data-theme="dark"] .brand__logo--dark {
  display: block;
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  border-bottom: 1px solid var(--borde);
  background: var(--surface);
  box-shadow: 0 12px 20px rgba(0, 34, 36, 0.08);
}

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

.site-nav a {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--petroleo);
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--petroleo-50);
}

.menu-toggle {
  display: flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--petroleo);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.35rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease-valle), opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.42rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.site-header__contact {
  display: none !important;
}

.theme-toggle {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  border: 1px solid var(--borde);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--petroleo);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--petroleo);
  background: var(--petroleo-50);
}

.theme-toggle__label {
  display: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  font: 800 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-valle);
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--petroleo);
  box-shadow: 0 2px 4px rgba(0, 79, 81, 0.12);
  color: var(--blanco);
}

.button--primary:hover {
  background: var(--petroleo-800);
}

.button--outline {
  border-color: var(--petroleo);
  background: transparent;
  color: var(--petroleo);
}

.button--outline:hover {
  background: var(--petroleo-50);
}

.button--accent {
  background: var(--brillante);
  color: var(--petroleo-900);
}

.button--accent:hover {
  background: #00a878;
}

.hero {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.0625rem);
  min-height: calc(100dvh - 4.0625rem);
  padding-block: 0;
  background:
    radial-gradient(ellipse at 86% 22%, rgba(0, 192, 139, 0.1), transparent 28rem),
    var(--crema);
}

.hero__layout {
  flex: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.hero__copy {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  min-width: 0;
  max-width: none;
  align-self: center;
  padding-block: 2rem;
}

.hero__copy > * {
  max-width: 42rem;
}

.hero .eyebrow {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: var(--brillante);
  color: var(--petroleo-900);
}

.hero .eyebrow__dot {
  background: var(--petroleo);
  box-shadow: 0 0 0 3px rgba(0, 79, 81, 0.14);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--petroleo);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brillante);
  box-shadow: 0 0 0 4px var(--brillante-100);
}

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

h1,
h2 {
  color: var(--petroleo);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  margin-bottom: 0.5rem;
  color: var(--blanco);
  font-size: clamp(1.25rem, 3.4vw, 2.5rem);
}

.hero h1 .hero__title-origin {
  display: block;
  white-space: nowrap;
}

.hero h1 .hero__title-destination {
  display: block;
  color: var(--brillante);
}

.hero .display-accent {
  margin-bottom: 0.5rem;
  color: var(--blanco);
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 6vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
}

.hero__description {
  max-width: 41rem;
  margin-bottom: 0.75rem;
  color: var(--blanco);
  font-size: clamp(0.95rem, 3.8vw, 1.0625rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  color: var(--blanco);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__note .icon {
  color: var(--brillante);
}

.hero .button--outline {
  border-color: var(--blanco);
  background: rgba(0, 34, 36, 0.3);
  color: var(--blanco);
}

.hero .button--outline:hover {
  background: rgba(0, 34, 36, 0.75);
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  min-height: 0;
  flex-direction: column;
  grid-area: 1 / 1;
}

.hero-art__viewport {
  position: absolute;
  inset: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.hero-art__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 650ms var(--ease-valle);
}

.hero-art__card {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1rem;
  border: 0;
  border-radius: 0;
}

.hero-art__card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 34, 36, 0.9) 0%, rgba(0, 34, 36, 0.76) 42%, rgba(0, 34, 36, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 34, 36, 0.58), transparent 58%);
  content: "";
}

.hero-art__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-valle);
}

.hero-art__card:hover .hero-art__image {
  transform: scale(1.03);
}

.hero-art__card > :not(.hero-art__image) {
  position: relative;
  z-index: 2;
}

.hero-art__card--main {
  padding: 1.25rem;
  background: var(--petroleo);
  color: var(--blanco);
}

.hero-art__card--dairy {
  background: var(--morado-50);
  color: var(--blanco);
}

.hero-art__card--harvest {
  background: var(--brillante-100);
  color: var(--blanco);
}

.hero-art__controls {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.hero-art__controls[hidden] {
  display: none;
}

.hero-art__control {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--borde);
  border-radius: 50%;
  background: var(--surface);
  color: var(--petroleo);
  cursor: pointer;
}

.hero-art__control:hover {
  border-color: var(--brillante);
  background: var(--brillante);
  color: var(--petroleo-900);
}

.hero-art__control:last-child .icon {
  transform: rotate(180deg);
}

.hero-art__counter {
  min-width: 3rem;
  color: var(--tierra);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.hero-art__badge {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  align-self: flex-end;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-art__card > div:last-child {
  max-width: 42%;
  align-self: flex-end;
  text-align: right;
}

.hero-art__badge .icon {
  width: 1rem;
  height: 1rem;
  color: var(--brillante);
}

.hero-art__illustration {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  align-self: flex-end;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: inherit;
}

.hero-art__card--main .hero-art__illustration {
  width: 8.5rem;
  height: 8.5rem;
  align-self: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brillante);
}

.icon--illustration {
  width: 2.8rem;
  height: 2.8rem;
  stroke-width: 1.4;
}

.hero-art__card--main .icon--illustration {
  width: 5rem;
  height: 5rem;
}

.hero-art__kicker {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-art__card h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(0.92rem, 1.7vw, 1.15rem);
}

.hero-art__card--main h2 {
  max-width: 12ch;
  color: var(--blanco);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.trust-strip {
  padding-block: 1rem;
  border-block: 1px solid var(--borde);
  background: var(--surface);
}

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

.trust-item {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--petroleo);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.trust-item__icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brillante-100);
  color: var(--petroleo);
}

.trust-item__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--cream {
  background: var(--crema);
}

.section--editorial {
  background: var(--crema);
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading .eyebrow::before,
.producers-panel__copy > .eyebrow::before,
.contact-panel > div:first-child > .eyebrow::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brillante);
  box-shadow: 0 0 0 3px var(--brillante-100);
  content: "";
}

.section-heading h2,
.producers-panel h2,
.contact-panel h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--tierra);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-valle);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--brillante);
  box-shadow: var(--shadow-hover);
}

.product-card:focus-within {
  border-color: var(--brillante);
}

.product-card__visual {
  position: relative;
  display: grid;
  min-height: 12rem;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
  margin: 0.65rem 0.65rem 0;
  background: var(--petroleo-50);
  color: var(--petroleo);
}

.product-card__visual--image {
  background: #fff;
}

.product-card__visual--image::after {
  display: none;
}

.product-card__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  object-fit: contain;
}

.product-card__visual::after {
  position: absolute;
  right: -1.5rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.12;
}

.product-card__visual--jar {
  background: var(--morado-50);
  color: var(--morado);
}

.product-card__visual--cheese {
  background: #f5eee5;
  color: var(--morado);
}

.product-card__visual--milk {
  background: var(--petroleo-50);
}

.pill {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.pill--purple {
  background: var(--morado);
  color: var(--blanco);
}

.icon--product {
  width: 4.25rem;
  height: 4.25rem;
  stroke-width: 1.3;
}

.product-card__body {
  display: flex;
  min-height: 12.5rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.product-card h3,
.story-card h3 {
  margin-bottom: 0.45rem;
  color: var(--petroleo);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.35;
}

.product-card__body > p {
  margin-bottom: 1rem;
  color: var(--tierra);
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--petroleo);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--morado);
  text-decoration: underline;
}

.text-link .icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 180ms var(--ease-valle);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.section-footnote {
  margin: 1.5rem 0 0;
  color: var(--tierra);
  font-size: 0.88rem;
  text-align: center;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.section--producers {
  background: var(--piedra);
}

.producers-panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--petroleo);
  box-shadow: 0 16px 40px rgba(0, 34, 36, 0.16);
}

.producers-panel__art {
  position: relative;
  display: flex;
  min-height: 14rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 192, 139, 0.22) 0 13%, transparent 13.5%),
    linear-gradient(140deg, #00383a, #004f51);
}

.producers-panel__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.producers-panel__scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 34, 36, 0.72), transparent 55%);
  pointer-events: none;
}

.producers-panel__caption {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 1rem;
  color: var(--blanco);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.producers-panel__copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--blanco);
}

.eyebrow--light {
  color: var(--brillante);
}

.producers-panel h2,
.contact-panel h2 {
  color: var(--blanco);
}

.producers-panel__copy > p:not(.eyebrow),
.contact-panel > div:first-child > p:not(.eyebrow) {
  max-width: 42rem;
  color: #e0eeee;
}

.institutional-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.institutional-tags span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(0, 192, 139, 0.5);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanco);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.story-card {
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid var(--borde);
  border-radius: var(--radius-card);
  background: var(--blanco);
  box-shadow: var(--shadow-card);
}

.story-card__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--morado-50);
  color: var(--morado);
}

.story-card:nth-child(2) .story-card__icon {
  background: var(--petroleo-50);
  color: var(--petroleo);
}

.story-card__eyebrow {
  margin-bottom: 0.35rem;
  color: var(--morado);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card > p:last-child {
  margin-bottom: 0;
  color: var(--tierra);
}

.contact-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--crema);
}

.contact-panel {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-panel);
  background: var(--petroleo);
}

.contact-panel h2 {
  max-width: 18ch;
}

.contact-panel__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.contact-panel__action > span {
  color: #e0eeee;
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 2.5rem 1rem;
  background: #025052;
  color: #fff;
}

.site-footer__main {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__logo {
  width: 5rem;
  height: 5rem;
}

.site-footer__brand > p {
  max-width: 22rem;
  margin: 1rem 0 0;
  color: #cfe0e0;
  font-size: 0.94rem;
}

.site-footer__links,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-footer h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer__links a,
.site-footer__contact a {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  color: #e0eeee;
  font-weight: 700;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: var(--brillante);
  text-decoration: underline;
}

.site-footer__contact p {
  max-width: 22rem;
  margin-bottom: 0.25rem;
  color: #cfe0e0;
}

.site-footer__contact a {
  gap: 0.5rem;
  color: var(--brillante);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(207, 224, 224, 0.25);
  color: #cfe0e0;
  font-size: 0.8rem;
}

.bottom-nav {
  position: fixed;
  z-index: 25;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.25rem 0.25rem max(0.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--borde);
  background: var(--surface);
  box-shadow: 0 -4px 18px rgba(0, 34, 36, 0.08);
}

.bottom-nav a {
  display: flex;
  min-width: 0;
  min-height: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-radius: 0.65rem;
  color: var(--petroleo);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.bottom-nav a:hover {
  background: var(--petroleo-50);
}

.bottom-nav .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.not-found {
  display: grid;
  min-height: 60vh;
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.not-found__content {
  max-width: 38rem;
}

.not-found__code {
  margin-bottom: 0.5rem;
  color: var(--morado);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
}

.not-found h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.not-found p {
  color: var(--tierra);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .container {
    width: min(100% - 4rem, 80rem);
  }

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

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

  .site-footer__main {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 64rem) {
  .site-header__inner {
    min-height: 5rem;
  }

  .site-header__contact {
    display: inline-flex !important;
    min-height: 2.8rem;
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    min-height: 2.75rem;
    padding-inline: 0.65rem;
    font-size: 0.92rem;
  }

  .hero {
    min-height: calc(100vh - 5.0625rem);
    min-height: calc(100dvh - 5.0625rem);
  }

  .hero-art__illustration {
    width: 5rem;
    height: 5rem;
  }

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

  .producers-panel {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
  }

  .producers-panel__art {
    min-height: 26rem;
  }

  .producers-panel__copy {
    align-self: center;
    padding: clamp(2rem, 5vw, 4.5rem);
  }

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

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 63.99rem) {
  .hero__copy {
    padding-block: 1.5rem 5rem;
  }

  .hero-art__card > div:last-child {
    display: none;
  }
}

@media (min-width: 64rem) {
  .site-nav a {
    position: relative;
  }

  .site-nav a::after {
    position: absolute;
    right: 0.65rem;
    bottom: 0.25rem;
    left: 0.65rem;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 3px;
    background: var(--brillante);
    content: "";
    transition: transform 180ms var(--ease-valle);
  }

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

html[data-theme="dark"] {
  color-scheme: dark;
  --crema: #002224;
  --piedra: #00383a;
  --borde: #196a6c;
  --tierra: #cfe0e0;
  --carbon: #faf8f5;
  --surface: #00383a;
  --petroleo-50: #004f51;
  --petroleo-100: #196a6c;
  --morado-50: #451649;
  --morado-100: #612166;
  --brillante-100: #006b4d;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .bottom-nav,
html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .story-card {
  background: #00383a;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2 {
  color: #faf8f5;
}

html[data-theme="dark"] .eyebrow {
  color: var(--brillante);
}

html[data-theme="dark"] .hero .eyebrow {
  color: var(--petroleo-900);
}

html[data-theme="dark"] .hero h1 .hero__title-destination {
  color: var(--brillante);
}

html[data-theme="dark"] .button--primary {
  background: var(--brillante);
  color: var(--petroleo-900);
}

html[data-theme="dark"] .button--primary:hover {
  background: #00a878;
}

html[data-theme="dark"] .display-accent,
html[data-theme="dark"] .hero-art__card--dairy {
  color: #dfd3e0;
}

html[data-theme="dark"] .hero-art__card--harvest {
  color: #faf8f5;
}

html[data-theme="dark"] .trust-item__icon {
  background: #004f51;
  color: var(--brillante);
}

html[data-theme="dark"] .trust-item {
  color: #cfe0e0;
}

html[data-theme="dark"] .product-card h3,
html[data-theme="dark"] .story-card h3,
html[data-theme="dark"] .section-heading h2 {
  color: #faf8f5;
}

html[data-theme="dark"] .story-card__icon {
  background-color: #004f51;
  color: #faf8f5;
}

html[data-theme="dark"] .product-card__visual:not(.product-card__visual--image) {
  background-color: #004f51;
}

html[data-theme="dark"] .product-card__visual--jar,
html[data-theme="dark"] .product-card__visual--cheese {
  color: #dfd3e0;
}

html[data-theme="dark"] .story-card:nth-child(2) .story-card__icon {
  color: #cfe0e0;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #196a6c;
  background: #00383a;
  color: var(--brillante);
}

html[data-theme="dark"] .button--outline {
  border-color: var(--brillante);
  color: var(--brillante);
}

html[data-theme="dark"] .button--outline:hover {
  background: #00383a;
}

html[data-theme="dark"] .text-link {
  color: var(--brillante);
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .bottom-nav a,
html[data-theme="dark"] .hero__note,
html[data-theme="dark"] .section-heading > p:last-child,
html[data-theme="dark"] .product-card__body > p,
html[data-theme="dark"] .story-card > p:last-child,
html[data-theme="dark"] .section-footnote,
html[data-theme="dark"] .hero__description {
  color: #cfe0e0;
}

@media (max-width: 63.99rem) {
  .main-content,
  main {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 24rem) {
  .container {
    width: min(100% - 1.5rem, 80rem);
  }

  .site-header__inner {
    gap: 0.4rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
  }

  .hero__actions,
  .not-found__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .not-found__actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-art__card {
    padding: 0.75rem;
    border-radius: 1rem;
  }
}

@media (max-width: 63.99rem) and (max-height: 43.75rem) {
  .hero__note {
    display: none;
  }

  .hero-art__viewport {
    min-height: 0;
  }

  .hero-art__controls {
    min-height: 2.5rem;
  }

  .hero__actions {
    gap: 0.25rem;
  }

  .hero__actions .button {
    min-height: 2.25rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.8125rem;
  }

  .hero__description {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }
}

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