:root {
  --ink: #17372b;
  --forest: #174b35;
  --forest-deep: #08291d;
  --moss: #6f7f43;
  --gold: #d5b36d;
  --gold-dark: #9d783b;
  --sand: #eee7d8;
  --cream: #f8f5ee;
  --white: #fff;
  --muted: #66736b;
  --border: rgba(23, 55, 43, .15);
  --shadow: 0 26px 80px rgba(8, 41, 29, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.62; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(78px, 8vw, 126px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-160%); padding: 10px 14px; color: white; background: var(--forest); }
.skip-link:focus { transform: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 5.4vw, 5.45rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.25rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.05rem); }
.eyebrow { margin-bottom: 15px; color: var(--moss); font-size: .68rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: #efd18e; }

.button { position: relative; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; overflow: hidden; border: 1px solid var(--forest); padding: 12px 22px; color: white; background: var(--forest); box-shadow: 0 0 0 rgba(8,41,29,0); font-size: .79rem; font-weight: 800; letter-spacing: .025em; transition: color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
.button span { transition: transform .28s ease; }
.button:hover { border-color: var(--gold); color: var(--forest-deep); background: var(--gold); box-shadow: 0 13px 32px rgba(8,41,29,.18); transform: translateY(-3px); }
.button:hover span { transform: translate(3px, -2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #f0c96e; outline-offset: 4px; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .72rem; }
.button-gold { border-color: var(--gold); color: var(--forest-deep); background: var(--gold); }
.button-gold:hover { border-color: white; color: white; background: var(--forest); }
.button-ghost { border-color: rgba(255,255,255,.62); color: white; background: rgba(8,41,29,.16); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: white; color: var(--forest-deep); background: white; }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; padding: 0 0 3px; color: var(--forest); font-size: .82rem; font-weight: 800; transition: color .2s ease, gap .2s ease; }
.text-link:hover { gap: 15px; color: var(--gold-dark); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { border-color: var(--border); background: rgba(248,245,238,.94); box-shadow: 0 8px 35px rgba(8,41,29,.08); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { position: relative; z-index: 3; display: flex; width: 184px; height: 68px; align-items: center; overflow: hidden; }
.brand img { width: 184px; height: auto; filter: brightness(0) invert(1); transition: filter .3s ease; }
.is-scrolled .brand img { filter: none; }
.main-nav { display: flex; margin-left: auto; align-items: center; gap: 30px; color: white; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { position: relative; padding: 10px 0; transition: color .2s ease; }
.main-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--gold); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.is-scrolled .main-nav { color: var(--ink); }
.mobile-nav-kicker, .mobile-nav-contact, .nav-backdrop { display: none; }
.header-cta { border-color: var(--gold); color: var(--forest-deep); background: var(--gold); }
.header-cta:hover { border-color: white; color: white; background: var(--forest); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; padding: 10px; background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; transition: .2s ease; }
.is-scrolled .nav-toggle span:not(.sr-only) { background: var(--forest); }

.hero { position: relative; min-height: min(860px, 94vh); overflow: hidden; color: white; background: var(--forest-deep); }
.hero::after { position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.2); content: ''; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroIn 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,29,20,.94) 0%, rgba(4,29,20,.75) 36%, rgba(4,29,20,.18) 69%, rgba(4,29,20,.08)), linear-gradient(0deg, rgba(4,29,20,.68) 0%, transparent 42%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: min(860px, 94vh); flex-direction: column; align-items: flex-start; justify-content: center; padding: 110px 0 95px; }
.hero-copy { max-width: 680px; }
.hero h1 { max-width: 660px; margin-bottom: 22px; text-wrap: balance; }
.hero-lead { max-width: 580px; margin-bottom: 31px; color: rgba(255,255,255,.82); font-size: clamp(.98rem, 1.4vw, 1.13rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-proof { position: absolute; right: 0; bottom: 39px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.74); font-size: .61rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-proof i { width: 25px; height: 1px; background: rgba(255,255,255,.36); }
.hero-scroll { position: absolute; bottom: 35px; left: max(24px, calc((100% - min(1200px, calc(100% - 48px))) / 2)); z-index: 3; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.74); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-scroll span { display: block; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); animation: scrollCue 1.6s ease-in-out infinite; }
@keyframes heroIn { from { opacity: .7; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes scrollCue { 50% { transform: translateY(5px) rotate(45deg); } }

.intro { background: var(--sand); }
.intro-grid { display: grid; grid-template-columns: 1.12fr .68fr; gap: 11vw; align-items: end; }
.intro h2 { max-width: 720px; margin-bottom: 0; text-wrap: balance; }
.intro-copy p { margin-bottom: 26px; color: #59665f; font-size: 1rem; }
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid rgba(23,55,43,.2); }
.value-strip > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 18px; border-right: 1px solid rgba(23,55,43,.14); padding: 26px 30px 0 0; }
.value-strip > div + div { padding-left: 30px; }
.value-strip > div:last-child { border-right: 0; }
.value-strip span { grid-row: span 2; color: var(--gold-dark); font-family: var(--serif); font-size: 1.2rem; }
.value-strip strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.value-strip small { color: var(--muted); font-size: .75rem; }

.services { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.35fr .55fr; gap: 10vw; align-items: end; margin-bottom: 50px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; text-wrap: balance; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); font-size: .92rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.service-card { position: relative; min-height: 300px; overflow: hidden; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 31px 30px 27px; background: rgba(255,255,255,.22); transition: color .32s ease, background .32s ease, transform .32s ease; }
.service-card::before { position: absolute; inset: 0; background: var(--forest); content: ''; transform: translateY(102%); transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { color: white; transform: translateY(-5px); }
.service-card:hover::before { transform: none; }
.service-number { display: block; margin-bottom: 45px; color: var(--gold-dark); font-family: var(--serif); font-size: 1rem; }
.service-card:hover .service-number { color: var(--gold); }
.service-card h3 { margin-bottom: 14px; font-size: 1.65rem; }
.service-card p { min-height: 78px; color: var(--muted); font-size: .86rem; transition: color .3s ease; }
.service-card:hover p { color: rgba(255,255,255,.74); }
.service-card a { display: inline-flex; gap: 9px; color: var(--forest); font-size: .73rem; font-weight: 800; transition: color .3s ease, gap .3s ease; }
.service-card:hover a { gap: 14px; color: var(--gold); }

.projects { color: white; background: var(--forest-deep); }
.light-heading > p { color: rgba(255,255,255,.62); }
.project-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 34px 24px; align-items: start; }
.project-card { grid-column: span 4; }
.project-card:nth-child(2) { margin-top: 68px; }
.project-image { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #183d2d; }
.project-image::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0); content: ''; transition: inset .35s ease, border-color .35s ease; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .75s ease; }
.project-image:hover::after { inset: 12px; border-color: rgba(255,255,255,.72); }
.project-image:hover img { filter: saturate(1.08); transform: scale(1.055); }
.project-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 19px; color: #d4bc82; font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { margin: 11px 0 10px; font-size: 1.72rem; }
.project-card h3 a { transition: color .2s ease; }
.project-card h3 a:hover { color: var(--gold); }
.project-card p { color: rgba(255,255,255,.65); font-size: .85rem; }
.light-link { color: white; }
.light-link:hover { color: var(--gold); }

.gallery { background: var(--cream); }
.gallery-title { display: flex; margin-bottom: 39px; align-items: end; justify-content: space-between; gap: 40px; }
.gallery-title h2 { margin-bottom: 0; }
.gallery-title > p { color: var(--muted); font-size: .78rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(5, 185px); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--sand); }
.gallery-item::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,41,29,.58), transparent 45%); content: ''; opacity: 0; transition: opacity .35s ease; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .65s ease; }
.gallery-item > span { position: absolute; right: 15px; bottom: 13px; z-index: 2; color: white; font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(7px); transition: opacity .3s ease, transform .3s ease; }
.gallery-item:hover::after, .gallery-item:hover > span { opacity: 1; }
.gallery-item:hover > span { transform: none; }
.gallery-item:hover img { filter: saturate(1.1); transform: scale(1.045); }
.gallery-item--1 { grid-area: 1 / 1 / 3 / 6; }
.gallery-item--2 { grid-area: 1 / 6 / 2 / 10; }
.gallery-item--3 { grid-area: 1 / 10 / 2 / 13; }
.gallery-item--4 { grid-area: 2 / 6 / 3 / 9; }
.gallery-item--5 { grid-area: 2 / 9 / 3 / 13; }
.gallery-item--6 { grid-area: 3 / 1 / 4 / 4; }
.gallery-item--7 { grid-area: 3 / 4 / 4 / 9; }
.gallery-item--8 { grid-area: 3 / 9 / 5 / 13; }
.gallery-item--9 { grid-area: 4 / 1 / 5 / 5; }
.gallery-item--10 { grid-area: 4 / 5 / 5 / 9; }
.gallery-item--11 { grid-area: 5 / 1 / 6 / 5; }
.gallery-item--12 { grid-area: 5 / 5 / 6 / 13; }
.gallery-item--2 img, .gallery-item--5 img, .gallery-item--7 img, .gallery-item--12 img { object-position: center 56%; }

.about { overflow: hidden; background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1.02fr .9fr; gap: 9vw; align-items: center; }
.about-visual { position: relative; min-height: 630px; }
.about-visual figure { margin: 0; overflow: hidden; background: #d7d0c2; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-main { position: absolute; inset: 0 19% 8% 0; }
.about-photo-detail { position: absolute; right: 0; bottom: 0; width: 42%; height: 44%; border: 8px solid var(--sand); }
.about-signature { position: absolute; top: 8%; right: -10px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; color: var(--forest-deep); background: var(--gold); font-size: .57rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.about-signature i { width: 1px; height: 14px; background: rgba(8,41,29,.35); }
.about-content h2 { margin-bottom: 23px; font-size: clamp(2.25rem, 3.9vw, 4rem); text-wrap: balance; }
.about-content > p:not(.eyebrow) { color: var(--muted); font-size: .97rem; }
.about-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.about-points span { border: 1px solid rgba(23,55,43,.22); border-radius: 999px; padding: 8px 13px; color: var(--forest); font-size: .68rem; font-weight: 750; }

.cta-band { position: relative; overflow: hidden; padding: 76px 0; color: white; background: var(--forest); }
.cta-band::after { position: absolute; top: -140px; right: -80px; width: 420px; height: 420px; border: 1px solid rgba(213,179,109,.2); border-radius: 50%; content: ''; box-shadow: 0 0 0 65px rgba(213,179,109,.035), 0 0 0 130px rgba(213,179,109,.025); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner h2 { max-width: 690px; margin-bottom: 0; font-size: clamp(2.2rem, 3.8vw, 3.9rem); }
.cta-inner .button { flex-shrink: 0; }

.site-footer { padding: 70px 0 22px; color: rgba(255,255,255,.7); background: #061e15; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .48fr .85fr; gap: 7vw; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: 224px; height: auto; margin: -31px 0 -19px; filter: brightness(0) invert(1); }
.footer-grid p { max-width: 430px; font-size: .82rem; }
.footer-title { margin-bottom: 15px; color: #dfc17f; font-size: .63rem !important; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.footer-grid a { margin-bottom: 7px; color: rgba(255,255,255,.87); font-size: .78rem; transition: color .2s ease, transform .2s ease; }
.footer-grid a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom { display: flex; margin-top: 48px; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .67rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: flex; align-items: center; gap: 10px; color: white; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.wa-label { border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 8px 13px; color: var(--forest-deep); background: rgba(255,255,255,.95); font-size: .68rem; font-weight: 850; opacity: 0; transform: translateX(8px); transition: opacity .25s ease, transform .25s ease; }
.whatsapp-float:hover .wa-label { opacity: 1; transform: none; }
.wa-icon { position: relative; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid white; border-radius: 50%; background: #1f9d55; transition: background .25s ease, transform .25s ease; }
.wa-icon::before { position: absolute; inset: -7px; border: 1px solid rgba(31,157,85,.55); border-radius: 50%; content: ''; animation: waPulse 2.1s ease-out infinite; }
.whatsapp-float:hover .wa-icon { background: var(--forest-deep); transform: rotate(-4deg) scale(1.08); }
.wa-bubble { position: relative; display: flex; width: 27px; height: 21px; align-items: center; justify-content: center; gap: 3px; border-radius: 8px; background: white; }
.wa-bubble::after { position: absolute; right: 3px; bottom: -4px; border-width: 5px 0 0 6px; border-style: solid; border-color: transparent transparent transparent white; content: ''; }
.wa-bubble b { width: 3px; height: 3px; border-radius: 50%; background: #1f9d55; }
.wa-leaf { position: absolute; top: 7px; right: 7px; z-index: 2; width: 12px; height: 7px; border-radius: 100% 0 100% 0; background: var(--gold); transform: rotate(-25deg); }
@keyframes waPulse { from { opacity: .75; transform: scale(.86); } to { opacity: 0; transform: scale(1.38); } }

.lightbox { width: min(1180px, calc(100% - 34px)); max-width: none; height: min(90vh, 920px); max-height: none; border: 0; padding: 0; overflow: visible; background: transparent; }
.lightbox::backdrop { background: rgba(3,18,12,.94); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: -42px; right: 0; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 1.45rem; line-height: 1; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.lightbox button:hover { color: var(--forest-deep); background: white; transform: rotate(90deg); }

.project-hero { position: relative; min-height: min(760px, 90vh); color: white; background: var(--forest-deep); }
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero-content { position: relative; z-index: 2; display: flex; min-height: min(760px, 90vh); flex-direction: column; align-items: flex-start; justify-content: end; padding-bottom: 75px; }
.project-hero h1 { max-width: 850px; margin: 12px 0 18px; font-size: clamp(2.8rem, 5.2vw, 5.35rem); }
.project-hero-content > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.8); }
.project-hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; color: rgba(255,255,255,.72); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-hero-facts i { width: 24px; height: 1px; background: var(--gold); }
.back-link { position: absolute; top: 120px; font-size: .75rem; font-weight: 800; transition: color .2s ease, transform .2s ease; }
.back-link:hover { color: var(--gold); transform: translateX(-4px); }
.project-story { background: var(--sand); }
.project-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.project-story h2 { margin-bottom: 0; }
.project-story-grid > div:last-child p { color: var(--muted); font-size: 1rem; }
.location-label { display: inline-flex; border: 1px solid var(--border); padding: 8px 13px; color: var(--moss); font-size: .64rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.project-gallery { padding-top: 28px; background: var(--cream); }
.photo-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 108px; gap: 10px; }
.photo-card { position: relative; min-height: 0; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--sand); }
.project-photo--1 { grid-column: span 7; grid-row: span 5; }
.project-photo--2 { grid-column: span 5; grid-row: span 5; }
.project-photo--3 { grid-column: span 5; grid-row: span 4; }
.project-photo--4 { grid-column: span 7; grid-row: span 4; }
.project-photo--5 { grid-column: span 4; grid-row: span 5; }
.project-photo--6 { grid-column: span 8; grid-row: span 5; }
.photo-card:last-child.project-photo--3 { grid-column: span 12; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.photo-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,41,29,.64), transparent 45%); content: ''; opacity: 0; transition: opacity .35s ease; }
.photo-card:hover::after { opacity: 1; }
.photo-card:hover img { filter: saturate(1.08); transform: scale(1.04); }
.photo-card .photo-zoom { position: absolute; right: 16px; bottom: 15px; z-index: 2; color: white; font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(7px); transition: opacity .3s ease, transform .3s ease; }
.photo-card:hover .photo-zoom { opacity: 1; transform: none; }
.photo-card .photo-caption { position: absolute; bottom: 13px; left: 13px; z-index: 3; max-width: calc(100% - 105px); padding: 7px 9px; color: white; background: rgba(8,41,29,.84); font-size: .68rem; }
.not-found { min-height: 75vh; padding-top: 210px; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: revealIn .7s ease both; }
@keyframes revealIn { from { opacity: .25; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 960px) {
  :root { --container: min(100% - 36px, 1200px); }
  .header-inner { min-height: 76px; }
  .brand, .brand img { width: 170px; }
  .nav-toggle { position: relative; z-index: 4; display: block; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: border-color .25s ease, background .25s ease; }
  .is-scrolled .nav-toggle { border-color: rgba(23,55,43,.3); }
  .nav-toggle:hover { border-color: var(--gold); background: rgba(213,179,109,.12); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 3; display: flex; width: min(86vw, 390px); margin: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; overflow-y: auto; padding: 104px 34px 38px; color: white !important; background: var(--forest-deep); box-shadow: -28px 0 75px rgba(0,0,0,.28); font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; visibility: hidden; transform: translateX(105%); transition: visibility .38s ease, transform .38s cubic-bezier(.2,.75,.2,1); }
  .main-nav.is-open { visibility: visible; transform: none; }
  .main-nav > a:not(.mobile-nav-contact) { width: 100%; border-bottom: 1px solid rgba(255,255,255,.14); padding: 13px 0; }
  .main-nav > a:not(.mobile-nav-contact):hover { color: var(--gold); padding-left: 7px; }
  .main-nav a::after { display: none; }
  .mobile-nav-kicker { display: block; width: 100%; margin-bottom: 13px; color: var(--gold); font-family: var(--sans); font-size: .62rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
  .main-nav .mobile-nav-contact { display: flex; width: 100%; min-height: 56px; flex-shrink: 0; align-items: center; justify-content: space-between; margin-top: 27px; border: 1px solid var(--gold); padding: 14px 17px; color: var(--forest-deep) !important; background: var(--gold); box-shadow: 0 14px 35px rgba(0,0,0,.16); font-family: var(--sans); font-size: .76rem; font-weight: 850; letter-spacing: .025em; }
  .main-nav .mobile-nav-contact span { transition: transform .25s ease; }
  .main-nav .mobile-nav-contact:hover { border-color: white; color: white !important; background: transparent; }
  .main-nav .mobile-nav-contact:hover span { transform: translate(3px, -2px); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 1; display: block; border: 0; padding: 0; background: rgba(3,20,13,.62); backdrop-filter: blur(4px); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open .brand img { filter: brightness(0) invert(1); }
  .nav-open .nav-toggle span:not(.sr-only) { background: white; }
  .header-cta { display: none; }
  .hero, .hero-content { min-height: 760px; }
  .hero-image { object-position: 58% center; }
  .hero-proof { right: auto; left: 0; }
  .hero-scroll { display: none; }
  .intro-grid, .about-grid, .project-story-grid { grid-template-columns: 1fr; gap: 46px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip > div, .value-strip > div + div { border-right: 0; border-bottom: 1px solid rgba(23,55,43,.14); padding: 18px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-column: span 6; }
  .project-card:last-child { grid-column: 4 / span 6; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(7, 165px); }
  .gallery-item--1 { grid-area: 1 / 1 / 3 / 4; }
  .gallery-item--2 { grid-area: 1 / 4 / 2 / 7; }
  .gallery-item--3 { grid-area: 2 / 4 / 3 / 7; }
  .gallery-item--4 { grid-area: 3 / 1 / 4 / 3; }
  .gallery-item--5 { grid-area: 3 / 3 / 4 / 7; }
  .gallery-item--6 { grid-area: 4 / 1 / 5 / 4; }
  .gallery-item--7 { grid-area: 4 / 4 / 5 / 7; }
  .gallery-item--8 { grid-area: 5 / 1 / 7 / 4; }
  .gallery-item--9 { grid-area: 5 / 4 / 6 / 7; }
  .gallery-item--10 { grid-area: 6 / 4 / 7 / 7; }
  .gallery-item--11 { grid-area: 7 / 1 / 8 / 4; }
  .gallery-item--12 { grid-area: 7 / 4 / 8 / 7; }
  .about-visual { max-width: 650px; min-height: 600px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .photo-card[class*='project-photo--'] { grid-column: span 1; grid-row: span 1; }
  .photo-card:nth-child(3n) { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1200px); }
  .section { padding: 70px 0; }
  .nav-open .site-header { border-color: transparent; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .brand { z-index: 4; }
  .main-nav { width: 100vw; max-width: none; justify-content: flex-start; padding: 112px 28px 28px; box-shadow: none; }
  .mobile-nav-kicker { margin: 12px 0 15px; }
  .main-nav > a:not(.mobile-nav-contact) { padding: 12px 0; font-size: clamp(1.65rem, 8vw, 2rem); }
  .main-nav .mobile-nav-contact { margin-top: auto; }
  h2 { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  .hero, .hero-content { min-height: 720px; }
  .hero-content { justify-content: flex-end; padding: 128px 0 98px; }
  .hero-image { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4,29,20,.96) 0%, rgba(4,29,20,.73) 61%, rgba(4,29,20,.28)); }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: .95rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-proof { bottom: 27px; gap: 8px; font-size: .52rem; }
  .hero-proof i { width: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 27px 23px; }
  .service-number { margin-bottom: 30px; }
  .service-card p { min-height: auto; }
  .project-list { grid-template-columns: 1fr; gap: 52px; }
  .project-card, .project-card:last-child { grid-column: auto; }
  .project-card:nth-child(2) { margin-top: 0; }
  .gallery-title { align-items: flex-start; flex-direction: column; gap: 3px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 180px; gap: 7px; }
  .gallery-item[class*='gallery-item--'] { grid-area: auto; grid-column: auto; grid-row: auto; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6), .gallery-item:nth-child(9), .gallery-item:nth-child(12) { grid-column: span 2; }
  .about-grid { gap: 55px; }
  .about-visual { min-height: 490px; }
  .about-photo-main { right: 13%; }
  .about-photo-detail { width: 44%; height: 38%; border-width: 5px; }
  .about-signature { right: -5px; }
  .cta-band { padding: 62px 0; }
  .cta-inner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 31px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .project-hero, .project-hero-content { min-height: 660px; }
  .project-hero-content { padding-bottom: 52px; }
  .back-link { top: 100px; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; }
  .photo-card[class*='project-photo--'], .photo-card:nth-child(3n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .photo-card:nth-child(3n + 1) { aspect-ratio: 4 / 3; }
  .whatsapp-float { right: 14px; bottom: 14px; }
  .wa-label { display: none; }
  .wa-icon { width: 54px; height: 54px; }
}
