@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #16b80f;
  --green-dark: #08720f;
  --on-dark-muted: #d6dcd7;
  --ink: #171918;
  --text: #303532;
  --muted: #616762;
  --paper: #fafaf8;
  --soft: #e7e9e7;
  --white: #fff;
  --line: rgba(23, 25, 24, 0.24);
  --body-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --page: min(1280px, calc(100% - 80px));
  --section-space: clamp(4.8rem, 7.5vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body-font); line-height: 1.65; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: .7rem 1rem; transform: translateY(-150%); background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 78px; border-bottom: 1px solid var(--line); background: rgba(250,250,248,.97); transition: background-color 240ms ease,box-shadow 240ms ease; }
.site-header.is-scrolled { background: var(--white); box-shadow: 0 10px 34px rgba(31,26,23,.08); }
.header-inner { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 1.5rem; width: var(--page); height: 100%; margin: auto; }
.brand { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; }
.brand img { width: 132px; height: auto; }
.main-nav { display: flex; justify-content: center; gap: clamp(.8rem, 1.8vw, 1.7rem); }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 0; color: var(--text); font-size: .76rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { position: absolute; right: 0; bottom: .3rem; left: 0; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--green); content: ""; transition: transform 260ms var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; padding: .8rem 1.05rem; border: 1px solid transparent; border-radius: 4px; font-size: .78rem; font-weight: 800; line-height: 1.25; text-decoration: none; transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease); }
.header-cta { background: var(--green); }
.header-cta:hover, .button-green:hover { background: var(--ink); color: var(--white); }
.header-cta svg, .button svg { width: 20px; height: 20px; margin-left: 1.8rem; fill: none; stroke: currentColor; stroke-linecap: square; stroke-width: 1.6; transition: transform 220ms var(--ease); }
.header-cta:hover svg, .button:hover svg { transform: translate(3px,-3px); }
.button:hover { transform: translateY(-2px); }
.button-green { background: var(--green); color: var(--ink); }
.button-black { background: var(--ink); color: var(--white); }
.button-black:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-large { min-height: 62px; padding-inline: 1.3rem; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; height: min(700px, calc(100svh - 82px)); min-height: 590px; margin-top: 82px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media video,.hero-media video img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media video { animation: hero-scale 1.6s var(--ease) both; }
.hero-shade { position: absolute; z-index: 1; inset: 0; display: block; background: linear-gradient(90deg,rgba(23,25,24,.7) 0%,rgba(23,25,24,.44) 30%,rgba(23,25,24,.12) 61%,rgba(23,25,24,0) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: var(--page); height: 100%; margin: auto; padding: 0 52% 0 0; color: var(--white); animation: hero-copy .85s .08s var(--ease) both; }
.hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 4.6vw, 4.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.03; text-wrap: balance; }
.hero-content > p { max-width: 34rem; margin: 1.35rem 0 0; color: rgba(255,255,255,.92); font-size: clamp(1rem,1.25vw,1.12rem); line-height: 1.58; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2rem; }
.hero-actions .button-green { color: var(--white); }
.hero-secondary { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.86); color: var(--white); font-size: .8rem; font-weight: 750; text-decoration: none; transition: border-color 220ms ease, color 220ms ease; }
.hero-secondary:hover { border-color: var(--green); color: var(--green); }
.hero-rating { display: flex; align-items: center; gap: .75rem; width: fit-content; margin-top: 1.8rem; color: var(--white); text-decoration: none; }
.hero-rating strong { font-size: 1.25rem; }
.hero-rating span { color: var(--green); font-size: .75rem; letter-spacing: .08em; }
.hero-rating small { color: rgba(255,255,255,.76); font-size: .7rem; }
.hero-scroll { display: none; }
@keyframes hero-scale { from { transform: scale(1.035); filter: brightness(.8); } to { transform: scale(1); filter: brightness(1); } }
@keyframes hero-copy { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Shared sections */
.section { padding-block: var(--section-space); }
.section-head { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.7fr); align-items: end; gap: 5rem; width: var(--page); margin: auto; }
.section-head h2, .about-copy h2, .process-title h2, .reviews-intro h2 { max-width: 15ch; margin: 0; font-size: clamp(2.4rem,4vw,4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
.section-head p { max-width: 34rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.services-intro { align-items: start; gap: clamp(3rem,7vw,8rem); }
.services-intro-note { padding-top: .25rem; }
.services-intro-note p { max-width: 32rem; }

/* Services */
.services {
  background: var(--paper);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}
.service-showcase { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: minmax(430px,38vw); gap: 14px; width: var(--page); margin: clamp(3rem,5vw,4.5rem) auto 0; }
.service-feature { position: relative; min-width: 0; overflow: hidden; background: var(--soft); }
.service-feature-main { grid-row: auto; }
.service-feature picture, .service-feature picture img { width: 100%; height: 100%; }
.service-feature img { object-fit: cover; transition: transform 700ms var(--ease), filter 400ms ease; }
.service-feature::after { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(22,19,17,.86)); content: ""; pointer-events: none; }
.service-feature:hover img { transform: scale(1.035); filter: saturate(1.05); }
.service-feature > div { position: absolute; z-index: 2; right: clamp(1.2rem,2vw,2rem); bottom: clamp(1.2rem,2vw,2rem); left: clamp(1.2rem,2vw,2rem); color: var(--white); }
.service-feature h3 { margin: 0 0 .45rem; font-size: clamp(1.35rem,2.2vw,2rem); font-weight: 600; letter-spacing: -.025em; }
.service-feature p { max-width: 31rem; margin: 0 0 1rem; color: rgba(255,255,255,.78); font-size: .82rem; line-height: 1.6; }
.service-feature a { display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .25rem; border-bottom: 1px solid rgba(255,255,255,.65); font-size: .72rem; font-weight: 750; text-decoration: none; }
.service-feature a span { transition: transform 220ms var(--ease); }
.service-feature a:hover span { transform: translate(3px,-3px); }
.service-list { display: grid; grid-template-columns: repeat(4,1fr); width: var(--page); margin: 4rem auto 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.service-list article { min-height: 170px; padding: 1.7rem 1.7rem 1.7rem 0; }
.service-list article + article { padding-left: 1.7rem; border-left: 1px solid var(--line); }
.service-list h3 { margin: 0 0 2rem; font-size: 1rem; font-weight: 700; }
.service-list p { margin: 0; color: var(--muted); font-size: .8rem; }
.section-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: var(--page); margin: 3.5rem auto 0; }
.section-cta p { margin: 0; font-size: clamp(1.2rem,2vw,1.65rem); font-weight: 550; }

/* Projects */
.projects { background: var(--soft); color: var(--ink); }
.section-head-light p { color: var(--muted); }
.project-filters { display: flex; flex-wrap: wrap; gap: .55rem; width: var(--page); margin: 3.5rem auto 1.5rem; }
.filter { min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--text); cursor: pointer; font-size: .7rem; font-weight: 700; transition: background 200ms ease,color 200ms ease,border-color 200ms ease; }
.filter:hover, .filter.is-active { border-color: var(--green); background: var(--green); color: var(--ink); }
.catalog-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; margin-left: auto; padding: .55rem .85rem; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--white); font-size: .7rem; font-weight: 750; text-decoration: none; transition: background 200ms ease,color 200ms ease,border-color 200ms ease; }
.catalog-link span { color: rgba(255,255,255,.68); font-size: .62rem; font-weight: 600; }
.catalog-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 220ms var(--ease); }
.catalog-link:hover { border-color: var(--green); background: var(--green); color: var(--ink); }
.catalog-link:hover span { color: rgba(23,25,24,.68); }
.catalog-link:hover svg { transform: translate(3px,-3px); }
.project-grid { display: grid; grid-auto-rows: minmax(300px,35vw); grid-template-columns: repeat(12,minmax(0,1fr)); gap: 14px; width: var(--page); margin: auto; }
.project { position: relative; grid-column: span 5; min-width: 0; padding: 0; overflow: hidden; border: 0; background: #302c29; color: var(--white); cursor: zoom-in; text-align: left; }
.project-large { grid-column: span 7; }
.project-wide { grid-column: 1 / 13; height: 100%; }
.project.is-hidden { display: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter 350ms ease; }
.project::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(20,17,15,.85)); content: ""; }
.project:hover img { transform: scale(1.035); filter: saturate(1.08); }
.project > span { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.2rem; left: 1.4rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.project strong { font-size: clamp(1.1rem,2vw,1.65rem); font-weight: 600; }
.project small { color: rgba(255,255,255,.65); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.image-note { width: var(--page); margin: .8rem auto 0; color: var(--muted); font-size: .62rem; }
.projects-cta { display: flex; align-items: end; justify-content: space-between; gap: 2rem; width: var(--page); margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid var(--ink); }
.projects-cta h3 { margin: 0 0 .45rem; font-size: clamp(1.5rem,2.6vw,2.3rem); font-weight: 550; letter-spacing: -.03em; }
.projects-cta p { max-width: 38rem; margin: 0; color: var(--muted); }

/* About */
.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: clamp(4rem,8vw,8rem); width: var(--page); margin: auto; }
.about-copy h2 { max-width: 10ch; }
.about-lead { max-width: 37rem; margin: 2rem 0 1rem; color: var(--text); font-size: clamp(1.15rem,1.8vw,1.5rem); line-height: 1.55; }
.about-copy > p:not(.about-lead) { max-width: 38rem; margin: 0 0 2rem; color: var(--muted); }
.about-copy > a { display: inline-flex; gap: 1rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink); font-size: .8rem; font-weight: 750; text-decoration: none; }
.about-image { height: min(67vw,720px); overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.commitments { display: grid; grid-template-columns: repeat(3,1fr); width: var(--page); margin: 5.5rem auto 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.commitments article { min-height: 190px; padding: 1.7rem 2rem 1.7rem 0; }
.commitments article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.commitments h3 { margin: 0 0 3rem; font-size: 1.15rem; font-weight: 650; }
.commitments p { max-width: 20rem; margin: 0; color: var(--muted); font-size: .82rem; }

/* Process */
.process { background: var(--ink); color: var(--white); }
.process-title { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 5rem; width: var(--page); margin: auto; }
.process-title p { max-width: 25rem; margin: 0; color: var(--on-dark-muted); }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(5,1fr); width: var(--page); margin: 4.5rem auto 0; padding: 0; list-style: none; }
.process-steps::before { position: absolute; top: 30px; right: 0; left: 0; height: 1px; background: rgba(214,220,215,.42); content: ""; transform: scaleX(1); transform-origin: left; }
.process-steps li { position: relative; padding-right: 1.5rem; }
.process-steps li::before { position: relative; z-index: 1; display: block; width: 11px; height: 11px; margin: 25px 0 3rem; border: 4px solid var(--ink); background: var(--green); content: ""; }
.process-steps span { color: var(--green); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.process-steps h3 { margin: .5rem 0; font-size: 1.2rem; font-weight: 700; }
.process-steps p { max-width: 12rem; margin: 0; color: var(--on-dark-muted); font-size: .8rem; }

/* Reviews */
.reviews { background: var(--paper); }
.reviews-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4rem; width: var(--page); margin: auto; }
.reviews-intro a { display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 1rem; text-decoration: none; }
.reviews-intro a strong { grid-row: 1 / 3; font-size: clamp(4.5rem,8vw,7.5rem); font-weight: 300; letter-spacing: -.04em; line-height: .78; }
.reviews-intro a span { color: var(--green-dark); font-size: .8rem; letter-spacing: .08em; }
.reviews-intro a small { color: var(--muted); font-size: .68rem; }
.quotes { display: grid; grid-template-columns: repeat(3,1fr); width: var(--page); margin: 4.5rem auto 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.quotes blockquote { display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; margin: 0; padding: 2rem 2rem 1.6rem 0; }
.quotes blockquote + blockquote { padding-left: 2rem; border-left: 1px solid var(--line); }
.quotes p { margin: 0; font-size: clamp(1rem,1.6vw,1.3rem); line-height: 1.55; }
.quotes footer { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

/* Location */
.location-map { position: relative; height: clamp(320px,34vw,460px); overflow: hidden; background: var(--soft); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.location-map > a { position: absolute; right: max(16px,calc((100vw - min(1280px,calc(100vw - 80px))) / 2)); bottom: 16px; display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1rem; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 750; text-decoration: none; transition: background 220ms ease,color 220ms ease; }
.location-map > a:hover { background: var(--green); color: var(--ink); }

/* Footer and floating CTA */
.site-footer { padding: 4.25rem max(40px,calc((100vw - min(1280px,calc(100vw - 80px))) / 2)) 1.4rem; border-top: 2px solid var(--green); background: var(--ink); color: var(--white); }
.footer-main { display: grid; grid-template-columns: minmax(280px,1.35fr) minmax(130px,.65fr) minmax(210px,1fr); gap: clamp(2rem,5vw,6rem); padding-bottom: 3.8rem; }
.footer-brand > p { max-width: 22rem; margin: 0 0 1.7rem; color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.6; }
.footer-cta { display: inline-flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 1.4rem; padding: .75rem 1rem; background: var(--green); color: var(--ink); font-size: .78rem; font-weight: 800; line-height: 1.25; text-decoration: none; transition: background 220ms ease,color 220ms ease,transform 220ms var(--ease); }
.footer-cta svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-width: 1.6; transition: transform 220ms var(--ease); }
.footer-cta:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.footer-cta:hover svg { transform: translate(3px,-3px); }
.whatsapp-prompts { margin-top: 2.2rem; }
.whatsapp-prompts-note { margin: -.65rem 0 .8rem; color: rgba(255,255,255,.62); font-size: .78rem; }
.whatsapp-prompts-list { display: flex; flex-wrap: wrap; gap: .45rem .9rem; max-width: 29rem; }
.whatsapp-prompts-list a { color: var(--white); font-size: .76rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .24em; transition: color 180ms ease,text-decoration-color 180ms ease; }
.whatsapp-prompts-list a:hover { color: var(--green); text-decoration-color: currentColor; }
.footer-column { padding-top: .35rem; }
.footer-label { margin: 0 0 1.1rem; color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav { display: grid; justify-items: start; gap: .65rem; }
.footer-nav a { color: rgba(255,255,255,.8); font-size: .84rem; text-decoration: none; transition: color 180ms ease; }
.footer-nav a:hover { color: var(--green); }
.footer-contact address { display: grid; gap: .75rem; margin: 0; font-style: normal; }
.footer-contact a { width: fit-content; color: var(--white); font-size: .95rem; font-weight: 650; text-decoration: none; }
.footer-contact a:hover { color: var(--green); }
.footer-contact span { color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.6; }
.footer-bottom { display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.footer-bottom small { color: rgba(255,255,255,.45); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.3rem; color: rgba(255,255,255,.58); font-size: .72rem; }
.footer-meta a { color: var(--white); font-weight: 700; text-decoration: none; }
.footer-meta a:hover { color: var(--green); }
.whatsapp-float { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.3); background: var(--ink); box-shadow: 0 10px 30px rgba(31,26,23,.2); transition: transform 220ms var(--ease),background 220ms ease; }
.whatsapp-float svg { width: 22px; fill: var(--green); }
.whatsapp-float:hover { transform: translateY(-3px); background: var(--green); }
.whatsapp-float:hover svg { fill: var(--ink); }

/* Lightbox */
.lightbox { width: min(1050px,calc(100vw - 40px)); max-width: none; height: min(82vh,780px); max-height: none; padding: 0; border: 0; overflow: visible; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(18,16,14,.94); backdrop-filter: blur(6px); }
.lightbox figure { display: grid; grid-template-rows: minmax(0,1fr) auto; width: 100%; height: 100%; margin: 0; background: var(--ink); }
.lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border-top: 1px solid rgba(255,255,255,.2); }
.lightbox figcaption strong { font-size: .9rem; font-weight: 650; }
.lightbox figcaption span { color: rgba(255,255,255,.5); font-size: .7rem; }
.lightbox-close,.lightbox-control { position: absolute; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(31,26,23,.82); color: var(--white); cursor: pointer; }
.lightbox-close { top: -54px; right: 0; }
.lightbox-close::before,.lightbox-close::after { position: absolute; width: 18px; height: 1px; background: currentColor; content: ""; }
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }
.lightbox-control { top: 50%; transform: translateY(-50%); }
.lightbox-control svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox-prev { left: -58px; }.lightbox-next { right: -58px; }

.reveal { opacity: 1; transform: none; }
.motion-enabled .reveal { opacity: 0; transform: translate3d(0,22px,0); transition: opacity 650ms ease,transform 780ms var(--ease); will-change: opacity,transform; }
.motion-enabled .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.motion-enabled .service-feature.reveal:not(.is-visible) { clip-path: inset(0 0 6%); transform: translate3d(0,28px,0); transition: opacity 700ms ease,transform 850ms var(--ease),clip-path 850ms var(--ease); }
.motion-enabled .service-feature.reveal.is-visible { clip-path: inset(0); }
.motion-enabled .service-showcase .reveal:nth-child(2) { transition-delay: .08s; }
.motion-enabled .service-showcase .reveal:nth-child(3) { transition-delay: .16s; }
.motion-enabled .service-feature.reveal:not(.is-visible) img { transform: scale(1.035); filter: saturate(.9); }
.motion-enabled .project.reveal:not(.is-visible) { clip-path: inset(5% 0 0); }
.motion-enabled .project.reveal.is-visible { clip-path: inset(0); }
.motion-enabled .project-grid .reveal:nth-child(2) { transition-delay: .08s; }
.motion-enabled .project-grid .reveal:nth-child(3) { transition-delay: .16s; }
.motion-enabled .project-grid .reveal:nth-child(4) { transition-delay: .24s; }
.motion-enabled .project-grid .reveal:nth-child(5) { transition-delay: .32s; }
.motion-enabled .project.reveal:not(.is-visible) img { transform: scale(1.045); filter: saturate(.88); }
.motion-enabled .image-slide.reveal:not(.is-visible) { transition-duration: 620ms,760ms; transition-timing-function: ease,var(--ease); }
.motion-enabled .image-slide.slide-from-left:not(.is-visible) { transform: translate3d(-64px,0,0); }
.motion-enabled .image-slide.slide-from-right:not(.is-visible) { transform: translate3d(64px,0,0); }
.motion-enabled .image-slide.is-visible { transform: translate3d(0,0,0); }
.process-steps::before { transition: transform 900ms var(--ease); }
.motion-enabled .process-steps::before { transform: scaleX(0); }
.motion-enabled .process-steps.is-visible::before { transform: scaleX(1); }

/* Project cards stay in the grid while only their image slides in. This
   prevents the animated card from creating a temporary overlap with the CTA. */
.project { isolation: isolate; }
.motion-enabled .project.reveal:not(.is-visible) {
  transform: none;
}
.motion-enabled .project.slide-from-left:not(.is-visible) { --project-slide: -64px; }
.motion-enabled .project.slide-from-right:not(.is-visible) { --project-slide: 64px; }
.motion-enabled .project.reveal:not(.is-visible) img {
  transform: translate3d(var(--project-slide, 0px),0,0) scale(1.045);
  filter: saturate(.88);
}
.motion-enabled .project.reveal.is-visible img { transform: scale(1); }
.motion-enabled .project.reveal.is-visible:hover img { transform: scale(1.035); }
.projects-cta { position: relative; z-index: 1; }

@media (max-width: 1080px) {
  :root { --page: calc(100% - 48px); }
  .header-inner { grid-template-columns: 145px minmax(0,1fr) auto; gap: 1rem; }
  .brand img { width: 128px; }
  .main-nav { gap: .85rem; }
  .main-nav a { font-size: .7rem; }
  .hero-scroll { right: 24px; }
  .service-showcase { grid-template-rows: minmax(330px,46vw); }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .footer-meta { justify-content: flex-start; }
}

@media (min-width: 1081px) {
  .footer-bottom { padding-right: 4.5rem; }
}

@media (max-width: 880px) {
  :root { --section-space: 6rem; }
  .site-header,.site-header.is-scrolled { height: 70px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 120px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
  .menu-toggle i { position: relative; width: 24px; height: 1px; background: var(--ink); transition: background 220ms ease; }
  .menu-toggle i::before,.menu-toggle i::after { position: absolute; right: 0; left: 0; height: 1px; background: var(--ink); content: ""; transition: transform 260ms var(--ease); }
  .menu-toggle i::before { top: -6px; }.menu-toggle i::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] i { background: transparent; }
  .menu-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: -1; inset: 70px 0 auto; display: grid; align-content: start; gap: 0; height: calc(100svh - 70px); padding: 1.5rem 24px 4rem; transform: translateY(-105%); background: var(--white); opacity: 0; pointer-events: none; transition: transform 420ms var(--ease),opacity 220ms ease; }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { display: flex; align-items: center; min-height: 62px; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 550; }
  .main-nav a::after { display: none; }
  .hero { height: max(590px,calc(100svh - 70px)); margin-top: 70px; }
  .hero h1 { font-size: clamp(2.8rem,7vw,4rem); }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .service-showcase { grid-template-rows: minmax(360px,48vw); }
  .service-list { grid-template-columns: repeat(2,1fr); }
  .service-list article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .service-list article:nth-child(4) { border-top: 1px solid var(--line); }
  .project-grid { grid-auto-rows: minmax(300px,48vw); }
  .project,.project-large { grid-column: span 6; }
  .project-wide { grid-column: 1 / 13; }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .about-image { height: 620px; }
  .process-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 1.5rem; overflow: visible; padding-bottom: 0; }
  .process-steps::before { display: none; }
  .process-steps li { padding-right: 0; }
  .hero-secondary,.hero-rating,.service-feature a,.about-copy > a,.footer-nav a,.footer-contact a,.footer-meta a { min-height: 44px; }
  .hero-secondary,.service-feature a,.about-copy > a,.footer-nav a,.footer-contact a,.footer-meta a { display: inline-flex; align-items: center; }
  .hero-rating { min-height: 44px; }
  .lightbox-prev { left: 8px; }.lightbox-next { right: 8px; }
}

@media (max-width: 700px) {
  :root { --page: calc(100% - 32px); --section-space: 5rem; }
  .services { padding-bottom: 3rem; }
  html { scroll-padding-top: 70px; }
  .hero { height: max(650px,calc(100svh - 70px)); min-height: 650px; padding-top: 0; }
  .hero-media { inset: 0; height: 100%; }
  .hero-media video,.hero-media video img { object-position: center; }
  .hero-shade { background: linear-gradient(180deg,rgba(23,25,24,0) 18%,rgba(23,25,24,.08) 38%,rgba(23,25,24,.52) 68%,rgba(23,25,24,.82) 100%); }
  .hero-content { justify-content: end; height: 100%; padding: 0 0 2.2rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.55rem,10vw,3.35rem); line-height: 1.04; }
  .hero-content > p { max-width: 22rem; margin-top: 1rem; font-size: 1rem; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
  .hero-actions .button { width: 100%; }
  .hero-secondary { width: fit-content; }
  .hero-rating { flex-wrap: wrap; margin-top: 1.3rem; }
  .hero-rating small { flex-basis: 100%; }
  .hero-scroll { display: none; }
  .section-head h2,.about-copy h2,.process-title h2,.reviews-intro h2 { font-size: clamp(2.25rem,9.5vw,3.4rem); }
  .service-showcase { display: grid; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 12px; width: 100%; }
  .service-feature,.service-feature-main,
  .service-feature:nth-child(2),.service-feature:nth-child(3) { width: 100%; height: 430px; margin: 0; }
  .service-list { grid-template-columns: 1fr; margin-top: 3rem; }
  .service-list article,.service-list article + article,.service-list article:nth-child(3) { min-height: 0; padding: 1.4rem 0 1.7rem; border-top: 1px solid var(--line); border-left: 0; }
  .service-list h3 { margin-bottom: 1rem; }
  .section-cta { align-items: stretch; flex-direction: column; }
  .section-cta .button { width: 100%; }
  .project-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; padding-bottom: 0; }
  .project-filters { scrollbar-width: none; }
  .project-filters::-webkit-scrollbar { display: none; }
  .filter { width: 100%; text-align: center; }
  .catalog-link { grid-column: 1 / -1; justify-content: space-between; width: 100%; margin-left: 0; padding-inline: 1rem; }
  .project-grid { grid-auto-rows: 440px; grid-template-columns: 1fr; width: 100%; }
  .project,.project-large,.project-wide { grid-column: 1; height: auto; }
  .project img { object-position: 50% 50%; }
  .motion-enabled .image-slide.slide-from-left:not(.is-visible) { transform: translate3d(-32px,0,0); }
  .motion-enabled .image-slide.slide-from-right:not(.is-visible) { transform: translate3d(32px,0,0); }
  .motion-enabled .project.slide-from-left:not(.is-visible) { --project-slide: -32px; }
  .motion-enabled .project.slide-from-right:not(.is-visible) { --project-slide: 32px; }
  .project > span { align-items: start; flex-direction: column; gap: .15rem; }
  .image-note { font-size: .58rem; }
  .projects-cta { align-items: stretch; flex-direction: column; margin-top: 3.5rem; }
  .projects-cta .button { width: 100%; }
  .about-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-image { width: 100vw; height: 440px; justify-self: center; }
  .about-image img { object-position: 50% 50%; }
  .commitments { grid-template-columns: 1fr; margin-top: 4rem; }
  .commitments article,.commitments article + article { min-height: 0; padding: 1.5rem 0 1.8rem; border-top: 1px solid var(--line); border-left: 0; }
  .commitments h3 { margin-bottom: 1rem; }
  .process-title { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 3rem; overflow: visible; padding-bottom: 0; }
  .process-steps::before { display: block; top: 8px; right: auto; bottom: 34px; left: 9px; width: 1px; height: auto; }
  .motion-enabled .process-steps::before { transform: scaleY(0); transform-origin: top; }
  .motion-enabled .process-steps.is-visible::before { transform: scaleY(1); }
  .process-steps li { min-height: 118px; padding: 0 0 1.8rem 3rem; }
  .process-steps li::before { position: absolute; top: 2px; left: 0; width: 10px; height: 10px; margin: 0; }
  .process-steps h3 { margin: .3rem 0; }
  .process-steps p { max-width: 20rem; }
  .reviews-intro { grid-template-columns: 1fr; align-items: start; gap: 3rem; }
  .reviews-intro a strong { font-size: 5rem; }
  .quotes { grid-template-columns: 1fr; margin-top: 3rem; }
  .quotes blockquote,.quotes blockquote + blockquote { min-height: 0; padding: 1.8rem 0; border-top: 1px solid var(--line); border-left: 0; }
  .quotes footer { margin-top: 2rem; }
  .location-map { height: 320px; }
  .location-map > a { right: 12px; bottom: 12px; }
  .site-footer { padding: 3.2rem 16px 1.4rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.8rem 1.5rem; padding-bottom: 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-block: 1.2rem 1.4rem; font-size: .9rem; }
  .whatsapp-prompts { margin-top: 2rem; }
  .whatsapp-prompts-list { max-width: 32rem; }
  .footer-column { padding-top: 0; }
  .footer-contact address { gap: .6rem; }
  .footer-bottom { display: grid; gap: 1rem; }
  .footer-meta { justify-content: flex-start; }
  .whatsapp-float { right: 12px; bottom: 12px; }
  .lightbox { width: calc(100vw - 20px); height: 75vh; }
  .lightbox figcaption { flex-direction: column; gap: .2rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-content { padding-bottom: 2.5rem; }
  .service-feature,.service-feature-main,
  .service-feature:nth-child(2),.service-feature:nth-child(3) { height: 400px; }
  .project-grid { grid-auto-rows: 380px; }
  .about-image { height: 380px; }
}

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