/*
Theme Name: Bamdad Sanat Khalij Fars
Theme URI: https://bamdadsanatkhalijfars.com/
Author: Bamdad Sanat
Description: قالب رسمی و واکنش‌گرای شرکت بامداد صنعت خلیج فارس با ویدئو، گالری پروژه‌ها و مدارک.
Version: 2.0.0
Text Domain: bamdad-sanat
*/
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Vazirmatn:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #07182d;
  --navy-2: #0b2340;
  --ink: #0b1d31;
  --gold: #c9a449;
  --gold-light: #e3c876;
  --paper: #f5f2eb;
  --white: #fff;
  --muted: #657181;
  --line: #d8d8d3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, button, a { font-family: "Manrope", "Vazirmatn", sans-serif; }
.rtl, .rtl button, .rtl a { font-family: "Vazirmatn", "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 96px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px); color: white; border-bottom: 1px solid #ffffff26;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: contain; filter: invert(1); mix-blend-mode: screen; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.7vw, 42px); font-size: 14px; }
.nav a { opacity: .82; position: relative; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; height: 1px; background: var(--gold); left: 0; right: 100%; bottom: -9px; transition: .25s; }
.nav a:hover::after { right: 0; }
.headerActions { display: flex; align-items: center; gap: 12px; }
.lang, .menu { background: transparent; border: 0; color: white; cursor: pointer; }
.lang { display: flex; gap: 8px; align-items: center; font-size: 13px; border: 1px solid #ffffff4a; padding: 9px 12px; }
.lang i { color: var(--gold); font-style: normal; }
.menu { display: none; font-size: 24px; }

.hero { min-height: 820px; height: 100vh; max-height: 980px; position: relative; overflow: hidden; color: white; background: var(--navy); }
.heroImage { position: absolute; inset: 0; background: linear-gradient(90deg, #06172c75 0%, #07182d25 45%, #07182d50), url("assets/hero-option1-clean.webp") center/cover; filter: saturate(.9) contrast(1.06); }
.heroGrid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.heroContent { position: relative; z-index: 2; padding: 38px; max-width: 620px; top: clamp(165px, 19vh, 210px); }
.rtl .heroContent { margin-right: clamp(24px, 7vw, 110px) !important; margin-left: auto !important; text-align: right; }
.ltr .heroContent { margin-left: clamp(24px, 7vw, 110px) !important; margin-right: auto !important; text-align: left; }
.heroPanel { background: linear-gradient(145deg,#07182df2,#081b33e8); border:1px solid #ffffff36; border-radius:32px; box-shadow:0 28px 80px #0008; backdrop-filter:blur(16px); }
.heroPanel::after { content:""; position:absolute; top:36px; bottom:36px; inset-inline-end:26px; width:3px; background:linear-gradient(transparent,var(--gold-light),transparent); }
.heroPanel h1 { font-size:clamp(46px,5vw,76px); }
.heroPanelStats { margin-top:22px; padding-top:20px; border-top:1px solid #ffffff2b; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.heroPanelStats span { color:#c9d0d8; font-size:10px; text-align:center; display:flex; flex-direction:column; gap:4px; }
.heroPanelStats b { color:var(--gold-light); font-size:20px; direction:ltr; }
.ltr .heroContent { max-width: 1050px; }
.eyebrow { margin: 0 0 22px; color: #8b6b1f; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 42px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-light); }
h1 { font-size: clamp(48px, 6.3vw, 94px); max-width: 900px; line-height: 1.08; margin: 0; letter-spacing: -.035em; font-weight: 600; }
.rtl h1 { letter-spacing: -.055em; max-width: 790px; }
.heroText { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.9; color: #d1d7de; max-width: 690px; margin: 30px 0 38px; }
.heroButtons { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; font-size: 14px; border: 1px solid transparent; transition: .25s; }
.button span { font-size: 18px; }
.button.gold { background: var(--gold); color: #07182d; }
.button.gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.button.ghost { border-color: #ffffff5c; }
.button.ghost:hover { border-color: white; background: #ffffff0f; }
.stats { position: absolute; z-index: 2; bottom: 0; inset-inline-start: clamp(24px, 10vw, 160px); display: flex; border-top: 1px solid #ffffff2a; }
.stat { width: 180px; padding: 25px 0 30px; border-inline-end: 1px solid #ffffff2a; display: flex; flex-direction: column; }
.stat strong { font-size: 30px; color: var(--gold-light); font-weight: 500; }
.stat span { font-size: 11px; color: #c5cbd1; margin-top: 5px; }
.scrollMark { position: absolute; z-index: 2; bottom: 36px; inset-inline-end: 50px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .26em; color: #b9c0c8; display: flex; align-items: center; gap: 12px; }
.scrollMark span { display: block; height: 52px; width: 1px; background: var(--gold); }

.brandFilm { height: min(420px, 56vw); min-height: 300px; max-width: 1120px; margin: 70px auto; position: relative; overflow: hidden; background: #030b15; color: white; box-shadow: 0 24px 60px #06172c35; }
.filmVideo, .filmShade { position: absolute; inset: 0; }
.filmVideo { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.brandFilm.playing .filmCopy, .brandFilm.playing .filmPlay, .brandFilm.playing .filmShade { opacity: 0; pointer-events: none; }
.filmCopy, .filmPlay, .filmShade { transition: opacity .35s ease; }
.filmShade { background: linear-gradient(90deg, #03101eef 0%, #03101eb3 48%, #03101e42 75%), linear-gradient(0deg, #03101ee6, transparent 60%); }
.rtl .filmShade { background: linear-gradient(270deg, #03101eef 0%, #03101eb3 48%, #03101e42 75%), linear-gradient(0deg, #03101ee6, transparent 60%); }
.filmCopy { position: relative; z-index: 2; max-width: 760px; }
.filmCopy h2 { font-size: clamp(42px, 5vw, 76px); }
.filmCopy > p:last-child { color: #c5ced7; line-height: 1.9; max-width: 640px; margin: 25px 0 0; }
.filmPlay { position: absolute; z-index: 3; inset-inline-end: clamp(24px, 9vw, 150px); top: 50%; transform: translateY(-50%); width: 174px; height: 174px; border-radius: 50%; border: 1px solid #ffffff66; background: #07182dbd; backdrop-filter: blur(12px); color: white; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 10px; transition: .3s; }
.filmPlay:hover { border-color: var(--gold); transform: translateY(-50%) scale(1.04); background: #07182de8; }
.filmPlay span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 20px; }
.filmPlay b { font-size: 11px; max-width: 110px; line-height: 1.5; }
.filmProgress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #ffffff1f; }
.filmProgress i { display: block; height: 100%; width: 0; background: var(--gold); }
.brandFilm.playing .filmProgress i { animation: filmProgress 20s linear infinite; }
@keyframes filmProgress { to { width: 100%; } }

.section { padding: 120px clamp(24px, 8vw, 130px); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); background: var(--paper); }
h2 { margin: 0; font-size: clamp(38px, 4.6vw, 67px); line-height: 1.16; letter-spacing: -.045em; font-weight: 550; }
.rtl h2 { letter-spacing: -.04em; }
.aboutCopy { padding-top: 42px; }
.aboutCopy > p { font-size: 17px; color: #4e5c6a; line-height: 2; margin: 0 0 42px; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature > span { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.signature div { display: flex; flex-direction: column; }
.signature b { font-size: 12px; letter-spacing: .12em; }
.signature small { font-size: 8px; color: var(--muted); letter-spacing: .14em; margin-top: 4px; }

.services { background: radial-gradient(circle at 85% 10%, #17365c 0, #0a1c34 38%, #061326 100%); color: white; overflow: hidden; }
.services .eyebrow { color: var(--gold-light); }
.sectionHead { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.sectionHead h2 { max-width: 850px; }
.sectionNo { color: #9b8b67; font-size: 11px; letter-spacing: .2em; padding-bottom: 10px; }
.serviceGrid { cursor: ew-resize; scroll-behavior: smooth; }
.serviceGrid.is-hovering { scroll-behavior: auto; }
.serviceGrid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 3px 24px; scrollbar-width: none; }
.serviceGrid::-webkit-scrollbar { display: none; }
.serviceCard { flex: 0 0 clamp(310px, 31vw, 430px); min-height: 465px; border: 1px solid #c9a9685c; border-radius: 22px; background: #07182d; position: relative; overflow: hidden; transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease; scroll-snap-align: start; box-shadow: 0 20px 50px #02091766; }
.serviceCard:hover { transform: translateY(-8px); border-color: #e1c078; box-shadow: 0 26px 70px #020917aa, 0 0 0 1px #d6b66d22 inset; }
.serviceVisual { height: 235px; background-image: linear-gradient(180deg, transparent 38%, #07182d 100%), linear-gradient(120deg, #07182d1a, #c69a4140), var(--service-image); background-size: cover; background-position: center; filter: saturate(.78) contrast(1.06); transition: transform .55s ease, filter .55s ease; }
.serviceCard:hover .serviceVisual { transform: scale(1.045); filter: saturate(1) contrast(1.08); }
.serviceCopy { position: relative; padding: 25px 29px 30px; background: linear-gradient(180deg, #07182d 0%, #061326 100%); min-height: 230px; }
.serviceIcon { position: absolute; inset-block-start: -36px; inset-inline-start: 27px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #f3d896; background: #0b203a; border: 1px solid #d1ad615e; box-shadow: 0 12px 28px #020917aa; }
.cardNo { position: absolute; inset-block-start: 24px; inset-inline-end: 28px; color: #d9bb78; font-size: 11px; letter-spacing: .16em; }
.serviceCard h3 { font-size: 22px; font-weight: 600; margin: 30px 0 15px; color: #fff; }
.serviceCard p { color: #b8c4d2; line-height: 1.95; font-size: 13px; margin: 0; }

.lead { max-width: 720px; color: var(--muted); line-height: 1.9; font-size: 15px; margin: 24px 0 0; }
.industries { background: var(--paper); }
.industryGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industryCard { min-height: 510px; padding: 28px; background-size: cover; background-position: center; color: white; display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s, filter .35s; }
.industryCard:hover { transform: translateY(-7px); filter: saturate(1.1); }
.industryCard > span { color: var(--gold-light); font-size: 11px; letter-spacing: .16em; }
.industryCard h3 { font-size: 32px; margin: 0 0 14px; }
.industryCard p { color: #d3d8de; font-size: 13px; line-height: 1.85; margin: 0; max-width: 380px; }

.capacity { min-height: 670px; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: white; }
.capacityImage { overflow: hidden; position: relative; }
.capacityImage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--navy)); }
.rtl .capacityImage::after { background: linear-gradient(270deg, transparent 50%, var(--navy)); }
.capacityImage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) saturate(.75); }
.capacityContent { padding: 100px clamp(45px, 7vw, 105px); align-self: center; }
.capacityList { margin-top: 50px; border-top: 1px solid #ffffff2b; }
.capacityList > div { min-height: 72px; display: grid; grid-template-columns: 48px 1fr 30px; align-items: center; border-bottom: 1px solid #ffffff2b; }
.capacityList b { color: var(--gold); font-size: 11px; }
.capacityList span { font-size: 15px; }
.capacityList i { color: var(--gold); font-style: normal; }

.projects { background: var(--paper); }
.projectGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.projectImage { width: 100%; height: 360px; overflow: hidden; position: relative; background: #ddd; border: 0; padding: 0; cursor: pointer; text-align: inherit; display: block; }
.projectImage img { width: 100%; height: 100%; object-fit: cover; transition: .5s; filter: saturate(.72); }
.projectCard:hover img { transform: scale(1.045); filter: saturate(1); }
.projectImage span { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; background: var(--navy); color: var(--gold); padding: 8px 10px; font-size: 10px; }
.projectImage i { position: absolute; inset-block-end: 18px; inset-inline-end: 18px; background: #fff; color: var(--navy); padding: 10px 13px; font-size: 10px; font-style: normal; font-weight: 700; box-shadow: 0 8px 30px #0004; }
.projectYear { color: #98792f !important; text-transform: uppercase; letter-spacing: .11em; font-size: 10px !important; margin: 23px 0 10px !important; }
.projectCard h3 { margin: 0 0 13px; font-size: 23px; }
.projectCard > p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 13px; }
.projectCard .projectImage { text-decoration: none; }
.projectPage { background: var(--paper); min-height: 100vh; color: var(--navy); }
.projectHeader { position: relative; background: var(--navy); color: #fff; }
.projectHeader .brand { color: #fff; }
.backHome { color: #fff; text-decoration: none; font-size: 12px; border-bottom: 1px solid #ffffff55; padding-bottom: 4px; }
.projectHero { min-height: 520px; display: flex; align-items: flex-end; padding: 80px 7vw; position: relative; background: linear-gradient(90deg,rgba(5,18,34,.96),rgba(5,18,34,.18)),var(--project-hero) center/cover; color: #fff; }
.projectHero:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#061426aa,transparent 60%); }
.projectHero > div { position:relative; z-index:1; max-width:850px; }
.projectHero p { color:var(--gold); font-size:13px; letter-spacing:.08em; }
.projectHero h1 { font-size:clamp(38px,6vw,76px); line-height:1.25; margin:12px 0; }
.projectHero span { font-family:Arial,sans-serif; font-size:15px; opacity:.8; }
.projectDetail { display:grid; grid-template-columns:.8fr 1.2fr; gap:7vw; align-items:start; }
.projectDetailIntro { position:sticky; top:30px; }
.projectDetailIntro h2 { font-size:36px; line-height:1.5; margin:10px 0 20px; }
.projectDetailIntro > p:last-child { color:var(--muted); line-height:2; }
.scopeList { list-style:none; margin:0; padding:0; counter-reset:scope; }
.scopeList li { counter-increment:scope; display:grid; grid-template-columns:48px 1fr; gap:18px; border-top:1px solid var(--line); padding:22px 0; align-items:start; }
.scopeList li:before { content:counter(scope,decimal-leading-zero); color:var(--gold); font:700 12px Arial; padding-top:6px; }
.scopeList p { margin:0; line-height:2; font-size:15px; }
.projectGallery { background:var(--navy); color:#fff; }
.detailGallery { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.detailGallery button { border:0; padding:0; height:300px; position:relative; overflow:hidden; cursor:pointer; background:#10243b; }
.detailGallery img { width:100%; height:100%; object-fit:cover; transition:.45s; }
.detailGallery button:hover img { transform:scale(1.045); }
.detailGallery span { position:absolute; inset:14px auto auto 14px; background:var(--gold); color:var(--navy); padding:7px 9px; font:700 10px Arial; }
.projectCta { background:#0b2038; color:#fff; padding:70px 7vw; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.projectCta h2 { margin:0; font-size:30px; }
@media(max-width:800px){.projectHeader{padding:16px 5vw}.projectHeader .brand span{display:none}.backHome{font-size:10px}.projectHero{min-height:390px;padding:50px 6vw}.projectDetail{grid-template-columns:1fr}.projectDetailIntro{position:static}.detailGallery{grid-template-columns:1fr 1fr}.detailGallery button{height:210px}.projectCta{align-items:flex-start;flex-direction:column}.projectCta h2{font-size:24px}}
@media(max-width:480px){.detailGallery{grid-template-columns:1fr}.detailGallery button{height:260px}}
.projectMeta { border-top: 1px solid var(--line); margin: 24px 0 0; padding: 8px 0 0; }
.projectMeta div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.projectMeta dt { color: #9a7a31; font-size: 10px; font-weight: 700; }
.projectMeta dd { margin: 0; color: #4e5c6a; font-size: 12px; line-height: 1.6; }
.partners { min-height: 140px; padding: 25px clamp(24px, 8vw, 130px); display: flex; gap: clamp(25px, 5vw, 80px); align-items: center; justify-content: center; background: white; border-top: 1px solid var(--line); flex-wrap: wrap; }
.partners > span { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.partnerLogo { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 18px; border: 1px solid #e3e1da; background: #fbfaf7; }
.partnerLogo i { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); background: var(--navy); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.partnerLogo b { color: #515b65; font-size: 13px; font-weight: 600; max-width: 170px; line-height: 1.5; }

.investment { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--navy-2); color: white; }
.investmentImage { background: linear-gradient(90deg, #07182d33, var(--navy-2)), url("/partnership.png") center/cover; min-height: 500px; filter: saturate(.6); }
.rtl .investmentImage { background: linear-gradient(270deg, #07182d33, var(--navy-2)), url("/partnership.png") center/cover; }
.investmentContent { padding: 95px clamp(45px, 7vw, 110px); align-self: center; }
.investmentContent p:not(.eyebrow) { color: #c0c8d0; line-height: 1.95; margin: 28px 0 32px; }
.textLink { color: var(--gold-light); display: inline-flex; gap: 22px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #c9a44978; font-size: 13px; }

.story { background: white; }
.storyIntro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.storyIntro .eyebrow { grid-column: 1 / -1; margin-bottom: -35px; }
.storyIntro > p:last-child { color: var(--muted); line-height: 2; margin: 0; font-size: 15px; }
.missionGrid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.missionGrid article { padding: 34px; min-height: 240px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.missionGrid span { font-size: 10px; color: var(--gold); }
.missionGrid h3 { font-size: 22px; margin: 45px 0 14px; }
.missionGrid p { color: var(--muted); line-height: 1.9; font-size: 13px; margin: 0; }
.teamTitle { font-size: 25px; margin: 75px 0 26px; }
.teamGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teamGrid article { background: var(--paper); }
.teamGrid article { overflow: hidden; }
.teamGrid img { width: 100%; height: 430px; display: block; object-fit: contain; object-position: center bottom; background: #07182d; filter: saturate(.96) contrast(1.02); }
.teamGrid div { padding: 20px; display: flex; flex-direction: column; }
.teamGrid b { font-size: 15px; }
.teamGrid span { color: var(--muted); font-size: 9px; margin-top: 5px; letter-spacing: .08em; }

.certificates { background: var(--navy); color: white; }
.certificateGrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff26; border-inline-start: 1px solid #ffffff26; }
.certificateGrid article { min-height: 320px; padding: 30px; border-inline-end: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; }
.certificateGrid article > span { color: #8995a3; font-size: 10px; }
.certMark { width: 74px; height: 74px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); font-size: 17px; margin: 45px 0 32px; }
.certificateGrid h3 { margin: 0 0 12px; font-size: 19px; }
.certificateGrid p { color: #b9c1ca; line-height: 1.75; font-size: 12px; }
.certNote { color: #98a5b3; font-size: 11px; margin: 24px 0 0; }
.documentGrid { grid-template-columns: repeat(2, 1fr); gap: 22px; border: 0; }
.documentGrid button { min-height: 315px; display: grid; grid-template-columns: minmax(170px, .8fr) 1fr; gap: 26px; align-items: center; padding: 22px; border: 1px solid #ffffff26; background: #ffffff08; color: white; text-align: inherit; cursor: zoom-in; position: relative; transition: .25s; }
.documentGrid button:hover { border-color: var(--gold); background: #ffffff0d; transform: translateY(-3px); }
.documentGrid button > span { position: absolute; top: 16px; inset-inline-end: 18px; color: var(--gold); font-size: 10px; }
.documentGrid img { width: 100%; height: 265px; object-fit: contain; background: #e9ebee; filter: contrast(1.06) saturate(.78); }
.documentGrid h3 { font-size: 20px; line-height: 1.6; margin: 0 0 12px; }
.documentGrid p { color: #aeb8c3; line-height: 1.8; margin: 0; font-size: 11px; }
.documentDownloads { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.documentDownloads a { border: 1px solid #ffffff31; padding: 14px 18px; color: var(--gold-light); font-size: 12px; }
.documentDownloads a:hover { border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: #020811f2; backdrop-filter: blur(10px); display: grid; place-items: center; padding: 28px; }
.lightbox[hidden] { display: none; }
.lightboxClose { position: fixed; z-index: 105; top: 18px; inset-inline-end: 22px; width: 48px; height: 48px; border: 1px solid #ffffff4c; border-radius: 50%; background: #07182d; color: white; font-size: 30px; cursor: pointer; }
.lightboxStage { width: min(1200px, 92vw); position: relative; }
.lightboxStage > img { width: 100%; height: min(70vh, 760px); object-fit: contain; display: block; background: #020811; }
.lightboxBar { min-height: 58px; background: white; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }
.lightboxBar b { font-size: 14px; }
.lightboxBar span, .lightboxBar a { color: #846725; font-size: 11px; }
.galleryPrev, .galleryNext { position: absolute; top: 42%; width: 50px; height: 70px; border: 0; background: #07182dd9; color: var(--gold); font-size: 38px; cursor: pointer; }
.galleryPrev { left: 0; }
.galleryNext { right: 0; }
.galleryThumbs { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.galleryThumbs button { width: 80px; height: 56px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.galleryThumbs button.active { border-color: var(--gold); opacity: 1; }
.galleryThumbs img { width: 100%; height: 100%; object-fit: cover; }
.certificateStage { height: 90vh; max-width: min(1200px, 92vw); overflow: auto; background: #eef0f2; box-shadow: 0 30px 90px #0008; }
.certificateStage > img { width: 100%; height: auto; display: block; filter: contrast(1.08) saturate(.85); }
.certificateStage .lightboxBar { position: sticky; bottom: 0; }

.news { background: var(--paper); }
.newsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.newsGrid article { background: white; padding: 34px; min-height: 300px; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.newsGrid article > span { font-size: 9px; color: #9b7b34; letter-spacing: .13em; }
.newsGrid h3 { font-size: 22px; line-height: 1.55; margin: 38px 0 14px; }
.newsGrid p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; }
.newsGrid a { margin-top: auto; padding-top: 24px; color: #8f6e25; font-size: 12px; }

.contact { background: #061426; color: white; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; padding: 110px clamp(24px, 8vw, 130px); }
.contact h2 { max-width: 750px; }
.contact > div > p:not(.eyebrow) { color: #b9c1ca; margin: 24px 0 35px; }
.contactInfo { display: flex; flex-direction: column; justify-content: center; border-inline-start: 1px solid #ffffff24; padding-inline-start: 50px; gap: 16px; }
.contactInfo a { font-size: 16px; }
.phoneNumber { direction: ltr; unicode-bidi: isolate; text-align: start; align-self: flex-start; font-variant-numeric: tabular-nums; }
.contactInfo address { color: #aeb7c1; line-height: 1.9; font-size: 13px; font-style: normal; margin-top: 10px; }
.whatsapp { color: var(--gold-light); margin-top: 10px; font-size: 13px !important; }
.contactForm { grid-column: 1 / -1; margin-top: 15px; border-top: 1px solid #ffffff24; padding-top: 55px; }
.contactForm h3 { font-size: 25px; margin: 0 0 34px; }
.formGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contactForm label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.contactForm label span { color: #aeb7c1; font-size: 11px; }
.contactForm input, .contactForm textarea { width: 100%; border: 1px solid #ffffff2d; background: #ffffff08; color: white; padding: 15px; outline: none; resize: vertical; font: inherit; }
.contactForm input:focus, .contactForm textarea:focus { border-color: var(--gold); }
.contactForm button { cursor: pointer; }
footer { background: #030d19; color: #aeb7c1; padding: 34px clamp(24px, 8vw, 130px); display: flex; justify-content: space-between; align-items: center; }
.footerBrand { display: flex; align-items: center; gap: 12px; }
.footerBrand > span { width: 42px; height: 42px; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.footerBrand div { display: flex; flex-direction: column; }
.footerBrand b { color: white; font-size: 11px; }
.footerBrand small { font-size: 8px; margin-top: 4px; }
footer p { font-size: 9px; letter-spacing: .1em; }
footer > a { width: 38px; height: 38px; border: 1px solid #ffffff2d; display: grid; place-items: center; color: var(--gold); }

@media (max-width: 980px) {
  .nav { position: absolute; top: 96px; left: 0; right: 0; background: #07182df8; padding: 28px; flex-direction: column; transform: translateY(-150%); opacity: 0; transition: .3s; }
  .nav.open { transform: translateY(0); opacity: 1; }
  .menu { display: block; }
  .heroContent { padding-inline: 7vw; }
  .stats { inset-inline-start: 7vw; }
  .about, .capacity, .investment, .contact { grid-template-columns: 1fr; }
  .about { gap: 10px; }
  .capacityImage { height: 420px; }
  .capacityImage::after, .rtl .capacityImage::after { background: linear-gradient(180deg, transparent 55%, var(--navy)); }
  .serviceCard { flex-basis: 50%; }
  .industryGrid, .teamGrid, .newsGrid { grid-template-columns: 1fr; }
  .brandFilm { min-height: 280px; height: 48vw; margin: 48px auto; }
  .filmPlay { width: 124px; height: 124px; top: 120px; inset-inline-end: 7vw; transform: none; }
  .filmPlay:hover { transform: scale(1.04); }
  .filmPlay span { width: 44px; height: 44px; }
  .documentGrid { grid-template-columns: 1fr; }
  .industryCard { min-height: 420px; }
  .storyIntro { grid-template-columns: 1fr; gap: 25px; }
  .storyIntro .eyebrow { grid-column: auto; margin-bottom: 0; }
  .missionGrid { grid-template-columns: 1fr; }
  .certificateGrid { grid-template-columns: repeat(2, 1fr); }
  .projectGrid { grid-template-columns: 1fr; gap: 60px; }
  .projectImage { height: 480px; }
  .investmentImage { order: 2; }
  .contactInfo { border-inline-start: 0; border-top: 1px solid #ffffff24; padding-inline-start: 0; padding-top: 40px; }
}

@media (max-width: 620px) {
  .header { height: 78px; padding-inline: 18px; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .nav { top: 78px; }
  .hero { min-height: 800px; }
  .heroContent { padding: 150px 22px 210px; }
  h1 { font-size: 46px; }
  .rtl h1 { font-size: 44px; }
  .stats { inset-inline: 22px; }
  .stat { width: 33.33%; padding-inline: 8px; }
  .stat strong { font-size: 24px; }
  .stat span { font-size: 9px; }
  .scrollMark { display: none; }
  .section { padding: 85px 22px; }
  h2 { font-size: 39px; }
  .serviceCard { flex-basis: 86%; }
  .serviceCard { min-height: 300px; }
  .sectionNo { display: none; }
  .capacityImage { height: 330px; }
  .capacityContent, .investmentContent { padding: 75px 22px; }
  .projectImage { height: 330px; }
  .brandFilm { min-height: 210px; height: 56vw; margin: 28px 14px; }
  .filmPlay { top: 90px; inset-inline-end: 22px; }
  .filmCopy h2 { font-size: 39px; }
  .documentGrid button { grid-template-columns: 1fr; }
  .documentGrid img { height: 290px; }
  .lightbox { padding: 10px; }
  .galleryPrev, .galleryNext { width: 42px; height: 60px; }
  .lightboxStage > img { height: 62vh; }
  .certificateGrid { grid-template-columns: 1fr; }
  .formGrid { grid-template-columns: 1fr; gap: 0; }
  .teamGrid img { height: 390px; }
  .contact { padding: 80px 22px; gap: 55px; }
  footer { gap: 25px; align-items: flex-start; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
