@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #211612;
  --ink-soft: #5d4a3e;
  --paper: #fff7ec;
  --paper-2: #f6ead8;
  --cream: #fffdf8;
  --line: rgba(33, 22, 18, 0.12);
  --charcoal: #181b1c;
  --charcoal-2: #24282a;
  --gold: #f49b1d;
  --gold-2: #c76d13;
  --green: #22c55e;
  --teal: #0f766e;
  --red: #bf3c22;
  --shadow: 0 22px 60px rgba(44, 28, 19, 0.14);
  --shadow-soft: 0 14px 34px rgba(44, 28, 19, 0.1);
  --radius: 8px;
  --max: 1120px;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--body);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(33, 22, 18, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(33, 22, 18, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(16, 11, 8, 0.34);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

a {
  color: inherit;
}

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

main {
  overflow: visible;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.42rem clamp(1rem, 4vw, 3rem);
  border: 1px solid transparent;
  border-bottom-color: rgba(244, 155, 29, 0.28);
  border-radius: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 30%, rgba(244, 155, 29, 0.06) 72%, rgba(255, 255, 255, 0.04)),
    rgba(25, 22, 19, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  transition:
    padding 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Al hacer scroll: misma barra fija de borde a borde, solo más compacta */
.site-header.is-scrolled {
  padding: 0.55rem clamp(1rem, 4vw, 3rem);
  border-bottom-color: rgba(244, 155, 29, 0.36);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(244, 155, 29, 0.05)),
    rgba(20, 17, 15, 0.94);
  box-shadow: 0 14px 30px rgba(16, 11, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Barra de progreso de lectura sobre el borde inferior del header */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-header.is-scrolled::after {
  opacity: 0.9;
}

.header-hours-tab {
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  max-width: min(440px, calc(100vw - 2.4rem));
  padding: 0.46rem 1.05rem 0.5rem;
  border: 1px solid rgba(244, 155, 29, 0.24);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(31, 28, 25, 0.96);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 34px rgba(16, 11, 8, 0.22);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0);
  transition: opacity 0.22s ease, transform 0.24s ease, visibility 0s linear 0s;
}

.header-hours-tab strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.98rem;
  line-height: 1;
}

.header-hours-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header.is-hours-hidden .header-hours-tab {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -12px, 0);
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

body.menu-open .header-hours-tab {
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  box-shadow: none;
  transform: translate3d(-50%, -12px, 0);
}

.brand-logo {
  display: grid;
  align-items: center;
  width: clamp(224px, 18vw, 244px);
  height: 82px;
  text-decoration: none;
  color: #fff;
  transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo-image,
.brand-logo-text {
  grid-area: 1 / 1;
  transition:
    height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.24s ease;
}

.brand-logo-image {
  justify-self: start;
  width: auto;
  height: 82px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
  transform: translate3d(0, 0, 0) scale(1);
}

.brand-logo-text {
  font-family: var(--display);
  font-size: clamp(1.14rem, 1.75vw, 1.36rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-8px, 0, 0) scale(0.97);
}

.brand-logo-text strong {
  color: var(--gold);
  font-weight: 800;
}

.brand-logo:hover .brand-logo-image,
.brand-logo:focus-visible .brand-logo-image {
  filter: drop-shadow(0 7px 16px rgba(244, 155, 29, 0.22));
}

.brand-logo:hover .brand-logo-text strong,
.brand-logo:focus-visible .brand-logo-text strong {
  color: #ffb545;
}

.site-header.is-scrolled .brand-logo {
  height: 36px;
}

.site-header.is-scrolled .brand-logo-image {
  height: 30px;
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, -5px, 0) scale(0.86);
  pointer-events: none;
}

.site-header.is-scrolled .brand-logo-text {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.4vw, 2.9rem);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: gap 0.25s ease;
}

.site-header.is-scrolled .site-nav {
  gap: clamp(1.2rem, 2.8vw, 2.3rem);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta) {
  padding: 0.34rem 0.1rem;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
}

.site-nav a:not(.nav-cta):hover {
  transform: translateY(-1px);
}

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

.nav-cta-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  isolation: isolate;
}

.nav-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.24);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.nav-bot-badge {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: -0.1rem;
  padding: 0.25rem 0.72rem 0.3rem;
  border: 1px solid rgba(244, 155, 29, 0.2);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: rgba(31, 28, 25, 0.96);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 20px rgba(16, 11, 8, 0.2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-header.is-scrolled .nav-cta {
  padding: 0.62rem 1rem;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22);
}

.site-header.is-scrolled .nav-bot-badge {
  padding-inline: 0.66rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  position: relative;
  padding: 0;
  border: 1px solid rgba(244, 155, 29, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  isolation: isolate;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 50%;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  transform-origin: center;
  transition: top 0.22s ease, transform 0.22s ease, opacity 0.18s ease, width 0.18s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 20px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
}

p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(244, 155, 29, 0.24);
}

.btn-primary:hover {
  background: #ffad34;
}

.btn-secondary,
.btn-ghost {
  background: var(--cream);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-ghost:hover {
  box-shadow: var(--shadow-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 1.15rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.home-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  padding: clamp(5rem, 11vw, 8rem) clamp(1rem, 5vw, 4rem) clamp(1.3rem, 3vw, 2.5rem);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 11, 8, 0.92) 0%, rgba(16, 11, 8, 0.72) 44%, rgba(16, 11, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(16, 11, 8, 0.08), rgba(16, 11, 8, 0.68));
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  z-index: -1;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--teal));
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  width: 100%;
}

.hero-content {
  width: min(720px, 100%);
}

.hero-content h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.88;
  margin-bottom: 1.1rem;
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

/* Escena 3D y Medallón INVIMA */
.hero-invima-3d-scene {
  perspective: 1200px;
  perspective-origin: center center;
  user-select: none;
}

.invima-3d-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1.25rem 1.65rem;
  background: linear-gradient(145deg, rgba(32, 24, 18, 0.88) 0%, rgba(16, 12, 9, 0.94) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.45);
  border-radius: 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(245, 166, 35, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 -2px 10px rgba(0, 0, 0, 0.6);
  max-width: 420px;
  transform-style: preserve-3d;
  animation: floatMedal3d 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

@keyframes floatMedal3d {
  0%, 100% {
    transform: translateY(0px) rotateX(4deg) rotateY(-6deg) rotateZ(0.5deg);
  }
  50% {
    transform: translateY(-10px) rotateX(-3deg) rotateY(6deg) rotateZ(-0.5deg);
  }
}

.hero-invima-3d-scene:hover .invima-3d-card {
  animation-play-state: paused;
  transform: translateY(-8px) rotateX(0deg) rotateY(0deg) scale(1.03);
  border-color: rgba(255, 215, 0, 0.85);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(255, 215, 0, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -2px 12px rgba(0, 0, 0, 0.7);
}

.invima-ambient-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 30% 50%, rgba(255, 200, 50, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: 40px;
  filter: blur(20px);
}

.invima-shine-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: 26px 26px 0 0;
  pointer-events: none;
}

/* Medalla 3D */
.invima-medal-container {
  position: relative;
  flex-shrink: 0;
  transform-style: preserve-3d;
  transform: translateZ(28px);
}

.invima-gold-rim {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 45deg, #ffe066, #ffae00, #ffffff, #d4af37, #996515, #ffe066);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(255, 215, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.invima-inner-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.invima-seal-3d-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.invima-3d-ribbon {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: linear-gradient(135deg, #0ea960 0%, #066d3a 100%);
  border: 2px solid #ffd700;
  border-radius: 20px;
  padding: 2px 7px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transform: translateZ(35px);
}

.invima-ribbon-icon {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
}

.invima-ribbon-text {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

/* Contenido de la tarjeta 3D */
.invima-3d-content {
  display: flex;
  flex-direction: column;
  transform: translateZ(20px);
}

.invima-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold, #f5a623);
  margin-bottom: 0.25rem;
}

.invima-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ea960;
  box-shadow: 0 0 8px #0ea960;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.invima-3d-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.invima-3d-title strong {
  color: var(--gold, #f5a623);
}

.invima-3d-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

.invima-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.invima-micro-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: clamp(3rem, 9vw, 6rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  padding: 1rem;
  background: rgba(24, 27, 28, 0.66);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  color: var(--gold);
}

.hero-proof span {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  scroll-margin-top: 118px;
}

.section-tight {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

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

.section-head h2,
.story-copy h2,
.feature-panel h2,
.story-main h2,
.condition-card h2,
.split-cta h2,
.contact-copy h2,
.page-hero h1 {
  font-size: clamp(2.05rem, 4.5vw, 4.1rem);
  line-height: 0.96;
}

.product-grid,
.value-grid,
.partner-grid {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 260px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

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

.product-card,
.value-card,
.partner-card,
.price-card,
.condition-card,
.condition-list,
.contact-card,
.contact-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-soft);
}

.product-card {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border-color: rgba(33, 22, 18, 0.08);
  border-radius: 5px;
  background: #fff;
  box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s linear, box-shadow 0.3s linear, border-color 0.3s linear;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-15px);
  border-color: rgba(191, 60, 34, 0.18);
  box-shadow: 12px 18px 42px rgba(0, 0, 0, 0.16);
}

.product-media {
  height: clamp(255px, 28vw, 340px);
  padding: 0;
  background: #fff;
  border-bottom: 1px solid rgba(33, 22, 18, 0.06);
  overflow: hidden;
}

.product-card-featured .product-media {
  height: clamp(255px, 28vw, 340px);
}

.product-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.3s linear;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-media-fresh {
  background: #fff;
}

.product-media-fresh img {
  object-fit: cover;
}

.product-media-pack img {
  object-fit: cover;
  background: #fff;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem 1.15rem 1rem;
  text-align: center;
}

.product-badges {
  display: none;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.75rem;
}

.product-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tag,
.partner-card span,
.price-head span,
.condition-card span {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-card h3,
.value-card h3,
.partner-card h3,
.price-head h3,
.condition-list h3 {
  font-size: 1.42rem;
  margin-bottom: 0.45rem;
}

.product-card h3 {
  font-size: 1.18rem;
  line-height: 1.18;
}

.product-card p,
.value-card p,
.partner-card p {
  font-size: 0.95rem;
}

.product-card p {
  max-width: 28ch;
  margin-bottom: 1rem;
  color: #5e5e5e;
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
  padding: 0.72rem 1rem;
  border-top: 1px solid rgba(33, 22, 18, 0.07);
  transition: background 0.3s linear, border-color 0.3s linear;
}

.product-card:hover .product-footer {
  border-color: var(--red);
  background: var(--red);
}

.product-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.15rem;
}

.product-footer strong,
.product-price {
  color: var(--gold-2);
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  transition: color 0.3s linear;
}

.product-card:hover .product-footer strong,
.product-card:hover .product-price {
  color: #fff;
}

.product-unit {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal, #0f766e);
  line-height: 1;
  transition: color 0.3s linear;
}

.product-card:hover .product-unit {
  color: rgba(255, 255, 255, 0.92);
}

.product-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s linear, transform 0.3s linear;
}

.product-footer a::after {
  content: "→";
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 60, 34, 0.24);
  border-radius: 50%;
  font-size: 0.94rem;
  line-height: 1;
  transition: background 0.3s linear, color 0.3s linear, border-color 0.3s linear;
}

.product-card:hover .product-footer a,
.product-footer a:hover {
  color: #fff;
  transform: translateX(2px);
}

.product-card:hover .product-footer a::after,
.product-footer a:hover::after {
  border-color: #fff;
  background: #fff;
  color: var(--red);
}

.story-band,
.distributor-feature,
.values-section,
.trust-strip,
.media-showcase,
.local-gallery,
.visit-section,
.pricing-section,
.map-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.3rem, 4vw, 3rem);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 27, 28, 0.98), rgba(62, 29, 20, 0.94)),
    linear-gradient(90deg, rgba(244, 155, 29, 0.22), rgba(191, 60, 34, 0.18));
  border-block: 1px solid rgba(33, 22, 18, 0.18);
}

.trust-copy {
  align-self: center;
}

.trust-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  line-height: 0.94;
}

.trust-copy p {
  max-width: 560px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.trust-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.trust-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 950;
}

.trust-card h3 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: 1.38rem;
}

.trust-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.story-copy p,
.story-main p {
  margin-top: 1rem;
  font-size: 1.04rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0.35rem 0 0.35rem 3.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.18rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(191, 60, 34, 0.34));
}

.timeline div {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
  padding: 1.05rem 0;
  background: transparent;
  transition: color 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -2.7rem;
  top: 1.32rem;
  width: 13px;
  height: 13px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(191, 60, 34, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline div:hover {
  color: var(--red);
  transform: translate3d(6px, 0, 0);
}

.timeline div:hover::before {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(191, 60, 34, 0.1);
  transform: scale(1.12);
}

.timeline span {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
}

.timeline strong {
  font-size: 1.05rem;
}

.timeline p {
  max-width: 42ch;
  font-size: 0.92rem;
}

.distributor-feature {
  background:
    linear-gradient(120deg, rgba(24, 27, 28, 0.94), rgba(36, 40, 42, 0.9)),
    url("../assets/media/empanadas-bandeja-uniforme.jpg");
  background-size: cover;
  background-position: center;
}

.media-showcase {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.media-showcase-grid,
.local-gallery-grid {
  display: grid;
  gap: 1rem;
}

.media-showcase-grid {
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.78fr));
  align-items: stretch;
}

.media-feature,
.media-tile,
.local-gallery figure,
.visit-media,
.story-media {
  overflow: hidden;
  border: 1px solid rgba(33, 22, 18, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.media-feature {
  position: relative;
  min-height: 520px;
}

.media-feature video,
.media-tile img,
.local-gallery img,
.local-gallery video,
.visit-media img,
.story-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-feature video {
  position: absolute;
  inset: 0;
}

.media-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(16, 11, 8, 0.82));
}

.media-feature div {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: #fff;
}

.media-feature span,
.local-gallery figcaption {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-feature h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
}

.media-tile {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
}

.media-tile img {
  aspect-ratio: 4 / 5;
}

.media-tile h3 {
  padding: 1rem;
  font-size: 1.2rem;
}

.feature-panel {
  width: min(720px, 100%);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.feature-panel p {
  margin-top: 1rem;
  font-size: 1.06rem;
}

.feature-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.page-hero {
  width: 100%;
  padding: clamp(9.5rem, 15vw, 14rem) clamp(1rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(24, 27, 28, 0.95), rgba(24, 27, 28, 0.72)),
    url("../assets/portada_empanadas.png");
  background-position: center;
  background-size: cover;
}

.page-hero-distributors {
  background:
    linear-gradient(120deg, rgba(24, 27, 28, 0.95), rgba(36, 40, 42, 0.82)),
    radial-gradient(circle at 80% 30%, rgba(244, 155, 29, 0.38), transparent 30%);
}

.page-hero-contact {
  position: relative;
  min-height: clamp(520px, 56vw, 660px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(7.2rem, 10.5vw, 9.8rem);
  padding-bottom: clamp(2.2rem, 4.4vw, 3.6rem);
  background:
    linear-gradient(90deg, rgba(16, 11, 8, 0.92) 0%, rgba(16, 11, 8, 0.68) 48%, rgba(16, 11, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 11, 8, 0.12), rgba(16, 11, 8, 0.68)),
    url("../assets/media/local-fachada.jpg");
  background-position: center 54%;
  background-size: cover;
}

.page-hero-contact::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  z-index: 0;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--teal));
  pointer-events: none;
}

.page-hero-story {
  position: relative;
  min-height: 260vh;
  padding: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 52%, var(--paper-2) 100%);
  background-image: none !important;
  overflow: visible;
}

.brand-history-inner {
  position: sticky;
  top: 0;
  width: min(1180px, 100%);
  height: 100svh;
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  overflow: clip;
  padding: clamp(6.5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem) clamp(1.2rem, 3vw, 2rem);
}

.brand-history-intro {
  max-width: 760px;
}

.brand-history-intro h1 {
  max-width: 15ch;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 4.3rem);
  line-height: 0.95;
}

.brand-history-intro p {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(33, 22, 18, 0.76);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
}

.brand-timeline {
  position: relative;
  top: auto;
  width: 100%;
  height: min(72vh, 680px);
  min-height: 0;
  margin: 0;
  perspective: 1300px;
}

.brand-era {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: clamp(200px, 19vw, 268px);
  opacity: var(--opacity, 0);
  transform: translate3d(var(--tx, 0), var(--ty, 16px), 0) scale(var(--scale, 0.82)) rotate(var(--tilt, 0deg));
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.42s cubic-bezier(0.2, 0.82, 0.2, 1);
  transform-style: preserve-3d;
  will-change: opacity, transform;
}

.brand-era.is-visible {
  --opacity: 0.72;
  --scale: 0.9;
  --ty: 0;
}

.brand-era.is-past {
  --opacity: 0.34;
  --scale: 0.78;
}

.brand-era.is-current {
  --opacity: 1;
  --scale: 1.1;
  --tx: -50%;
  --ty: -50%;
  left: 50%;
  top: 40%;
  z-index: 4;
}

.brand-era h2 {
  margin-bottom: 0.72rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
  line-height: 1;
  text-align: center;
}

.brand-era-frame {
  display: grid;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: filter 0.42s ease, transform 0.42s cubic-bezier(0.2, 0.82, 0.2, 1);
  transform-style: preserve-3d;
  will-change: filter, transform;
}

.brand-era.is-current .brand-era-frame {
  filter:
    drop-shadow(0 10px 8px rgba(33, 22, 18, 0.18))
    drop-shadow(0 28px 24px rgba(33, 22, 18, 0.24))
    drop-shadow(0 58px 52px rgba(33, 22, 18, 0.17));
  transform: translate3d(0, -20px, 68px) rotateX(9deg) rotateY(-4deg);
}

.brand-era-frame img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  transition: transform 0.42s cubic-bezier(0.2, 0.82, 0.2, 1);
  transform: translateZ(0);
  will-change: transform;
}

.brand-era.is-current .brand-era-frame img {
  transform: translateZ(34px) scale(1.025);
}

@media (min-width: 761px) {
  .brand-era {
    transition:
      left 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.52s ease,
      transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .brand-era-frame {
    transition:
      filter 0.78s ease,
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .brand-era-frame img {
    transition: transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.page-hero-inner {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.page-hero-contact-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  text-align: left;
}

.page-hero-contact h1 {
  max-width: 12ch;
}

.page-hero-contact p {
  max-width: 630px;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.88);
}

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

.contact-hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.contact-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin-top: clamp(1.5rem, 3.5vw, 2.6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.contact-hero-facts div {
  padding: 1rem;
  background: rgba(24, 27, 28, 0.68);
}

.contact-hero-facts strong,
.contact-hero-facts span {
  display: block;
}

.contact-hero-facts strong {
  color: var(--gold);
  font-size: clamp(0.98rem, 1.8vw, 1.35rem);
  line-height: 1.08;
}

.contact-hero-facts span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero-story .brand-history-intro {
  text-align: left;
}

.page-hero-story .brand-history-intro p {
  margin: 1rem 0 0;
  color: rgba(33, 22, 18, 0.76);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
}

.story-layout,
.conditions-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.story-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
}

.story-main {
  max-width: 720px;
}

.story-media {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--cream);
  filter: none !important;
  mix-blend-mode: normal !important;
}

.story-media.reveal,
.story-media.reveal.in-view {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.story-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(33, 22, 18, 0.11);
  border-radius: calc(var(--radius) - 2px);
  background: #fffdf8;
  isolation: isolate;
}

.story-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(244, 155, 29, 0.16), rgba(15, 118, 110, 0.1)),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0));
  opacity: 0;
  transition: opacity 0.34s ease;
  pointer-events: none;
}

.story-photo img {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: scale(1);
  transition:
    transform 0.48s cubic-bezier(0.2, 0.82, 0.2, 1),
    border-radius 0.48s cubic-bezier(0.2, 0.82, 0.2, 1);
}

.story-photo figcaption {
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  top: 0.95rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 56px;
  padding: 0.35rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    transform 0.38s cubic-bezier(0.2, 0.82, 0.2, 1);
  pointer-events: none;
}

.story-photo figcaption strong,
.story-photo figcaption span {
  display: block;
}

.story-photo figcaption strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.story-photo figcaption span {
  max-width: 18ch;
  color: rgba(33, 22, 18, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.story-photo:hover,
.story-photo:focus {
  outline: none;
}

.story-photo:hover::before,
.story-photo:focus::before,
.story-photo:focus-within::before {
  opacity: 1;
}

.story-photo:hover img,
.story-photo:focus img,
.story-photo:focus-within img {
  border-radius: 18px;
  transform: translateY(104px);
}

.story-photo:hover figcaption,
.story-photo:focus figcaption,
.story-photo:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.story-archive .story-photo:hover img,
.story-archive .story-photo:focus img,
.story-archive .story-photo:focus-within img {
  transform: translateY(76px);
}

.story-photo-current {
  min-height: 430px;
  border-radius: calc(var(--radius) - 2px);
}

.story-photo-current img {
  height: clamp(430px, 38vw, 560px);
  max-height: none;
  object-position: center 8%;
}

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

.story-archive figure {
  min-height: clamp(220px, 18vw, 280px);
}

.story-archive img {
  height: clamp(220px, 18vw, 280px);
}

.story-archive-original img {
  object-position: center 38%;
}

.story-archive-early img {
  object-position: center 45%;
}

.founder-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: center;
  overflow: hidden;
}

.founder-section::after {
  content: "D' LEO";
  position: absolute;
  right: clamp(1rem, 5vw, 5.5rem);
  bottom: clamp(0.4rem, 2vw, 1.5rem);
  z-index: -1;
  color: rgba(192, 57, 38, 0.055);
  font-family: var(--display);
  font-size: clamp(5.5rem, 14vw, 13rem);
  line-height: 0.8;
  pointer-events: none;
}

.founder-copy {
  max-width: 620px;
}

.founder-copy h2 {
  max-width: 10ch;
  color: var(--red);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.9;
}

.founder-copy p {
  margin-top: 1rem;
  color: rgba(33, 22, 18, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 800;
}

.founder-showcase {
  position: relative;
  min-height: clamp(430px, 36vw, 520px);
  padding: 0;
  isolation: isolate;
}

.founder-showcase::before {
  content: "";
  position: absolute;
  inset: 8% 4% 8% 10%;
  z-index: -1;
  border-radius: 34px 34px 12px 34px;
  background:
    linear-gradient(132deg, rgba(244, 155, 29, 0.24) 0 45%, rgba(15, 118, 110, 0.16) 45% 100%);
  clip-path: polygon(10% 0, 100% 8%, 90% 100%, 0 94%);
}

.founder-showcase::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 14%;
  bottom: 5%;
  z-index: -1;
  height: 18px;
  border-radius: 50%;
  background: rgba(33, 22, 18, 0.16);
  filter: blur(15px);
}

.founder-card {
  position: absolute;
  bottom: 0;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.founder-card::after {
  display: none;
}

.founder-card img {
  width: auto;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 18px 18px rgba(33, 22, 18, 0.18))
    drop-shadow(0 36px 34px rgba(33, 22, 18, 0.12));
  transition: transform 0.48s cubic-bezier(0.2, 0.82, 0.2, 1);
}

.founder-card:hover img {
  transform: translateY(-8px);
}

.founder-card div {
  position: absolute;
  left: auto;
  right: auto;
  bottom: clamp(1rem, 2vw, 1.35rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: min(230px, 80vw);
  padding: 0.46rem 0.7rem;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: 999px;
  background: rgba(192, 57, 38, 0.94);
  color: #fffdf8;
  box-shadow: 0 12px 24px rgba(33, 22, 18, 0.16);
  backdrop-filter: blur(8px);
}

.founder-card span {
  color: inherit;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-card strong {
  display: none;
}

.founder-card-owner {
  left: clamp(6rem, 23%, 11.5rem);
  height: clamp(300px, 24vw, 360px);
  width: auto;
  z-index: 2;
}

.founder-card-owner img {
  max-height: none;
}

.founder-card-character {
  right: clamp(3.5rem, 13vw, 8rem);
  bottom: clamp(1.5rem, 3vw, 2.6rem);
  height: clamp(310px, 26vw, 390px);
  width: auto;
  z-index: 3;
}

.founder-card-character img {
  max-height: none;
  padding: 0;
}

.founder-card-owner div {
  left: clamp(-1.8rem, -2.4vw, -0.65rem);
  top: -2.3rem;
  bottom: auto;
}

.founder-card-character div {
  right: clamp(-1.05rem, -1.8vw, -0.35rem);
  top: -2.55rem;
  bottom: auto;
  max-width: 145px;
  background: rgba(15, 118, 110, 0.94);
}

.values-section {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.local-gallery {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

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

.local-gallery figure {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
}

.local-gallery figcaption {
  padding: 0.95rem 1rem;
  color: var(--red);
  background: #fff;
}

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

.value-card {
  padding: 1.35rem;
}

.value-card strong {
  display: block;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
  color: var(--gold-2);
}

.split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.split-cta h2 {
  max-width: 620px;
}

.partner-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.partner-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s linear,
    box-shadow 0.3s linear,
    border-color 0.3s linear,
    background 0.3s linear;
  will-change: transform;
}

.partner-card-expand {
  cursor: default;
  outline: none;
}

.partner-card-expand:hover,
.partner-card-expand:focus-within,
.partner-card-expand:focus {
  transform: translateY(-15px);
  z-index: 3;
  border-color: rgba(191, 60, 34, 0.24);
  box-shadow: 12px 18px 42px rgba(0, 0, 0, 0.16);
}

.partner-card-primary {
  background: var(--charcoal);
  color: #fff;
}

.partner-card-primary p {
  color: rgba(255, 255, 255, 0.75);
}

.partner-map {
  height: 168px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 155, 29, 0.16), rgba(15, 118, 110, 0.1)),
    var(--paper);
}

.partner-card-primary .partner-map {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.partner-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(0.98);
  pointer-events: none;
}

.partner-detail {
  display: grid;
  grid-template-rows: 1fr;
  gap: 0.72rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.58s ease,
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card-expand:hover .partner-detail,
.partner-card-expand:focus-within .partner-detail,
.partner-card-expand:focus .partner-detail {
  max-height: 230px;
  opacity: 1;
  transform: translateY(0);
}

.partner-detail dl {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.62rem;
}

.partner-detail dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.55rem;
  align-items: baseline;
  padding-top: 0.32rem;
  border-top: 1px solid var(--line);
}

.partner-card-primary .partner-detail dl div {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.partner-detail dt {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card-primary .partner-detail dt {
  color: var(--gold);
}

.partner-detail dd {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.24;
}

.partner-card-primary .partner-detail dd {
  color: rgba(255, 255, 255, 0.76);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  order: -1;
  margin-top: 0.78rem;
}

.partner-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.46rem 0.68rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.partner-actions a:first-child {
  background: var(--green);
}

.partner-card-primary .partner-actions a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.partner-card-primary .partner-actions a:first-child {
  background: var(--green);
}

.partner-actions a:hover {
  background: var(--red);
}

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

.price-card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.32s ease, box-shadow 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.price-card::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .price-card.reveal.in-view:hover,
  .price-card:hover {
    z-index: 2;
    border-color: rgba(244, 155, 29, 0.48);
    box-shadow: 0 24px 52px rgba(72, 42, 25, 0.2);
    transform: translate3d(0, -10px, 0) scale(1.012);
  }

  .price-card:hover::after {
    transform: scaleX(1);
  }
}

.price-card.reveal.in-view:focus-within,
.price-card:focus-within {
  z-index: 2;
  border-color: rgba(244, 155, 29, 0.48);
  box-shadow: 0 24px 52px rgba(72, 42, 25, 0.2);
  transform: translate3d(0, -8px, 0) scale(1.01);
}

.price-card:focus-within::after {
  transform: scaleX(1);
}

.price-head {
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.price-card-highlight .price-head {
  background: var(--charcoal);
  color: #fff;
}

.price-card-highlight .price-head span {
  color: var(--gold);
}

.price-card dl {
  padding: 0.35rem 1.2rem 1.2rem;
}

.price-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 0;
  border-bottom: 1px solid var(--line);
}

.price-card dl div:last-child {
  border-bottom: 0;
}

.price-card dt {
  color: var(--ink-soft);
}

.price-card dd {
  font-weight: 900;
  color: var(--ink);
}

.condition-card,
.condition-list {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.condition-card {
  background: var(--charcoal);
  color: #fff;
}

.condition-card span {
  color: var(--gold);
}

.condition-card p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.condition-list h3 + ul {
  margin-bottom: 1.45rem;
}

.condition-list ul {
  display: grid;
  gap: 0.72rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.home-distribution {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  scroll-margin-top: 110px;
  border-block: 1px solid rgba(33, 22, 18, 0.12);
  background:
    radial-gradient(circle at 82% 8%, rgba(244, 155, 29, 0.2), transparent 28%),
    linear-gradient(180deg, #f7ead6 0%, #fffaf0 100%);
}

.distribution-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: 1.5rem;
}

.distribution-lead h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.distribution-lead p {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.55;
}

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

.distribution-kpis div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid rgba(33, 22, 18, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow-soft);
}

.distribution-kpis strong {
  color: var(--red);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
}

.distribution-kpis span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-price-layout {
  margin-top: 1rem;
}

.distribution-details {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 1rem;
  margin-top: 1rem;
}

.distribution-details .condition-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.distribution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.distribution-locations {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
}

.distribution-locations h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.distribution-locations a {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.distribution-locations a:last-child {
  border-bottom: 0;
}

.distribution-locations a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.distribution-locations strong,
.distribution-locations span {
  display: block;
}

.distribution-locations span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .distribution-lead,
  .distribution-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-distribution {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .distribution-kpis {
    grid-template-columns: 1fr;
  }

  .distribution-kpis div {
    min-height: 92px;
  }

  .distribution-actions {
    display: grid;
  }
}

.contact-priority {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  align-items: start;
  padding-top: clamp(2.2rem, 4.5vw, 3.6rem);
  padding-bottom: clamp(2.2rem, 4.5vw, 3.6rem);
}

.contact-card {
  overflow: hidden;
  padding: 0;
  background: #fffdf8;
}

.contact-channel-card {
  display: grid;
  grid-template-rows: minmax(220px, auto) auto;
  border-color: rgba(15, 118, 110, 0.18);
  background:
    linear-gradient(180deg, #fffdf8, #f6ead8);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.12);
}

.contact-channel-media {
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(244, 155, 29, 0.18));
}

.contact-channel-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.contact-channel-copy {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.contact-channel-copy span {
  width: fit-content;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #14743a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-channel-copy strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1;
}

.contact-channel-copy p {
  margin: 0;
  color: rgba(33, 22, 18, 0.72);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-channel-copy a {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 0.92rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.visit-copy p {
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1.04rem;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.visit-details div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.visit-details strong,
.visit-details span {
  display: block;
}

.visit-details span {
  margin-top: 0.26rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.35;
}

.visit-media {
  height: clamp(320px, 34vw, 440px);
  max-height: 440px;
}

.visit-media img,
.local-gallery img[src*="local-interior"] {
  object-position: center 78%;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-copy p {
  max-width: 600px;
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

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

.info-grid div {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--paper);
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid strong {
  margin-bottom: 0.28rem;
}

.info-grid span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  line-height: 0;
}

.map-section {
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.map-frame iframe {
  display: block;
  height: 360px;
  min-height: 360px;
}

.map-frame a {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 11, 8, 0.18);
}

.map-frame a:hover {
  background: var(--red);
}

.contact-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: clamp(2.2rem, 4vw, 3.4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.contact-panel,
.contact-map-card,
.contact-bot-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3.2vw, 2.2rem);
}

.contact-panel h2 {
  max-width: 11ch;
  margin-top: 0.55rem;
  font-size: clamp(2.35rem, 4.1vw, 4rem);
  line-height: 0.96;
}

.contact-panel > p {
  max-width: 590px;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.contact-panel .contact-actions {
  margin-top: 1.25rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.contact-details div {
  min-height: 94px;
  padding: 0.85rem;
  border: 1px solid rgba(70, 48, 36, 0.1);
  border-radius: calc(var(--radius) - 2px);
  background: var(--paper);
}

.contact-details dt {
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-details a {
  color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.contact-map-card {
  display: grid;
  grid-template-rows: auto minmax(330px, 1fr) auto;
  overflow: hidden;
}

.contact-map-card--compact {
  grid-template-rows: auto minmax(330px, 1fr);
}

.contact-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--cream);
}

.contact-map-heading h3 {
  max-width: 17ch;
  margin-top: 0.28rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1;
}

.contact-open-status {
  flex: 0 0 auto;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #14743a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-map-frame {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-map-frame iframe {
  height: 100%;
  min-height: 330px;
}

.contact-route-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.contact-route-strip strong,
.contact-route-strip span {
  display: block;
}

.contact-route-strip span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-bot-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 1rem;
  border-color: rgba(15, 118, 110, 0.2);
  background: #edf7f2;
}

.contact-bot-strip img,
.contact-bot-icon {
  width: 92px;
  height: 72px;
  border-radius: calc(var(--radius) - 2px);
}

.contact-bot-strip img {
  object-fit: cover;
  object-position: center;
}

.contact-bot-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1f9d72, #0f766e);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 22px rgba(15, 118, 110, 0.18);
}

.contact-bot-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-bot-strip div {
  display: grid;
  gap: 0.16rem;
}

.contact-bot-strip span {
  color: #14743a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-bot-strip strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.05;
}

.contact-bot-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-bot-strip .btn {
  min-width: 164px;
}

@media (max-width: 920px) {
  .contact-hub {
    grid-template-columns: 1fr;
  }

  .contact-bot-strip {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .page-hero-contact {
    min-height: 560px;
  }

  .section.contact-hub {
    width: min(100% - 1.25rem, var(--max));
    gap: 0.8rem;
    padding-top: 1.5rem;
    padding-bottom: 2.4rem;
  }

  .contact-panel {
    padding: 1.15rem;
  }

  .contact-panel h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .contact-panel > p {
    font-size: 0.95rem;
  }

  .contact-panel .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel .contact-actions .btn {
    width: auto;
    min-height: 46px;
    padding-inline: 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .contact-hero-actions .btn {
    white-space: nowrap;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    padding-top: 1rem;
  }

  .contact-details div {
    min-height: 88px;
    padding: 0.72rem;
  }

  .contact-details dd {
    font-size: 0.8rem;
  }

  .contact-map-heading {
    align-items: flex-start;
    padding: 1rem;
  }

  .contact-map-heading h3 {
    font-size: 1.4rem;
  }

  .contact-open-status {
    max-width: 102px;
    text-align: center;
    line-height: 1.2;
  }

  .contact-map-frame iframe {
    min-height: 285px;
  }

  .contact-route-strip {
    padding: 0.8rem 1rem;
  }

  .contact-route-strip strong {
    font-size: 0.9rem;
  }

  .contact-bot-strip {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .contact-bot-strip img,
  .contact-bot-icon {
    width: 72px;
    height: 72px;
  }

  .contact-bot-strip strong {
    font-size: 1.12rem;
  }

  .contact-bot-strip p {
    font-size: 0.82rem;
  }

  .contact-bot-strip .btn {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

.story-photo:focus-visible,
.partner-card-expand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

.site-footer {
  padding: 3rem clamp(1rem, 5vw, 4rem) 1.2rem;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}

.footer-inner strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
}

.footer-inner a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin: 0.4rem 0;
  color: inherit;
  text-decoration: none;
}

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

.footer-bottom {
  width: min(var(--max), 100%);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.reveal {
  --reveal-x: 0;
  --reveal-y: 20px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.82, 0.2, 1),
    transform 0.72s cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-left {
  --reveal-x: -42px;
  --reveal-y: 0;
}

.reveal-right {
  --reveal-x: 42px;
  --reveal-y: 0;
}

.reveal-up {
  --reveal-x: 0;
  --reveal-y: 28px;
}

.reveal-down {
  --reveal-x: 0;
  --reveal-y: -24px;
}

.reveal-pop {
  --reveal-x: 0;
  --reveal-y: 18px;
  --reveal-scale: 0.96;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.product-card.reveal.in-view:hover {
  transform: translateY(-15px);
}

.partner-card-expand.reveal.in-view:hover,
.partner-card-expand.reveal.in-view:focus,
.partner-card-expand.reveal.in-view:focus-within {
  transform: translateY(-15px);
}

/* Nuevos contenidos comerciales y fotografías de producto */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-media-catalog {
  padding: clamp(0.7rem, 1.6vw, 1.15rem);
  background: linear-gradient(145deg, #fffdf8, #f6ead8);
}

.product-media-catalog img,
.product-media-pack.product-media-catalog img {
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 12px 28px rgba(44, 28, 19, 0.12);
}

.local-gallery img[src*="planta-produccion"] {
  object-fit: contain;
  object-position: center;
  background: #26221e;
}

.product-media-photo img,
.product-media-pack.product-media-catalog.product-media-photo img {
  object-fit: cover;
  object-position: center 58%;
}

.business-section .section-head {
  max-width: 820px;
}

.business-client-grid .value-card {
  min-height: 245px;
}

.contact-commercial,
.contact-social {
  grid-column: 1 / -1;
}

.contact-commercial {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid rgba(191, 60, 34, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(246, 234, 216, 0.92));
  box-shadow: var(--shadow-soft);
}

.contact-commercial .section-head {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

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

.contact-service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.contact-service-card--highlight {
  border-color: rgba(244, 155, 29, 0.32);
  background: linear-gradient(145deg, #fff8e9, #fffdf8);
}

.contact-service-card > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-service-card h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.55rem;
}

.contact-service-card p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact-service-card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.contact-service-card a:hover,
.contact-service-card a:focus-visible {
  color: var(--gold-2);
}

.contact-commercial-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem 1.2rem;
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.76);
}

.contact-commercial-note strong {
  color: var(--gold);
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.contact-social h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 760px) {
  .contact-commercial-grid {
    grid-template-columns: 1fr;
  }

  .contact-service-card {
    min-height: 205px;
  }

  .contact-social {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-social-actions {
    width: 100%;
  }

  .contact-social-actions .btn {
    flex: 1 1 140px;
  }
}

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

  .reveal,
  .btn,
  .site-header,
  .brand-logo,
  .brand-logo-image,
  .brand-logo-text,
  .site-nav,
  .site-nav a,
  .nav-cta {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .brand-era {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }

  .timeline div,
  .timeline div::before,
  .price-card,
  .price-card::after {
    transition: none;
  }

  .timeline div:hover,
  .price-card:hover,
  .price-card:focus-within {
    transform: none;
  }
}

@media (max-width: 980px) {
  .product-grid,
  .price-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-band,
  .story-layout,
  .founder-section,
  .conditions-section,
  .contact-layout,
  .media-showcase-grid,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .founder-showcase {
    width: min(720px, 100%);
    min-height: clamp(500px, 68vw, 600px);
    margin-inline: auto;
  }

  .story-media {
    position: static;
  }

  .brand-timeline {
    min-height: min(62vh, 620px);
  }

  .brand-era-frame {
    min-height: 132px;
  }

  .brand-era-frame img {
    max-height: 155px;
  }

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

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

  .partner-card-expand:hover,
  .partner-card-expand:focus-within,
  .partner-card-expand:focus {
    min-height: 0;
    transform: none;
  }

  .partner-detail {
    max-height: none;
    opacity: 1;
    transform: none;
  }
}


@media (min-width: 761px) and (max-width: 980px) {
  .brand-logo {
    width: 188px;
  }

  .brand-logo-image {
    height: 70px;
  }

  .brand-logo-text,
  .site-header.is-scrolled .brand-logo-text {
    font-size: 1.08rem;
  }

  .site-nav,
  .site-header.is-scrolled .site-nav {
    gap: clamp(0.85rem, 2vw, 1.25rem);
    font-size: 0.92rem;
  }
}

@media (max-width: 760px) {
  .reveal-left {
    --reveal-x: -8px;
  }

  .reveal-right {
    --reveal-x: 8px;
  }

  .reveal-up {
    --reveal-y: 18px;
  }

  .reveal-down {
    --reveal-y: -16px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    top: 0;
    width: 100%;
    min-height: 74px;
    padding: 0.48rem 0.7rem;
    border-color: transparent;
    border-bottom-color: rgba(244, 155, 29, 0.3);
    border-radius: 0;
    background:
      linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 36%, rgba(244, 155, 29, 0.06)),
      rgba(24, 21, 18, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
    transition:
      min-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.3s ease;
  }

  .site-header.is-scrolled {
    min-height: 56px;
    padding: 0.28rem 0.7rem;
    box-shadow: 0 12px 26px rgba(16, 11, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .header-hours-tab {
    left: 0.65rem;
    right: 0.65rem;
    width: auto;
    max-width: none;
    min-height: 36px;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.46rem 0.78rem 0.52rem;
    border-radius: 0 0 16px 16px;
    font-size: 0.76rem;
    box-shadow: 0 14px 28px rgba(33, 22, 18, 0.13);
    transform: translate3d(0, 0, 0);
  }

  .site-header.is-scrolled .header-hours-tab {
    top: calc(100% - 1px);
    left: 0.65rem;
    right: 0.65rem;
    width: auto;
    max-width: none;
    min-height: 36px;
    padding: 0.46rem 0.78rem 0.52rem;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: rgba(31, 28, 25, 0.96);
    box-shadow: 0 14px 28px rgba(33, 22, 18, 0.13);
    font-size: 0.76rem;
  }

  .site-header.is-hours-hidden .header-hours-tab,
  body.menu-open .header-hours-tab {
    transform: translate3d(0, -12px, 0);
  }

  .header-hours-tab strong {
    font-size: 0.9rem;
  }

  .brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: min(190px, calc(100% - 7.5rem));
    max-width: calc(100% - 7.5rem);
    height: 58px;
    justify-content: center;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: center;
    will-change: auto;
  }

  .brand-logo-image {
    justify-self: center;
    height: 58px;
  }

  .brand-logo-text {
    justify-self: center;
    font-size: 1.18rem;
    text-align: center;
    transform: translate3d(0, -4px, 0) scale(0.96);
  }

  .site-header.is-scrolled .brand-logo {
    height: 34px;
  }

  .site-header.is-scrolled .brand-logo-text {
    font-size: 1.12rem;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin-left: auto;
    z-index: 2;
  }

  .nav-toggle span {
    width: 20px;
  }

  .nav-toggle span:nth-child(1) {
    top: 15px;
  }

  .nav-toggle span:nth-child(2) {
    top: 21px;
  }

  .nav-toggle span:nth-child(3) {
    top: 27px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
  }

  .site-nav {
    position: fixed;
    z-index: 70;
    inset: calc(var(--header-h, 74px) + 0.6rem) 0.6rem auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
    max-height: calc(100dvh - var(--header-h, 74px) - 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.9rem;
    border: 1px solid rgba(244, 155, 29, 0.35);
    border-radius: 22px;
    background: linear-gradient(175deg, rgba(32, 26, 22, 0.98) 0%, rgba(18, 14, 12, 0.99) 100%);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate3d(0, -12px, 0) scale(0.96);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0s linear 0.28s;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
  }

  .site-header.is-scrolled .site-nav {
    inset: calc(var(--header-h, 56px) + 0.6rem) 0.6rem auto;
    width: auto;
    margin: 0;
    border: 1px solid rgba(244, 155, 29, 0.42);
    border-radius: 22px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
  }

  body.menu-open::before {
    background: rgba(12, 9, 7, 0.65);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .site-nav a {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 1.4rem;
    border-bottom: 0;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: linear-gradient(90deg, rgba(244, 155, 29, 0.22), rgba(244, 155, 29, 0.04));
    border-color: rgba(244, 155, 29, 0.4);
    color: #ffe6c7;
    padding-left: 1.65rem;
    box-shadow: inset 4px 0 0 var(--gold);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    width: 100%;
    min-height: 54px;
    margin-top: 0.6rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.4);
    transition: all 0.22s ease;
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus {
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff !important;
    padding-left: 1.4rem;
    box-shadow: 0 14px 32px rgba(34, 197, 94, 0.55);
    transform: translateY(-2px);
  }

  .page-hero-story {
    min-height: 240svh;
    padding: 0;
  }

  .brand-history-inner {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.4rem;
    padding: 5.2rem 0.85rem 1rem;
  }

  .brand-history-intro {
    position: relative;
    z-index: 3;
    width: min(22rem, calc(100% - 1.7rem));
    margin-bottom: clamp(0.9rem, 3.8vw, 1.2rem);
  }

  .brand-history-intro h1 {
    max-width: 14ch;
    font-size: clamp(1.92rem, 8.8vw, 2.68rem);
  }

  .brand-history-intro p {
    max-width: 24rem;
    margin-top: 0.62rem;
    font-size: clamp(0.9rem, 3.6vw, 1.02rem);
    line-height: 1.38;
  }

  .brand-timeline {
    position: relative;
    top: auto;
    width: min(100%, 390px);
    height: clamp(260px, 44svh, 390px);
    min-height: 0;
    margin: 0 auto;
  }

  .brand-era {
    left: 50%;
    top: 50%;
    width: clamp(118px, 39vw, 158px);
  }

  .brand-era.is-current {
    top: 50%;
    width: clamp(154px, 63vw, 218px);
  }

  .brand-era h2 {
    margin-bottom: 0.92rem;
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .brand-era.is-current h2 {
    margin-bottom: 1.08rem;
  }

  .brand-era-frame {
    min-height: 0;
    padding: 0;
  }

  .brand-era-frame img {
    max-height: 136px;
  }

  .brand-era.is-current .brand-era-frame {
    filter:
      drop-shadow(0 10px 9px rgba(33, 22, 18, 0.2))
      drop-shadow(0 24px 22px rgba(33, 22, 18, 0.24))
      drop-shadow(0 46px 40px rgba(33, 22, 18, 0.14));
    transform: translate3d(0, -16px, 52px) rotateX(7deg) rotateY(-3deg);
  }

  .story-media {
    margin-top: 1.25rem;
    scroll-margin-top: 112px;
  }

  .story-photo-current img {
    height: clamp(380px, 105vw, 460px);
    min-height: 380px;
    object-position: center top;
  }

  .story-archive {
    gap: 0.65rem;
  }

  .story-archive img {
    height: clamp(175px, 50vw, 230px);
  }

  .story-photo::before {
    opacity: 1;
  }

  .story-photo img {
    border-radius: 16px;
    transform: translateY(64px);
  }

  .story-photo figcaption {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.55rem;
    min-height: 42px;
    padding: 0.15rem 0;
    opacity: 1;
    transform: translateY(0);
  }

  .story-photo figcaption strong {
    font-size: clamp(1.02rem, 5vw, 1.4rem);
  }

  .story-photo figcaption span {
    font-size: 0.68rem;
  }

  .story-archive .story-photo img {
    transform: translateY(56px);
  }

  .founder-copy h2 {
    max-width: 9ch;
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .founder-section::after {
    right: -0.35rem;
    bottom: 1.6rem;
    font-size: clamp(4.4rem, 25vw, 6.4rem);
  }

  .founder-showcase {
    min-height: clamp(390px, 104vw, 430px);
    padding: 0;
  }

  .founder-card-owner {
    left: 15%;
    bottom: 5.1rem;
    height: clamp(230px, 62vw, 280px);
    transform: none;
  }

  .founder-card-character {
    right: 10%;
    bottom: 0.55rem;
    height: clamp(245px, 66vw, 305px);
    transform: none;
  }

  .founder-card-character img {
    padding-bottom: 0;
  }

  .founder-card div {
    max-width: min(165px, 58vw);
    padding: 0.36rem 0.52rem;
  }

  .founder-card-owner div {
    left: -0.6rem;
    top: -2rem;
    bottom: auto;
  }

  .founder-card-character div {
    right: -0.55rem;
    top: -2.45rem;
    bottom: auto;
    max-width: 120px;
  }

  .home-hero {
    min-height: auto;
    align-items: end;
    padding: 5.5rem 1rem 1.5rem;
  }

  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hero-invima-3d-scene {
    width: 100%;
    margin-top: 0.5rem;
  }

  .invima-3d-card {
    max-width: 100%;
    padding: 1rem 1.2rem;
    gap: 1rem;
    border-radius: 20px;
    animation: none;
    transform: none;
  }

  .invima-gold-rim {
    width: 76px;
    height: 76px;
    padding: 4px;
  }

  .invima-3d-ribbon {
    padding: 2px 6px;
    font-size: 0.58rem;
  }

  .invima-3d-title {
    font-size: 1rem;
  }

  .invima-3d-desc {
    font-size: 0.74rem;
    margin-bottom: 0.45rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(16, 11, 8, 0.2) 0%, rgba(16, 11, 8, 0.72) 40%, rgba(16, 11, 8, 0.95) 100%);
  }

  .hero-bg {
    background-position: 57% center;
  }

  .hero-content h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .feature-actions,
  .contact-hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 1.75rem;
  }

  .hero-proof div {
    padding: 0.85rem 1rem;
  }

  .section {
    width: min(100% - 1.25rem, var(--max));
    padding: 3.5rem 0;
    scroll-margin-top: 92px;
  }

  .story-band,
  .distributor-feature,
  .values-section,
  .trust-strip,
  .media-showcase,
  .local-gallery,
  .visit-section,
  .pricing-section,
  .map-section {
    width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .product-grid,
  .value-grid,
  .trust-grid,
    .media-showcase-grid,
    .local-gallery-grid,
    .price-layout,
    .contact-hero-facts,
    .visit-details,
    .info-grid {
      grid-template-columns: 1fr;
      scroll-margin-top: 190px;
  }

  .product-card {
    min-height: 190px;
  }

  .timeline div {
    grid-template-columns: 68px 1fr;
  }

  .split-cta {
    display: grid;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-copy h2 {
    max-width: 12ch;
  }

  .trust-card {
    min-height: 210px;
  }

  .media-feature {
    min-height: 520px;
  }

  .media-tile,
  .local-gallery figure {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .visit-media,
  .contact-card img {
    max-height: none;
    min-height: 320px;
  }

  .page-hero {
    padding: 7.4rem 1rem 4rem;
  }

  .page-hero-contact {
    min-height: 620px;
    padding: 6.4rem 1rem 2rem;
    background:
      linear-gradient(90deg, rgba(16, 11, 8, 0.96) 0%, rgba(16, 11, 8, 0.78) 64%, rgba(16, 11, 8, 0.52) 100%),
      linear-gradient(180deg, rgba(16, 11, 8, 0.18), rgba(16, 11, 8, 0.74)),
      url("../assets/media/local-fachada.jpg");
    background-position: 58% center;
    background-size: cover;
  }

  .contact-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.15rem;
  }

  .contact-hero-facts div {
    padding: 0.74rem 0.58rem;
  }

  .contact-hero-facts strong {
    font-size: 0.78rem;
  }

  .contact-hero-facts span {
    font-size: 0.61rem;
    line-height: 1.18;
  }

  .contact-priority {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .contact-priority .contact-copy h2 {
    max-width: 13ch;
  }

  .contact-priority .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-priority .contact-actions .btn {
    width: auto;
    min-height: 46px;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    font-size: 0.86rem;
  }

  .contact-priority .info-grid div {
    padding: 0.72rem;
  }

  .contact-priority .info-grid span {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .contact-channel-card {
    grid-template-rows: minmax(200px, auto) auto;
  }

  .contact-channel-media,
  .contact-channel-media img {
    min-height: 200px;
  }

  .contact-priority .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-priority .info-grid div {
    padding: 0.86rem;
  }

  .visit-media {
    height: clamp(280px, 76vw, 360px);
  }

  .visit-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .visit-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-details div {
    padding: 0.78rem;
  }

  .visit-details span {
    font-size: 0.82rem;
  }

  .map-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .map-frame iframe {
    height: 330px;
    min-height: 330px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .section-head h2,
  .story-copy h2,
  .feature-panel h2,
  .story-main h2,
  .condition-card h2,
  .split-cta h2,
  .contact-copy h2,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 680px) {
  .page-hero-contact {
    min-height: 560px;
  }

  .contact-page .header-hours-tab {
    display: none;
  }

  .contact-page .contact-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-hero-facts div:last-child {
    grid-column: 1 / -1;
  }

  .contact-page .contact-hero-facts strong {
    font-size: 0.84rem;
  }

  .contact-page .contact-hero-facts span {
    font-size: 0.66rem;
  }
}

/* ===== Botón flotante de WhatsApp (se inyecta desde js/main.js) ===== */
.whatsapp-float {
  position: fixed;
  right: calc(1.75rem + env(safe-area-inset-right, 0px));
  bottom: calc(2.15rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 11, 8, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  text-decoration: none;
  transition: box-shadow 0.24s ease, background 0.2s ease;
  animation: whatsapp-float-bob 3.4s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  pointer-events: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  --wf-scale: 1.06;
  background: #1eb356;
  box-shadow: 0 18px 38px rgba(16, 11, 8, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(244, 155, 29, 0.9);
  outline-offset: 3px;
}

/* Flota suave de arriba a abajo, sin expandirse */
@keyframes whatsapp-float-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(var(--wf-scale, 1));
  }
  50% {
    transform: translate3d(0, var(--wf-lift, -8px), 0) scale(var(--wf-scale, 1));
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    --wf-lift: -6px;
    right: calc(1.15rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: min(166px, calc(100% - 7rem));
  }

  .brand-logo-image {
    height: 48px;
  }

  .brand-logo-text {
    font-size: 1.06rem;
  }

  .site-header.is-scrolled .brand-logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .whatsapp-float {
    right: calc(0.95rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    box-shadow: 0 10px 22px rgba(16, 11, 8, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}

/* En pantallas muy bajas (móvil horizontal) achica el recorrido y el tamaño */
@media (max-height: 480px) {
  .whatsapp-float {
    --wf-lift: -4px;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Sin hover (táctil): mismo tamaño al tocar, solo feedback al presionar */
@media (hover: none) {
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    --wf-scale: 1;
  }

  .whatsapp-float:active {
    --wf-scale: 0.94;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
    transition: none;
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    --wf-scale: 1;
  }
}

/* Tratamiento individual de las fotografias de fabrica y catalogo */
#planta .local-gallery-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  grid-template-rows: repeat(2, clamp(220px, 19vw, 285px));
  align-items: stretch;
}

#planta .local-gallery-grid figure {
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

#planta .factory-card {
  grid-row: 1 / span 2;
  min-height: 0;
}

#planta .gallery-support-card {
  min-height: 0;
}

#planta .factory-card img,
#planta .gallery-support-card img,
#planta .gallery-support-card video {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: #fff;
  object-fit: cover;
}

#planta .factory-card img {
  object-fit: contain;
  object-position: center;
  background: #ebe6dd;
}

#planta .gallery-support-card img {
  object-position: center 58%;
}

#planta .gallery-support-card video {
  object-position: center;
}

#planta .product-prepared-card {
  background: #fff url("../assets/media/empanada-espatula.jpg") center 54% / cover no-repeat;
}

#planta .process-card {
  background: #fff url("../assets/media/video-proceso-poster.jpg") center / cover no-repeat;
}

#productos {
  scroll-margin-top: calc(var(--header-h, 96px) + 1rem);
}

#productos .product-media,
#productos .product-card-featured .product-media {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: #fffaf1;
}

#productos .product-media img {
  position: relative;
  z-index: 1;
}

#productos .product-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
}

#productos .product-media-food img {
  object-fit: cover;
}

#productos .product-media-fried img {
  object-fit: contain;
  object-position: center;
}

#productos .product-media-chicken img {
  object-position: center 56%;
}

#productos .product-media-package {
  padding: 0.65rem;
  background: radial-gradient(circle at 50% 44%, #fffdf7 0 32%, #f8ead1 72%, #edd8b6 100%);
}

#productos .product-media-package img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

#productos .product-media-cocktail-meat img {
  object-fit: contain;
  object-position: center;
}

#productos .product-media-cheese {
  padding: 0.5rem;
  background: #fff;
}

#productos .product-media-cheese img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 981px) {
  .home-products-grid,
  #productos .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .home-products-grid .product-card,
  #productos .product-card {
    grid-column: auto;
  }

  #productos .product-media-fried::before,
  #productos .product-media-cocktail-meat::before,
  #productos .product-media-cheese::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: center / cover no-repeat;
    filter: blur(16px);
    opacity: 0.22;
    transform: scale(1.08);
  }

  #productos .product-media-fried::before {
    background-image: linear-gradient(rgba(42, 27, 20, 0.08), rgba(42, 27, 20, 0.08)), url("../assets/media/empanada-close-pinza.jpg");
  }

  #productos .product-media-cocktail-meat::before {
    background-image: linear-gradient(rgba(255, 249, 238, 0.12), rgba(255, 249, 238, 0.12)), url("../assets/media/coctelera-carne-x100.jpg");
  }

  #productos .product-media-cheese::before {
    background-image: linear-gradient(rgba(255, 249, 238, 0.12), rgba(255, 249, 238, 0.12)), url("../assets/media/coctelera-queso.jpg");
  }
}

.home-products-grid .product-media,
.home-products-grid .product-card-featured .product-media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
}

.home-products-grid .product-media img {
  width: 100%;
  height: 100%;
}

.home-products-grid .home-product-package {
  padding: 0.65rem;
  background: radial-gradient(circle at 50% 44%, #fffdf7 0 32%, #f8ead1 72%, #edd8b6 100%);
}

.home-products-grid .home-product-package img,
.home-products-grid .home-product-cocktail img,
.home-products-grid .home-product-cheese img {
  object-fit: contain;
  object-position: center;
}

.home-products-grid .home-product-cocktail,
.home-products-grid .home-product-cheese {
  padding: 0.45rem;
  background: linear-gradient(145deg, #fffaf1, #efe5d8);
}

@media (max-width: 980px) {
  #planta .local-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #planta .factory-card {
    grid-row: auto;
    min-height: 0;
  }

  #planta .factory-card img,
  #planta .gallery-support-card img,
  #planta .gallery-support-card video {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

@media (max-width: 640px) {
  #planta .local-gallery-grid figure {
    grid-template-rows: auto auto;
  }

  #planta .factory-card img,
  #planta .gallery-support-card img,
  #planta .gallery-support-card video {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  #productos .product-media-food {
    aspect-ratio: 1 / 1;
  }

  #productos .product-media-package,
  #productos .product-media-cheese {
    aspect-ratio: 1 / 1;
  }

  #productos .product-media-cocktail-meat {
    aspect-ratio: 1 / 1;
  }

  #productos .product-media-fried img {
    object-fit: cover;
    object-position: center 52%;
  }

  #productos .product-media-cocktail-meat img {
    object-fit: cover;
    object-position: 55% 68%;
  }

  #productos .product-media-package {
    padding: 0.55rem;
  }

  #productos .product-media-package img {
    transform: scale(1.12);
  }

  #productos .product-media-cheese {
    padding: 0;
  }

  #productos .product-media-cheese img {
    object-fit: cover;
    object-position: 50% 45%;
  }

  #productos .product-body {
    padding: 1rem 1rem 0.9rem;
  }

  #productos .product-footer a {
    min-height: 44px;
  }
}

/* ==========================================================================
   PROPUESTA PAGINA DE CONTACTO
   ========================================================================== */
.proposal-contact-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 1.02fr);
  gap: 1.5rem;
  align-items: stretch;
  padding-top: clamp(2.2rem, 4vw, 3.4rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.proposal-order-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.proposal-order-panel h2 {
  max-width: 15ch;
  margin-top: 0.45rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}

.proposal-order-panel > p {
  max-width: 590px;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.proposal-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.proposal-routes a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(191, 60, 34, 0.16);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.proposal-routes a:hover {
  border-color: rgba(191, 60, 34, 0.42);
  background: #fff7eb;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(33, 22, 18, 0.05);
}

.proposal-routes strong,
.proposal-routes span {
  display: block;
}

.proposal-routes strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.proposal-routes span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.proposal-products {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.proposal-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.proposal-product:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.proposal-product img {
  width: 116px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.proposal-product:nth-child(1) img {
  object-position: 50% 52%;
}

.proposal-product:nth-child(2) img {
  object-position: 50% 58%;
}

.proposal-product:nth-child(3) img {
  object-position: 62% 58%;
}

.proposal-product div {
  min-width: 0;
}

.proposal-product span,
.proposal-product h3,
.proposal-product strong {
  display: block;
}

.proposal-product span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.proposal-product h3 {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.proposal-product div > strong {
  margin-top: 0.3rem;
  color: var(--red);
  font-size: 1rem;
  font-weight: 800;
}

.proposal-product > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.proposal-product > a:hover {
  background: var(--red);
  transform: scale(1.04);
}

.proposal-map-card {
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.proposal-map-card .contact-route-strip > div {
  min-width: 0;
}

.proposal-proof {
  flex: 0 0 auto;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  text-align: right;
}

.proposal-bot-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 16px;
  background: #f0fdf4;
  margin-top: 1rem;
}

.proposal-bot-strip img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.proposal-bot-strip div {
  flex: 1;
}

.proposal-bot-strip span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proposal-bot-strip strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.15rem;
  color: var(--ink);
}

.proposal-bot-strip p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

.proposal-bot-strip .btn-primary {
  background: var(--green);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.2);
}

.proposal-bot-strip .btn-primary:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .proposal-contact-hub {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .proposal-bot-strip {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .section.proposal-contact-hub {
    width: 100%;
    padding-inline: 0.5rem;
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 2.4rem;
  }

  .proposal-order-panel {
    padding: 1.25rem;
  }

  .proposal-order-panel h2 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .proposal-routes {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .proposal-routes a {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem;
  }

  .proposal-product {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.5rem;
  }

  .proposal-product img {
    width: 92px;
    height: 86px;
    grid-row: 1 / span 3;
  }

  .proposal-product h3 {
    font-size: 0.98rem;
  }

  .proposal-product > a {
    min-height: 34px;
    justify-self: start;
    padding: 0.48rem 0.7rem;
    grid-column: 2;
  }

  .proposal-proof {
    padding-left: 0.7rem;
  }

  .proposal-bot-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    text-align: center;
  }

  .proposal-bot-strip img {
    align-self: center;
  }

  .proposal-bot-strip .btn-primary {
    width: 100%;
  }
}

/* ==========================================================================
   PANTALLA DE INTRODUCCIÓN — VIDEO FULLSCREEN (PC & MÓVIL)
   ========================================================================== */
body.intro-active {
  overflow: hidden !important;
}

.intro-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  transition: opacity 1.6s ease;
}

.intro-overlay video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-overlay.fading {
  opacity: 0;
  pointer-events: none;
}

/* PC: solo pantallas >= 769px */
@media (min-width: 769px) {
  .intro-overlay--pc { display: block; }
}
/* Móvil: solo pantallas < 769px */
@media (max-width: 768px) {
  .intro-overlay--mobile { display: block; }
}


/* --- GRID SYMMETRY ENFORCEMENT --- */
.home-products-grid,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  max-width: 940px !important;
  margin-inline: auto !important;
  align-items: stretch !important;
}

.home-products-grid .product-card,
.product-grid .product-card {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  margin: 0 !important;
  height: 100% !important;
}

.product-media {
  height: clamp(255px, 28vw, 340px) !important;
}

.product-card-featured .product-media {
  height: clamp(255px, 28vw, 340px) !important;
}

@media (max-width: 980px) {
  .home-products-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    max-width: 780px !important;
  }
}

@media (max-width: 600px) {
  .home-products-grid,
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 380px !important;
  }
}

@media (min-width: 601px) {
  .product-card-center {
    grid-column: 1 / -1 !important;
    max-width: 460px !important;
    justify-self: center !important;
    width: 100% !important;
  }
}


/* ==========================================================================
   SECCIÓN FLOTA, CAMIÓN & DOMICILIOS 360 (NOSOTROS)
   ========================================================================== */
.delivery-360-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.7) 0%, rgba(246, 234, 216, 0.45) 100%);
}

.delivery-360-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.fleet-selector-tabs {
  display: inline-flex;
  gap: 0.35rem;
  background: rgba(33, 22, 18, 0.05);
  border: 1px solid rgba(33, 22, 18, 0.09);
  padding: 0.32rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.fleet-tab-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  user-select: none;
}

.fleet-tab-btn:hover {
  color: var(--ink);
}

.fleet-tab-btn.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(33, 22, 18, 0.08), 0 1px 2px rgba(33, 22, 18, 0.04);
}

.delivery-360-copy h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.delivery-360-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

.delivery-360-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.delivery-360-features strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--display);
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.delivery-360-features span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.delivery-360-interactive {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: clamp(430px, 42vw, 485px);
}

.moto360-viewer {
  position: relative;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(33, 22, 18, 0.1);
  box-shadow: 0 24px 60px rgba(33, 22, 18, 0.08);
  overflow: hidden;
  animation: fleetCardReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.moto360-viewer.is-portrait {
  aspect-ratio: 9 / 16;
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 280px;
}

@keyframes fleetCardReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.moto360-viewer:active {
  cursor: grabbing;
}

.moto360-viewer:hover {
  border-color: rgba(244, 155, 29, 0.45);
  box-shadow: 0 30px 70px rgba(244, 155, 29, 0.16);
}

.moto360-viewer canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.moto360-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(33, 22, 18, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
  opacity: 0.96;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.moto360-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.moto360-viewer.is-dragging .moto360-badge {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
}

.moto360-viewer.is-dragging .moto360-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

@media (max-width: 900px) {
  .delivery-360-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.2rem;
  }

  .delivery-360-copy {
    max-width: 600px;
    margin: 0 auto;
  }

  .fleet-selector-tabs {
    margin-left: auto;
    margin-right: auto;
  }

  .delivery-360-features {
    justify-content: center;
  }

  .delivery-360-interactive {
    height: auto;
    min-height: auto;
    width: 100%;
    margin: 0 auto;
  }

  .moto360-viewer {
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .moto360-viewer.is-portrait {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 9 / 16;
  }
}