/* Hierro Gaucho -- public site, stage 1. A forge: blackened iron, embers, bone and leather, a pampa
   "guarda" between sections. Dark by design: the one exception to the light-only rule, declared by
   Max on 2026-11-17 for this venture only. Brand: black, bone #E8D2BF, ember #EC7C28, irons #5A6068-#8A9098. */
:root {
  color-scheme: dark;
  --iron-0: #0b0a09;
  --iron-1: #13110f;
  --iron-2: #1b1815;
  --iron-3: #26221e;
  --iron-4: #3a352f;
  --bone: #e8d2bf;
  --bone-2: #cdbba9;
  --mute: #958a7e;
  --steel: #8a9098;
  --steel-d: #5a6068;
  --ember: #ec7c28;
  --ember-2: #ffa25a;
  --ember-d: #b8561a;
  --leather: #6e4a2f;
  --leather-2: #8d5f3b;
  --wa: #1f8f57;
  --r: 12px;
  --max: 1160px;
  --display: "Rockwell", "Roboto Slab", "Clarendon", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* pampa guarda: stepped rhombi, bone on leather, the band a poncho or a faja carries */
  --guarda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18' viewBox='0 0 48 18'%3E%3Crect width='48' height='18' fill='%236e4a2f'/%3E%3Cpath d='M0 9 L6 3 L12 9 L6 15Z M24 9 L30 3 L36 9 L30 15Z' fill='%23e8d2bf'/%3E%3Cpath d='M12 9 L18 5 L24 9 L18 13Z M36 9 L42 5 L48 9 L42 13Z' fill='%23ec7c28'/%3E%3Cpath d='M0 1 H48 M0 17 H48' stroke='%23e8d2bf' stroke-width='1.2'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--iron-0); }
body {
  margin: 0; color: var(--bone); font: 16px/1.6 var(--sans);
  background-color: var(--iron-1);
  /* blackened, hammered iron: faint grain and a warm vignette, no image file */
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(236,124,40,.10), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 5px),
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 100% 900px, auto, 6px 6px;
  background-repeat: no-repeat, repeat, repeat;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.08; color: var(--bone); }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; }
h1 { font-size: clamp(2.2rem, 8vw, 4.2rem); text-shadow: 0 2px 0 #000, 0 0 30px rgba(236,124,40,.18); }
h2 { font-size: clamp(1.6rem, 5.2vw, 2.6rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 18px; }
section { padding: 60px 0; position: relative; }
.center { text-align: center; }
.actions.center { justify-content: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .26em; font-size: .74rem; font-weight: 800; color: var(--ember); margin: 0 0 12px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--ember-d), var(--ember-2)); box-shadow: 0 0 8px var(--ember); }
.lead { font-size: 1.08rem; color: var(--bone-2); max-width: 40em; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--mute); }
.slogan { font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; color: var(--ember); font-size: .9rem; }

/* the pampa guarda as a section divider */
.guarda { height: 18px; background: var(--guarda) repeat-x center / 48px 18px; opacity: .9; box-shadow: 0 0 0 1px #000; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* header: a forged bar with rivets */
.top { position: sticky; top: 0; z-index: 1000; background: linear-gradient(#1a1714, #0e0c0b); color: var(--bone); display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid #000; box-shadow: 0 1px 0 #2e2925, 0 6px 18px rgba(0,0,0,.5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; background: #000; box-shadow: 0 0 0 1px var(--iron-4), 0 0 14px rgba(236,124,40,.35); }
.brand .descriptor { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-2); margin-top: 1px; }
.word { font-family: var(--display); letter-spacing: .16em; font-size: 1rem; color: var(--bone); }
.word b { color: var(--ember); font-weight: inherit; text-shadow: 0 0 10px rgba(236,124,40,.6); }
.menu-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: grid; gap: 5px; }
.menu-btn span { width: 22px; height: 2px; background: var(--bone); display: block; }
.menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--iron-0); flex-direction: column; padding: 6px 18px 18px; border-bottom: 3px solid var(--leather); }
.menu.open { display: flex; }
.menu a { padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--iron-3); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.menu a[aria-current="page"] { color: var(--ember-2); }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .menu { display: flex; position: static; flex-direction: row; padding: 0; gap: 26px; background: none; border: 0; }
  .menu a { border: 0; padding: 4px 0; position: relative; font-size: .8rem; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ember); box-shadow: 0 0 8px var(--ember); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .menu a:hover::after { transform: scaleX(1); }
}

/* buttons: hot metal and leather */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; transition: transform .18s, box-shadow .25s, filter .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ember { background: linear-gradient(180deg, var(--ember-2), var(--ember) 45%, var(--ember-d)); color: #1a0b02; box-shadow: 0 0 0 1px #6b2f0a, 0 8px 24px rgba(236,124,40,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ember:hover { box-shadow: 0 0 0 1px #6b2f0a, 0 10px 34px rgba(236,124,40,.65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31,143,87,.3); }
.btn-dark { background: rgba(11,10,9,.85); color: var(--bone); box-shadow: 0 0 0 1px var(--iron-4); }
.btn-line { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--leather-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ember); color: #fff; }
.btn-small { padding: 9px 15px; font-size: .74rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.5); z-index: 1001; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.ig { color: var(--ember-2); font-weight: 700; }

/* hero: the forge mouth -- glow from below, embers rising */
.hero { background: radial-gradient(ellipse at 50% 115%, rgba(236,124,40,.55), rgba(184,86,26,.18) 35%, transparent 65%), var(--iron-0); overflow: hidden; padding: 0; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, rgba(236,124,40,.12)); animation: breathe 3.8s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; gap: 14px; align-items: center; padding: 30px 18px 22px; max-width: var(--max); margin: 0 auto; }
.hero-logo { width: min(56vw, 460px); margin: 0 auto; mix-blend-mode: lighten; filter: drop-shadow(0 0 40px rgba(236,124,40,.25)); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy { text-align: center; animation: rise 1.1s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy h1 { margin-bottom: .25em; }
.hero-copy p:not(.slogan) { color: var(--bone-2); margin-left: auto; margin-right: auto; max-width: 32em; }
.hero-copy .actions { justify-content: center; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; padding: 60px 18px 46px; }
  .hero-copy { text-align: left; order: -1; }
  .hero-copy p:not(.slogan) { margin-left: 0; }
  .hero-copy .actions { justify-content: flex-start; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.strip { position: relative; z-index: 1; overflow: hidden; padding: 4px 0 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.strip img { height: 150px; width: 118px; object-fit: cover; border-radius: 6px; filter: saturate(.85) contrast(1.05); box-shadow: 0 0 0 1px #000, 0 10px 20px rgba(0,0,0,.6); }
@media (min-width: 900px) { .strip img { height: 200px; width: 160px; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* plates: iron panels with four rivets */
.plate, .card, .quote, .steps li, .tile, .diagram {
  background: linear-gradient(160deg, var(--iron-3), var(--iron-2) 60%, #171412);
  border: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.45);
}
.plate, .quote { position: relative; border-radius: var(--r); padding: 24px 22px; }
.plate::before, .quote::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #6f665d 0 2.5px, transparent 3.5px) top left / 8px 8px no-repeat,
    radial-gradient(circle at 100% 0, #6f665d 0 2.5px, transparent 3.5px) top right / 8px 8px no-repeat,
    radial-gradient(circle at 0 100%, #6f665d 0 2.5px, transparent 3.5px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle at 100% 100%, #6f665d 0 2.5px, transparent 3.5px) bottom right / 8px 8px no-repeat;
}

/* categories */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }
.cat { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; background: #000; box-shadow: 0 0 0 1px #000, 0 14px 30px rgba(0,0,0,.5); }
.cat img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(.85); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.cat:hover img { transform: scale(1.07); filter: saturate(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -80px 60px -20px rgba(236,124,40,.0); transition: box-shadow .5s; }
.cat:hover::after { box-shadow: inset 0 -90px 60px -20px rgba(236,124,40,.35); }
.cat span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 14px 14px; color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.cat span::after { content: " →"; color: var(--ember); }

.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band { background: linear-gradient(180deg, rgba(110,74,47,.18), rgba(110,74,47,.05)); }
.teaser { background: radial-gradient(ellipse at 15% 50%, rgba(236,124,40,.18), transparent 50%); }
.teaser .stat { font-family: var(--display); font-size: clamp(4rem, 15vw, 8rem); line-height: 1; color: var(--ember); text-shadow: 0 0 30px rgba(236,124,40,.55); }

/* gallery */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 18px; scrollbar-width: none; }
.tabs button { flex: none; border: 0; background: var(--iron-2); color: var(--bone-2); border-radius: 6px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 0 0 1px var(--iron-4); }
.tabs button[aria-pressed="true"] { background: var(--ember); color: #1a0b02; box-shadow: 0 0 18px rgba(236,124,40,.4); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.tile { margin: 0; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.tile img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .6s; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { font-size: .85rem; color: var(--bone-2); padding: 10px 12px 12px; }
.lightbox { position: fixed; inset: 0; background: rgba(5,4,4,.96); display: none; z-index: 2000; padding: 18px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: var(--bone); }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 8px; box-shadow: 0 0 60px rgba(236,124,40,.15); }
.lightbox button { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--bone); font-size: 2.2rem; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

.pair { position: relative; cursor: pointer; border-radius: var(--r); overflow: hidden; max-width: 580px; box-shadow: 0 0 0 1px #000, 0 18px 40px rgba(0,0,0,.55); }
.pair img { width: 100%; transition: opacity .3s; }
.pair .hint { position: absolute; left: 12px; bottom: 12px; background: rgba(11,10,9,.85); color: var(--bone); padding: 8px 14px; border-radius: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pair .hint::before { content: "● "; color: var(--ember); }

/* offering */
.cards { display: grid; gap: 18px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { border-radius: var(--r); padding: 0 0 20px; overflow: hidden; }
.card > *:not(img) { margin-left: 20px; margin-right: 20px; }
.card > img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 18px; border-bottom: 3px solid var(--leather); }
.card ul { padding-left: 1.1em; margin-top: .3em; color: var(--bone-2); }
.card li::marker, .plate li::marker { color: var(--ember); }
.card p { color: var(--bone-2); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; padding-top: 12px; border-top: 1px solid var(--iron-4); }
.meta dt { color: var(--mute); }
.meta dd { margin: 0; font-weight: 600; }

/* process */
.steps { list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; border-radius: var(--r); padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2rem; color: var(--ember); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 16px rgba(236,124,40,.5); }
.steps p { color: var(--bone-2); font-size: .95rem; }
.steps .dur { display: inline-block; font-size: .74rem; font-weight: 800; color: var(--ember-2); border: 1px solid var(--ember-d); border-radius: 4px; padding: 2px 8px; letter-spacing: .06em; text-transform: uppercase; }
.total { display: inline-block; background: var(--ember); color: #1a0b02; border-radius: 4px; padding: 3px 12px; font-weight: 800; }

/* client example */
.notice { display: flex; gap: 12px; align-items: flex-start; background: rgba(110,74,47,.18); border: 1px solid var(--leather); border-radius: var(--r); padding: 12px 16px; margin: 18px 0 22px; font-size: .92rem; color: var(--bone-2); }
.notice strong { color: var(--ember); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; padding-top: 2px; }
.ctabs { display: flex; gap: 6px; background: var(--iron-0); padding: 6px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--iron-3); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.ctabs a { flex: 1 0 auto; text-align: center; text-decoration: none; padding: 10px 16px; border-radius: 6px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--bone-2); }
.ctabs a[aria-current="page"] { background: var(--iron-3); color: var(--bone); box-shadow: inset 0 -2px 0 var(--ember); }
.quote { animation: rise .5s both; }
.quote h2 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: clamp(1.2rem, 4vw, 1.6rem); }
.quote table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.quote td { padding: 9px 0; border-bottom: 1px dashed var(--iron-4); vertical-align: top; color: var(--bone-2); }
.quote td:last-child { text-align: right; font-weight: 700; color: var(--bone); }
.quote tr.big td { font-size: 1.2rem; border-bottom: 0; padding-top: 14px; color: var(--bone); }
.quote tr.big td:last-child { color: var(--ember); font-family: var(--display); font-size: 1.5rem; text-shadow: 0 0 18px rgba(236,124,40,.4); }
.quote ul { color: var(--bone-2); }
.diagram { border-radius: var(--r); padding: 14px; width: 100%; margin-top: 12px; }
.diagram .lid { animation: lid 5s ease-in-out infinite; }
.diagram .cw { animation: cw 5s ease-in-out infinite; }
@keyframes lid { 0%,15%,85%,100% { transform: translateY(0); } 40%,60% { transform: translateY(-26px); } }
@keyframes cw { 0%,15%,85%,100% { transform: translateY(0); } 40%,60% { transform: translateY(26px); } }
.how { color: var(--bone-2); padding-left: 1.2em; }
.two { display: grid; gap: 26px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; align-items: start; } }

/* order: a horizontal, animated timeline */
.order { position: relative; overflow: hidden; border-radius: 16px; padding: 24px 18px; background: linear-gradient(160deg, #1d1a17, #0f0d0c); border: 1px solid #000; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.order::before { content: ""; position: absolute; right: -140px; top: -180px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(236,124,40,.22), transparent 65%); pointer-events: none; }
.order-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.order-head h3 { margin: 0; font-size: 1.05rem; color: var(--bone); max-width: 30em; }
.eta { text-align: right; }
.eta small { display: block; color: var(--mute); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; }
.eta b { font-family: var(--display); font-size: 1.6rem; color: var(--ember); text-shadow: 0 0 18px rgba(236,124,40,.5); }
.tl-scroll { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--iron-4) transparent; }
.tl { position: relative; display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); min-width: 770px; padding-top: 4px; }
.tl-track, .tl-fill { position: absolute; top: 27px; left: calc(100% / 14); height: 6px; border-radius: 6px; }
.tl-track { right: calc(100% / 14); background: #2a2622; box-shadow: inset 0 1px 2px #000; }
.tl-fill { width: 0; background: linear-gradient(90deg, #7a2e08, var(--ember-d), var(--ember), #ffd09a); box-shadow: 0 0 16px rgba(236,124,40,.9), 0 0 4px #ffd09a; transition: width 2.2s cubic-bezier(.35,.6,.2,1) .3s; }
.tl-fill::after { content: ""; position: absolute; right: -6px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff3e2; box-shadow: 0 0 14px 6px rgba(255,162,90,.9); }
.tl-node { position: relative; text-align: center; scroll-snap-align: center; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0 4px; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.tl.go .tl-node { opacity: 1; transform: none; }
.tl-dot { width: 48px; height: 48px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; background: #1a1714; border: 2px solid #3a352f; color: #6d655d; position: relative; z-index: 1; transition: background .5s, border-color .5s, color .5s, transform .3s, box-shadow .5s; }
.tl-dot svg { width: 22px; height: 22px; }
.tl.go .tl-node.done .tl-dot { background: radial-gradient(circle at 35% 30%, var(--ember-2), var(--ember) 50%, var(--ember-d)); border-color: #ffb27a; color: #1a0b02; box-shadow: 0 0 14px rgba(236,124,40,.6); }
.tl.go .tl-node.now .tl-dot { border-color: var(--ember); color: var(--ember-2); animation: pulse 1.8s infinite 2.4s; }
.tl-node.sel .tl-dot { transform: scale(1.14); }
.tl-node:hover .tl-dot { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(236,124,40,.7); } 70% { box-shadow: 0 0 0 16px rgba(236,124,40,0); } 100% { box-shadow: 0 0 0 0 rgba(236,124,40,0); } }
.tl-name { font-size: .78rem; font-weight: 700; line-height: 1.25; display: block; color: var(--bone); }
.tl-node.todo .tl-name { color: #776e65; }
.tl-date { font-size: .72rem; color: var(--mute); display: block; margin-top: 3px; }
.tl-detail { position: relative; margin-top: 18px; background: rgba(11,10,9,.7); border: 1px solid var(--iron-3); border-left: 3px solid var(--ember); border-radius: 10px; padding: 16px; display: grid; gap: 14px; animation: rise .45s both; }
@media (min-width: 900px) { .tl-detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.tl-detail h4 { margin: 2px 0 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; }
.tl-detail .when { color: var(--ember); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tl-detail p { color: var(--bone-2); margin: 8px 0 0; }
.tl-detail .pending { color: var(--mute); }
.tl-detail img, .tl-detail svg { width: 100%; border-radius: 8px; }
.replay { margin-top: 14px; }

/* cases map */
.casos { padding-bottom: 40px; }
.mapbox { position: relative; border-radius: 14px; overflow: hidden; margin: 18px 0; box-shadow: 0 0 0 1px #000, 0 0 0 7px var(--iron-3), 0 0 0 8px #000, 0 30px 70px rgba(0,0,0,.6); }
#map { position: relative; background: #14110f; }
#amba { display: block; width: 100%; height: 68vh; min-height: 440px; }
.m-coast { fill: none; stroke: #8a9098; stroke-width: 1.6; opacity: .7; }
.m-city { fill: rgba(232,210,191,.07); stroke: rgba(232,210,191,.35); stroke-width: 1.2; stroke-dasharray: 4 3; }
.m-road { fill: none; stroke: rgba(232,210,191,.16); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-place circle { fill: #8a9098; }
.m-place text { fill: #a99d90; font: 600 15px var(--sans); letter-spacing: .04em; }
.m-water { fill: #4e5961; font: italic 600 22px Georgia, serif; letter-spacing: .2em; }
.m-route { fill: none; stroke: var(--ember); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(236,124,40,.9)); }
#m-spark { fill: #fff3e2; }
.m-pin { cursor: pointer; }
.m-pin .m-halo { fill: rgba(236,124,40,.18); }
.m-pin .m-edge { fill: none; stroke: var(--ember); stroke-width: 2.5; }
.m-pin .m-ring { fill: none; stroke: var(--ember); stroke-width: 2; opacity: 0; }
.m-pin.on .m-halo { fill: rgba(236,124,40,.35); }
.m-pin.on .m-ring { animation: mring 1.6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mring { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-ctrl { position: absolute; left: 14px; top: 14px; z-index: 500; display: flex; gap: 10px; align-items: center; }
.map-progress { display: flex; gap: 5px; }
.map-progress i { width: 22px; height: 4px; border-radius: 4px; background: rgba(232,210,191,.22); overflow: hidden; position: relative; }
.map-progress i.on::after { content: ""; position: absolute; inset: 0; background: var(--ember); box-shadow: 0 0 6px var(--ember); transform-origin: left; animation: fill var(--stop, 4s) linear forwards; }
.map-progress i.seen { background: var(--ember); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.map-card { position: absolute; z-index: 600; left: 12px; right: 12px; bottom: 12px; background: linear-gradient(160deg, rgba(38,34,30,.97), rgba(19,17,15,.97)); color: var(--bone); border: 1px solid #000; border-top: 3px solid var(--ember); border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; box-shadow: 0 18px 44px rgba(0,0,0,.6); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.map-card.hide { opacity: 0; transform: translateY(28px) scale(.98); pointer-events: none; }
.map-card img { width: 104px; height: 104px; object-fit: cover; border-radius: 6px; }
.map-card .zone { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.map-card h3 { font-size: 1rem; margin: 3px 0 10px; }
.map-card blockquote { margin: 0 0 8px; font-style: italic; color: var(--bone-2); }
.map-card cite { display: block; font-style: normal; font-size: .85rem; color: var(--mute); }
@media (min-width: 900px) { .map-card { left: auto; right: 16px; bottom: 16px; width: 440px; grid-template-columns: 150px 1fr; } .map-card img { width: 150px; height: 150px; } }
.case-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.case-list button { width: 100%; display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; text-align: left; background: var(--iron-2); border: 1px solid #000; border-radius: 10px; padding: 8px; cursor: pointer; font: inherit; color: var(--bone-2); transition: box-shadow .3s, background .3s; }
.case-list button.on { background: var(--iron-3); box-shadow: inset 3px 0 0 var(--ember), 0 0 18px rgba(236,124,40,.2); }
.case-list img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.case-list b { display: block; color: var(--bone); }

/* footer */
.foot { background: var(--iron-0); color: var(--bone); padding: 40px 18px 100px; border-top: 18px solid transparent; border-image: var(--guarda) 0 0 100% 0 / 18px 0 0 0 repeat; }
.foot .wrap { padding: 0; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: auto 1fr; } }
.foot img { width: 120px; border-radius: 12px; mix-blend-mode: lighten; box-shadow: 0 0 30px rgba(236,124,40,.25); }
.foot a { color: var(--bone); }
.foot small { color: var(--mute); }
.foot .word { font-size: 1.15rem; }
.foot .slogan { margin: 4px 0 12px; font-size: .8rem; }

/* ---------- the forge scene over the order timeline ---------- */
.forge { position: relative; margin: 0 0 18px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #000, inset 0 0 40px #000; }
.scene { display: block; width: 100%; height: auto; }
.forge-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 16px 12px; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--bone); background: linear-gradient(transparent, rgba(0,0,0,.85)); animation: capin .6s both; }
@keyframes capin { from { opacity: 0; transform: translateY(8px); } }
/* doors: closed until the scene opens */
.scene .door { transition: transform 1.1s cubic-bezier(.7,0,.2,1); }
.scene .door-line { transition: opacity .4s; }
.scene.open .dl { transform: translateX(-300px); }
.scene.open .dr { transform: translateX(300px); }
.scene.open .door-line { opacity: 0; }
/* the furnace breathes */
.scene .mouth { animation: flick 1.2s ease-in-out infinite alternate; transform-origin: 94px 300px; }
@keyframes flick { from { opacity: .75; transform: scaleY(.97); } to { opacity: 1; transform: scaleY(1.02); } }
.scene .furnace { opacity: .55; transition: opacity 1s; }
.scene.s1 .furnace { opacity: 1; }
.scene.s1 .mouth { filter: drop-shadow(0 0 22px rgba(236,124,40,.9)); }
/* 2: plans draw themselves */
.scene .plan { fill: none; stroke: #9fb3c2; stroke-width: 1.6; stroke-dasharray: 900; stroke-dashoffset: 900; opacity: 0; transition: stroke-dashoffset 1.6s ease, opacity .3s; }
.scene .plan .dim { stroke-dasharray: 4 4; stroke: #6f8594; }
.scene .plan text { fill: #9fb3c2; stroke: none; font: 600 12px var(--sans); text-anchor: middle; }
.scene.s2 .plan { opacity: 1; stroke-dashoffset: 0; }
.scene.s4 .plan { opacity: .25; }
/* 3: sheets slide in and fold */
.scene .sheets { opacity: 0; transform: translateX(-200px); transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.scene .sh { fill: url(#steel); stroke: #2c2926; }
.scene .gauge { fill: var(--ember); font: 800 12px var(--sans); letter-spacing: .12em; text-anchor: middle; }
.scene.s3 .sheets { opacity: 1; transform: none; }
.scene.now3 .sh.c { animation: fold 1.4s .6s ease-in-out both; transform-box: fill-box; transform-origin: right center; }
@keyframes fold { 50% { transform: rotate(-35deg); } to { transform: rotate(0); } }
.scene.s4 .sheets { opacity: 0; transform: translate(120px, -20px) scale(.6); transition-delay: .2s; }
/* 4: pieces land in place, one after another */
.scene .pc { fill: url(#steel); stroke: #23201d; stroke-width: 1.5; opacity: 0; transform: translate(-160px, 110px); transition: transform .7s cubic-bezier(.3,1.4,.4,1), opacity .4s, fill 1.2s; }
.scene .bar { fill: #c9ced3; }
.scene.s4 .pc { opacity: 1; transform: none; }
.scene.s4 .p2 { transition-delay: .15s; } .scene.s4 .p3 { transition-delay: .3s; } .scene.s4 .p4 { transition-delay: .45s; }
.scene.s4 .p5 { transition-delay: .6s; } .scene.s4 .p6 { transition-delay: .75s; } .scene.s4 .p7 { transition-delay: .8s; }
.scene .hammer { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .3s; }
.scene.now4 .hammer { opacity: 1; animation: strike .9s ease-in infinite; }
@keyframes strike { 0%, 100% { transform: rotate(10deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-38deg); } 78% { transform: rotate(-30deg); } }
.scene .spk { fill: #ffd09a; opacity: 0; }
.scene.now4 .spk { animation: spark .9s ease-out infinite; animation-delay: calc(.6s + var(--d)); }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(46px); } }
/* 5: paint turns steel to black */
.scene .coat { fill: #151312; stroke: #050404; stroke-width: 1.5; }
.scene .coat-wipe { transform: scaleX(0); transform-origin: 200px 0; transition: transform 1.6s linear .2s; }
.scene.s5 .coat-wipe { transform: scaleX(1); }
.scene .paint { opacity: 0; transition: opacity .3s; }
.scene.now5 .paint { opacity: 1; animation: spray 1.6s linear .2s both; }
@keyframes spray { from { transform: translateX(0); } to { transform: translateX(200px); } }
.scene .mist { opacity: .5; animation: mist .25s ease-in-out infinite alternate; }
@keyframes mist { from { opacity: .3; } to { opacity: .7; } }
/* 6: a shine runs over the finished piece */
.scene .sweep { opacity: 0; }
.scene.now6 .sweep, .scene.now7 .sweep { opacity: 1; animation: sweep 2.2s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(260px); } }
.scene .ready text { fill: var(--ember); font: 800 15px var(--sans); letter-spacing: .3em; text-anchor: middle; opacity: 0; transition: opacity .5s; }
.scene.now6 .ready text { opacity: 1; }
/* 7: the wall closes round it, the fire lights, the lid lifts on its counterweight */
.scene .wall { opacity: 0; transition: opacity 1s; }
.scene.s7 .wall { opacity: 1; }
.scene .fire { opacity: 0; transition: opacity .8s .6s; }
.scene.s7 .fire { opacity: 1; }
.scene .fl { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .5s ease-in-out infinite alternate; }
.scene .f2 { animation-duration: .35s; }
@keyframes flame { from { transform: scaleY(.85); } to { transform: scaleY(1.08); } }
.scene .lid { transition: transform 1.4s cubic-bezier(.4,0,.2,1) .4s; }
.scene.s7 .lid { transform: translateY(-46px); }
.scene .p1 { transition: transform .7s cubic-bezier(.3,1.4,.4,1), opacity .4s, fill 1.2s, fill-opacity .8s .4s; }
.scene.s7 .p1 { fill-opacity: 0; stroke: #151312; stroke-width: 8; }
/* the fire sits in the grill mouth, between the lid and the doors */
.scene .fire { clip-path: none; }
.scene .anvil { transition: opacity .6s; }
.scene.s6 .anvil, .scene.s6 .furnace { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .scene *, .scene { animation: none !important; transition: none !important; } }

/* the stages still to come, played as a preview after the real progress */
.tl-ahead { position: absolute; top: 28px; left: calc(100% / 14); height: 4px; width: 0; background: repeating-linear-gradient(90deg, rgba(236,124,40,.55) 0 8px, transparent 8px 14px); transition: width 1.4s cubic-bezier(.35,.6,.2,1); }
.tl.go .tl-node.preview .tl-dot { border-color: var(--ember); border-style: dashed; color: var(--ember-2); background: #1a1714; }
.tl-node.preview .tl-name { color: var(--bone-2); }
.forge-cap .next { color: var(--ember); }
.scene.ahead .piece, .scene.ahead .wall, .scene.ahead .fire { filter: saturate(.9); }
.scene.ahead::after { content: ""; }
.scene .c1 { transition: fill-opacity .8s .4s; }
.scene.s7 .c1 { fill-opacity: 0; stroke: #151312; stroke-width: 8; }

/* ---------- catalogue ---------- */
.combo { margin: 18px 0 8px; padding: 14px 18px; border-left: 3px solid var(--ember); background: rgba(110,74,47,.15); border-radius: 0 10px 10px 0; font-family: var(--display); font-size: 1.05rem; }
.combo p { margin: 4px 0; }
.cat-group { margin-top: 44px; }
.cat-group h2 { font-size: clamp(1.3rem, 4.2vw, 1.9rem); }
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .models { grid-template-columns: repeat(4, 1fr); } }
.model { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--iron-3), var(--iron-2)); border: 1px solid #000; box-shadow: 0 10px 24px rgba(0,0,0,.45); transition: transform .3s, box-shadow .3s; }
.model:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.6), 0 0 0 1px var(--ember-d); }
.model > img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.model-mark { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, rgba(236,124,40,.25), transparent 60%), var(--iron-0); }
.model-mark img { width: 64px; height: 64px; opacity: .85; }
.model-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; color: var(--bone); padding: 12px 14px 2px; }
.model-what { font-size: .86rem; color: var(--bone-2); padding: 0 14px 14px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--ember-2); text-decoration: none; font-weight: 700; font-size: .9rem; }
.model-head { margin-top: 10px; }
.why { border-left: 2px solid var(--leather-2); padding-left: 14px; color: var(--bone-2); font-style: italic; }
.why span { display: block; font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: 4px; }
.model-pics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.model-none { text-align: center; }
.model-none img { width: 90px; margin: 0 auto 12px; }
.models-line { font-size: .9rem; color: var(--bone-2); }
.models-line a { color: var(--ember-2); white-space: nowrap; }

/* ---------- stage 1: brand phrases, sections, sequence, contact ---------- */
.descriptor { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; color: var(--bone-2); font-size: .95rem; margin: 0 0 .3em; }
.hero-copy .descriptor { font-size: clamp(.95rem, 3.2vw, 1.2rem); }
.cat span small { display: block; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .8rem; color: var(--bone-2); margin-top: 4px; }
.foot .descriptor { margin: 2px 0 0; font-size: .78rem; }
.foot-nav a { text-decoration: none; }
.before { margin-top: 14px; }
.before summary { cursor: pointer; color: var(--ember-2); font-weight: 700; margin-bottom: 12px; }
.m-pin .m-core { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(236,124,40,.9)); }

/* Experiencia Gaucha: the eight stages as one forged line */
.sequence { position: relative; grid-template-columns: 1fr; gap: 12px; }
.sequence::after { content: ""; position: absolute; left: 41px; top: 30px; bottom: 30px; width: 3px; background: linear-gradient(var(--ember-d), var(--ember), var(--ember-d)); box-shadow: 0 0 10px rgba(236,124,40,.6); z-index: 0; }
.sequence li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; z-index: 1; }
.sequence li::before { display: none; }
.sequence li > img { grid-column: 1 / -1; border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.st-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--ember-2), var(--ember) 50%, var(--ember-d)); color: #1a0b02; box-shadow: 0 0 14px rgba(236,124,40,.6); position: relative; z-index: 1; }
.st-dot svg { width: 22px; height: 22px; }
.st-dot::after { content: counter(s); position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--iron-0); color: var(--bone); font: 800 .7rem/20px var(--sans); text-align: center; box-shadow: 0 0 0 1px var(--ember-d); }
.sequence h3 { margin-top: 4px; }
@media (min-width: 900px) {
  .sequence { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sequence::after { display: none; }
  .sequence li { grid-template-columns: 1fr; }
}

/* Contacto: the form beside WhatsApp */
.contact { display: grid; gap: 20px; align-items: start; margin-top: 10px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.6fr 1fr; } }
.cform { display: grid; gap: 14px; }
.cform label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--bone); }
.cform input, .cform textarea { font: inherit; color: var(--bone); background: var(--iron-0); border: 1px solid var(--iron-4); border-radius: 8px; padding: 12px 14px; width: 100%; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: transparent; }
.cform input[type="file"] { padding: 10px; }
.cform .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.data-use { font-size: .85rem; color: var(--mute); margin: 0; }
.cform-msg { margin: 0; min-height: 1.4em; color: var(--bone-2); }
.cform-msg.ok { color: #7fd6a4; font-weight: 700; }
.cform-msg.bad { color: var(--ember-2); }
.cform-msg .btn { margin-top: 10px; }
.wa-side .btn { width: 100%; }
