:root {
  --ink: #1d1715;
  --muted: #695d58;
  --paper: #fff8f4;
  --cream: #f5eadf;
  --red: #9f1d26;
  --red-dark: #641118;
  --gold: #d6a84b;
  --line: #ead6c6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(255, 248, 244, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.brand-image {
  display: block;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px;
  max-height: 44px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 70px);
}

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

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 46px rgba(100, 17, 24, 0.1);
}

.hero-logo img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
}

.hero-logo-text {
  color: var(--red-dark);
  font-size: 22px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

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

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  margin: 22px 0 0;
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  color: #fff;
  background: var(--red);
}

.secondary {
  color: var(--red-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-media {
  min-height: min(620px, 70vh);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 17, 24, 0.78), rgba(159, 29, 38, 0.42)),
    url("https://images.unsplash.com/photo-1602470520998-f4a52199a3d6?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: 0 28px 80px rgba(100, 17, 24, 0.24);
  position: relative;
  overflow: hidden;
}

.counter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.counter span {
  border-radius: 8px;
  background: rgba(255, 248, 244, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.counter span:nth-child(1)::before,
.counter span:nth-child(2)::before,
.counter span:nth-child(3)::before {
  display: block;
  padding: 18px 16px 4px;
  color: var(--red-dark);
  font-weight: 900;
  font-size: 18px;
}

.counter span:nth-child(1)::before {
  content: "Cerdo";
}

.counter span:nth-child(2)::before {
  content: "Congelados";
}

.counter span:nth-child(3)::before {
  content: "Pedidos";
}

.band,
.details,
.location {
  padding: clamp(42px, 6vw, 82px) clamp(16px, 5vw, 70px);
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.product-grid article {
  min-height: 310px;
  padding: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(100, 17, 24, 0.08);
}

.product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-grid h3,
.product-grid p {
  padding-inline: 22px;
}

.product-grid h3 {
  margin-top: 18px;
}

.product-grid p,
.details p,
.location p {
  color: var(--muted);
  line-height: 1.55;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(42px, 6vw, 82px) clamp(16px, 5vw, 70px);
  background: var(--cream);
}

.showcase-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.photo-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 190px 190px;
  gap: 12px;
}

.photo-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(100, 17, 24, 0.12);
  box-shadow: 0 16px 38px rgba(31, 23, 21, 0.12);
}

.photo-wall .wide {
  grid-row: 1 / 3;
}

.photo-wall .logo-feature {
  object-fit: contain;
  background: #fff;
  padding: 18px;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: 170px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

dt,
dd {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--red-dark);
  font-weight: 800;
  background: var(--cream);
}

dd {
  font-weight: 700;
}

dt:last-of-type,
dd:last-of-type {
  border-bottom: 0;
}

.location {
  background: var(--red-dark);
  color: #fff;
}

.location .eyebrow,
.location p {
  color: #f9d6d9;
}

.location p {
  max-width: 820px;
  font-size: 18px;
}

footer {
  padding: 24px clamp(16px, 5vw, 70px);
  background: #1f1715;
  color: #f7e8df;
}

footer p {
  margin: 5px 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    padding: 10px 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-image {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px;
    max-height: 40px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px 16px 34px;
  }

  .hero-media {
    min-height: 340px;
    order: 2;
  }

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

  .photo-wall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 170px;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dt {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .photo-wall {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 190px);
  }

  .photo-wall .wide {
    grid-row: auto;
  }
}
