/* Carnes Serrano — landing page styles */

@font-face {
  font-family: 'LT Soul';
  src: url('vendor/fonts/ltsoul-medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('vendor/fonts/lora-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('vendor/fonts/lora-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Paleta oficial — manual de identidad Carnes Serrano v1.0 */
  --bg: #171310;
  --bg-elevated: #1f1a15;
  --bg-elevated-2: #26201a;
  --gold: #c8a24a;
  --gold-bright: color-mix(in srgb, #c8a24a 78%, white 22%);
  --gold-deep: #9c7a2e;
  --gold-soft: rgba(200, 162, 74, 0.16);
  --maroon: #8c2a22;
  --ivory: #f6f0e4;
  --ivory-dim: color-mix(in srgb, #f6f0e4 72%, #7a7263 28%);
  --ivory-faint: rgba(246, 240, 228, 0.55);
  --warm-grey: #7a7263;
  --line: rgba(246, 240, 228, 0.12);

  --font-display: 'LT Soul', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;

  --container: 1180px;
  --gutter: clamp(1.5rem, 5vw, 3.5rem);
  --section-pad: clamp(5.5rem, 13vw, 10.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 30% at 15% 38%, rgba(122, 32, 32, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 25% at 85% 68%, rgba(122, 32, 32, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 25% at 20% 92%, rgba(122, 32, 32, 0.12), transparent 60%),
    var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0a0908;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Background texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--whatsapp {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #17130b;
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(201, 162, 39, 0.55); }
.btn--ghost {
  color: var(--ivory);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--outline {
  color: var(--ivory);
  border-color: rgba(244, 238, 225, 0.25);
  background: rgba(244, 238, 225, 0.04);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--large { padding: 1.05rem 2rem; font-size: 1rem; }

/* ---------- Brand mark ---------- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
}
.brand-mark__icon { width: 38px; height: 38px; object-fit: contain; flex: none; }
.brand-mark__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-mark__text em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.85), rgba(10, 9, 8, 0));
  backdrop-filter: blur(6px);
}

/* ---------- Layout helpers ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}
.section-head__lede {
  margin-top: 1rem;
  color: var(--ivory-dim);
  font-size: 1.05rem;
}

section { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--gutter) 4rem;
  overflow: hidden;
  background: var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(23, 19, 16, 0.45) 0%, rgba(23, 19, 16, 0.28) 45%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(23, 19, 16, 0.1) 0%, rgba(23, 19, 16, 0.5) 68%);
  pointer-events: none;
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 39, 0.22), transparent 55%),
    radial-gradient(ellipse at 50% 95%, rgba(122, 32, 32, 0.28), transparent 60%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero .eyebrow { justify-content: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  text-shadow: 0 1px 3px rgba(23, 19, 16, 0.9);
}
.hero__title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--gold-bright);
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ivory-dim);
  max-width: 46ch;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(23, 19, 16, 0.95);
}
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.video-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 228, 0.35);
  background: rgba(23, 19, 16, 0.5);
  color: var(--ivory);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle:hover,
.video-toggle:focus-visible { border-color: var(--gold); background: rgba(23, 19, 16, 0.75); }
.video-toggle--hero {
  position: absolute;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  z-index: 2;
}
.process-card .video-toggle {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
}
.hero__scroll-cue {
  position: absolute;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  z-index: 2;
}
.hero__scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  60% { opacity: 0.2; transform: translate(-50%, 12px); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar__item {
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.trust-bar__item:first-child { border-left: none; }
.trust-bar__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--gold-bright);
}
.trust-bar__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--ivory-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Brand story ---------- */
.brand-story {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.brand-story__mark {
  width: clamp(150px, 22vw, 220px);
  height: auto;
  flex: none;
}
.brand-story__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1.1rem;
}
.brand-story__copy p {
  color: var(--ivory-dim);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ---------- Process strip ---------- */
.process-strip {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-pad);
  overflow: hidden;
}
.process-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  transform: translate(-50%, -50%);
  background: url('assets/logo/carnes-serrano-icon.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.process-strip .section-head,
.process-strip__grid {
  position: relative;
  z-index: 1;
}
.process-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3.5vw, 2.25rem);
}
.process-card {
  margin: 0;
  position: relative;
  aspect-ratio: 9 / 13;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.process-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.05) 55%, rgba(10, 9, 8, 0.92) 100%);
}
.process-card figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--ivory);
}
@media (max-width: 640px) {
  .process-strip__grid { grid-template-columns: 1fr; }
  .process-card { aspect-ratio: 16 / 10; }
}

/* ---------- Cuts catalog ---------- */
.cuts-catalog {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}

.cuts-diagram {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: radial-gradient(ellipse at 50% 50%, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.cuts-diagram svg { width: 100%; height: auto; overflow: visible; }
.cuts-diagram.has-photo { max-width: 1040px; }
.cuts-diagram.has-photo svg { border-radius: 14px; overflow: hidden; }
.cuts-diagram.has-photo .cut-zone {
  fill: rgba(201, 162, 39, 0.05);
  stroke: rgba(244, 238, 225, 0.4);
  stroke-width: 1.25;
}
.cuts-diagram.has-photo .cut-zone:hover,
.cuts-diagram.has-photo .cut-zone.is-active {
  fill: rgba(200, 162, 74, 0.4);
  stroke: var(--gold-bright);
  stroke-width: 3;
}
.cuts-diagram .cut-zone {
  fill: rgba(201, 162, 39, 0.08);
  stroke: rgba(244, 238, 225, 0.35);
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill 0.25s var(--ease), stroke 0.25s var(--ease);
}
.cuts-diagram .cut-zone.zone--trasero { fill: rgba(122, 32, 32, 0.32); }
.cuts-diagram .cut-zone.zone--trasero:hover,
.cuts-diagram .cut-zone.zone--trasero.is-active {
  fill: #a52a2a;
  stroke: #d64545;
}
.cuts-diagram .cut-zone:hover,
.cuts-diagram .cut-zone.is-active {
  fill: var(--gold);
  stroke: var(--gold-bright);
}
.cuts-diagram .cut-outline {
  fill: none;
  stroke: var(--ivory-faint);
  stroke-width: 1.5;
}
.cuts-diagram .cut-label {
  font-family: var(--font-body);
  font-size: 10px;
  fill: var(--ivory-faint);
  pointer-events: none;
}

.cuts-info {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-bright);
  min-height: 1.6em;
}
.cuts-info em {
  font-style: normal;
  color: var(--ivory-faint);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.cuts-legend {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}
.cuts-legend__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ivory-dim);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.cuts-legend__item svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.cuts-legend__item.is-active {
  border-color: var(--gold);
  color: var(--ivory);
  background: var(--gold-soft);
}


/* ---------- Featured cuts ---------- */
.featured-cuts {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}
.featured-cuts__grid-wrap {
  position: relative;
}
.quality-seal {
  position: absolute;
  top: -34px;
  left: clamp(0.5rem, 3vw, 1.5rem);
  width: clamp(84px, 10vw, 128px);
  height: auto;
  z-index: 3;
  transform: rotate(-10deg) scale(2.4);
  opacity: 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}
.quality-seal.is-stamped {
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15), opacity 0.15s ease-out;
  transform: rotate(-10deg) scale(1);
  opacity: 0.94;
}
@media (prefers-reduced-motion: reduce) {
  .quality-seal { transition: none; transform: rotate(-10deg) scale(1); opacity: 0.94; }
}
@media (max-width: 640px) {
  .quality-seal { position: static; margin: 0 auto clamp(1.5rem, 6vw, 2.5rem); }
}
.featured-cuts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.featured-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.05) 40%, rgba(10, 9, 8, 0.92) 100%);
  z-index: 1;
}
.featured-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.25rem;
}
.featured-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--ivory);
}
.featured-card__desc {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--ivory-faint);
}
.featured-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #17130b;
  background: var(--gold-bright);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.featured-card:hover .featured-card__name { color: var(--gold-bright); }

/* ---------- Order chat ---------- */
.order-chat-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.order-chat {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.order-chat__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--maroon);
  color: var(--ivory);
}
.order-chat__header img { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--bg); }
.order-chat__header strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.order-chat__header span { display: block; font-size: 0.8rem; color: rgba(246, 240, 228, 0.75); }
.order-chat__log {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem;
  max-height: 420px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.chat-bubble {
  max-width: 82%;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.chat-bubble--bot {
  align-self: flex-start;
  background: var(--bg-elevated-2);
  color: var(--ivory);
  border-bottom-left-radius: 4px;
}
.chat-bubble--user {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #17130b;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-bubble--typing { display: flex; gap: 4px; align-items: center; padding: 0.85rem 1rem; }
.chat-bubble--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ivory-faint);
  animation: chatTyping 1s infinite ease-in-out;
}
.chat-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.order-chat__input {
  padding: 1rem 1.4rem 1.4rem;
  border-top: 1px solid var(--line);
}
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat-chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ivory-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chat-chip:hover, .chat-chip:focus-visible { border-color: var(--gold); color: var(--gold-bright); }
.chat-chip--other { color: var(--ivory-faint); font-style: italic; }
.chat-text-form { display: flex; gap: 0.6rem; }
.chat-text-form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.chat-text-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.chat-text-form button {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #17130b;
  cursor: pointer;
}
.chat-text-form button svg { width: 18px; height: 18px; }
.chat-cta { width: 100%; justify-content: center; }
.chat-restart {
  display: block;
  margin: 0.75rem auto 0;
  background: none;
  border: none;
  color: var(--ivory-faint);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}
.chat-restart:hover { color: var(--gold-bright); }
.order-chat__fallback {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ivory-faint);
}
.order-chat__fallback a { color: var(--gold); }
.order-chat__fallback a:hover { color: var(--gold-bright); }
@media (prefers-reduced-motion: reduce) {
  .chat-bubble--typing span { animation: none; opacity: 0.8; }
}
@media (max-width: 640px) {
  .order-chat__log { max-height: 340px; }
  .order-chat__header, .order-chat__log, .order-chat__input { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon);
  color: var(--ivory);
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) 2rem;
}
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.site-footer .brand-mark { justify-content: flex-start; margin-bottom: 1.25rem; }
.site-footer .brand-mark__text em { color: var(--ivory); }
.site-footer__brand h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}
.site-footer__brand p {
  color: rgba(246, 240, 228, 0.8);
  font-size: 0.9rem;
  max-width: 42ch;
}
.site-footer__col h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(246, 240, 228, 0.82);
  margin-bottom: 1rem;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer__col a,
.site-footer__col span {
  color: var(--ivory);
  font-size: 0.9rem;
}
.site-footer__col a:hover { color: var(--bg); }
.site-footer__credit {
  max-width: var(--container);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 240, 228, 0.18);
  font-size: 0.75rem;
  color: rgba(246, 240, 228, 0.75);
  text-align: center;
}

/* ---------- Reveal animation base state ---------- */
[data-reveal] > * { will-change: transform, opacity; }
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; }
}
.hero .eyebrow.reveal-item { transition-delay: 0s; }
.hero__title.reveal-item { transition-delay: 0.12s; }
.hero__subtitle.reveal-item { transition-delay: 0.24s; }
.hero__actions.reveal-item { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .brand-story { grid-template-columns: 1fr; text-align: center; }
  .brand-story__mark { justify-self: center; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; text-align: center; }
  .site-footer__brand .brand-mark { justify-content: center; }
  .site-footer__brand p { margin: 0 auto; }
  .site-footer__col { align-items: center; text-align: center; }
}
@media (max-width: 640px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__item:nth-child(2n+1) { border-left: none; }
  .trust-bar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .btn--small span { display: none; }
}
