/* ============================================================
   BVTD — Direction artistique & interface
   Palette : vert BVTD, encre, sable chaud, orange chantier
   100 % local : aucun framework, aucune police externe.
   ============================================================ */

:root {
  --ink: #10201d;
  --ink-2: #162925;
  --ink-3: #203833;
  --green: #39b12f;
  --green-dark: #258c20;
  --lime: #8bd85f;
  --orange: #ffad32;
  --orange-2: #f58a1f;
  --sand: #eee6d8;
  --sand-2: #f8f4ed;
  --paper: #fffdf9;
  --white: #ffffff;
  --muted: #6f7c79;
  --line: rgba(16,32,29,.13);
  --line-light: rgba(255,255,255,.14);
  --shadow: 0 24px 70px rgba(12,31,27,.14);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1220px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--green); color: #fff; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 128px 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; padding: 12px 18px; background: var(--orange); color: var(--ink); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* Type & shared elements */
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 5vw, 5.15rem); line-height: .98; }
h1 em, h2 em { color: var(--green); font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 800; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: #52645f; }
.eyebrow.light { color: rgba(255,255,255,.62); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 25px; overflow: hidden; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: .83rem; font-weight: 800; letter-spacing: .035em; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn::before { content: ""; position: absolute; top: -80%; bottom: -80%; left: -45%; width: 22%; background: rgba(255,255,255,.32); transform: rotate(18deg) translateX(-260%); transition: transform .65s var(--ease); pointer-events: none; }
.btn:hover::before { transform: rotate(18deg) translateX(700%); }
.btn > * { position: relative; z-index: 1; }
.btn svg { width: 17px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 14px 32px rgba(255,173,50,.2); }
.btn-primary:hover { background: #ffc05c; box-shadow: 0 18px 36px rgba(255,173,50,.28); }
.btn-ghost { border-color: rgba(255,255,255,.36); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.26); background: transparent; }
.btn-outline-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.text-link svg { width: 16px; transition: transform .25s; }
.text-link:hover svg { transform: translateX(4px); }
.text-link.light { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .62fr); gap: 10%; align-items: end; margin-bottom: 70px; }
.section-head > p, .section-head .portfolio-intro { margin: 0 0 6px; color: var(--muted); font-size: 1.04rem; }
.section-head.compact { margin-bottom: 66px; }

/* Top bar & navigation */
.topbar { position: relative; z-index: 51; background: #091412; color: rgba(255,255,255,.66); font-size: .72rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p, .topbar span, .topbar a { display: flex; align-items: center; gap: 7px; margin: 0; }
.topbar svg { width: 13px; color: var(--orange); }
.topbar-links { display: flex; align-items: center; gap: 28px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; z-index: 50; top: 0; height: 80px; background: rgba(255,253,249,.96); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: height .25s, box-shadow .25s, border-color .25s; }
.site-header.scrolled { height: 70px; border-color: var(--line); box-shadow: 0 7px 30px rgba(12,31,27,.08); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.brand img { width: 210px; height: auto; }
.brand span { margin-left: 3px; color: #65746f; font-size: .57rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a { position: relative; font-size: .77rem; font-weight: 750; letter-spacing: .025em; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--green); transition: right .25s var(--ease); }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a.active::after { right: 0; }
.main-nav .nav-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 17px; background: var(--ink); color: #fff; border-radius: 2px; }
.main-nav .nav-cta:hover { background: var(--green-dark); }
.main-nav .nav-cta svg { width: 15px; }
.menu-toggle { display: none; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Language selector */
.language-switcher { position: relative; flex: 0 0 auto; }
.language-trigger { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.language-trigger:hover, .language-switcher.open .language-trigger { border-color: var(--green); background: rgba(57,177,47,.07); color: var(--green-dark); }
.language-trigger span { min-width: 20px; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-align: center; }
.language-globe { width: 18px; height: 18px; color: var(--green-dark); transition: transform .4s var(--ease); }
.language-switcher.open .language-globe { transform: rotate(24deg); }
.language-chevron { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.language-switcher.open .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 120; right: 0; top: calc(100% + 13px); width: 205px; padding: 8px; border: 1px solid rgba(16,32,29,.1); border-radius: 5px; background: #fff; box-shadow: 0 22px 60px rgba(8,26,21,.18); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .22s, transform .22s var(--ease), visibility 0s linear .22s; }
.language-menu::before { content: ""; position: absolute; right: 21px; top: -6px; width: 11px; height: 11px; border-left: 1px solid rgba(16,32,29,.1); border-top: 1px solid rgba(16,32,29,.1); background: #fff; transform: rotate(45deg); }
.language-switcher.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition-delay: 0s; }
.language-menu button { position: relative; width: 100%; min-height: 47px; display: grid; grid-template-columns: 35px 1fr 18px; align-items: center; gap: 9px; padding: 6px 10px; border: 0; border-radius: 3px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.language-menu button:hover { background: var(--sand-2); }
.language-menu button[aria-current="true"] { background: rgba(57,177,47,.1); color: var(--green-dark); }
.language-menu button > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .59rem; font-weight: 900; letter-spacing: .04em; }
.language-menu button[aria-current="true"] > span { background: var(--green); }
.language-menu strong { font-size: .74rem; font-weight: 750; }
.language-menu small { color: var(--green-dark); font-weight: 900; opacity: 0; }
.language-menu button[aria-current="true"] small { opacity: 1; }

/* Hero */
.hero { position: relative; min-height: 755px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; left: -280px; top: -220px; border: 1px solid rgba(139,216,95,.17); border-radius: 50%; box-shadow: 0 0 0 80px rgba(139,216,95,.025), 0 0 0 160px rgba(139,216,95,.018); }
.hero-grid-pattern { position: absolute; inset: -80px; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 75%); animation: gridDrift 22s linear infinite; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 6.5%; padding-top: 68px; padding-bottom: 88px; }
.hero-copy { padding-left: max(0px, calc((100vw - var(--container)) / 18)); }
.hero h1 { max-width: 690px; margin: 0 0 30px; font-size: clamp(4.15rem, 6.7vw, 7.3rem); line-height: .88; color: #fff; }
.hero h1 em:first-child { color: var(--orange); }
.hero h1 em:last-child { color: var(--lime); }
.hero-lead { max-width: 600px; margin-bottom: 34px; color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 38px; }
.avatar-stack { display: flex; padding-left: 14px; }
.avatar-stack span { width: 38px; height: 38px; margin-left: -14px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--green); color: #fff; font-size: .59rem; font-weight: 900; }
.avatar-stack span:nth-child(2) { background: var(--orange); color: var(--ink); }
.avatar-stack span:nth-child(3) { background: #fff; color: var(--green); }
.avatar-stack svg { width: 18px; }
.hero-proof p { margin: 0; line-height: 1.3; }
.hero-proof strong { font-size: .88rem; letter-spacing: .02em; }
.hero-proof p span { color: rgba(255,255,255,.48); font-size: .68rem; }
.hero-visual { position: relative; min-width: 0; }
.hero-photo-wrap { position: relative; height: 525px; overflow: hidden; border-radius: 180px 0 8px 8px; box-shadow: 0 40px 80px rgba(0,0,0,.3); }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; pointer-events: none; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.03); animation: heroKenBurns 14s var(--ease) infinite alternate; will-change: transform; }
.hero-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,22,18,.78)); }
.photo-caption { position: absolute; left: 34px; bottom: 24px; display: flex; align-items: center; gap: 15px; margin: 0; color: rgba(255,255,255,.8); font-size: .77rem; font-weight: 700; line-height: 1.4; }
.photo-caption span { color: var(--orange); font-family: var(--display); font-size: 2rem; font-style: italic; }
.founded-card { position: absolute; right: -25px; top: 47px; width: 125px; height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--orange); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.2); animation: cardFloat 5s ease-in-out infinite; }
.founded-card span, .founded-card small { font-size: .58rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.founded-card strong { margin: -3px 0 -6px; font-family: var(--display); font-size: 2.6rem; font-weight: 500; }
.quality-card { position: absolute; left: -46px; bottom: 40px; display: flex; align-items: center; gap: 13px; padding: 16px 20px; background: #fff; color: var(--ink); box-shadow: 0 20px 55px rgba(0,0,0,.23); animation: cardFloat 6s 1.1s ease-in-out infinite reverse; }
.quality-card > svg { width: 31px; height: 31px; padding: 6px; border-radius: 50%; background: rgba(57,177,47,.12); color: var(--green-dark); }
.quality-card p { display: flex; flex-direction: column; margin: 0; line-height: 1.2; }
.quality-card strong { font-size: .77rem; }
.quality-card span { margin-top: 3px; color: var(--muted); font-size: .63rem; }
.scroll-cue { position: absolute; z-index: 3; left: 28px; bottom: 40px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.42); font-size: .57rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: left bottom; }
.scroll-cue span { width: 35px; height: 1px; background: currentColor; animation: cuePulse 1.8s ease-in-out infinite; transform-origin: left; }

@keyframes heroKenBurns {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.11) translate3d(-1.5%, -1%, 0); }
}
@keyframes gridDrift { to { transform: translate3d(80px, 80px, 0); } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes cuePulse { 0%, 100% { transform: scaleX(.45); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes orbitSoft { 0%, 100% { transform: scale(.96) rotate(0); } 50% { transform: scale(1.05) rotate(8deg); } }

/* Stats */
.stats-band { position: relative; z-index: 4; background: var(--sand); border-bottom: 1px solid rgba(16,32,29,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 24px 7%; border-right: 1px solid rgba(16,32,29,.12); }
.stat:first-child { border-left: 1px solid rgba(16,32,29,.12); }
.stat strong { font-family: var(--display); font-size: 2.5rem; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.stat span { margin-top: 8px; color: #65736e; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Services — image-led cards with individual project photography */
.services { position: relative; overflow: hidden; background: linear-gradient(145deg, var(--paper) 0%, #f4efe6 100%); }
.services::before { content: ""; position: absolute; right: -120px; top: 100px; width: 430px; height: 430px; border: 1px solid rgba(57,177,47,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(57,177,47,.025), 0 0 0 140px rgba(57,177,47,.018); pointer-events: none; animation: orbitSoft 12s ease-in-out infinite; }
.services-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.services-grid .service-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(16,32,29,.1); border-radius: 6px; background: #fff; box-shadow: 0 12px 38px rgba(16,32,29,.075); transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s; }
.services-grid .service-card:hover { z-index: 2; border-color: rgba(57,177,47,.34); transform: translateY(-10px); box-shadow: 0 28px 70px rgba(10,27,23,.18); }
.service-card.featured { grid-column: span 2; }
.service-photo { position: relative; height: 188px; flex: 0 0 auto; overflow: hidden; background: var(--ink-2); }
.service-card.featured .service-photo { height: 285px; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,18,.02) 42%, rgba(8,21,18,.7) 100%); transition: background .45s; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.service-card:hover .service-photo img { transform: scale(1.095); filter: saturate(1.08) contrast(1.03); }
.service-card:hover .service-photo::after { background: linear-gradient(180deg, rgba(8,21,18,0) 25%, rgba(8,21,18,.5) 100%); }
.service-number { position: absolute; z-index: 2; right: 18px; top: 15px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(10,27,23,.43); color: #fff; font-family: var(--display); font-size: .74rem; font-style: italic; backdrop-filter: blur(8px); transition: background .35s, transform .45s var(--ease); }
.service-card:hover .service-number { background: var(--orange); color: var(--ink); transform: rotate(8deg) scale(1.08); }
.service-content { position: relative; min-height: 248px; display: flex; flex: 1; flex-direction: column; padding: 31px 25px 25px; overflow: hidden; transition: background .4s, color .4s; }
.service-content::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(102%); transition: transform .5s var(--ease); }
.service-content::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--orange)); transition: width .6s var(--ease); }
.service-card:hover .service-content::before { transform: translateY(0); }
.service-card:hover .service-content::after { width: 100%; }
.service-content > * { position: relative; z-index: 1; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-top: 0; margin-bottom: 19px; border: 5px solid #fff; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 9px 25px rgba(23,100,19,.22); transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.service-icon svg { width: 21px; height: 21px; }
.service-card:hover .service-icon { border-color: var(--ink); background: var(--orange); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.service-card h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.36rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; transition: color .4s; }
.service-card p { margin: 0 0 19px; color: var(--muted); font-size: .79rem; line-height: 1.65; transition: color .4s; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.62); }
.service-card a { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; margin-top: auto; color: var(--green-dark); font-size: .66rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; transition: color .35s; }
.service-card:hover a { color: var(--orange); }
.service-card a svg { width: 14px; transition: transform .25s; }
.service-card a:hover svg { transform: translateX(5px); }

/* About */
.about { background: var(--sand-2); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .83fr); gap: 10%; align-items: center; }
.about-visual { position: relative; min-height: 650px; }
.about-visual::before { content: ""; position: absolute; left: -34px; top: -34px; width: 175px; height: 175px; background-image: radial-gradient(var(--green) 1.3px, transparent 1.3px); background-size: 12px 12px; opacity: .35; }
.about-main { position: absolute; left: 0; top: 0; width: 83%; height: 570px; object-fit: cover; box-shadow: var(--shadow); }
.about-inset { position: absolute; z-index: 2; right: 0; bottom: 0; width: 48%; height: 285px; object-fit: cover; border: 12px solid var(--sand-2); box-shadow: 0 15px 45px rgba(12,31,27,.18); }
.about-stamp { position: absolute; z-index: 3; left: 6%; bottom: 30px; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: var(--ink); transform: rotate(-8deg); }
.about-stamp::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(16,32,29,.44); border-radius: 50%; }
.about-stamp span { font-family: var(--display); font-size: 1.8rem; font-weight: 700; }
.about-stamp small { max-width: 88px; text-align: center; font-size: .49rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.about-copy .lead { margin: 33px 0 17px; color: var(--ink); font-family: var(--display); font-size: 1.34rem; line-height: 1.55; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); font-size: .92rem; }
.check-list { display: grid; gap: 13px; margin: 30px 0 32px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 12px; color: #596964; font-size: .82rem; }
.check-list li > svg { width: 25px; height: 25px; padding: 5px; border-radius: 50%; background: rgba(57,177,47,.12); color: var(--green-dark); }
.check-list strong { color: var(--ink); }

/* Identity */
.identity-section { padding: 115px 0; background: var(--ink); color: #fff; }
.identity-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11%; align-items: center; }
.identity-quote > svg { width: 62px; height: 62px; margin-bottom: 30px; color: var(--orange); stroke-width: 1.2; }
.identity-quote blockquote { margin: 0 0 35px; font-family: var(--display); font-size: clamp(2rem, 3.1vw, 3.4rem); line-height: 1.17; letter-spacing: -.035em; }
.identity-quote p { display: flex; flex-direction: column; margin: 0; }
.identity-quote p strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-quote p span { color: rgba(255,255,255,.48); font-size: .69rem; }
.identity-card { padding: 45px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.035); }
.identity-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.15); }
.identity-title .eyebrow { margin: 0; }
.identity-title h3 { margin: 0; font-family: var(--display); font-size: 1.65rem; font-weight: 500; line-height: 1.15; text-align: right; }
.identity-card dl { margin: 10px 0 20px; }
.identity-card dl > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.identity-card dt { color: rgba(255,255,255,.47); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.identity-card dd { margin: 0; font-size: .79rem; font-weight: 750; text-align: right; }
.identity-card > small { display: block; color: rgba(255,255,255,.35); font-size: .61rem; line-height: 1.5; }

/* Process */
.process { background: var(--paper); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; counter-reset: steps; }
.process-list li { min-height: 250px; padding: 32px 25px; border-right: 1px solid var(--line); }
.process-list li:first-child { border-left: 1px solid var(--line); }
.process-list li > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 56px; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); font-family: var(--display); font-size: .8rem; font-style: italic; transition: background .25s, color .25s; }
.process-list li:hover > span { background: var(--green); color: #fff; border-color: var(--green); }
.process-list h3 { margin-bottom: 10px; font-family: var(--display); font-size: 1.2rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }

/* Gallery */
.portfolio { position: relative; overflow: hidden; background: #0c1916; color: #fff; }
.portfolio::before { content: ""; position: absolute; right: -140px; top: -160px; width: 540px; height: 540px; border: 1px solid rgba(139,216,95,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(139,216,95,.02), 0 0 0 160px rgba(139,216,95,.015); }
.portfolio .container { position: relative; z-index: 1; }
.portfolio-head > .portfolio-intro { color: rgba(255,255,255,.54); }
.portfolio-intro strong { color: #fff; }
.gallery-count { display: inline-block; margin-top: 16px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.17); color: var(--orange); font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.filter-wrap { display: flex; gap: 8px; margin: -8px 0 36px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.filter { flex: 0 0 auto; padding: 9px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 40px; background: transparent; color: rgba(255,255,255,.57); cursor: pointer; font-size: .67rem; font-weight: 750; transition: background .2s, border-color .2s, color .2s; }
.filter:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.filter.active { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 225px; gap: 12px; }
.gallery-item { position: relative; min-width: 0; overflow: hidden; border: 0; padding: 0; background: #1a2d29; color: #fff; cursor: zoom-in; text-align: left; animation: galleryIn .55s var(--ease) both; }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .65s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(3,13,11,.88)); opacity: .56; transition: opacity .35s; }
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.06); }
.gallery-item:hover::after { opacity: .9; }
.gallery-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 15px; display: flex; justify-content: space-between; align-items: end; gap: 14px; transform: translateY(7px); transition: transform .3s; }
.gallery-item:hover .gallery-info { transform: translateY(0); }
.gallery-info p { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.gallery-info small { color: var(--orange); font-size: .55rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.gallery-info strong { max-width: 100%; overflow: hidden; margin-top: 3px; color: #fff; font-family: var(--display); font-size: .9rem; font-weight: 500; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.gallery-info > svg { flex: 0 0 30px; width: 30px; height: 30px; padding: 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.gallery-more-wrap { display: flex; justify-content: center; margin-top: 42px; }
.gallery-more-wrap[hidden] { display: none; }
@keyframes galleryIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Testimonials */
.testimonials { background: var(--sand-2); }
.testimonials-grid { display: grid; grid-template-columns: .68fr 1.22fr; gap: 10%; align-items: center; }
.rating-card { display: flex; align-items: center; gap: 18px; max-width: 340px; margin-top: 45px; padding: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 15px 45px rgba(12,31,27,.06); }
.rating-card img { width: 68px; height: 68px; object-fit: contain; border-right: 1px solid var(--line); padding-right: 16px; }
.rating-card strong { font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.rating-card strong span { color: var(--muted); font-size: .7rem; }
.stars { margin-top: 2px; color: var(--orange-2); font-size: .77rem; letter-spacing: .06em; }
.rating-card p { margin: 2px 0 0; color: var(--muted); font-size: .59rem; }
.testimonial-slider { position: relative; min-width: 0; padding: 60px 65px 34px; background: #fff; box-shadow: var(--shadow); }
.testimonial-track { position: relative; min-height: 310px; }
.testimonial { position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translateX(22px); transition: opacity .4s, transform .4s, visibility .4s; }
.testimonial.active { visibility: visible; opacity: 1; transform: translateX(0); }
.quote-icon { width: 45px; height: 45px; margin-bottom: 28px; color: var(--green); stroke-width: 1.25; }
.testimonial blockquote { margin: 0 0 34px; color: var(--ink); font-family: var(--display); font-size: clamp(1.55rem, 2.25vw, 2.25rem); line-height: 1.35; letter-spacing: -.025em; }
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.initial { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--orange); font-size: .65rem; font-weight: 850; }
.testimonial footer p { display: flex; flex-direction: column; margin: 0; }
.testimonial footer strong { font-size: .73rem; letter-spacing: .03em; }
.testimonial footer span { color: var(--muted); font-size: .64rem; }
.slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.slider-controls > button { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.slider-controls > button:hover { background: var(--ink); color: #fff; }
.slider-dots { display: flex; gap: 7px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c5cecb; cursor: pointer; }
.slider-dots button.active { width: 20px; border-radius: 10px; background: var(--green); }

/* Partners */
.partners { padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.partners .container > p { margin: 0 0 26px; color: #8b9693; font-size: .6rem; font-weight: 850; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 36px; }
.partner-grid img { width: 100%; max-height: 58px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .58; transition: filter .25s, opacity .25s; }
.partner-grid img:hover { filter: none; opacity: 1; }

/* Quote / form */
.quote-section { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.quote-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,28,24,.98) 0%, rgba(11,28,24,.93) 48%, rgba(11,28,24,.72) 100%); }
.quote-backdrop { position: absolute; inset: 0; background: url("assets/images/brand/contact.jpg") center/cover; opacity: .3; }
.quote-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .72fr 1fr; gap: 10%; align-items: center; }
.quote-copy h2 { color: #fff; }
.quote-copy h2 em { color: var(--orange); }
.quote-copy > p:not(.eyebrow) { max-width: 520px; margin: 30px 0 35px; color: rgba(255,255,255,.62); }
.quote-contact-list { display: grid; gap: 12px; }
.quote-contact-list a { display: flex; align-items: center; gap: 15px; }
.quote-contact-list > a > svg { width: 42px; height: 42px; padding: 11px; border: 1px solid rgba(255,255,255,.2); color: var(--orange); }
.quote-contact-list span { display: flex; flex-direction: column; color: rgba(255,255,255,.46); font-size: .6rem; letter-spacing: .04em; text-transform: uppercase; }
.quote-contact-list strong { color: #fff; font-size: .76rem; letter-spacing: 0; text-transform: none; }
.quote-form { padding: 42px; background: #fff; color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.form-heading { margin-bottom: 26px; }
.form-heading > span { color: var(--green-dark); font-size: .61rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.form-heading h3 { margin: 3px 0 2px; font-family: var(--display); font-size: 1.75rem; line-height: 1.2; }
.form-heading p { margin: 0; color: var(--muted); font-size: .72rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; margin-bottom: 15px; color: #44534f; font-size: .64rem; font-weight: 800; letter-spacing: .035em; }
.quote-form input:not([type="checkbox"]), .quote-form select, .quote-form textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #dce2df; border-radius: 2px; outline: 0; background: #fbfcfb; color: var(--ink); font-size: .79rem; font-weight: 500; transition: border-color .2s, box-shadow .2s, background .2s; }
.quote-form textarea { resize: vertical; min-height: 108px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(57,177,47,.1); }
.quote-form label small { display: none; margin-top: 4px; color: #b9372d; font-size: .57rem; }
.quote-form label.invalid input, .quote-form label.invalid select, .quote-form label.invalid textarea { border-color: #cf554b; }
.quote-form label.invalid small { display: block; }
.consent { display: grid !important; grid-template-columns: 16px 1fr; align-items: start; gap: 9px; font-weight: 500 !important; line-height: 1.45; }
.consent input { margin: 2px 0 0; accent-color: var(--green); }
.consent.invalid { color: #b9372d; }
.submit-btn { width: 100%; }
.submit-btn svg { width: 19px; }
.form-note { margin: 10px 0 0; color: #88938f; font-size: .56rem; text-align: center; }

/* Contact map */
.contact-section { padding: 110px 0; background: var(--sand-2); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9%; align-items: center; }
.map-card { position: relative; min-height: 505px; overflow: hidden; background: #dce4dc; box-shadow: var(--shadow); }
.map-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(35deg, transparent 48%, rgba(255,255,255,.55) 49%, rgba(255,255,255,.55) 51%, transparent 52%), linear-gradient(-20deg, transparent 47%, rgba(255,255,255,.42) 48%, rgba(255,255,255,.42) 51%, transparent 52%); background-size: 130px 110px, 190px 160px; opacity: .8; }
.map-pattern { position: absolute; inset: 0; }
.road { position: absolute; display: block; height: 15px; background: rgba(255,255,255,.8); border: 1px solid rgba(135,153,144,.28); transform-origin: left center; }
.r1 { width: 720px; left: -80px; top: 45%; transform: rotate(-14deg); }
.r2 { width: 660px; left: 20px; top: 15%; transform: rotate(64deg); }
.r3 { width: 500px; left: 26%; top: 83%; transform: rotate(-52deg); }
.r4 { width: 450px; left: 45%; top: 28%; transform: rotate(23deg); }
.map-pin { position: absolute; left: 54%; top: 42%; display: flex; flex-direction: column; align-items: center; color: var(--ink); transform: translate(-50%,-50%); }
.map-pin svg { width: 58px; height: 58px; padding: 13px; border-radius: 50% 50% 50% 0; background: var(--green); color: #fff; filter: drop-shadow(0 12px 15px rgba(12,31,27,.25)); transform: rotate(-45deg); }
.map-pin svg use { transform: rotate(45deg); transform-origin: center; }
.map-pin span { margin-top: 9px; padding: 4px 8px; background: #fff; box-shadow: 0 4px 15px rgba(12,31,27,.12); font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.map-link { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.map-link svg { width: 16px; }
.contact-details h2 { margin-bottom: 42px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.contact-list > div { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 12px; }
.contact-list > div > svg { width: 30px; height: 30px; padding: 6px; border: 1px solid var(--line); color: var(--green-dark); }
.contact-list p { display: flex; flex-direction: column; margin: 0; }
.contact-list span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-list strong { margin-top: 4px; font-size: .73rem; line-height: 1.6; }
.contact-list a:hover { color: var(--green-dark); }

/* Footer */
.site-footer { padding-top: 82px; background: #081310; color: rgba(255,255,255,.62); }
.footer-main { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1fr; gap: 8%; padding-bottom: 65px; }
.footer-brand img { width: 200px; padding: 7px 10px; background: #fff; }
.footer-brand p { max-width: 350px; margin: 23px 0 24px; font-size: .75rem; line-height: 1.75; }
.footer-main h3 { margin-bottom: 21px; color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 500; }
.footer-main ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-main li, .footer-main li a { font-size: .69rem; }
.footer-main a:hover { color: var(--orange); }
.footer-contact { gap: 12px !important; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: .6rem; }
.footer-bottom p { margin: 0; }

/* Floating controls */
.whatsapp-float { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; height: 51px; padding: 0 17px; border-radius: 28px; background: #20b961; color: #fff; box-shadow: 0 12px 32px rgba(15,83,49,.3); font-size: .68rem; font-weight: 850; transition: transform .25s, box-shadow .25s; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 17px 38px rgba(15,83,49,.36); }
.whatsapp-float svg { width: 24px; height: 24px; }
.back-to-top { position: fixed; z-index: 44; right: 29px; bottom: 83px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.16); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, visibility .2s, transform .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; max-width: min(440px, calc(100% - 36px)); padding: 14px 20px; border-radius: 4px; background: var(--ink); color: #fff; box-shadow: 0 15px 40px rgba(0,0,0,.25); font-size: .75rem; text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%,20px); transition: opacity .25s, transform .25s, visibility .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: 70px minmax(0, 1050px) 70px; align-items: center; justify-content: center; gap: 22px; padding: 70px 24px 24px; color: #fff; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(3,11,9,.94); backdrop-filter: blur(18px); }
.lightbox figure { position: relative; z-index: 2; min-width: 0; max-height: calc(100vh - 100px); display: grid; grid-template-columns: minmax(0, 1fr) 235px; margin: 0; overflow: hidden; background: #07110f; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lightbox-image-wrap { min-height: 300px; max-height: calc(100vh - 100px); background: #07110f; }
.lightbox figure img { width: 100%; height: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.lightbox figcaption { display: flex; flex-direction: column; justify-content: flex-end; padding: 35px 27px; border-left: 1px solid rgba(255,255,255,.12); }
.lightbox figcaption span { color: var(--orange); font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lightbox figcaption strong { margin-top: 7px; font-family: var(--display); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.lightbox figcaption small { margin-top: 18px; color: rgba(255,255,255,.4); font-size: .6rem; }
.lightbox-close { position: absolute; z-index: 3; right: 25px; top: 21px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close svg { width: 21px; }
.lightbox-nav { position: relative; z-index: 3; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.lightbox-nav:hover { background: var(--orange); color: var(--ink); }

/* Arabic direction */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .hero-copy { padding-left: 0; padding-right: max(0px, calc((100vw - var(--container)) / 18)); }
html[dir="rtl"] .language-menu { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .language-menu::before { right: auto; left: 21px; }
html[dir="rtl"] .language-menu button { text-align: right; }
html[dir="rtl"] .btn svg, html[dir="rtl"] .text-link svg, html[dir="rtl"] .service-card a svg, html[dir="rtl"] .nav-cta svg { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg, html[dir="rtl"] .text-link:hover svg, html[dir="rtl"] .service-card a:hover svg { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; text-align: right; }
html[dir="rtl"] .stat strong, html[dir="rtl"] .hero-proof strong, html[dir="rtl"] .rating-score strong { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .photo-caption { left: auto; right: 34px; }
html[dir="rtl"] .founded-card { right: auto; left: -25px; }
html[dir="rtl"] .quality-card { left: auto; right: -46px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .15s; }

/* Responsive */
@media (max-width: 1100px) {
  .topbar-inner > p { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 5%; }
  .hero h1 { font-size: clamp(3.9rem, 7vw, 6rem); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card.featured { grid-column: auto; }
  .about-grid { gap: 7%; }
  .identity-grid { gap: 7%; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-list li:nth-child(4) { border-left: 1px solid var(--line); }
  .process-list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { gap: 6%; }
  .quote-form { padding: 35px; }
  .footer-main { gap: 5%; }
}

@media (max-width: 900px) {
  .section { padding: 95px 0; }
  .site-header { height: 70px; }
  .brand img { width: 185px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; z-index: 100; inset: 70px 0 auto; min-height: calc(100vh - 70px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 30px 60px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, visibility .25s, transform .25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.45rem; font-weight: 500; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .main-nav .nav-cta { justify-content: space-between; margin-top: 22px; padding-inline: 20px; font-family: var(--sans); font-size: .8rem; }
  .language-switcher { margin-top: 18px; }
  .language-trigger { width: 100%; min-height: 50px; justify-content: flex-start; padding-inline: 15px; }
  .language-trigger span { margin-inline-end: auto; text-align: start; }
  .language-menu { position: static; width: 100%; max-height: 0; margin-top: 0; padding: 0 8px; overflow: hidden; border: 0; box-shadow: none; opacity: 0; visibility: hidden; transform: none; transition: max-height .3s var(--ease), margin .3s, padding .3s, opacity .25s; }
  .language-menu::before { display: none; }
  .language-switcher.open .language-menu { max-height: 180px; margin-top: 8px; padding: 8px; border: 1px solid var(--line); opacity: 1; visibility: visible; transform: none; }
  .language-menu button { min-height: 45px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-top: 78px; padding-bottom: 95px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 720px; font-size: clamp(4.3rem, 13vw, 7rem); }
  .hero-visual { width: min(88%, 650px); margin-left: auto; }
  .hero-photo-wrap { height: 520px; }
  .scroll-cue { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .section-head > p, .section-head .portfolio-intro { max-width: 580px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { min-height: 620px; }
  .about-main { width: 86%; }
  .about-copy { max-width: 690px; }
  .identity-grid { grid-template-columns: 1fr; gap: 70px; }
  .identity-quote { max-width: 720px; }
  .identity-card { max-width: 720px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 60px; }
  .testimonial-intro { max-width: 680px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .quote-grid { grid-template-columns: 1fr; gap: 60px; }
  .quote-copy { max-width: 650px; }
  .contact-grid { grid-template-columns: 1fr; gap: 70px; }
  .map-card { min-height: 460px; }
  .contact-details { max-width: 650px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: repeat(4, 1fr) !important; }
  .footer-bottom { flex-wrap: wrap; padding: 20px 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .topbar { display: none; }
  .brand img { width: 165px; }
  .brand span { font-size: .48rem; }
  .hero-grid { padding-top: 60px; padding-bottom: 78px; gap: 46px; }
  .hero h1 { font-size: clamp(3.75rem, 18vw, 5.25rem); }
  .hero-lead { font-size: .94rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: flex-start; }
  .hero-visual { width: 92%; }
  .hero-photo-wrap { height: 390px; border-radius: 100px 0 6px 6px; }
  .founded-card { right: -20px; top: 26px; width: 102px; height: 120px; }
  .founded-card strong { font-size: 2.15rem; }
  .quality-card { left: -29px; bottom: 22px; padding: 12px 14px; }
  .photo-caption { left: 20px; bottom: 16px; }
  .stats-grid { width: 100%; }
  .stat { min-height: 112px; padding-inline: 18px; }
  .stat strong { font-size: 2.05rem; }
  .stat span { font-size: .55rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-photo, .service-card.featured .service-photo { height: 220px; }
  .service-content { min-height: 225px; padding: 28px 23px 23px; }
  .about-visual { min-height: 490px; }
  .about-main { height: 430px; width: 88%; }
  .about-inset { height: 205px; width: 52%; border-width: 8px; }
  .about-stamp { width: 105px; height: 105px; bottom: 7px; }
  .about-stamp span { font-size: 1.45rem; }
  .identity-section { padding: 82px 0; }
  .identity-quote blockquote { font-size: 2rem; }
  .identity-card { padding: 25px 20px; }
  .identity-title { display: block; }
  .identity-title h3 { margin-top: 22px; text-align: left; }
  .identity-card dl > div { grid-template-columns: .9fr 1.1fr; gap: 10px; }
  .identity-card dt { font-size: .57rem; }
  .identity-card dd { font-size: .69rem; overflow-wrap: anywhere; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 18px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process-list li > span { margin: 0; }
  .process-list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .process-list li:last-child { border-bottom: 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 255px; }
  .gallery-item.featured { grid-column: auto; grid-row: auto; }
  .portfolio-intro { font-size: .9rem !important; }
  .filter-wrap { margin-right: -16px; }
  .testimonial-slider { padding: 38px 25px 24px; }
  .testimonial-track { min-height: 390px; }
  .testimonial blockquote { font-size: 1.45rem; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .quote-form { padding: 29px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-contact-list strong { overflow-wrap: anywhere; }
  .contact-list { grid-template-columns: 1fr; }
  .map-card { min-height: 400px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: 1fr 1fr !important; }
  .footer-bottom { display: grid; gap: 9px; }
  .whatsapp-float { width: 51px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 62px 12px 75px; }
  .lightbox figure { grid-template-columns: 1fr; max-height: calc(100vh - 145px); }
  .lightbox-image-wrap { min-height: 230px; max-height: calc(100vh - 265px); }
  .lightbox figure img { max-height: calc(100vh - 265px); }
  .lightbox figcaption { padding: 18px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .lightbox figcaption small { margin-top: 8px; }
  .lightbox-nav { position: absolute; bottom: 16px; }
  .lightbox-nav.prev { left: calc(50% - 60px); }
  .lightbox-nav.next { right: calc(50% - 60px); }
}

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