/* ==========================================================
   Construyendo Arquitectura — v2 premium
   ========================================================== */
:root {
	--ink: #0c0e11;
	--ink-2: #15181d;
	--ink-3: #1f232a;
	--paper: #f2efe9;
	--paper-2: #e8e3da;
	--stone: #8b9098;
	--line-d: rgba(255, 255, 255, .12);
	--line-l: rgba(12, 14, 17, .14);
	--yellow: #e9c81b;
	--sans: "Inter Tight", "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--header-h: 84px;
	--gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 60px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: #fff; background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; font-weight: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.dark { background: var(--ink); color: #fff; }
.paper { background: var(--paper); color: var(--ink); }
.muted { color: var(--stone); }
.paper .muted { color: #5f646c; }

.display { font-family: var(--sans); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.display em { color: var(--yellow); }
.paper .display em { color: #9a7f00; }
.about-copy em { color: #9a7f00; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.label-row { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-d); margin-bottom: clamp(48px, 7vw, 96px); color: var(--stone); }
.paper .label-row { border-color: var(--line-l); color: #6a6f77; }

/* Líneas que suben */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
.js .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .in .line > span, .js .line.in > span { transform: none; }
.js .in .line:nth-child(2) > span { transition-delay: .08s; }
.js .in .line:nth-child(3) > span { transition-delay: .16s; }
.js .in .line:nth-child(4) > span { transition-delay: .24s; }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* El recorte va en la imagen, no en el contenedor: así el contenedor sigue siendo "visible" para el detector de scroll. */
.js .img-reveal > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease); }
.js .img-reveal.in > img { clip-path: inset(0 0 0 0); }

/* Botones */
.btn-pill { display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 8px 0 24px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 14px/1 var(--sans); border: 0; cursor: pointer; overflow: hidden; position: relative; }
.btn-pill i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; transition: transform .5s var(--ease); }
.btn-pill:hover i { transform: rotate(-45deg); }
.btn-pill-lg { height: 60px; padding-left: 30px; font-size: 16px; }
.btn-pill-lg i { width: 44px; height: 44px; }
.btn-round { width: 148px; height: 148px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; text-align: center; font-size: 14px; line-height: 1.2; position: relative; flex: none; transition: background .5s var(--ease), color .5s, border-color .5s; }
.btn-round svg { position: absolute; top: 22px; right: 22px; width: 22px; height: 22px; transition: transform .5s var(--ease); }
.btn-round:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-round:hover svg { transform: rotate(45deg); }
.btn-round.small { width: 72px; height: 72px; position: static; }
.btn-round.small svg { position: static; }
.magnetic > * { pointer-events: none; }

/* Precargador */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: none; flex-direction: column; justify-content: flex-end; padding: var(--gutter); transition: transform 1.1s var(--ease); }
.js .loader { display: flex; }
.loaded .loader { transform: translateY(-100%); }
.loader-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.loader-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.loader-brand { display: flex; flex-direction: column; align-items: flex-start; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.loader-count { font-size: clamp(64px, 16vw, 220px); font-weight: 500; letter-spacing: -.06em; line-height: .8; }
.loader-bar { height: 1px; background: var(--line-d); margin-top: 28px; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--yellow); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--yellow); pointer-events: none; display: none; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; mix-blend-mode: normal; }
.has-cursor .cursor { display: grid; }
.cursor-label { font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(233, 200, 27, .35); }
.cursor.view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--yellow); }
.cursor.view .cursor-label { opacity: 1; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: transform .6s var(--ease), background .4s, height .4s; }
.admin-bar .site-header { top: 32px; }
.site-header.scrolled { background: rgba(12, 14, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 68px; border-bottom: 1px solid var(--line-d); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; z-index: 2; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; }
.brand-text strong { font-weight: 700; }
.brand-text span { color: var(--stone); }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.6vw, 40px); margin: 0; padding: 0; }
.nav a { font-size: 14px; color: rgba(255,255,255,.75); transition: color .3s; position: relative; }
.nav a:hover, .nav a.active { color: #fff; }
.nav ul { counter-reset: nav; }
.nav li { counter-increment: nav; }
.nav li a::before { content: counter(nav, decimal-leading-zero); font-size: 9px; color: var(--yellow); margin-right: 4px; vertical-align: 6px; }
.nav-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; z-index: 2; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.playing { opacity: 1; }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.18); filter: saturate(.75) contrast(1.05); }
.js .loaded .hero-media img, .js .loaded .hero-video { transform: scale(1.04); transition: transform 3.2s var(--ease); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,17,.55) 0%, rgba(12,14,17,.15) 35%, rgba(12,14,17,.7) 72%, var(--ink) 100%), linear-gradient(90deg, rgba(12,14,17,.6), transparent 70%); }
.grid-lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); pointer-events: none; }
.grid-lines span { border-left: 1px solid rgba(255,255,255,.07); }
.grid-lines span:last-child { border-right: 1px solid rgba(255,255,255,.07); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(36px, 5vw, 64px); }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(233,200,27,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(233,200,27,0); } 100% { box-shadow: 0 0 0 0 rgba(233,200,27,0); } }
.hero-title { font-size: clamp(48px, 9.2vw, 158px); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(32px, 4vw, 56px); }
.hero-lead { max-width: 480px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.25vw, 18px); }
.hero-meta { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); padding-top: 18px; padding-bottom: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.scroll-hint { justify-self: end; display: flex; align-items: center; gap: 12px; }
.scroll-hint i { width: 1px; height: 28px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); animation: drop 2s var(--ease) infinite; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.js .hero-kicker, .js .hero-foot, .js .hero-meta { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.js .loaded .hero-kicker, .js .loaded .hero-foot, .js .loaded .hero-meta { opacity: 1; transform: none; }

/* Marquee */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.marquee b { font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Nosotros */
.manifesto { font-size: clamp(30px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; max-width: 1240px; }
.manifesto .w { opacity: .14; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 140px); margin-top: clamp(72px, 10vw, 140px); align-items: start; }
.about-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.about-img img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; filter: grayscale(.2); }
.about-copy { padding-top: clamp(0px, 4vw, 60px); }
.about-copy p { font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 1.2em; max-width: 560px; }
.about-copy p:first-child { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-l); }
.stat { padding: 28px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line-l); }
.stat strong { display: flex; font-size: clamp(44px, 5.4vw, 88px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat strong i { font-style: normal; color: #b39500; font-weight: 400; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: #6a6f77; }

/* Servicios */
.section-title { font-size: clamp(40px, 6.4vw, 108px); margin-bottom: clamp(56px, 7vw, 100px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.svc { position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 64px; align-items: center; gap: 24px; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line-d); cursor: default; }
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: scaleY(1); transform-origin: top; }
.svc-num { font-size: 13px; color: var(--stone); letter-spacing: .1em; }
.svc-title { font-size: clamp(26px, 3.2vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.svc:hover .svc-title { transform: translateX(16px); color: var(--yellow); }
.svc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags li { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line-d); border-radius: 999px; color: rgba(255,255,255,.72); }
.svc-thumb { display: none; }
.svc-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background .5s var(--ease), color .5s, transform .5s var(--ease); }
.svc-arrow svg { width: 20px; height: 20px; }
.svc:hover .svc-arrow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(45deg); }
.svc-float { position: fixed; left: 0; top: 0; width: 320px; height: 240px; z-index: 5; pointer-events: none; overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .6s var(--ease); }
.svc-float.show { opacity: 1; transform: scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }

/* Proyectos horizontal */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hscroll .label-row { margin-bottom: clamp(28px, 4vh, 56px); }
.hs-counter b { color: var(--ink); font-weight: 600; }
.hscroll-track { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px); padding-inline: max(var(--gutter), (100vw - 1440px) / 2 + var(--gutter)); will-change: transform; }
.hs-intro { flex: none; width: clamp(300px, 30vw, 460px); align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 8px; }
.hs-intro h2 { font-size: clamp(44px, 5.4vw, 92px); }
.hs-intro p { max-width: 300px; }
.project { flex: none; width: clamp(280px, 34vw, 520px); }
.project:nth-of-type(even) { width: clamp(260px, 28vw, 430px); }
.project-img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--paper-2); }
.project:nth-of-type(even) .project-img { aspect-ratio: 1; }
.project-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.06); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.project:hover .project-img img { filter: none; transform: scale(1); }
.project-meta { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: baseline; padding-top: 16px; font-size: 13px; color: #6a6f77; }
.project-meta h3 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.hs-cta { flex: none; width: clamp(260px, 26vw, 400px); aspect-ratio: 4 / 5; background: var(--ink); color: #fff; border-radius: 4px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 44px; transition: background .5s; }
.hs-cta .label { color: var(--stone); }
.hs-cta .display { font-size: clamp(48px, 5vw, 84px); }
.hs-cta .btn-round { border-color: rgba(255,255,255,.3); }
.hs-cta:hover .btn-round { background: var(--yellow); color: var(--ink); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.step { padding: 36px 28px 44px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-d); }
.step-n { font-size: 13px; color: var(--yellow); letter-spacing: .1em; }
.step h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; margin: 60px 0 14px; }
.step p { color: var(--stone); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(80px, 10vw, 150px); }
.value em { display: block; font-weight: 500; letter-spacing: -.05em; font-size: clamp(44px, 5.2vw, 88px); line-height: .9; color: #fff; }
.value:nth-child(2) em { color: var(--yellow); }
.value span { display: block; margin-top: 16px; color: var(--stone); font-size: 15px; }

/* Clientes */
.clients-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line-l); border-top: 1px solid var(--line-l); }
.client { min-width: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14% 18%; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); background: var(--paper); transition: background .5s; }
.client img { max-height: 96px; max-width: 100%; height: auto; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.2); opacity: .65; transition: filter .5s, opacity .5s, transform .8s var(--ease); }
.client:hover { background: #fff; }
.client-name { font-weight: 600; font-size: 18px; text-align: center; color: #6a6f77; }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }


/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); }
.contact-left h2 { font-size: clamp(44px, 6vw, 100px); margin-bottom: clamp(48px, 6vw, 80px); }
.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.contact-list dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.contact-list a { background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.contact-form { align-self: start; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 6px; padding: clamp(28px, 4vw, 56px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { position: relative; margin-bottom: 30px; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; font: 400 17px/1.4 var(--sans); padding: 26px 0 10px; outline: none; resize: vertical; transition: border-color .4s; }
.field label { position: absolute; left: 0; top: 26px; color: var(--stone); font-size: 16px; pointer-events: none; transition: transform .4s var(--ease), font-size .4s, color .4s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { border-color: var(--yellow); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.78); color: var(--yellow); }
.chips { border: 0; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .3s; }
.chip span:hover { border-color: #fff; }
.chip input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 4px; margin-bottom: 26px; font-size: 15px; }
.notice-ok { background: rgba(80, 200, 120, .12); color: #8be0a8; }
.notice-err { background: rgba(230, 80, 80, .12); color: #f1a0a0; }
.map { margin-top: clamp(72px, 9vw, 130px); height: 440px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-d); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map.is-dark iframe { filter: grayscale(1) invert(.92) contrast(.9); }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-d); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.footer-top .label { color: var(--stone); }
.footer-claim { font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.05; margin-top: 20px; max-width: 520px; }
.footer-claim em { color: var(--yellow); }
.footer-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: .8fr 1.5fr .7fr; gap: 32px; }
.footer-cols li { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 0; }
.footer-cols .label { margin-bottom: 8px; }
.footer-cols a, .footer-cols span:not(.label) { color: rgba(255,255,255,.75); overflow-wrap: anywhere; transition: color .3s; }
.footer-cols a:hover { color: var(--yellow); }
.footer-word { font-size: 17.4vw; font-weight: 600; letter-spacing: -.065em; line-height: .8; text-align: center; margin-top: clamp(60px, 8vw, 120px); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--stone); }
.to-top:hover { color: var(--yellow); }

/* WhatsApp */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55); transition: transform .4s var(--ease); }
.whatsapp svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp:hover { transform: scale(1.1); }

.page-content { padding-top: calc(var(--header-h) + 80px); }
.narrow { max-width: 820px; }

/* Responsive */
@media (max-width: 1100px) {
	.svc { grid-template-columns: 56px 1fr 56px; }
	.svc-tags { grid-column: 2 / 3; }
	.svc-arrow { grid-row: 1; grid-column: 3; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step:nth-child(3) { padding-left: 0; border-left: 0; }
	.step:nth-child(n+3) { border-top: 1px solid var(--line-d); }
}
@media (max-width: 900px) {
	:root { --header-h: 72px; }
	.nav { position: fixed; inset: 0; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); z-index: 1; }
	.nav.open { clip-path: inset(0 0 0 0); }
	.nav ul { flex-direction: column; gap: 4px; }
	.nav a { font-size: clamp(40px, 11vw, 64px); letter-spacing: -.04em; color: #fff; line-height: 1.15; }
	.nav li a::before { font-size: 12px; vertical-align: 24px; }
	.nav-foot { display: flex; flex-direction: column; gap: 8px; }
	.nav-foot a { font-size: 15px; letter-spacing: 0; color: var(--stone); }
	.nav-toggle { display: block; }
	.header-actions .btn-pill { display: none; }
	.hero-foot { flex-direction: column; align-items: flex-start; }
	.btn-round { width: 120px; height: 120px; }
	.hero-meta { grid-template-columns: 1fr 1fr; row-gap: 8px; }
	.scroll-hint { display: none; }
	.about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
	.about-img { aspect-ratio: 4 / 3; }
	.hscroll { height: auto !important; padding: 100px 0; }
	.hscroll-sticky { position: static; height: auto; padding-top: 0; }
	.hscroll-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; align-items: stretch; scrollbar-width: none; }
	.hscroll-track::-webkit-scrollbar { display: none; }
	.hs-intro { display: none; }
	.project, .project:nth-of-type(even) { width: 78vw; scroll-snap-align: center; }
	.project:nth-of-type(even) .project-img { aspect-ratio: 4 / 5; }
	.project-img img { filter: none; }
	.project-meta { grid-template-columns: 32px 1fr; }
	.project-meta span:last-child { grid-column: 2; margin-top: -8px; }
	.hs-cta { width: 78vw; margin-bottom: 0; scroll-snap-align: center; aspect-ratio: auto; }
	.hs-counter { display: none; }
	.values { grid-template-columns: 1fr; gap: 40px; }
	.clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map { height: 320px; }
	.grid-lines { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.svc { grid-template-columns: 1fr 48px; gap: 16px; }
	.svc-num { grid-column: 1 / -1; }
	.svc-title { grid-column: 1; }
	.svc-arrow { grid-row: 2; grid-column: 2; width: 48px; height: 48px; }
	.svc-tags { grid-column: 1 / -1; }
	.svc-thumb { display: block; grid-column: 1 / -1; grid-row: 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; order: -1; }
	.svc-thumb { grid-row: auto; }
	.stats { grid-template-columns: 1fr; }
	.stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-l); }
	.steps { grid-template-columns: 1fr; }
	.step, .step + .step { padding: 28px 0; border-left: 0; }
	.step + .step { border-top: 1px solid var(--line-d); }
	.step h3 { margin-top: 20px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.contact-list div { grid-template-columns: 1fr; gap: 4px; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.label-row { flex-direction: column; gap: 4px; }
	.brand-text { font-size: 11px; }
	.hero-title { font-size: 9.8vw; }
	.section-title, .contact-left h2 { font-size: 11vw; }
}
@media (hover: none) { .svc:hover .svc-title { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .line > span, .js .reveal { transform: none; opacity: 1; }
	.js .img-reveal > img { clip-path: none; }
	.manifesto .w { opacity: 1; }
}
