/* Embers Foundry → portfolio de Iván Ramos. Dos estados (portada y proyectos) sin scroll de documento. */
@font-face { font-family: "Archivo Wide"; src: url(https://fonts.gstatic.com/s/archivo/v25/k3kQo8UDI-1M0wlSfdnoLg.woff2) format("woff2"); font-weight: 300 600; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Onest"; src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmf-HY.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --deep: #121110; --dark: #1F1815; --accent: #5D3827; --soft: #C5794B; --light: #EDE3DA;
  --u: min(calc(100vw / 1440), calc(100vh / 810));
  --s: calc(100vw / 1440);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --mb: 0px;
  --wfs: 340;
  --wtop: 452;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 80px; background: var(--deep); }
html.lock, html.lock body { overflow: hidden; }
body { background: var(--deep); color: var(--light); }
body { font-family: "Onest", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; }

.stage { position: fixed; inset: 0; overflow: hidden; background: var(--deep); }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform-origin: center; }
.plate-s2 { opacity: 0; }
.cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.cam-on .cam { opacity: 1; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(18,17,16,.72) 0%, rgba(18,17,16,.18) 22%, rgba(18,17,16,0) 40%, rgba(18,17,16,0) 75%, rgba(18,17,16,.35) 100%); }

/* Primer plano: palabra gigante y montículos */
.fg { position: absolute; left: 0; right: 0; bottom: 0; height: calc(810 * var(--s)); overflow: hidden; pointer-events: none; }
.word { position: absolute; left: calc(130 * var(--s)); top: calc(var(--wtop) * var(--s)); font-family: "Archivo Wide", sans-serif; font-stretch: 125%; font-weight: 600; font-size: calc(var(--wfs) * var(--s)); line-height: 1; letter-spacing: -.035em; color: var(--light); white-space: nowrap; }
.word-in { display: inline-block; transform: scaleX(1.05); transform-origin: top left; }
.word-in i { display: inline-block; font-style: normal; }
.mounds { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(810 * var(--s) * .64 + var(--mb)); object-fit: fill; }
.mound-l { clip-path: inset(0 50% 0 0); }
.mound-r { clip-path: inset(0 0 0 50%); }

/* Menú */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(86 * var(--u)); pointer-events: none; display: flex; justify-content: space-between; align-items: center; padding: 0 calc(30 * var(--u)) 0 calc(26 * var(--u)); }
.nav > * { pointer-events: auto; }
.logo { display: block; width: max(40px, calc(52 * var(--u))); color: var(--light); }
.logo svg { display: block; width: 100%; height: auto; }
.links { position: absolute; left: calc(436 * var(--u)); top: 50%; transform: translateY(-50%); display: flex; gap: calc(80 * var(--u)); }
.links li { overflow: hidden; }
.links a { display: inline-block; padding: 6px 0; line-height: 14px; font-size: max(11px, calc(12.5 * var(--u))); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; opacity: .92; transition: opacity .3s; }
.links a:hover { opacity: .6; }
.glyphs { position: absolute; z-index: 4; left: calc(32 * var(--u)); top: calc(211 * var(--u)); display: flex; flex-direction: column; gap: calc(13.8 * var(--u)); color: rgba(237,227,218,.8); }
.glyphs svg { display: block; width: max(11px, calc(17 * var(--u))); height: auto; }

/* Estado 1 */
.h1 { position: absolute; inset: 0; pointer-events: none; }
.h1 > * { pointer-events: auto; }
.h1 h1 { position: absolute; left: calc(38 * var(--u)); top: calc(93 * var(--u)); overflow: hidden; padding-bottom: .08em; font-family: "Archivo Wide", sans-serif; font-stretch: 112%; font-weight: 400; font-size: calc(48.4 * var(--u)); line-height: 1.2; letter-spacing: -.012em; word-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.h1 .in { display: block; }
.h1-body { position: absolute; left: calc(1210 * var(--u)); top: calc(99 * var(--u)); width: calc(194 * var(--u)); overflow: hidden; font-size: max(11px, calc(12.6 * var(--u))); line-height: 1.36; color: rgba(237,227,218,.86); }
.caps { position: absolute; left: 0; right: 0; bottom: calc(14 * var(--u)); height: calc(40 * var(--u)); pointer-events: none; }
.cap { position: absolute; bottom: 0; left: calc(var(--x) * var(--u)); overflow: hidden; pointer-events: auto; }
.mi { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.mi b { font-family: "Archivo Wide", sans-serif; font-stretch: 104%; font-weight: 300; font-size: calc(33.3 * var(--u)); line-height: 1; }
.mi span { border-left: 1px solid rgba(237,227,218,.4); padding-left: calc(12 * var(--u)); font-size: max(11px, calc(11.6 * var(--u))); line-height: 1.3; color: rgba(237,227,218,.82); white-space: nowrap; }

/* Panel de contenido */
.sec p, .sec li { font-size: 15.5px; line-height: 1.6; color: rgba(237,227,218,.86); }
.sec a:not(.btn) { color: var(--light); text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 3px; }

.about { display: grid; gap: 32px; }
.about__photos { display: flex; gap: 14px; align-items: flex-start; }
.about__photos img { height: auto; flex: none; width: calc(50% - 7px); max-width: 240px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid rgba(197,121,75,.5); border-radius: 50% 50% 16px 16px / 40% 40% 16px 16px; }
.about__photos img + img { margin-top: 36px; }
.about__text p + p { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { padding: 6px 14px; border: 1px solid rgba(237,227,218,.25); border-radius: 99px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.rows { position: relative; }
.rows li { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px 16px; padding: 22px 0; border-top: 1px solid rgba(237,227,218,.14); }
.rows li:last-child { border-bottom: 1px solid rgba(237,227,218,.14); }
.rows b { font-family: "Archivo Wide", sans-serif; font-weight: 300; font-size: 20px; color: var(--soft); }
.rows h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
.rows p { margin-top: 6px; }
.rows time { grid-column: 1; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(237,227,218,.6); }

.sec.sec--proj { padding-left: 0; padding-right: 0; }
.sec.sec--proj > .sec__in { padding: 0 clamp(20px, 5vw, 64px); }
.slides { margin-top: 10px; }
.slide { --enter: 0; --cover: 0; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(86 * var(--u) + 10px) clamp(20px, 5vw, 64px) 40px; overflow: hidden; background: radial-gradient(60% 70% at 78% 40%, rgba(197,121,75,.16), transparent 70%); }
.slide--flip { background: radial-gradient(60% 70% at 22% 40%, rgba(197,121,75,.16), transparent 70%); }
.slide__bg { position: absolute; right: 3vw; bottom: -4vw; font-family: "Archivo Wide", sans-serif; font-stretch: 125%; font-weight: 600; font-size: clamp(160px, 30vw, 460px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(237,227,218,.22); opacity: calc(1 - var(--cover) * 2); pointer-events: none; transform: translateY(calc((1 - var(--enter)) * 120px)); }
.slide--flip .slide__bg { right: auto; left: 3vw; }
.slide__in { position: relative; width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; transform: scale(calc(1 - var(--cover) * .08)); opacity: calc(1 - var(--cover) * 1.5); filter: blur(calc(var(--cover) * 4px)); will-change: transform; }
.slide--flip .slide__stage { order: 2; }
.slide--flip .slide__info { order: 1; }
.slide__stage { perspective: 1600px; }
.slide__frame { border: 1px solid rgba(237,227,218,.2); border-radius: 12px; overflow: hidden; background: #1b1613; box-shadow: 0 50px 100px -30px rgba(197,121,75,.5), 0 0 0 1px rgba(0,0,0,.4); transform: translateY(calc((1 - var(--enter)) * 90px)) rotateY(calc((1 - var(--enter)) * -22deg)) rotateX(calc((1 - var(--enter)) * 8deg)); transition: box-shadow .5s; }
.slide--flip .slide__frame { transform: translateY(calc((1 - var(--enter)) * 90px)) rotateY(calc((1 - var(--enter)) * 22deg)) rotateX(calc((1 - var(--enter)) * 8deg)); }
.slide__frame:hover { box-shadow: 0 50px 120px -20px rgba(197,121,75,.75), 0 0 0 1px rgba(0,0,0,.4); }
.slide__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(237,227,218,.14); background: rgba(237,227,218,.05); }
.slide__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(237,227,218,.25); }
.slide__bar span { margin-left: 10px; font-size: 11.5px; letter-spacing: .03em; color: rgba(237,227,218,.6); }
.slide__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: object-position 4s ease-in-out, transform 1.2s var(--ease-out); }
.slide__frame:hover img { object-position: bottom; transform: scale(1.02); }
.slide__info { text-shadow: 0 2px 18px rgba(18,17,16,.8); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; opacity: var(--enter); transform: translateY(calc((1 - var(--enter)) * 50px)); }
.slide__n { font-size: 13px !important; letter-spacing: .08em; color: rgba(237,227,218,.55) !important; }
.slide__n b { font-family: "Archivo Wide", sans-serif; font-weight: 300; font-size: 44px; color: var(--soft); letter-spacing: 0; }
.slide__type { font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--soft) !important; }
.slide__info h3 { font-family: "Archivo Wide", sans-serif; font-stretch: 115%; font-weight: 400; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; }
.slide__info .chips { margin-top: 4px; }
.slide__link em { font-style: normal; color: rgba(237,227,218,.6); font-size: 15.5px; }
@media (max-width: 860px) { .slide { padding-top: 140px; } .slide__in { grid-template-columns: 1fr; gap: 20px; } .slide--flip .slide__stage, .slide--flip .slide__info { order: 0; } .slide__info { gap: 10px; } .slide__info h3 { font-size: 26px; } .slide__n b { font-size: 30px; } .slide__info p { font-size: 14.5px; line-height: 1.5; } .slide__frame { transform: none !important; } }
@media (max-height: 560px) and (min-width: 861px) { .slide__info p { font-size: 13px; } .slide__info h3 { font-size: 28px; } }
.rm .slide__frame, .rm .slide__info { transform: none; opacity: 1; }
.rm .slide__in { transform: none; filter: none; }
.promo { margin: 60px 0 0; }

.btn { display: inline-block; padding: 12px 24px; border: 1px solid rgba(237,227,218,.4); border-radius: 99px; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--light); transition: background .3s, color .3s; }
.btn:hover { background: var(--light); color: var(--deep); }
.promo { margin-top: 48px; padding: 28px; border: 1px solid rgba(237,227,218,.14); display: grid; gap: 12px; justify-items: start; }
.promo h3 { font-size: 19px; font-weight: 500; }

.contact__mail { display: inline-block; margin: 20px 0 28px; font-family: "Archivo Wide", sans-serif; font-stretch: 100%; font-size: clamp(18px, 3.4vw, 38px); word-break: break-all; text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 8px; }
.contact__social { display: flex; flex-wrap: wrap; gap: 12px; }


@media (min-width: 761px) { .rows li { grid-template-columns: 1fr 190px; } .rows time { grid-column: 2; grid-row: 1; text-align: right; } }

/* Móvil: ancho ≤ 820 o pantalla vertical */
@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  :root { --u: calc(100vw / 390); --mb: 96px; }
  .nav { height: auto; flex-wrap: wrap; padding: 16px 18px 0; }
  .logo { width: 42px; }
  .links { position: static; transform: none; order: 3; width: 100%; justify-content: space-between; gap: 8px; margin-top: 4px; }
  .links a { font-size: 11px; white-space: nowrap; letter-spacing: 0; }
  .shade { background: linear-gradient(to bottom, rgba(18,17,16,.9) 0%, rgba(18,17,16,.62) 30%, rgba(18,17,16,.25) 48%, rgba(18,17,16,0) 60%, rgba(18,17,16,.45) 100%); }
  .fg { height: calc(100vw * 810 / 1440 + 192px); }
  .word { top: calc(var(--wtop) * var(--s)); }
  .glyphs { flex-direction: row; left: 18px; top: 94px; gap: 12px; }
  .glyphs svg { width: 13px; }
  .h1 h1 { left: 18px; right: 18px; top: 118px; white-space: normal; font-size: min(26px, 6.4vw); line-height: 1.2; }
  .h1-body { left: 18px; top: calc(118px + 3 * 1.2 * min(26px, 6.4vw) + 14px); width: min(300px, 60vw); font-size: 12.5px; }
  .caps { left: 18px; right: 18px; bottom: 16px; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cap { position: static; }
  .mi { gap: 10px; }
  .mi b { font-size: 22px; }
  .mi span { font-size: 11px; padding-left: 8px; white-space: normal; }
  .cap { min-width: 0; }
}
@media (min-width: 600px) and (max-aspect-ratio: 1/1) {
  :root { --u: calc(100vw / 760); --mb: 76px; }
  .links { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: auto; margin: 0; gap: 36px; order: 0; }
  .links a { font-size: 12px; }
  .fg { height: calc(100vw * 810 / 1440 + 152px); }
  .h1 h1 { top: 130px; font-size: min(40px, 5.4vw); }
  .h1-body { top: calc(130px + 3 * 1.2 * min(40px, 5.4vw) + 14px); width: 300px; font-size: 14px; }
  .caps { grid-template-columns: repeat(4, 1fr); }
}
/* Móvil apaisado */
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  :root { --u: calc(100vh / 470); --mb: 36px; }
  .nav { flex-wrap: nowrap; height: 56px; padding: 0 18px; }
  .links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; margin: 0; gap: 22px; }
  .fg { height: calc(100vw * 810 / 1440 + 36px); }
  .h1 h1 { left: 18px; right: auto; width: 58vw; top: 64px; white-space: normal; font-size: clamp(15px, 2.6vw, 22px); }
  .h1-body { left: auto; right: 18px; top: 64px; width: 34vw; font-size: 11px; }
  .glyphs { display: none; }
  .mi b { font-size: 18px; }
  .mi { gap: 8px; }
  .cap { position: static; min-width: 0; }
  .mi span { white-space: normal; font-size: 11px; padding-left: 8px; }
  .caps { left: 18px; right: 18px; bottom: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { .card i { transition: none; } .panel { transition: none; } }

/* Cabecera: botón y fondo al hacer scroll */
.cta { padding: 9px 18px; border: 1px solid rgba(237,227,218,.45); border-radius: 99px; font-size: max(11px, calc(12.5 * var(--u))); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: background .3s, color .3s; }
.cta:hover { background: var(--light); color: var(--deep); }
.links a[aria-current="true"] { opacity: 1; box-shadow: inset 0 -1px 0 var(--soft); }
.scrolled .h1 > * { pointer-events: none; }
.veil { position: absolute; inset: 0; background: rgba(18,17,16,.5); opacity: 0; pointer-events: none; }

/* La página: se desplaza sobre la escena fija */
.page { position: relative; z-index: 3; pointer-events: none; }
.page > .sec { pointer-events: auto; }
.spacer { height: 145vh; height: 145svh; }
.sec { padding: clamp(72px, 12vh, 140px) clamp(20px, 5vw, 64px); }
.sec__in { max-width: 1100px; margin: 0 auto; }
.sec__n { font-family: "Archivo Wide", sans-serif; font-weight: 300; font-size: 15px; letter-spacing: .1em; color: var(--soft); margin-bottom: 14px; }
.sec__title { font-family: "Archivo Wide", sans-serif; font-stretch: 115%; font-weight: 400; font-size: clamp(34px, 6vw, 76px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: clamp(28px, 6vh, 56px); }
.sec--last { padding-bottom: 40px; min-height: 80vh; }
.foot { margin-top: clamp(60px, 14vh, 140px); font-size: 12px !important; color: rgba(237,227,218,.5) !important; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .rm .reveal { opacity: 1; transform: none; transition: none; }
.about { display: grid; gap: 40px; }
.about__photos { display: flex; gap: 14px; align-items: flex-start; }
.about__photos img { transition: transform .8s var(--ease-out); }
.about__photos img:hover { transform: translateY(-6px) rotate(-1deg); }
.works-intro { margin-bottom: 20px; }
@media (min-width: 761px) { .about { grid-template-columns: minmax(300px, 520px) 1fr; gap: 64px; align-items: center; } .about__photos img { width: calc(50% - 7px); max-width: none; } }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; } .show__frame { transform: none; } }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(rgba(18,17,16,.88), rgba(18,17,16,0)); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
.scrolled ~ .nav::before { opacity: 1; }

/* Contacto */
.sec .ct__big { font-family: "Archivo Wide", sans-serif; font-stretch: 125%; font-weight: 600; font-size: clamp(30px, 7.6vw, 104px); line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; margin-bottom: 18px; }
.sec .ct__lead { max-width: 520px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; margin-bottom: clamp(32px, 7vh, 56px); }
.ct__list { border-top: 1px solid rgba(237,227,218,.3); }
.ct__list li { border-bottom: 1px solid rgba(237,227,218,.3); }
.sec .ct__list a { display: grid; grid-template-columns: minmax(130px, 220px) 1fr auto; align-items: center; gap: 16px; padding: clamp(16px, 2.6vh, 26px) 6px; text-decoration: none; color: var(--light); transition: background .35s, color .35s, padding .45s var(--ease-out); }
.ct__list .k { display: flex; gap: 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ct__list .k i { font-style: normal; font-family: "Archivo Wide", sans-serif; font-weight: 300; opacity: .7; }
.ct__list strong { font-family: "Archivo Wide", sans-serif; font-stretch: 100%; font-weight: 400; font-size: clamp(17px, 2.8vw, 34px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ct__list .go { font-size: clamp(20px, 2.4vw, 30px); transition: transform .45s var(--ease-out); }
.sec .ct__list a:hover { background: var(--light); color: var(--deep); padding-left: 22px; padding-right: 22px; }
.ct__list a:hover .go { transform: translate(4px, -4px); }
@media (max-width: 760px) { .sec .ct__list a { grid-template-columns: 1fr auto; gap: 4px 12px; } .ct__list .k { grid-column: 1 / -1; } .ct__list strong { font-size: 17px; } }

.ct__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.sec .ct__data { margin-top: 22px; font-size: 15.5px; color: rgba(237,227,218,.65); }

/* Botón flotante de WhatsApp */
.wa-fab { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 40; display: flex; align-items: center; gap: 0; padding: 6px; border: 1px solid rgba(237,227,218,.35); border-radius: 99px; background: rgba(18,17,16,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--light); box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out), gap .4s var(--ease-out), padding .4s var(--ease-out), background .3s, color .3s, border-color .3s; }
.wa-fab__i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; transition: transform .4s var(--ease-out); }
.wa-fab__i svg { width: 22px; height: 22px; }
.wa-fab__t { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: max-width .5s var(--ease-out); }
.scrolled ~ .wa-fab { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover, .wa-fab:focus-visible { gap: 10px; padding-right: 20px; background: var(--light); color: var(--deep); border-color: var(--light); }
.wa-fab:hover .wa-fab__t, .wa-fab:focus-visible .wa-fab__t { max-width: 120px; }

/* Contacto: bandas de texto gigantes y chispas */
.sec--last { position: relative; overflow: hidden; }
.sec--last .sec__in { position: relative; z-index: 1; }
.ct-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sec .ct__ghost { font-family: "Archivo Wide", sans-serif; font-stretch: 125%; font-weight: 600; font-size: clamp(34px, 8.2vw, 118px); line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(237,227,218,.35); margin-bottom: clamp(24px, 5vh, 44px); }

.sec .ct__lead { max-width: 780px; font-size: clamp(22px, 2.9vw, 40px); line-height: 1.25; letter-spacing: -.01em; color: var(--light); margin-bottom: clamp(32px, 7vh, 56px); }
.ct__lead em { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: rgba(237,227,218,.6); }
@media (max-width: 760px) { .sec .ct__lead { font-size: 21px; } }

/* Contacto: el titular se enciende bajo el cursor, como una brasa */
.sec .ct__ghost { position: relative; font-size: clamp(36px, 9vw, 130px); -webkit-text-stroke: 1px rgba(237,227,218,.4); cursor: default; }
.sec .ct__ghost::after { content: attr(data-t); position: absolute; inset: 0; background: radial-gradient(230px circle at var(--mx, -400px) var(--my, -400px), #fff2e0 0%, #e0925e 38%, rgba(197,121,75,0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.sec .ct__ghost.lit::after { opacity: 1; }
.sec .ct__lead { max-width: 520px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; letter-spacing: 0; color: rgba(237,227,218,.88); }
@media (max-width: 760px) { .sec .ct__lead { font-size: 17px; } }

/* Contacto: mini conversación que lleva a WhatsApp */
.ct__chat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 440px; margin-bottom: clamp(30px, 6vh, 48px); }
.sec .ct__msg { padding: 12px 18px; border: 1px solid rgba(237,227,218,.28); border-radius: 18px 18px 18px 4px; background: rgba(18,17,16,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 16px; line-height: 1.45; color: var(--light); }
.sec a.ct__input { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; padding: 12px 18px 12px 20px; border: 1px solid rgba(237,227,218,.4); border-radius: 99px; font-size: 14px; color: rgba(237,227,218,.6); text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.ct__input i { font-style: normal; font-size: 18px; transition: transform .4s var(--ease-out); }
.sec a.ct__input:hover { background: var(--light); color: var(--deep); border-color: var(--light); }
.ct__input:hover i { transform: translate(3px, -3px); }

.sec .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }

/* Revisión final: pantallas bajas, apaisado y muy estrechas */
.sec .foot { padding-right: 76px; }
@media (max-width: 360px) { .links { flex-wrap: wrap; justify-content: center; gap: 0 14px; } }
@media (max-width: 860px) and (max-height: 700px) and (orientation: portrait) {
  .slide { padding-top: 124px; padding-bottom: 24px; }
  .slide__in { gap: 12px; }
  .slide__bg { display: none; }
  .slide__frame img { aspect-ratio: 16 / 8; }
  .slide__info { gap: 8px; }
  .slide__info h3 { font-size: 22px; }
  .slide__info p { font-size: 13.5px; line-height: 1.4; }
  .slide__info .chips li { padding: 3px 10px; font-size: 11px; }
  .slide__link .btn { padding: 9px 16px; font-size: 11.5px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .slide { padding: 66px 28px 14px; }
  .slide__in { grid-template-columns: 1.2fr 1fr; gap: 24px; }
  .slide--flip .slide__stage { order: 2; } .slide--flip .slide__info { order: 1; }
  .slide__frame { transform: none !important; }
  .slide__frame img { max-height: calc(100svh - 120px); aspect-ratio: 16 / 10; }
  .slide__info { gap: 7px; }
  .slide__info h3 { font-size: 22px; }
  .slide__info p { font-size: 12.5px; line-height: 1.4; }
  .slide__bg { display: none; }
  .slide__info .chips li { padding: 2px 9px; font-size: 10.5px; }
  .slide__link .btn { padding: 8px 14px; font-size: 11px; }
}
.gone .h1, .gone .fg, .gone .glyphs { visibility: hidden; }
@media (max-width: 360px) { .glyphs { display: none; } }
