/* =========================================================
   LAD Construction Co. — Front-end stylesheet
   Navy & Gold identity taken from the company profile
   ========================================================= */
:root {
  --navy: #0b1838;
  --navy-2: #102049;
  --navy-3: #18295a;
  --gold: #b08d57;
  --gold-2: #cfae74;
  --gold-soft: #efe6d6;
  --ink: #18203a;
  --muted: #697089;
  --line: #e6e2d9;
  --paper: #f8f6f1;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(11, 24, 56, .35);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --f-head: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --f-lat: 'Montserrat', 'Tajawal', sans-serif;
  --header-h: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--paper); line-height: 1.85; font-size: 16.5px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.35; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #fff; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; position: relative; }
.container--narrow { width: min(860px, 100% - 40px); }
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; overflow: hidden; }
.section--tint { background: #fff; }
.ico { flex-shrink: 0; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--f-head); font-weight: 700; font-size: 16px; border: 2px solid var(--bg); position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s, transform .35s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hover, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { transform: translateY(-2px); border-color: var(--hover, var(--gold)); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(-5px); }
.btn--gold { --bg: var(--gold); --hover: var(--navy); }
.btn--navy { --bg: var(--navy); --hover: var(--gold); }
.btn--ghost { --bg: transparent; --hover: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { color: var(--navy); }
.btn--outline { --bg: transparent; --fg: var(--navy); --hover: var(--navy); border-color: var(--navy); }
.btn--outline:hover { color: #fff; }
.btn--sm { padding: 10px 22px; font-size: 15px; }
.btn--lg { padding: 17px 38px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Kicker & section heads ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-lat); font-weight: 700; font-size: 12.5px; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.kicker::before { content: ""; width: 38px; height: 2px; background: currentColor; }
.kicker--dark { color: var(--navy); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }
.section-title { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 18px; margin: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: rgba(255,255,255,.7); }
/* gold bracket frame from profile */
.bracket { position: relative; display: inline-block; padding: 6px 28px; }
.bracket::before, .bracket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18px; border: 3px solid var(--gold); transition: width .6s var(--ease); }
.bracket::before { right: 0; border-left: 0; }
.bracket::after { left: 0; border-right: 0; }
[data-reveal].is-in .bracket::before, [data-reveal].is-in .bracket::after { animation: bracketIn 1s var(--ease) both; }
@keyframes bracketIn { from { width: 50%; opacity: 0; } to { width: 18px; opacity: 1; } }
.section-head--start .bracket { padding-inline: 24px; }
.h-display { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.h-display em, .cta h2 em { font-style: normal; color: var(--gold); }
.h-sub { font-size: 26px; }
.lead { font-size: 18px; color: var(--muted); }

/* big outlined background words */
.bg-word { position: absolute; top: 40px; left: -20px; font-family: var(--f-lat); font-weight: 800; font-size: clamp(90px, 17vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(176, 141, 87, .22); pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; }
.bg-word--left { left: auto; right: -20px; }
.section > .container { z-index: 1; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--navy); display: grid; place-items: center; transition: opacity .7s, visibility .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 110px; margin: 0 auto 14px; animation: plLogo 1.4s var(--ease) both; }
.preloader__word { font-family: var(--f-lat); font-weight: 800; color: #fff; font-size: 30px; letter-spacing: .5em; padding-inline-start: .5em; display: flex; justify-content: center; direction: ltr; }
.preloader__word span { animation: plLetter .8s var(--ease) both; }
.preloader__word span:nth-child(2) { animation-delay: .12s; } .preloader__word span:nth-child(3) { animation-delay: .24s; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); margin: 20px auto 0; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--gold); animation: plBar 1.3s var(--ease) infinite; }
@keyframes plLogo { from { opacity: 0; transform: translateY(20px) scale(.9) rotate(-8deg); } }
@keyframes plLetter { from { opacity: 0; transform: translateY(16px); } }
@keyframes plBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .4s, height .4s, box-shadow .4s, transform .4s; }
.site-header__row { display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 50px; height: 50px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-10deg); }
.brand__mark--dark { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-family: var(--f-lat); font-weight: 800; letter-spacing: .38em; font-size: 22px; color: #fff; direction: ltr; text-align: right; }
.brand__text small { font-family: var(--f-head); font-weight: 700; font-size: 12.5px; color: var(--gold-2); margin-top: 3px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 14px; color: rgba(255,255,255,.9); font-family: var(--f-head); font-weight: 700; font-size: 16px; transition: color .3s; }
.main-nav ul a::after { content: ""; position: absolute; right: 14px; left: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav ul a.is-active, .main-nav ul a:hover { color: var(--gold-2); }
.main-nav__extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(3) { width: 14px; margin-inline-start: 6px; }
.site-header.is-scrolled { background: rgba(11, 24, 56, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 72px; box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.site-header.is-scrolled .brand__mark { width: 42px; height: 42px; }
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.is-home) .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(11,24,56,.75), transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero__slides, .hero__slide, .hero__shade, .hero__grid { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { background: linear-gradient(270deg, rgba(11,24,56,.92) 0%, rgba(11,24,56,.72) 36%, rgba(11,24,56,.12) 72%, rgba(11,24,56,.28) 100%), linear-gradient(0deg, rgba(11,24,56,.8), transparent 35%); }
.hero__grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(270deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 60%); }
.hero__stripe { position: absolute; inset: 0; pointer-events: none; }
.hero__stripe i { position: absolute; top: -20%; height: 140%; width: 34px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); left: 22%; transform: rotate(24deg); box-shadow: 0 0 60px rgba(176,141,87,.35); animation: stripeIn 1.6s var(--ease) .6s both; }
.hero__stripe i:nth-child(2) { width: 6px; left: 26%; opacity: .6; animation-delay: .8s; }
@keyframes stripeIn { from { transform: rotate(24deg) translateY(-120%); } }
.hero__content { z-index: 2; padding-top: var(--header-h); max-width: 1240px; }
.hero__content > * { max-width: 760px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-lat); font-weight: 700; letter-spacing: .24em; font-size: 13px; color: var(--gold-2); margin-bottom: 22px; }
.hero__kicker i { width: 50px; height: 2px; background: var(--gold); }
.hero__title { color: #fff; font-size: clamp(40px, 6.4vw, 86px); font-weight: 900; line-height: 1.18; margin-bottom: 24px; letter-spacing: -.5px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1s var(--ease) both; animation-delay: calc(var(--k) * .09s + 1.1s); }
.hero__title .w:nth-child(3n) > span { color: var(--gold-2); }
@keyframes wordUp { to { transform: translateY(0); } }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
[data-anim] { animation: fadeUp 1s var(--ease) both; }
[data-anim="1"] { animation-delay: .9s; } [data-anim="3"] { animation-delay: 1.6s; } [data-anim="4"] { animation-delay: 1.8s; } [data-anim="5"] { animation-delay: 2s; }
.hero__title[data-anim] { animation: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } }
.hero__badge { position: absolute; left: 7%; bottom: 20%; width: 170px; height: 170px; z-index: 2; display: grid; place-items: center; }
.hero__badge-ring { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.hero__badge-ring text { font-family: var(--f-lat); font-size: 13.5px; font-weight: 700; letter-spacing: 3.2px; fill: rgba(255,255,255,.85); }
.hero__badge img { width: 74px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.hero__badge::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(207,174,116,.45); background: rgba(11,24,56,.35); backdrop-filter: blur(6px); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__bottom { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 30px; }
.hero__counter { font-family: var(--f-lat); display: flex; align-items: baseline; gap: 8px; }
.hero__counter b { font-size: 34px; color: var(--gold-2); }
.hero__counter span { color: rgba(255,255,255,.6); font-weight: 600; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 46px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__dots button i { display: block; height: 100%; width: 0; background: var(--gold); }
.hero__dots button.is-active i { animation: dotFill 6.5s linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero__scroll { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.75); font-size: 14px; }
.hero__scroll i { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- About intro ---------- */
.about-intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-intro__visual { position: relative; min-height: 560px; }
.frame-gold { position: absolute; top: 0; right: 0; width: 62%; height: 74%; border: 3px solid var(--gold); border-radius: 4px; }
.about-intro__img { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-intro__img:hover img { transform: scale(1.06); }
.about-intro__img--main { top: 34px; right: 34px; width: 72%; height: 72%; }
.about-intro__img--sub { bottom: 0; left: 0; width: 50%; height: 46%; border: 8px solid var(--paper); }
.about-intro__years { position: absolute; bottom: 70px; right: 0; background: var(--navy); color: #fff; padding: 22px 26px; border-radius: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold); }
.about-intro__years b { font-family: var(--f-lat); font-size: 52px; line-height: 1; color: var(--gold-2); }
.about-intro__years span { font-family: var(--f-head); font-weight: 700; line-height: 1.4; }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks .ico { color: #fff; background: var(--gold); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.025) 120px 240px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; right: 0; top: 30%; height: 40%; width: 1px; background: linear-gradient(transparent, rgba(207,174,116,.6), transparent); transform: skewX(-20deg); }
.stat b { display: block; font-family: var(--f-lat); font-weight: 800; font-size: clamp(40px, 4.6vw, 62px); color: var(--gold-2); line-height: 1.1; }
.stat span { color: rgba(255,255,255,.8); font-family: var(--f-head); font-weight: 700; font-size: 17px; }

/* ---------- Services ---------- */
.services { background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scard { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .5s var(--ease), box-shadow .5s; }
.scard:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.scard__img { height: 230px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.1); }
.scard__body { padding: 0 30px 30px; position: relative; flex: 1; display: flex; flex-direction: column; }
.scard__icon { width: 66px; height: 66px; margin-top: -38px; border-radius: 18px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 12px 30px -10px rgba(11,24,56,.6); transition: background .4s, color .4s, transform .5s var(--ease); }
.scard:hover .scard__icon { background: var(--gold); color: #fff; transform: rotate(-8deg); }
.scard__num { position: absolute; left: 26px; top: 6px; font-family: var(--f-lat); font-weight: 800; font-size: 46px; color: transparent; -webkit-text-stroke: 1.5px rgba(11,24,56,.15); }
.scard h3 { margin: 20px 0 10px; font-size: 23px; display: flex; flex-direction: column; }
.scard h3 small { font-family: var(--f-lat); font-size: 12px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.scard p { color: var(--muted); font-size: 15.5px; flex: 1; }
.scard__more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-family: var(--f-head); font-weight: 800; }
.scard::after { content: ""; position: absolute; bottom: 0; right: 0; height: 4px; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.scard:hover::after { width: 100%; }

/* ---------- Vision / mission / message panels ---------- */
.vmm { background: var(--navy); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.vmm::before { content: ""; position: absolute; top: 0; bottom: 0; left: 8%; width: 30px; background: var(--gold); transform: skewX(-24deg); opacity: .9; }
.vmm::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(176,141,87,.15), transparent); pointer-events: none; }
.vmm .container { z-index: 1; }
.vmm__panels { display: flex; gap: 18px; height: 480px; }
.vpanel { flex: 1; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: flex 0.8s var(--ease); outline: none; min-width: 0; }
.vpanel.is-open { flex: 2.6; }
.vpanel__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.4); transition: transform 1.2s var(--ease), filter .6s; }
.vpanel.is-open .vpanel__bg { transform: scale(1.05); filter: none; }
.vpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,24,56,.97) 15%, rgba(11,24,56,.55) 60%, rgba(11,24,56,.35)); }
.vpanel__body { position: absolute; inset: auto 0 0 0; padding: 34px; z-index: 2; color: #fff; }
.vpanel__num { position: absolute; top: -300px; left: 30px; font-family: var(--f-lat); font-weight: 800; font-size: 70px; color: transparent; -webkit-text-stroke: 1.5px rgba(207,174,116,.6); }
.vpanel__icon { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 16px; }
.vpanel h3 { color: #fff; font-size: 28px; display: flex; flex-direction: column; margin: 0; }
.vpanel h3 small, .vrow h3 small { font-family: var(--f-lat); font-size: 12px; letter-spacing: .24em; color: var(--gold-2); text-transform: uppercase; }
.vpanel p { max-height: 0; opacity: 0; overflow: hidden; margin: 0; font-size: 17px; color: rgba(255,255,255,.88); transition: max-height .8s var(--ease), opacity .5s, margin .5s; max-width: 560px; }
.vpanel.is-open p { max-height: 260px; opacity: 1; margin-top: 16px; transition-delay: .25s; }

/* ---------- Process ---------- */
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.process__steps::before { content: ""; position: absolute; top: 46px; right: 12%; left: 12%; border-top: 2px dashed rgba(176,141,87,.5); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step__icon { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--navy); display: grid; place-items: center; position: relative; z-index: 1; transition: background .4s, color .4s, transform .5s var(--ease); box-shadow: 0 0 0 10px var(--paper); }
.step:hover .step__icon { background: var(--navy); color: var(--gold-2); transform: translateY(-6px) rotate(-6deg); }
.step__num { position: absolute; top: -6px; left: calc(50% - 64px); z-index: 2; background: var(--gold); color: #fff; font-family: var(--f-lat); font-weight: 800; font-size: 13px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Projects ---------- */
.projects-home { background: #fff; }
.projects-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.projects-home__head .section-head { margin-bottom: 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.pcard { position: relative; transition: opacity .5s, transform .5s var(--ease); }
.pcard.is-hidden { display: none; }
.pcard__link { display: block; position: relative; }
.pcard__frame { position: relative; height: 380px; border-radius: 26px; overflow: hidden; transform: skewX(-6deg); border: 5px solid #fff; box-shadow: 0 20px 50px -25px rgba(11,24,56,.55); background: var(--navy); }
.pcard__frame img { position: absolute; inset: -4% -14%; width: 128%; height: 108%; max-width: none; object-fit: cover; transform: skewX(6deg) scale(1.02); transition: transform 1.1s var(--ease), filter .6s; }
.pcard:hover .pcard__frame img { transform: skewX(6deg) scale(1.12); filter: brightness(.65); }
.pcard__overlay { position: absolute; inset: auto 22px 22px 22px; padding: 22px 24px; border-radius: 18px; background: rgba(11,24,56,.88); backdrop-filter: blur(8px); color: #fff; transform: translateY(16px); opacity: .97; transition: transform .6s var(--ease), background .4s; border-right: 4px solid var(--gold); }
.pcard:hover .pcard__overlay { transform: translateY(0); background: rgba(11,24,56,.96); }
.pcard__cat { font-size: 13px; color: var(--gold-2); font-weight: 600; }
.pcard__title { color: #fff; font-size: 21px; margin: 2px 0 2px; }
.pcard__meta { font-size: 13.5px; color: rgba(255,255,255,.65); }
.pcard__more { display: flex; align-items: center; gap: 8px; max-height: 0; overflow: hidden; opacity: 0; color: var(--gold-2); font-family: var(--f-head); font-weight: 700; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.pcard:hover .pcard__more { max-height: 30px; opacity: 1; margin-top: 8px; }
.pcard__num { position: absolute; top: 16px; right: 30px; font-family: var(--f-lat); font-weight: 800; color: #fff; font-size: 15px; background: var(--gold); padding: 6px 12px; border-radius: 999px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 10px 22px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; transition: all .35s var(--ease); }
.filters button sup { font-family: var(--f-lat); font-size: 11px; color: var(--gold); }
.filters button:hover { border-color: var(--gold); }
.filters button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button.is-active sup { color: var(--gold-2); }
.empty { text-align: center; color: var(--muted); }

/* ---------- Partners ---------- */
.partners { padding: clamp(70px, 8vw, 110px) 0; background: var(--paper); overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 38s linear infinite; padding: 14px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.partner { width: 210px; height: 130px; background: #fff; border-radius: 22px 22px 22px 4px; display: grid; place-items: center; padding: 18px; box-shadow: 0 12px 30px -18px rgba(11,24,56,.35); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.partner img { max-height: 92px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .4s; }
.partner:hover { transform: translateY(-6px); border-color: var(--gold); }
.partner:hover img { filter: none; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(70px, 8vw, 110px); background: var(--paper); }
.partners + .cta { padding-top: 0; }
.cta__inner { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%); border-radius: 30px; padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; top: -50%; bottom: -50%; left: 18%; width: 120px; background: var(--navy); transform: rotate(24deg); opacity: .12; }
.cta__inner::after { content: "LAD"; position: absolute; left: -10px; bottom: -40px; font-family: var(--f-lat); font-weight: 800; font-size: 180px; color: transparent; -webkit-text-stroke: 2px rgba(11,24,56,.12); line-height: 1; }
.cta__text { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; }
.cta h2 em { color: #fff; }
.cta p { margin: 0; color: rgba(11,24,56,.8); font-size: 17px; }
.cta__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta__phone { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.cta__phone .ico { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: rgba(255,255,255,.4); }
.cta__phone span { display: flex; flex-direction: column; line-height: 1.3; }
.cta__phone small { font-size: 13px; opacity: .8; }
.cta__phone b { font-family: var(--f-lat); font-size: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); position: relative; overflow: hidden; padding-top: 90px; }
.site-footer__stripe { position: absolute; top: -40px; bottom: -40px; left: 10%; width: 14px; background: var(--gold); transform: rotate(24deg); opacity: .5; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.brand--footer { margin-bottom: 20px; }
.site-footer__about p { font-size: 15px; }
.site-footer__title { color: #fff; font-size: 19px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer__title::after { content: ""; position: absolute; right: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__links a { transition: color .3s, padding .3s; display: inline-flex; gap: 8px; align-items: center; }
.site-footer__links a::before { content: ""; width: 6px; height: 6px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.site-footer__links a:hover { color: var(--gold-2); padding-inline-start: 6px; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.site-footer__contact .ico { color: var(--gold-2); margin-top: 4px; }
.site-footer__contact a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #fff; transition: all .35s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-4px); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom .en { font-family: var(--f-lat); letter-spacing: .1em; color: var(--gold-2); font-size: 12.5px; }

/* floating */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; bottom: 26px; left: 24px; z-index: 90; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top > * { grid-area: 1 / 1; }
.to-top__ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 3; }
.to-top__ring .to-top__progress { stroke: var(--gold); stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .1s; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); padding: calc(var(--header-h) + 60px) 0 70px; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(11,24,56,.96) 10%, rgba(11,24,56,.7) 55%, rgba(11,24,56,.5)); }
.page-hero__stripe { position: absolute; top: -20%; height: 140%; left: 16%; width: 26px; background: var(--gold); transform: rotate(24deg); animation: stripeIn 1.4s var(--ease) both; }
.page-hero__word { position: absolute; left: 3%; bottom: -26px; font-family: var(--f-lat); font-weight: 800; font-size: clamp(70px, 12vw, 180px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); white-space: nowrap; direction: ltr; }
.page-hero__content { z-index: 2; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 16px; flex-wrap: wrap; animation: fadeUp .9s var(--ease) .3s both; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs b { color: var(--gold-2); font-weight: 600; }
.page-hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 70px); font-weight: 900; margin: 0 0 10px; animation: fadeUp .9s var(--ease) .45s both; }
.page-hero__sub { font-size: 19px; color: rgba(255,255,255,.8); max-width: 680px; margin: 0; animation: fadeUp .9s var(--ease) .6s both; }

/* ---------- Rich text ---------- */
.rich { font-size: 17.5px; }
.rich p { color: #3d4560; }
.rich h2, .rich h3 { margin-top: 1.2em; }
.rich ul, .rich ol { padding-inline-start: 1.2em; color: #3d4560; }
.rich ul li::marker { color: var(--gold); }
.rich a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.rich img { border-radius: 14px; margin: 1em 0; }
.rich blockquote { margin: 1.5em 0; padding: 18px 24px; border-right: 4px solid var(--gold); background: #fff; border-radius: 10px; font-size: 19px; color: var(--navy); }
.rich--intro { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.rich--page { background: #fff; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); box-shadow: var(--shadow); }
.rich .ql-align-center { text-align: center; } .rich .ql-align-left { text-align: left; } .rich .ql-align-justify { text-align: justify; }
.rich .ql-direction-ltr { direction: ltr; text-align: left; }

/* ---------- About page ---------- */
.about-page__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
.about-page__card { background: #fff; border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow); text-align: center; border-top: 5px solid var(--gold); position: sticky; top: 100px; }
.about-page__logo { width: 120px; margin: 0 auto; }
.wordmark { font-family: var(--f-lat); font-weight: 800; letter-spacing: .45em; font-size: 34px; color: var(--navy); padding-inline-start: .45em; direction: ltr; display: flex; flex-direction: column; line-height: 1.2; margin-bottom: 26px; }
.wordmark small { font-size: 12px; letter-spacing: .3em; font-weight: 600; color: var(--muted); }
.about-page__card dl { margin: 0 0 26px; text-align: right; }
.about-page__card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.about-page__card dt { color: var(--muted); font-size: 14.5px; flex-shrink: 0; }
.about-page__card dd { margin: 0; font-weight: 600; color: var(--navy); text-align: left; font-size: 15px; }
.vrows { display: grid; gap: 40px; }
.vrow { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.vrow--flip .vrow__img { order: 2; }
.vrow__img { position: relative; border-radius: var(--radius); overflow: hidden; height: 340px; }
.vrow__img img { width: 100%; height: 100%; object-fit: cover; }
.vrow__num { position: absolute; bottom: 14px; left: 22px; font-family: var(--f-lat); font-weight: 800; font-size: 80px; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); line-height: 1; }
.vrow h3 { color: #fff; font-size: 34px; display: flex; flex-direction: column; }
.vrow__ar { color: rgba(255,255,255,.9); font-size: 19px; }
.vrow__en { color: rgba(255,255,255,.55); font-family: var(--f-lat); font-size: 15px; line-height: 1.7; border-top: 1px solid rgba(207,174,116,.35); padding-top: 14px; text-align: left; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 60px; }
.timeline__line { position: absolute; top: 18px; right: 0; left: 0; height: 4px; background: var(--line); border-radius: 4px; }
.timeline__line i { position: absolute; right: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(270deg, var(--gold), var(--gold-2)); border-radius: 4px; transition: width 2s var(--ease) .3s; }
.timeline.is-in .timeline__line i { width: 50%; }
.tl-item { position: relative; text-align: center; }
.tl-item::before { content: ""; position: absolute; top: -52px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--navy); border: 5px solid var(--gold); box-shadow: 0 0 0 8px var(--paper); }
.tl-item b { display: block; font-family: var(--f-lat); font-size: 46px; color: var(--navy); line-height: 1.1; }
.tl-item span { color: var(--gold); font-family: var(--f-head); font-weight: 800; font-size: 18px; }
.tl-item p { color: var(--muted); max-width: 280px; margin: 8px auto 0; }
.tl-item--goal b { color: var(--gold); }
.tl-item--goal::before { background: var(--gold); border-color: var(--navy); animation: pulseGold 2s infinite; }
@keyframes pulseGold { 50% { box-shadow: 0 0 0 8px var(--paper), 0 0 0 16px rgba(176,141,87,.25); } }
.values-sec { background: #fff; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 36px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: all .5s var(--ease); position: relative; overflow: hidden; }
.value::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .6s var(--ease); }
.value > * { position: relative; }
.value:hover::before { transform: none; }
.value:hover h3 { color: #fff; } .value:hover p { color: rgba(255,255,255,.75); }
.value span { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--gold); color: #fff; margin-bottom: 20px; }
.value h3 { font-size: 22px; transition: color .4s; }
.value p { color: var(--muted); margin: 0; transition: color .4s; }

/* ---------- Services page ---------- */
.svc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 70px; }
.svc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; color: var(--navy); transition: all .35s; }
.svc-tabs a .ico { color: var(--gold); }
.svc-tabs a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-list { display: grid; gap: clamp(60px, 8vw, 110px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; scroll-margin-top: 110px; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; }
.svc__media::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 3px solid var(--gold); border-radius: var(--radius); }
.svc--flip .svc__media::before { inset: 26px 26px -26px -26px; }
.svc__num { position: absolute; z-index: 2; top: -30px; right: 24px; font-family: var(--f-lat); font-weight: 800; font-size: 90px; line-height: 1; color: var(--navy); -webkit-text-stroke: 0; text-shadow: 0 0 0 transparent; }
.svc--flip .svc__num { right: auto; left: 24px; }
.svc__icon { width: 70px; height: 70px; border-radius: 20px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 20px; }
.svc__body h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; }
.svc__body .rich { margin-bottom: 26px; }

/* ---------- Project detail ---------- */
.project-detail__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.gallery__item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--navy); }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16/8; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); opacity: .7; }
.gallery__zoom { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.gallery__item:hover .gallery__zoom { transform: scale(1); }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 28px; position: sticky; top: 100px; overflow: hidden; }
.info-card::before { content: ""; position: absolute; top: -40px; left: 30px; width: 16px; height: 200px; background: var(--gold); transform: rotate(24deg); opacity: .5; }
.info-card h3 { color: #fff; font-size: 22px; position: relative; }
.info-card ul { list-style: none; padding: 0; margin: 0 0 24px; position: relative; }
.info-card li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-card li span { color: rgba(255,255,255,.6); }
.info-card li b { font-weight: 600; text-align: left; }
.status { padding: 2px 12px; border-radius: 999px; font-size: 14px; }
.status--completed { background: rgba(46, 204, 113, .18); color: #7be3a6; }
.status--ongoing { background: rgba(207,174,116,.2); color: var(--gold-2); }
.pn-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.pn { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.pn--next { justify-content: flex-end; text-align: left; }
.pn span { display: flex; flex-direction: column; }
.pn small { color: var(--muted); }
.pn b { font-family: var(--f-head); font-size: 18px; transition: color .3s; }
.pn:hover b { color: var(--gold); }
.pn .ico { width: 48px; height: 48px; padding: 12px; border: 1.5px solid var(--line); border-radius: 50%; transition: all .3s; }
.pn:hover .ico { background: var(--gold); color: #fff; border-color: var(--gold); }
.pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 26px; }
.pn-grid i { width: 11px; height: 11px; background: var(--navy); border-radius: 2px; transition: background .3s; }
.pn-grid:hover i { background: var(--gold); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 70px; }
.ccard { background: #fff; border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); transition: all .45s var(--ease); position: relative; overflow: hidden; }
.ccard span { width: 58px; height: 58px; border-radius: 16px; background: var(--paper); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; transition: all .4s; }
.ccard small { color: var(--muted); }
.ccard b { color: var(--navy); font-family: var(--f-head); font-size: 17px; word-break: break-word; }
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.ccard:hover span { background: var(--navy); color: var(--gold-2); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: stretch; }
.contact-form-wrap { background: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 50px); box-shadow: var(--shadow); }
.cform { display: grid; gap: 18px; margin-top: 26px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 24px 18px 10px; font: inherit; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; }
.field select { appearance: none; padding-top: 24px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: 22px 50%, 16px 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[dir="ltr"] { text-align: right; }
.field > span { position: absolute; right: 18px; top: 17px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); font-size: 15.5px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176,141,87,.12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field--select > span { top: 6px; font-size: 12px; color: var(--gold); font-weight: 600; }
.field em { display: block; color: #c0392b; font-style: normal; font-size: 13px; margin-top: 4px; }
.field.has-err input, .field.has-err textarea { border-color: #e2a6a0; }
.cform .btn { justify-self: start; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin: 20px 0 0; }
.alert--ok { background: #e8f6ee; color: #1b6b3e; }
.alert--ok .ico { background: #2ecc71; color: #fff; border-radius: 50%; padding: 3px; }
.alert--err { background: #fdecec; color: #a12222; }
.contact-map { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; box-shadow: var(--shadow); background: var(--navy); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.contact-map__card { position: absolute; right: 20px; left: 20px; bottom: 20px; background: rgba(11,24,56,.94); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex; gap: 16px; align-items: center; border-right: 4px solid var(--gold); }
.contact-map__card img { width: 48px; }
.contact-map__card div { display: flex; flex-direction: column; }
.contact-map__card span { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 13, 32, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox__figure img { max-width: 90vw; max-height: 80vh; border-radius: 10px; margin: auto; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--gold); }
.lightbox__close { top: 24px; left: 24px; }
.lightbox__nav--prev { right: 24px; top: 50%; margin-top: -28px; }
.lightbox__nav--next { left: 24px; top: 50%; margin-top: -28px; }
.lightbox__count { position: absolute; bottom: 24px; color: rgba(255,255,255,.6); font-family: var(--f-lat); letter-spacing: .2em; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; background: var(--navy); color: #fff; }
.notfound__code { font-family: var(--f-lat); font-weight: 800; font-size: clamp(120px, 22vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.notfound h1 { color: #fff; }
.notfound p { color: rgba(255,255,255,.7); }

/* =================== Responsive =================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 9px; font-size: 15px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .burger { display: flex; }
  .site-header__actions .btn { display: none; }
  .main-nav { position: fixed; inset: 0; background: var(--navy); display: flex; flex-direction: column; justify-content: center; padding: 100px 34px 40px; clip-path: circle(0 at 40px 40px); transition: clip-path .8s var(--ease); z-index: -1; margin: 0; }
  .main-nav::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: 14%; width: 22px; background: var(--gold); transform: rotate(24deg); opacity: .6; }
  .nav-open .main-nav { clip-path: circle(150% at 40px 40px); }
  .main-nav ul { flex-direction: column; gap: 0; position: relative; }
  .main-nav ul a { font-size: 30px; padding: 12px 0; opacity: 0; transform: translateX(-30px); transition: opacity .5s, transform .5s var(--ease), color .3s; transition-delay: calc(var(--i) * 70ms + .2s); }
  .main-nav ul a::after { right: 0; left: auto; width: 60px; }
  .nav-open .main-nav ul a { opacity: 1; transform: none; }
  .main-nav__extra { display: block; margin-top: 30px; position: relative; }
  .main-nav__phone { display: inline-flex !important; gap: 10px; align-items: center; color: var(--gold-2) !important; font-size: 20px !important; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { width: 20px; margin: 0; transform: translateY(-7px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; box-shadow: none; }
  .about-intro__grid, .about-page__grid, .project-detail__grid, .contact-grid { grid-template-columns: 1fr; }
  .about-page__card, .info-card { position: static; }
  .services__grid, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process__steps::before { display: none; }
  .vmm__panels { flex-direction: column; height: auto; }
  .vpanel { min-height: 120px; flex: none !important; }
  .vpanel.is-open { min-height: 380px; }
  .vpanel__num { display: none; }
  .vrow, .svc { grid-template-columns: 1fr; gap: 30px; }
  .vrow--flip .vrow__img, .svc--flip .svc__media { order: 0; }
  .hero__badge { display: none; }
  .svc__media img { height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text b { font-size: 19px; }
  .services__grid, .pgrid, .values, .contact-cards, .cform__row, .site-footer__grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .about-intro__visual { min-height: 420px; }
  .about-intro__years { bottom: 30px; padding: 16px 18px; }
  .about-intro__years b { font-size: 40px; }
  .pcard__frame { height: 330px; transform: skewX(-4deg); }
  .pcard__frame img { transform: skewX(4deg) scale(1.02); }
  .pcard:hover .pcard__frame img { transform: skewX(4deg) scale(1.1); }
  .hero__dots { display: none; }
  .hero__scroll span { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 50px; padding-top: 0; padding-right: 40px; }
  .timeline__line { top: 0; bottom: 0; right: 10px; left: auto; width: 4px; height: auto; }
  .timeline__line i { width: 100% !important; height: 0; transition: height 2s var(--ease) .3s; }
  .timeline.is-in .timeline__line i { height: 50%; }
  .tl-item { text-align: right; }
  .tl-item::before { top: 10px; left: auto; right: -41px; margin: 0; }
  .tl-item p { margin: 6px 0 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .pn-nav { grid-template-columns: 1fr 1fr; }
  .pn-grid { display: none; }
  .pn b { font-size: 15px; }
  .cta__inner { border-radius: 22px; }
  .page-hero { min-height: 380px; padding-bottom: 50px; }
  .svc__media::before { inset: 14px -10px -14px 10px; }
  .svc--flip .svc__media::before { inset: 14px 10px -14px -10px; }
  .svc__media img { height: 280px; }
  .svc__num { font-size: 64px; top: -22px; }
  .contact-map { min-height: 380px; }
  .fab-whatsapp { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .to-top { bottom: 20px; left: 18px; }
  .bg-word { font-size: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
