@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/league-spartan-latin.woff2") format("woff2");
}

:root {
  --burgundy: #681f2a;
  --burgundy-deep: #43131b;
  --burgundy-soft: #8e3945;
  --gold: #e7a728;
  --gold-soft: #f3cf77;
  --cream: #f5e9d2;
  --cream-light: #fffaf2;
  --peach: #fee0ba;
  --ink: #302622;
  --muted: #74645c;
  --line: rgba(74, 40, 31, 0.16);
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 24px 70px rgba(67, 19, 27, 0.12);
  --display: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --body: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --type-small: 16px;
  --type-normal: 21px;
  --type-large: 84px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-light);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.006em;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.005em;
}

b,
strong {
  font-weight: 700;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2.55rem, 5.3vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 1.25rem;
}

.shell {
  width: min(76rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.service-bar {
  position: relative;
  z-index: 80;
  background: var(--burgundy-deep);
  color: #fff5e7;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.service-bar__inner {
  min-height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-bar__detail {
  color: #ecd7ca;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(104, 31, 42, 0.1);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 5.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--burgundy);
}

.brand img {
  width: 7.25rem;
  height: auto;
  max-height: 4.25rem;
  object-fit: contain;
}

.brand span {
  border-left: 1px solid var(--line);
  padding-left: 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav a {
  position: relative;
  padding: 0.6rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.012em;
  transition: 180ms ease;
}

.header-cta:hover {
  background: var(--burgundy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--burgundy);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 0.25rem 0;
  background: currentColor;
  transition: 180ms ease;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--burgundy);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream-light);
}

.hero-grid {
  position: relative;
  min-height: min(49rem, calc(100vh - 8.45rem));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  align-content: center;
  align-items: start;
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: 0;
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.hero-copy {
  display: contents;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-lead,
.hero-copy > .hero-actions,
.hero-copy > .hero-note {
  grid-column: 1;
  position: relative;
  z-index: 2;
}

.hero-copy > .eyebrow {
  grid-row: 1;
}

.hero-copy > h1 {
  grid-row: 2;
}

.hero-copy > .hero-lead {
  grid-row: 3;
}

.hero-copy > .hero-actions {
  grid-row: 4;
}

.hero-copy > .hero-note {
  grid-row: 5;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.65rem;
  color: var(--burgundy-deep);
  font-size: clamp(3.65rem, 7.5vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
}

.hero-lead {
  max-width: 39rem;
  margin-bottom: 0;
  color: #584841;
  font-size: clamp(1.03rem, 1.8vw, 1.23rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.012em;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 13px 30px rgba(104, 31, 42, 0.2);
}

.button--primary:hover {
  background: var(--burgundy-deep);
}

.button--quiet {
  border-color: rgba(104, 31, 42, 0.32);
  background: rgba(255, 255, 255, 0.5);
  color: var(--burgundy);
}

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

.button--gold {
  background: var(--gold);
  color: var(--burgundy-deep);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4.4rem);
}

.hero-note strong {
  color: var(--burgundy);
  font-family: var(--display);
  font-size: 1.6rem;
}

.hero-note span {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  transform: translateX(-50%);
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.7) 0%, rgba(255, 250, 242, 0.52) 42%, rgba(255, 250, 242, 0.2) 72%, rgba(245, 233, 210, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.08), rgba(245, 233, 210, 0.18));
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.7;
  filter: saturate(0.72) sepia(0.08) contrast(0.88) brightness(1.06);
}

.hero-seal {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4.5rem);
  top: 38%;
  bottom: auto;
  left: auto;
  z-index: 3;
  width: clamp(8.8rem, 10vw, 11rem);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 12px 20px rgba(38, 12, 15, 0.32));
}

.quick-info {
  background: var(--burgundy);
  color: var(--white);
}

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

.quick-info a {
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem clamp(1rem, 3vw, 2.4rem);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease;
}

.quick-info a:last-child {
  border-right: 0;
}

.quick-info a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.quick-info b,
.quick-info a span:last-child {
  display: block;
}

.quick-info b {
  margin-bottom: 0.15rem;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.08rem;
}

.quick-info a span:last-child {
  font-size: 0.88rem;
  color: #f3e4dd;
}

.info-mark {
  display: flex;
  min-width: 2.25ch;
  height: 3.4rem;
  align-items: center;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.products {
  padding-bottom: clamp(5rem, 10vw, 8.5rem);
  background: var(--cream-light);
}

.products-banner {
  position: relative;
  min-height: clamp(25rem, 40vw, 36rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--burgundy-deep);
}

.products-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.5;
  filter: saturate(0.8) contrast(0.98);
}

.products-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(67, 19, 27, 0.78), rgba(67, 19, 27, 0.38) 55%, rgba(67, 19, 27, 0.62));
  pointer-events: none;
}

.products-banner__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.products-banner .section-heading {
  margin-bottom: 0;
}

.products-banner .eyebrow {
  color: var(--gold-soft);
}

.products-banner h2 {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(38, 12, 15, 0.35);
}

.products-banner .section-heading > p {
  color: #fff0df;
  text-shadow: 0 2px 14px rgba(38, 12, 15, 0.42);
}

.products-body {
  padding-top: clamp(2.8rem, 6vw, 4.5rem);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.7rem;
  border-block: 1px solid var(--line);
}

.product-tab {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.012em;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.product-tab:hover,
#filter-todos:checked ~ .product-tabs label[for="filter-todos"],
#filter-panaderia:checked ~ .product-tabs label[for="filter-panaderia"],
#filter-empanadas:checked ~ .product-tabs label[for="filter-empanadas"],
#filter-pasteleria:checked ~ .product-tabs label[for="filter-pasteleria"],
#filter-especiales:checked ~ .product-tabs label[for="filter-especiales"],
#filter-galletas:checked ~ .product-tabs label[for="filter-galletas"],
#filter-tortas-curicanas:checked ~ .product-tabs label[for="filter-tortas-curicanas"] {
  background: var(--burgundy);
  color: var(--white);
}

#filter-todos:focus-visible ~ .product-tabs label[for="filter-todos"],
#filter-panaderia:focus-visible ~ .product-tabs label[for="filter-panaderia"],
#filter-empanadas:focus-visible ~ .product-tabs label[for="filter-empanadas"],
#filter-pasteleria:focus-visible ~ .product-tabs label[for="filter-pasteleria"],
#filter-especiales:focus-visible ~ .product-tabs label[for="filter-especiales"],
#filter-galletas:focus-visible ~ .product-tabs label[for="filter-galletas"],
#filter-tortas-curicanas:focus-visible ~ .product-tabs label[for="filter-tortas-curicanas"] {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

#filter-panaderia:checked ~ .product-grid .product-row:not([data-category="panaderia"]),
#filter-empanadas:checked ~ .product-grid .product-row:not([data-category="empanadas"]),
#filter-pasteleria:checked ~ .product-grid .product-row:not([data-category="pasteleria"]),
#filter-especiales:checked ~ .product-grid .product-row:not([data-category="especiales"]),
#filter-galletas:checked ~ .product-grid .product-row:not([data-category="galletas"]),
#filter-tortas-curicanas:checked ~ .product-grid .product-row:not([data-category="tortas-curicanas"]) {
  display: none;
}

.product-grid {
  --product-cell-height: 29rem;
  display: block;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-row {
  height: var(--product-cell-height);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-row[hidden] {
  display: none;
}

.product-card {
  position: relative;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  transition: background 180ms ease, color 180ms ease;
}

.product-card:hover {
  background: var(--peach);
}

.product-card[hidden] {
  display: none;
}

.product-card--feature h3 {
  max-width: none;
  white-space: nowrap;
}

.product-card h3.product-card__title--single-line {
  max-width: none;
  white-space: nowrap;
}

.product-card__number {
  position: absolute;
  top: 1.65rem;
  right: 1.9rem;
  color: rgba(104, 31, 42, 0.2);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-card__family {
  margin-bottom: 2rem;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-card h3 {
  max-width: 15ch;
  margin-bottom: 1rem;
  color: var(--burgundy-deep);
  font-size: clamp(1.9rem, 3.35vw, 2.95rem);
  line-height: 1.02;
}

.product-card > p:not(.product-card__family) {
  max-width: 33rem;
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.42;
}

.price-list {
  margin: auto 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  font-size: 0.9rem;
  line-height: 1.25;
}

.price-list b {
  color: var(--burgundy);
  white-space: nowrap;
}

.product-photo {
  position: relative;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--burgundy-deep);
}

.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-photo:hover img {
  transform: scale(1.025);
}

.product-photo--pan img {
  object-position: center 50%;
}

.product-photo--empanadas img {
  object-position: 25% center;
}

.product-photo--pasteleria img {
  object-position: center;
}

.product-photo--compartir img {
  object-position: center;
}

.product-photo--galletas img {
  object-position: center;
}

.product-photo--torta-curicana img {
  object-position: center;
}

.product-photo--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(104, 31, 42, 0.06) 25%, transparent 25%) 0 0 / 2rem 2rem,
    linear-gradient(315deg, rgba(104, 31, 42, 0.06) 25%, transparent 25%) 0 0 / 2rem 2rem,
    var(--cream);
  color: rgba(104, 31, 42, 0.5);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card--placeholder {
  background: rgba(245, 233, 210, 0.5);
}

.price-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.gallery-section {
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--cream);
}

.gallery-heading {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.gallery-heading h2 {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr 0.65fr;
  align-items: stretch;
  gap: 1rem;
}

.gallery-grid figure {
  position: relative;
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
  background: var(--burgundy-deep);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(38, 12, 15, 0.8));
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gallery-quote {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.7rem, 3vw, 2.8rem);
  background: var(--burgundy);
  color: var(--white);
}

.gallery-quote > span {
  height: 4rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 7rem;
  line-height: 1;
}

.gallery-quote blockquote {
  margin: 1.3rem 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.2;
}

.gallery-quote p {
  margin: 0;
  color: #ead6d1;
  font-size: 0.86rem;
}

.story {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.86), rgba(255, 250, 242, 0.8)),
    url("assets/historia-fachada.jpg") center 54% / cover no-repeat;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.story-year {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--burgundy);
  text-transform: uppercase;
}

.story-year span,
.story-year small {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.story-year strong {
  margin: 0.2rem 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 7.5rem);
  line-height: 1;
}

.story-copy h2 {
  max-width: 16ch;
}

.story-copy > p:not(.eyebrow) {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  color: var(--burgundy);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.28rem);
}

.business {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background:
    radial-gradient(circle at 8% 110%, rgba(231, 167, 40, 0.18), transparent 30rem),
    var(--burgundy-deep);
  color: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.business h2 {
  max-width: 13ch;
}

.business-grid > div > p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: #e5d2cc;
}

.business-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.business-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.business-list li > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.business-list b {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.business-list p {
  margin-bottom: 0;
  color: #cdb8b2;
  font-size: 0.9rem;
}

.visit {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.86), rgba(255, 250, 242, 0.8)),
    url("assets/encuentranos-plaza-curico.jpg") center 50% / cover no-repeat;
}

.visit-heading {
  align-items: center;
}

.visit-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  min-height: 38rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel {
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--cream);
}

.contact-block {
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-block > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-block strong {
  color: var(--burgundy-deep);
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.35;
}

.contact-block p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-block--links {
  display: grid;
  gap: 0.45rem;
}

.contact-block--links a {
  color: var(--burgundy);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.map-panel {
  min-height: 34rem;
  background: #eadfca;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  display: block;
  border: 0;
  filter: sepia(0.12) saturate(0.82) contrast(0.95);
}

.quote-section {
  background: var(--peach);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(25rem, 1.22fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: 8rem;
}

.quote-intro h2 {
  max-width: 11ch;
}

.quote-intro > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.direct-contact {
  display: grid;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.direct-contact span {
  color: var(--muted);
  font-size: 0.82rem;
}

.direct-contact a {
  color: var(--burgundy);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.quote-form {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.quote-form label {
  display: grid;
  gap: 0.42rem;
}

.quote-form label > span {
  color: var(--burgundy-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.012em;
}

.form-span {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid #d5c4b1;
  border-radius: 0;
  background: #fffcf7;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  outline: 0;
}

.quote-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(104, 31, 42, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 1.35rem;
}

.form-help {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.site-footer {
  padding: 4.2rem 0 1.7rem;
  background: #2e1719;
  color: #dbc9c2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 10rem;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.3rem;
}

.footer-brand p {
  max-width: 24rem;
}

.footer-grid h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ae9992;
  font-size: 0.78rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 65;
  width: 3.7rem;
  height: 3.7rem;
  display: grid;
  place-items: center;
  border: 0.28rem solid var(--cream-light);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(21, 73, 48, 0.26);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp svg {
  width: 2.15rem;
  height: 2.15rem;
  aspect-ratio: 1;
  fill: currentColor;
}

@media (max-width: 68rem) {
  .nav-wrap {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 8.45rem;
    left: 1.25rem;
    right: 1.25rem;
    display: none;
    max-height: calc(100vh - 10rem);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    background: var(--cream-light);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

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

  .hero h1 {
    font-size: clamp(3.65rem, 8.8vw, 5.9rem);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-quote {
    grid-column: 1 / -1;
    min-height: 22rem;
  }

  .business-grid,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 52rem) {
  .service-bar__detail {
    display: none;
  }

  .service-bar__inner {
    justify-content: center;
  }

  .brand img {
    width: 6.2rem;
    height: auto;
    max-height: 3.7rem;
  }

  .brand span {
    display: none;
  }

  .nav-wrap {
    min-height: 5rem;
  }

  .main-nav {
    top: 7.55rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-content: start;
    row-gap: 0;
    padding-top: 4.2rem;
  }

  .hero-copy {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.55rem, 15.5vw, 5.8rem);
  }

  .hero-visual {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    margin: 0;
    transform: translateX(-50%);
  }

  .hero-photo-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .hero-photo-frame::after {
    background: rgba(255, 250, 242, 0.68);
  }

  .hero-seal {
    right: 1rem;
    top: 58%;
    bottom: auto;
    left: auto;
    width: 9rem;
  }

  .quick-info__grid,
  .section-heading,
  .story-grid,
  .business-grid,
  .visit-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-info a {
    min-height: 6.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .quick-info a:last-child {
    border-bottom: 0;
  }

  .section-heading {
    align-items: start;
    gap: 1rem;
  }

  .product-row {
    height: auto;
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure,
  .gallery-quote {
    min-height: 31rem;
  }

  .gallery-quote {
    grid-column: auto;
    min-height: 23rem;
  }

  .story-year {
    width: min(78vw, 24rem);
    justify-self: center;
  }

  .business-grid {
    gap: 3.5rem;
  }

  .visit-grid {
    min-height: 0;
  }

  .quote-intro {
    position: static;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 36rem) {
  .shell {
    width: min(100% - 1.5rem, 76rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16.5vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-visual {
    width: 100vw;
  }

  .hero-seal {
    right: 0.8rem;
    top: 56%;
    left: auto;
    width: 8rem;
  }

  .products-banner {
    min-height: 32rem;
  }

  .product-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-tab {
    border-bottom: 1px solid var(--line);
  }

  .product-card {
    min-height: 27rem;
    height: auto;
    padding: 1.7rem;
  }

  .product-photo {
    min-height: 24rem;
    height: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-span {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Escala tipográfica definitiva: pequeño, normal y títulos. */
body,
p,
li,
a,
button,
input,
select,
textarea,
label {
  font-size: var(--type-normal) !important;
}

.service-bar,
.brand span,
.eyebrow,
.hero-note span,
.quick-info a span:last-child,
.product-tab,
.product-card__number,
.product-card__family,
.price-list li,
.price-note,
.gallery-grid figcaption,
.gallery-quote p,
.story-year span,
.story-year small,
.business-list p,
.contact-block > span,
.contact-block p,
.direct-contact span,
.quote-form label > span,
.form-help,
.footer-grid h2,
.footer-bottom {
  font-size: var(--type-small) !important;
}

.main-nav,
.header-cta,
.hero-lead,
.button,
.hero-note strong,
.quick-info b,
.section-heading > p,
.product-card h3,
.product-card > p:not(.product-card__family),
.gallery-quote blockquote,
.story-copy > p:not(.eyebrow),
.text-link,
.business-grid > div > p:not(.eyebrow),
.business-list li > span,
.business-list b,
.contact-block strong,
.contact-block--links a,
.direct-contact a,
.quote-form input,
.quote-form select,
.quote-form textarea,
.footer-brand p,
.footer-grid a {
  font-size: var(--type-normal) !important;
}

h1,
h2,
.info-mark,
.story-year strong {
  font-size: var(--type-large) !important;
}

h1,
h2 {
  line-height: 0.98 !important;
  letter-spacing: 0.005em !important;
}

.product-card h3,
.gallery-quote blockquote,
.business-list b,
.contact-block strong,
.direct-contact a {
  line-height: 1.18 !important;
  letter-spacing: 0.01em !important;
}

.info-mark {
  height: var(--type-large) !important;
  line-height: 0.86 !important;
}

/* Composición móvil: conserva tres escalas tipográficas y una lectura más compacta. */
@media (max-width: 52rem) {
  :root {
    --type-small: 16px;
    --type-normal: 18px;
    --type-large: 50px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  html {
    scroll-padding-top: 5.5rem;
  }

  body {
    line-height: 1.55;
  }

  .shell {
    width: min(100% - 2rem, 76rem);
  }

  .section,
  .gallery-section,
  .business {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .service-bar__inner {
    min-height: 2.35rem;
    text-align: center;
  }

  .nav-wrap {
    min-height: 4.7rem;
  }

  .brand img {
    width: 5.5rem;
    max-height: 3.45rem;
  }

  .menu-toggle {
    width: 3rem;
    height: 3rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    max-height: calc(100vh - 6.5rem);
    padding: 0.55rem 1rem;
    border-color: rgba(104, 31, 42, 0.18);
    background: rgba(255, 250, 242, 0.985);
  }

  .main-nav a {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.25rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 3.4rem;
    padding-bottom: 9.25rem;
  }

  .hero h1 {
    max-width: 10ch;
    margin-bottom: 1.25rem;
  }

  .hero-lead {
    max-width: 31rem;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .hero-actions .button {
    min-height: 3.2rem;
  }

  .hero-note {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .hero-note span {
    padding-left: 0.75rem;
  }

  .hero-photo-frame::after {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.84) 0%, rgba(255, 250, 242, 0.76) 68%, rgba(245, 233, 210, 0.58) 100%);
  }

  .hero-photo-frame img {
    object-position: center 48%;
  }

  .hero-seal {
    top: auto;
    right: 1rem;
    bottom: 1.5rem;
    width: 6.8rem;
    transform: none;
  }

  .quick-info a {
    min-height: 5.5rem;
    gap: 0.8rem;
    padding: 1rem 0.4rem;
  }

  .info-mark {
    min-width: 2.15ch;
  }

  .section-heading,
  .gallery-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2,
  .gallery-heading h2,
  .story-copy h2,
  .quote-intro h2 {
    max-width: none;
  }

  .products-banner {
    min-height: 27rem;
  }

  .products-banner__content {
    padding-block: 4rem;
  }

  .products-body {
    padding-top: 2.4rem;
  }

  .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-right: -1rem;
    margin-bottom: 1.4rem;
    padding: 0 1rem 0.35rem 0;
    overflow-x: auto;
    border-block: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    min-height: 3rem;
    flex: 0 0 auto;
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--line);
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .product-row {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-row > .product-card {
    order: 1;
  }

  .product-row > .product-photo {
    order: 2;
  }

  .product-card {
    min-height: 0;
    height: auto;
    padding: 1.6rem;
  }

  .product-card__number {
    top: 1.35rem;
    right: 1.45rem;
  }

  .product-card__family {
    max-width: calc(100% - 4rem);
    margin-bottom: 1.4rem;
  }

  .product-card--feature h3,
  .product-card h3.product-card__title--single-line {
    max-width: 18ch;
    white-space: normal;
  }

  .product-card > p:not(.product-card__family) {
    line-height: 1.5;
  }

  .price-list {
    margin-top: 0.4rem;
  }

  .price-list li {
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.3rem 0;
  }

  .product-photo {
    min-height: 19rem;
    height: 19rem;
  }

  .product-photo--empanadas img {
    object-position: center;
  }

  .gallery-grid {
    gap: 0.8rem;
  }

  .gallery-grid figure,
  .gallery-quote {
    min-height: 22rem;
  }

  .gallery-quote {
    padding: 1.8rem;
  }

  .gallery-quote > span {
    height: 3rem;
    font-size: 5.5rem;
  }

  .story-grid {
    gap: 2.5rem;
  }

  .story-year {
    width: min(64vw, 15rem);
  }

  .story-copy > p:not(.eyebrow) {
    line-height: 1.55;
  }

  .business-grid,
  .quote-grid {
    gap: 2.5rem;
  }

  .business-list {
    margin: 0;
  }

  .visit-heading {
    gap: 1.15rem;
  }

  .visit-grid {
    box-shadow: 0 18px 46px rgba(67, 19, 27, 0.11);
  }

  .contact-panel {
    gap: 1.4rem;
    padding: 1.6rem;
  }

  .contact-block {
    padding-bottom: 1.25rem;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 22rem;
    height: 22rem;
  }

  .quote-form {
    padding: 1.5rem;
  }

  .form-grid {
    gap: 1rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-grid {
    gap: 2.25rem;
    padding-bottom: 2.4rem;
  }

  .floating-whatsapp {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 3.35rem;
    height: 3.35rem;
    border-width: 0.22rem;
  }

  .floating-whatsapp svg {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (max-width: 36rem) {
  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    padding-inline: 1rem;
  }

  .hero-note strong {
    white-space: nowrap;
  }

  .quick-info a {
    padding-inline: 0.15rem;
  }

  .product-card,
  .contact-panel,
  .quote-form {
    padding: 1.35rem;
  }

  .product-photo {
    min-height: 17.5rem;
    height: 17.5rem;
  }

  .gallery-grid figure,
  .gallery-quote {
    min-height: 20rem;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 20rem;
    height: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
