/* =====================================================================
   Maalaa High Rising Construction Pvt Ltd
   Shared stylesheet — clean corporate theme
   ===================================================================== */

:root {
  --navy: #141a4d;
  --navy-2: #1e2570;
  --blue: #283090;
  --blue-dark: #1e2570;
  --steel: #434c86;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-alt-2: #eef3f9;
  --text: #1d2a3a;
  --muted: #5c6b7d;
  --line: #e2e8f0;
  --gold: #c9a227;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 76, 0.08), 0 1px 2px rgba(16, 42, 76, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 35, 64, 0.10);
  --shadow-lg: 0 20px 45px rgba(12, 35, 64, 0.16);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --head: 'Poppins', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: .75rem;
}
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--navy); letter-spacing: .01em; }
.brand__tag { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--head); font-weight: 500; font-size: .96rem; color: var(--text);
  padding: 9px 14px; border-radius: 6px; transition: all .18s;
}
.nav__links a:hover { color: var(--blue); background: var(--bg-alt); }
.nav__links a.active { color: var(--blue); }
.nav__cta { margin-left: 10px; }
/* keep the header CTA button readable — override the generic nav link colours */
.nav__links a.nav__cta { color: #fff; background: var(--blue); }
.nav__links a.nav__cta:hover { color: #fff; background: var(--blue-dark); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; border-radius: 2px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s; z-index: -1;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(9,26,49,.94) 0%, rgba(16,49,92,.90) 55%, rgba(31,111,208,.78) 130%),
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  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: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
  opacity: .5;
}
.hero__inner { position: relative; z-index: 2; padding: 96px 24px 104px; max-width: 780px; }
.hero--tall .hero__inner { padding: 120px 24px 128px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero__eyebrow { color: #8fc0ff; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; font-weight: 600; font-family: var(--head); }
.hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* page hero (shorter, for interior pages) */
.pagehero .hero__inner { padding: 76px 24px 82px; }

/* ---------- Stats / highlights ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat__num { font-family: var(--head); font-size: 2rem; font-weight: 700; color: var(--blue); }
.stat__label { font-size: .95rem; color: var(--muted); margin-top: 4px; }
.stats--onhero { margin-top: -60px; position: relative; z-index: 5; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 1rem; }
.card__link { display: inline-block; margin-top: 16px; font-family: var(--head); font-weight: 600; font-size: .92rem; }

/* two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.media-panel {
  border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow-md);
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.media-panel--navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 130%); }
.media-panel--blue { background: linear-gradient(135deg, var(--blue-dark), var(--navy)); }
.media-panel__badge {
  position: absolute; left: 24px; bottom: 24px; color: #fff;
  font-family: var(--head); font-weight: 600;
}
.media-panel__badge span { display: block; font-size: 2.4rem; line-height: 1; }
.media-panel__badge small { font-size: .85rem; opacity: .8; font-weight: 400; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--steel); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist--2col { grid-template-columns: 1fr 1fr; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--head); font-weight: 700; font-size: 1.2rem;
}
.step h4 { margin-bottom: .3em; font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills li {
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--steel);
  padding: 9px 16px; border-radius: 30px; font-size: .92rem; font-family: var(--head); font-weight: 500;
}

/* timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -1px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.tl-item h4 { margin-bottom: .25em; }
.tl-item .yr { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: .9rem; letter-spacing: .05em; }
.tl-item p { color: var(--muted); margin: 0; }

/* project cards */
.project { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background:#fff; transition: transform .22s, box-shadow .22s; height:100%; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project__img { height: 190px; background-size: cover; background-position: center; position: relative; }
.project__img span { position: absolute; left: 14px; top: 14px; background: rgba(12,35,64,.85); color: #fff; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; font-family: var(--head); font-weight: 600; }
.project__body { padding: 22px 24px 26px; }
.project__body h3 { font-size: 1.15rem; margin-bottom: .35em; }
.project__body p { color: var(--muted); font-size: .96rem; margin: 0; }

/* sector list block */
.sector { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); height:100%; }
.sector h3 { font-size: 1.12rem; display:flex; align-items:center; gap:10px; }
.sector h3 svg { width:20px; height:20px; color: var(--blue); flex:none; }
.sector ul { list-style: none; margin: 14px 0 0; padding: 0; display:grid; gap:9px; }
.sector li { padding-left: 20px; position: relative; color: var(--steel); font-size: .98rem; }
.sector li::before { content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background: var(--blue); }

/* leadership table */
.people { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.person { display:flex; gap:18px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.person__avatar { width:56px; height:56px; border-radius:50%; flex:none; display:grid; place-items:center; background: linear-gradient(135deg, var(--navy), var(--blue)); color:#fff; font-family: var(--head); font-weight:600; font-size:1.15rem; }
.person__name { font-family: var(--head); font-weight:600; color: var(--navy); }
.person__role { color: var(--blue); font-size: .9rem; font-weight:500; margin-bottom: 6px; }
.person p { font-size: .93rem; color: var(--muted); margin:0; }

/* value cards */
.value h3 { display:flex; align-items:center; gap:10px; font-size:1.1rem; }
.value h3 svg { width:22px; height:22px; color: var(--blue); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 140%); color:#fff; position:relative; overflow:hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.10), transparent 45%); }
.cta-band .container { position:relative; z-index:2; text-align:center; padding: 74px 24px; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 26px; font-size:1.1rem; }
.cta-band .btn-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow:hidden; }
.faq summary { cursor:pointer; padding: 18px 22px; font-family: var(--head); font-weight:600; color: var(--navy); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.4rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin:0; color: var(--muted); }

/* contact layout */
.contact-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items:start; }
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display:flex; gap:16px; padding: 16px 0; border-bottom:1px solid var(--line); }
.info-row:last-child { border-bottom:0; }
.info-row__icon { width:44px; height:44px; border-radius:10px; flex:none; display:grid; place-items:center; background: var(--bg-alt); color: var(--blue); }
.info-row__icon svg { width:22px; height:22px; }
.info-row__label { font-family: var(--head); font-weight:600; color: var(--navy); font-size:.98rem; }
.info-row__val { color: var(--muted); font-size: .96rem; }
.info-row__val a { color: var(--muted); }
.info-row__val a:hover { color: var(--blue); }

/* form */
.form { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--head); font-weight:500; font-size:.9rem; color: var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--text); background:#fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,208,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-success { display:none; background:#e8f5ec; border:1px solid #bfe3ca; color:#1c6b3a; padding:14px 18px; border-radius: var(--radius-sm); margin-bottom:20px; font-size:.96rem; }
.form-error { background:#fdecea; border:1px solid #f5c6c2; color:#b3261e; padding:14px 18px; border-radius: var(--radius-sm); margin-bottom:20px; font-size:.96rem; }

/* map placeholder */
.map-embed { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--line); }
.map-embed iframe { display:block; width:100%; height:380px; border:0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 26px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 { color:#fff; font-size:1rem; letter-spacing:.03em; margin-bottom:18px; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand__logo { height: 62px; width:auto; display:block; }
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__tag { color: rgba(255,255,255,.6); }
.site-footer p { font-size:.95rem; }
.footer-links { list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.footer-links a { color: rgba(255,255,255,.72); font-size:.95rem; }
.footer-links a:hover { color:#fff; }
.footer-contact { display:grid; gap:12px; color: rgba(255,255,255,.82); }
.footer-contact div { display:flex; gap:11px; font-size:.95rem; }
.footer-contact svg { width:18px; height:18px; flex:none; color: #8ea2ff; margin-top:3px; }
.footer-contact a { color: rgba(255,255,255,.9); }
.footer-contact a:hover { color: #fff; }
.footer-social { display:flex; gap:10px; margin-top:18px; }
.footer-social a { width:38px; height:38px; border-radius:8px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width:18px; height:18px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:44px; padding-top:22px; text-align:center; font-size:.88rem; color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .checklist--2col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }               /* single column — avoids overflow from long words like "Nationwide" */
  .stats--onhero { margin-top: 26px; }                 /* sit below the hero cleanly instead of overlapping */
  .stat { padding: 20px 20px; }
  .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__actions .btn, .cta-band .btn { width:100%; justify-content:center; }
  /* tighter, evenly-padded hero on phones */
  .hero__inner { padding-left: 22px; padding-right: 22px; }
  .hero--tall .hero__inner { padding-top: 60px; padding-bottom: 66px; }
  .pagehero .hero__inner { padding-top: 52px; padding-bottom: 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1.05rem; }
  .section-head { margin-bottom: 34px; }
}

/* =====================================================================
   IMAGES, STATUS TAGS, SLIDERS, MODAL, TEAM PHOTOS  (added enhancements)
   ===================================================================== */

/* feature images inside split media */
.split__media img.feature-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width:100%; height:auto; display:block; }

/* home hero with full-width photo background + indigo overlay for legibility */
.hero--photo {
  background:
    linear-gradient(100deg, rgba(15,19,58,.94) 0%, rgba(20,26,77,.86) 34%, rgba(30,37,112,.60) 66%, rgba(40,48,144,.32) 100%),
    url('img/hero-building.jpg') center/cover no-repeat;
}
.hero--photo::after { opacity: .22; }
/* subtle framing variations so interior heroes don't look identical */
.hero--pos-left { background-position: 18% center; }
.hero--pos-right { background-position: 82% center; }
.hero--pos-bottom { background-position: center 72%; }
.hero--pos-high { background-position: center 28%; }

/* ---------- Status & category tags ---------- */
.tag {
  display:inline-flex; align-items:center; gap:7px;
  font-family: var(--head); font-weight:600; font-size:.72rem; letter-spacing:.04em;
  padding:5px 11px; border-radius:30px; text-transform:uppercase; line-height:1;
}
.tag__dot { width:7px; height:7px; border-radius:50%; background: currentColor; box-shadow:0 0 0 3px rgba(255,255,255,.25); }
.tag--ongoing { background:#fff3e0; color:#b3630b; }
.tag--completed { background:#e6f5ec; color:#1c7a44; }
.tag--cat { background: rgba(12,35,64,.82); color:#fff; text-transform:none; letter-spacing:.02em; }

/* ---------- Project card media + tags ---------- */
.project__media { position:relative; }
.project__tags { position:absolute; left:12px; top:12px; z-index:3; display:flex; gap:8px; flex-wrap:wrap; }
.project__body h3 { display:block; }
.project__loc { display:flex; align-items:center; gap:6px; color: var(--blue); font-size:.86rem; font-weight:500; margin:0 0 10px; }
.project__loc svg { width:15px; height:15px; flex:none; }
.project__more { margin-top:16px; padding:9px 18px; font-size:.9rem; }
.project.is-hidden { display:none; }

/* ---------- Slider ---------- */
.slider { position:relative; overflow:hidden; background: var(--navy); }
.project__media .slider { height:210px; }
.slider--tall { height:auto; aspect-ratio:16/10; border-radius: var(--radius); }
.slider__track { display:flex; height:100%; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.slider__slide { min-width:100%; height:100%; }
.slider__slide img { width:100%; height:100%; object-fit:cover; display:block; }
.slider__nav {
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:36px; height:36px; border:0; border-radius:50%; cursor:pointer;
  background: rgba(255,255,255,.9); color: var(--navy); font-size:1rem; line-height:1;
  display:grid; place-items:center; box-shadow: var(--shadow-sm); transition: background .2s, opacity .2s; opacity:0;
}
.slider:hover .slider__nav { opacity:1; }
.slider__nav:hover { background:#fff; }
.slider__nav--prev { left:10px; }
.slider__nav--next { right:10px; }
.slider__dots { position:absolute; left:0; right:0; bottom:10px; z-index:4; display:flex; justify-content:center; gap:7px; }
.slider__dot { width:8px; height:8px; border-radius:50%; border:0; padding:0; cursor:pointer; background: rgba(255,255,255,.5); transition: background .2s, transform .2s; }
.slider__dot.is-active { background:#fff; transform:scale(1.25); }
/* touch devices: always show arrows */
@media (hover: none) { .slider__nav { opacity:1; } }

/* ---------- Detail modal / lightbox ---------- */
.modal {
  position:fixed; inset:0; z-index:200; display:none;
  background: rgba(7,18,34,.72); backdrop-filter: blur(4px);
  padding:24px; overflow-y:auto;
}
.modal.is-open { display:flex; align-items:center; justify-content:center; }
.modal__dialog {
  position:relative; background:#fff; border-radius: var(--radius);
  max-width:720px; width:100%; box-shadow: var(--shadow-lg); overflow:hidden; margin:auto;
}
.modal__close {
  position:absolute; right:12px; top:12px; z-index:6; width:38px; height:38px; border:0; border-radius:50%;
  background: rgba(255,255,255,.92); color: var(--navy); font-size:1.5rem; line-height:1; cursor:pointer;
  display:grid; place-items:center; box-shadow: var(--shadow-sm);
}
.modal__close:hover { background:#fff; }
.modal__info { padding:26px 30px 32px; }
.modal__tags { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.modal__info h3 { margin:0 0 8px; font-size:1.4rem; }
.modal__info p { color: var(--muted); margin:0 0 8px; }

/* ---------- Team member photo cards ---------- */
.team-photos { display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.member { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio:1/1; background: var(--navy); }
.member__photo img { width:100%; height:100%; object-fit:cover; display:block; }
.member__body { padding:20px 22px 24px; }
.member__name { font-family: var(--head); font-weight:600; color: var(--navy); font-size:1.08rem; }
.member__role { color: var(--blue); font-size:.9rem; font-weight:500; margin:2px 0 10px; }
.member__body p { font-size:.92rem; color: var(--muted); margin:0; }

/* ---------- Project Explorer (tabs + sector filter) ---------- */
.explorer__tabs { display:inline-flex; gap:6px; padding:6px; background: var(--bg-alt); border:1px solid var(--line); border-radius:40px; margin:0 auto 24px; }
.explorer { text-align:center; }
.explorer__tab {
  border:0; background:transparent; cursor:pointer; font-family: var(--head); font-weight:600; font-size:.95rem;
  color: var(--steel); padding:10px 22px; border-radius:30px; transition: all .2s;
}
.explorer__tab:hover { color: var(--navy); }
.explorer__tab.is-active { background: var(--blue); color:#fff; box-shadow: var(--shadow-sm); }
.explorer__filters { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; align-items:center; margin:0 auto 14px; }
.explorer__filters-label { font-size:.85rem; color: var(--muted); font-family: var(--head); font-weight:500; margin-right:4px; }
.chip {
  border:1px solid var(--line); background:#fff; cursor:pointer; font-family: var(--head); font-weight:500; font-size:.85rem;
  color: var(--steel); padding:7px 15px; border-radius:30px; transition: all .18s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color:#fff; }
.explorer__count { font-size:.85rem; color: var(--muted); margin-bottom:22px; }
.explorer__grid { text-align:left; }
.explorer__more { margin-top:40px; }
.explorer__empty { color: var(--muted); padding:40px 0; }

@media (max-width: 980px) {
  .team-photos { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .team-photos { grid-template-columns: 1fr; }
  .project__media .slider { height:200px; }
  .modal { padding:12px; }
  .modal__info { padding:22px; }
  .slider__nav { width:40px; height:40px; }  /* bigger touch targets on mobile */
  .explorer__tabs { display:flex; width:100%; }
  .explorer__tab { flex:1; padding:10px 8px; font-size:.85rem; }
}

/* ---------- News / Blog ---------- */
.post { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; display:flex; flex-direction:column; height:100%; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post__img { display:block; height:180px; background-size:cover; background-position:center; background-color: var(--navy); position:relative; }
.post__img--plain { display:flex; align-items:flex-end; padding:16px; background:linear-gradient(135deg,var(--navy),var(--blue)); }
.post__img--plain span { color:#fff; font-family:var(--head); font-weight:600; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; opacity:.9; }
.post__body { padding:22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.post__meta { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.post__date { color: var(--muted); font-size:.82rem; }
.post__body h3 { font-size:1.15rem; margin:0 0 .4em; }
.post__body h3 a { color: var(--navy); }
.post__body h3 a:hover { color: var(--blue); }
.post__body p { color: var(--muted); font-size:.96rem; margin:0 0 14px; }
.post .card__link { margin-top:auto; }

/* article page */
.article { max-width:760px; margin:0 auto; }
.article__meta { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.article__title { font-size: clamp(1.8rem,3.5vw,2.5rem); margin:0 0 24px; }
.article__cover { height:360px; border-radius: var(--radius); background-size:cover; background-position:center; box-shadow: var(--shadow-md); margin-bottom:28px; }
.article__body p { font-size:1.08rem; color: var(--text); line-height:1.75; margin:0 0 1.2em; }
@media (max-width:640px){ .article__cover{ height:220px; } }
