/* Modugal landing — tema claro: blanco cálido + naranja amaderado.
   Paleta tomada de los materiales del proyecto Ruitoque (Colorado Dunes, Umbra Mate, Iguaque). */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --card: #ffffff;
  --line: rgba(30, 30, 30, .09);
  --line-2: rgba(30, 30, 30, .16);
  --ink: #26211d;
  --ink-2: rgba(38, 33, 29, .72);
  --ink-3: rgba(38, 33, 29, .52);
  --wood: #b4602a;        /* naranja amaderado: botones y acentos */
  --wood-d: #8f4a1e;      /* texto acentuado (contraste AA sobre blanco) */
  --wood-l: #ecd3b4;
  --oak: #cdb289;         /* madera clara Iguaque */
  --umbra: #2f3033;       /* gris antracita Umbra Mate */
  --red: #c8102e;         /* rojo del logo MG, solo detalles de marca */
  --g: clamp(16px, 4.5vw, 72px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.22, .7, .15, 1);
  --shadow: 0 30px 70px -35px rgba(80, 50, 20, .35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 5vw, 70px); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--wood-d); }
::selection { background: var(--wood); color: #fff; }
main, .foot { position: relative; z-index: 1; }
section[id] { scroll-margin-top: 70px; }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.glow-bg { position: fixed; z-index: 0; pointer-events: none; inset: 0; background:
  radial-gradient(50vw 50vh at 85% 10%, rgba(205, 178, 137, .12), transparent 70%),
  radial-gradient(40vw 40vh at 0% 60%, rgba(180, 96, 42, .04), transparent 70%); }

.eyebrow { margin: 0 0 22px; font-size: 13px; color: var(--wood-d); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--wood); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 999px; background: var(--wood); color: #fff; font-size: 14.5px; font-weight: 600; transition: background .3s, transform .4s var(--ease), box-shadow .4s; box-shadow: 0 14px 34px -14px rgba(180, 96, 42, .8); }
.btn:hover { background: var(--wood-d); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--wood); }
a:focus-visible, button:focus-visible, .cards-vp:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

/* texto con brillo de madera */
.shine { font-family: var(--serif); font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--wood-d) 0%, var(--wood) 35%, #e3a76c 50%, var(--wood) 65%, var(--wood-d) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; padding-right: .08em; }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--g); transition: background .4s, padding .4s, box-shadow .4s; }
.top.solid { background: rgba(255, 255, 255, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.brand-wrap { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand { font-weight: 500; letter-spacing: .32em; font-size: 15px; }
.menu { display: flex; gap: 32px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.menu a { transition: color .3s; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--wood); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 5px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; transition: background .3s; white-space: nowrap; }
.pill:hover { background: var(--wood-d); }
.pill-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--wood); display: grid; place-items: center; }
.pill-arrow svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 116px var(--g) 36px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.ghost { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); margin: 0; font-size: 19vw; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: rgba(180, 96, 42, .05); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 4.5vw, 72px); align-items: center; max-width: 1440px; width: 100%; margin: 0 auto; }
.hero-title { font-size: clamp(44px, 5.8vw, 96px); margin-bottom: 28px; }
.hero-title .shine { font-size: 1.06em; }
.hero-lead { max-width: 30em; color: var(--ink-2); font-size: 16.5px; margin: 0 0 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* recorrido por la cocina */
.tour-wrap { position: relative; width: 100%; }
.tour { position: relative; aspect-ratio: 4 / 3; border-radius: 30px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 60px 110px -50px rgba(80, 50, 20, .55); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; z-index: 0; }
.slide.on { opacity: 1; z-index: 1; }
.slide.out { opacity: 0; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 55%; will-change: transform; }
.tour::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 22%, transparent 62%, rgba(20, 14, 8, .55)); }
.tour-ui { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; }
.tour-label { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; font-weight: 600; }
.tour-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #f2b67a; box-shadow: 0 0 0 4px rgba(242, 182, 122, .3); }
#tourLabel { transition: opacity .4s; }
.tour-pause { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.tour-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-pause .i-play { display: none; fill: currentColor; stroke: none; }
.tour-pause[aria-pressed="true"] .i-pause { display: none; }
.tour-pause[aria-pressed="true"] .i-play { display: block; }
.tour-bars { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 18px; display: flex; gap: 6px; }
.tour-bars button { flex: 1; height: 14px; display: flex; align-items: center; }
.tour-bars button span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.tour-bars button span i { display: block; height: 100%; width: 0; background: #fff; }
.tour-bars button.done span i { width: 100%; }

.frame-tag { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.tag-a { left: -26px; top: 14%; }
.tag-a i { width: 8px; height: 8px; border-radius: 50%; background: #3fae6f; box-shadow: 0 0 0 4px rgba(63, 174, 111, .18); }
.tag-b { right: -22px; top: 40%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.tag-b b { font-size: 28px; line-height: 1; color: var(--wood); letter-spacing: -.03em; }
.tag-b span { font-size: 11px; color: var(--ink-2); font-weight: 500; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 50px; max-width: 1440px; width: 100%; margin-inline: auto; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-facts li { padding-left: 14px; border-left: 2px solid var(--oak); }
.hero-facts b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.hero-facts span { font-size: 12.5px; color: var(--ink-3); }
.scroll-cue { width: 26px; height: 42px; border-radius: 99px; border: 1px solid var(--line-2); display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--wood); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(100px, 14vw, 210px) var(--g); max-width: 1200px; margin: 0 auto; }
.mani { margin: 0; font-size: clamp(28px, 3.8vw, 56px); line-height: 1.2; letter-spacing: -.03em; font-weight: 400; }
.mani .w { color: rgba(38, 33, 29, .14); transition: color .4s; }
.mani .w.on { color: var(--ink); }
.mani .w.em { font-family: var(--serif); font-style: italic; }
.mani .w.em.on { color: var(--wood); }

/* ---------- secciones comunes ---------- */
.problems, .bento-sec, .processo, .project { padding: clamp(80px, 10vw, 140px) var(--g); max-width: 1400px; margin: 0 auto; }
.sec-top { margin-bottom: 56px; }

/* ---------- problemas ---------- */
.prob-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.prob-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.prob-list li { display: flex; gap: 16px; align-items: baseline; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); transition: color .3s, padding .3s; }
.prob-list li:hover { color: var(--ink); padding-left: 6px; }
.prob-list li:hover span { color: var(--wood); }
.prob-list span { font-size: 12px; font-weight: 700; color: var(--oak); font-variant-numeric: tabular-nums; transition: color .3s; }
.causes { position: sticky; top: 100px; border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.causes-img { aspect-ratio: 16 / 8; overflow: hidden; }
.causes-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.causes-body { padding: 26px 30px 30px; }
.causes-t { margin: 0 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.causes ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; color: var(--ink-2); }
.causes ol li::marker { color: var(--wood); font-weight: 700; }
.causes-foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--wood-d); font-weight: 600; }

/* ---------- soluciones ---------- */
.sol { position: relative; padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 120px) var(--g); max-width: calc(1400px + var(--g)); margin: 0 auto; }
.sol-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; padding-right: var(--g); }
.sol-head p { margin: 0; max-width: 300px; font-size: 14px; color: var(--ink-2); }
.cards-vp { position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; padding: 30px 0 50px; margin: -30px 0 -50px; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.cards-vp::-webkit-scrollbar { display: none; }
.cards-vp.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cards-vp.drag .card { pointer-events: none; }
.cards { display: flex; gap: 14px; width: max-content; padding-right: 30vw; }
.card { flex: 0 0 290px; height: 390px; scroll-snap-align: start; cursor: pointer; user-select: none; border-radius: 24px; padding: 24px; position: relative; overflow: hidden; background: var(--umbra); color: #fff; display: flex; flex-direction: column; justify-content: space-between; transition: flex-basis .6s var(--ease), box-shadow .6s; box-shadow: 0 20px 40px -30px rgba(80, 50, 20, .5); isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 14, 8, .25), rgba(20, 14, 8, .05) 35%, rgba(20, 14, 8, .78)); transition: background .6s; }
.card:hover::before { transform: scale(1.12); }
.card .c-n { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.card .c-body { display: none; }
.card.on { flex-basis: 360px; box-shadow: 0 34px 70px -30px rgba(143, 74, 30, .75); justify-content: flex-start; gap: 16px; }
.card.on::before { filter: none; }
.card.on::after { background: linear-gradient(180deg, rgba(20, 14, 8, .15), rgba(143, 74, 30, .35) 40%, rgba(110, 54, 18, .94)); }
.card.on .c-n { display: none; }
.card.on .c-body { display: block; margin-top: auto; }
.card.on h3 { order: -1; font-size: 25px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.c-body p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .94); }
.c-body .c-lt { font-size: 11px; color: rgba(255, 255, 255, .75); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.sol-foot { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding-right: var(--g); }
.sol-progress { flex: 1; height: 1px; background: var(--line-2); position: relative; max-width: 520px; }
.sol-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--wood); border-radius: 3px; transition: width .4s var(--ease); }
.sol-nav { display: flex; gap: 8px; }
.sol-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: border-color .3s, background .3s, color .3s, opacity .3s; }
.sol-nav button:hover { border-color: var(--wood); background: var(--wood); color: #fff; }
.sol-nav button:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line-2); }
.sol-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- proyecto destacado ---------- */
.project { max-width: none; background: var(--bg-2); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.5vw, 24px); padding-left: max(var(--g), calc((100% - 1400px) / 2)); padding-right: max(var(--g), calc((100% - 1400px) / 2)); }
.proj-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 44px; }
.proj-head > p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 34em; }
.materials { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.mat { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.mat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mat b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; align-self: end; }
.mat small { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.sw { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sw-marmol { background: url(assets/cocina/t-marmol.jpg) center / 220%; }
.sw-madera { background: repeating-linear-gradient(95deg, #c9a679 0 3px, #d6b78c 3px 7px, #bf9a6b 7px 9px, #d3b286 9px 14px); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.g-item { position: relative; overflow: hidden; border-radius: 22px; background: var(--umbra); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(20, 14, 8, .75)); display: flex; flex-direction: column; }
.g-item figcaption b { font-size: 15px; font-weight: 600; }
.g-item figcaption span { font-size: 12.5px; opacity: .85; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.b-item { position: relative; overflow: hidden; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-height: 260px; transition: transform .4s var(--ease), box-shadow .4s; }
.b-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.b-wide { grid-column: span 2; grid-row: span 2; }
.b-img { padding: 0; justify-content: flex-end; border: 0; color: #fff; background: var(--umbra); }
.b-wide.b-img { min-height: 534px; }
.b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-img:hover img { transform: scale(1.05); }
.b-over { position: relative; padding: 24px; background: linear-gradient(transparent, rgba(20, 14, 8, .82) 55%); display: flex; flex-direction: column; gap: 8px; padding-top: 90px; }
.b-wide .b-over { padding: 34px; padding-top: 140px; }
.b-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); margin-bottom: auto; }
.b-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--wood-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.b-chip { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--wood-l); color: var(--wood-d); letter-spacing: .04em; text-transform: uppercase; }
.b-img .b-chip { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.b-item h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.b-item p { margin: 0; font-size: 14px; color: var(--ink-2); }
.b-img p { color: rgba(255, 255, 255, .85); }
.b-wide h3 { font-size: clamp(26px, 2.8vw, 38px); }
.b-accent { grid-column: span 2; background: linear-gradient(120deg, rgba(255, 255, 255, .94) 30%, rgba(255, 255, 255, .55)), url(assets/cocina/t-marmol.jpg) center / cover; border-color: var(--wood-l); }
.b-accent h3 { font-size: 26px; }

/* ---------- proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { padding: 12px 12px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.s-img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 22px; background: var(--bg-2); }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.steps li:hover .s-img img { transform: scale(1.06); }
.steps span, .steps h3, .steps p { padding: 0 12px; }
.steps span { display: block; font-size: 13px; color: var(--wood); font-weight: 700; }
.steps h3 { font-size: 21px; font-weight: 600; margin: 8px 0 10px; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(80px, 10vw, 150px) var(--g); max-width: 1300px; margin: 0 auto; }
.f-photo { position: relative; border-radius: 30px; padding: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -45px rgba(80, 50, 20, .5); max-width: 480px; justify-self: center; }
.f-photo::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%; border-radius: 30px; background: var(--wood-l); z-index: -1; }
.f-photo img { border-radius: 22px; width: 100%; }
.f-text > p:not(.eyebrow) { color: var(--ink-2); margin: 22px 0 0; max-width: 32em; }
.f-text b { color: var(--ink); }
.f-stats { display: flex; gap: 48px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.f-stats b { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--wood); }
.f-stats span { font-size: 13px; color: var(--ink-3); }

/* ---------- CTA ---------- */
.cta { padding: clamp(40px, 6vw, 90px) var(--g) clamp(90px, 11vw, 160px); max-width: 1400px; margin: 0 auto; }
.cta-card { position: relative; overflow: hidden; border-radius: 34px; isolation: isolate; box-shadow: var(--shadow); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(255, 255, 255, .97) 30%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .25)); }
.cta-in { padding: clamp(50px, 7vw, 100px) clamp(24px, 5vw, 80px); max-width: 720px; }
.cta-in > p:not(.eyebrow) { color: var(--ink-2); margin: 24px 0 32px; max-width: 30em; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { padding: 60px var(--g) 30px; overflow: hidden; background: var(--umbra); color: #f3ede6; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; max-width: 1400px; margin: 0 auto; }
.foot-grid a { display: block; font-size: 14px; color: rgba(243, 237, 230, .7); margin-bottom: 8px; transition: color .3s; }
.foot-grid a:hover { color: var(--oak); }
.foot-desc { color: rgba(243, 237, 230, .55); font-size: 14px; margin: 16px 0 0; max-width: 26em; }
.foot-t { margin: 0 0 14px; font-size: 12px; color: var(--oak); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.clock { margin: 0; font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.foot-mark { margin: 50px 0 0; font-size: 18vw; font-weight: 700; letter-spacing: -.05em; line-height: .8; text-align: center; color: rgba(205, 178, 137, .08); user-select: none; }
.foot-copy { margin: 20px auto 0; font-size: 12px; color: rgba(243, 237, 230, .45); max-width: 1400px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps li:nth-child(2), .bento .b-item:nth-child(2), .gallery .g-item:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3), .bento .b-item:nth-child(3), .gallery .g-item:nth-child(3) { transition-delay: .16s; }
.steps li:nth-child(4), .bento .b-item:nth-child(4), .gallery .g-item:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .prob-grid { grid-template-columns: 1fr; }
  .causes { position: static; }
  .materials { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu { position: fixed; inset: 70px 12px auto; flex-direction: column; gap: 0; padding: 10px 20px; border-radius: 20px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px); font-size: 16px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu a:last-child { border-bottom: 0; }
  .top.open .menu { opacity: 1; pointer-events: auto; transform: none; }
  .top.open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .top.open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .burger { display: flex; }
  .pill { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .tour-wrap { max-width: 720px; justify-self: center; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; grid-row: auto; }
  .b-wide.b-img { min-height: 400px; }
  .founder { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sol-head, .proj-head { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
}
@media (max-width: 600px) {
  .top { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .pill { padding: 0 14px; font-size: 12px; height: 40px; }
  .pill-arrow { display: none; }
  .brand { letter-spacing: .22em; font-size: 13px; }
  .hero { padding-top: 96px; }
  .tour { border-radius: 22px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 40px 80px -40px rgba(80, 50, 20, .5); }
  .tag-a { left: -4px; top: -18px; } .tag-b { right: -4px; top: -30px; padding: 8px 12px; }
  .tag-b b { font-size: 22px; }
  .tour-ui { left: 14px; right: 14px; bottom: 30px; }
  .tour-bars { left: 14px; right: 14px; bottom: 12px; }
  .tour-label { font-size: 12px; padding: 7px 12px; }
  .hero-foot { margin-top: 56px; }
  .hero-facts { gap: 18px; }
  .scroll-cue { display: none; }
  .prob-list { grid-template-columns: 1fr; }
  .steps, .bento { grid-template-columns: 1fr; }
  .b-wide, .b-accent { grid-column: auto; }
  .card { flex-basis: 260px; height: 360px; }
  .card.on { flex-basis: 290px; }
  .materials { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-tall { grid-row: auto; } .g-wide { grid-column: auto; }
  .f-stats { gap: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-card::before { background: linear-gradient(180deg, rgba(255, 255, 255, .96) 55%, rgba(255, 255, 255, .7)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ajustes finales */
.gallery { grid-auto-flow: dense; }
.cta-in h2 { font-size: clamp(32px, 4.2vw, 60px); }
/* fotos de las tarjetas y muestras (sin estilos en línea, por la CSP) */
.card[data-img="k01-entrada"] { --img: url(assets/cocina/k01-entrada.jpg); }
.card[data-img="k08-torres"] { --img: url(assets/cocina/k08-torres.jpg); }
.card[data-img="k05-barra-curva"] { --img: url(assets/cocina/k05-barra-curva.jpg); }
.card[data-img="d-alacena"] { --img: url(assets/cocina/d-alacena.jpg); }
.card[data-img="t-marmol"] { --img: url(assets/cocina/t-marmol.jpg); }
.card[data-img="d-herrajes"] { --img: url(assets/cocina/d-herrajes.jpg); }
.sw-umbra { --c: #45474b; }
.sw-cubanite { --c: #cdc4b3; }
.sw-cinza { --c: #a8a5a1; }
