/* ==========================================================================
   UADA DI Khan — Homepage styles
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('../fonts/merriweather-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('../fonts/merriweather-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --green: #0b5a36;
  --green-dark: #083f26;
  --green-deep: #08401f;
  --green-light: #2fae6a;
  --green-tint: #eef5f0;
  --green-tint-2: #e6f2ea;
  --green-tint-3: #eaf4ee;
  --sand: #f5d9bf;
  --brown: #8a6a4c;
  --brown-2: #6b5a48;
  --bg: #f7f5f1;
  --ink: #1e2420;
  --ink-2: #3d4640;
  --muted: #5a625c;
  --line: #e3e0d8;
  --line-hover: #b8d8c4;
  --footer: #1a211d;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --container: 1240px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }
button { font: inherit; }
h1, h2, h3 { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.page { min-height: 100vh; display: flex; flex-direction: column; }

.eyebrow {
  color: var(--brown);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}
.section-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.25;
  margin: 10px 0 0;
  color: var(--green-dark);
}
.section-head { text-align: center; margin-bottom: 40px; }
.section { padding-top: 72px; padding-bottom: 72px; }

/* Image cover helper (replaces design <image-slot>) */
.cover { width: 100%; height: 100%; object-fit: cover; }
.zoom-wrap { height: 100%; overflow: hidden; }
.zoom-wrap > img { transition: transform 600ms var(--ease); }
.hov:hover .zoom-wrap > img,
.hov:focus-within .zoom-wrap > img { transform: scale(1.05); }

.arrow { display: inline-block; transition: transform 300ms ease-out; }
.hov:hover .arrow, .hov:focus-within .arrow, a:hover > .arrow, button:hover > .arrow { transform: translateX(5px); }

/* ---------- Keyframes ---------- */
@keyframes uadaProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes uadaFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(.95); }
}
@keyframes uadaMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes uadaShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 800ms var(--ease);
}
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: linear-gradient(90deg, #0b5a36, #0f6e43); color: #fff; }
.ticker__inner { display: flex; gap: 18px; align-items: center; padding-top: 8px; padding-bottom: 8px; font-size: 14px; overflow: hidden; }
.ticker__badge {
  background: var(--sand); color: var(--green-dark); font-weight: 700;
  padding: 4px 12px; border-radius: 999px; flex-shrink: 0; position: relative; z-index: 1;
}
.ticker__viewport {
  overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__track { display: flex; width: max-content; white-space: pre; animation: uadaMarquee 45s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar { background: var(--green-dark); color: #e8efe9; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar__info, .topbar__links { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.topbar__links { gap: 16px; }
.topbar a { color: #e8efe9; transition: color 200ms; }
.topbar a:hover { color: var(--sand); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 300ms ease-out;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(8, 63, 38, .10); }
.header__flash {
  position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--sand), var(--green-light));
  opacity: 0; pointer-events: none;
}
.header__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--sand));
}
.header__inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 14px; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand__logo {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(8, 63, 38, .18);
  transition: transform 400ms var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__name { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--green); line-height: 1.2; }
.brand__city { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-2); font-weight: 600; }

.nav { display: flex; flex-wrap: wrap; gap: 2px; font-weight: 600; font-size: 15px; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; color: var(--ink); border-radius: 8px;
  transition: color 250ms ease-out, background-color 250ms ease-out;
}
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease);
}
.nav__link:hover { background: var(--green-tint); color: var(--green); }
.nav__item:hover > .nav__link::after,
.nav__item.is-open > .nav__link::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--green); }
.nav__caret { font-size: 10px; display: inline-block; transition: transform 250ms ease-out; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding-top: 6px; z-index: 60;
  opacity: 0; transform: translateY(8px); visibility: hidden;
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 250ms;
}
.nav__item.is-open .dropdown { opacity: 1; transform: none; visibility: visible; }
.dropdown__panel {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(8, 63, 38, .16); padding: 8px; display: flex; flex-direction: column;
}
.dropdown__panel a {
  padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px;
  transition: background-color 200ms, color 200ms, padding-left 200ms ease-out;
}
.dropdown__panel a:hover { background: var(--green-tint); color: var(--green); padding-left: 18px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; transition: transform 300ms var(--ease), opacity 200ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; height: clamp(480px, 74vh, 640px); background: #0e2419; overflow: hidden; }
.hero__parallax { position: absolute; top: -70px; bottom: -70px; left: 0; right: 0; will-change: transform; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; z-index: 1; transform: scale(1);
  transition: opacity 1200ms ease, transform 7000ms linear;
}
.hero__slide.is-active { opacity: 1; z-index: 2; transform: scale(1.08); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 40, 24, .92) 0%, rgba(6, 40, 24, .62) 45%, rgba(6, 40, 24, .05) 78%),
    linear-gradient(0deg, rgba(6, 40, 24, .55), rgba(6, 40, 24, 0) 35%);
}
.hero__content {
  position: relative; z-index: 4; height: 100%; color: #fff; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px;
}
.hero__badge {
  display: inline-block; background: var(--sand); color: var(--green-dark); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.hero__title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15;
  margin: 20px 0 16px; max-width: 640px; text-wrap: pretty;
}
.hero__text { font-size: 19px; line-height: 1.55; max-width: 540px; margin: 0 0 30px; color: #dfe8e1; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; pointer-events: auto; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; cursor: pointer;
  transition: transform 250ms var(--ease), box-shadow 250ms, background-color 250ms;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--sand { background: var(--sand); color: var(--green-dark); }
.btn--sand:hover { background: #fff; color: var(--green-dark); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.btn--green { background: var(--green); color: #fff; border: 0; padding: 12px 22px; }
.btn--green:hover { color: #fff; box-shadow: 0 10px 22px rgba(8, 63, 38, .3); }

.hero__controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px; }
.hero__controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #fff; }
.hero__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hero__count { font-weight: 700; letter-spacing: .08em; }
.hero__progress { width: 120px; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.hero__progress span { display: block; height: 100%; background: var(--sand); transform-origin: left; transform: scaleX(0); }
.hero__progress span.run { animation: uadaProg 6s linear forwards; }
.hero.is-paused .hero__progress span.run { animation-play-state: paused; }
.hero__caption { color: #dfe8e1; }
.hero__nav { display: flex; align-items: center; gap: 10px; }
.hero__dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45);
  transition: width 350ms var(--ease), background-color 350ms;
}
.hero__dot.is-active { width: 30px; background: var(--sand); }
.hero__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 250ms, background-color 250ms;
}
.hero__arrow:first-of-type { margin-left: 8px; }
.hero__arrow:hover { transform: scale(1.08); background: rgba(255, 255, 255, .25); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 40px; }
.stat {
  background: linear-gradient(160deg, #fff, #f3f8f4); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  box-shadow: 0 2px 6px rgba(8, 63, 38, .04);
  transition: transform 300ms var(--ease), box-shadow 300ms, border-color 300ms;
}
.stat:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 36px rgba(8, 63, 38, .12); border-color: var(--line-hover); }
.stat__value { font-family: var(--serif); font-weight: 900; font-size: 38px; color: var(--green); line-height: 1; }
.stat__suffix { font-size: 24px; }
.stat__label { font-size: 15px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ==========================================================================
   About
   ========================================================================== */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.about__media { height: 400px; }
.about__frame { height: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(8, 63, 38, .18); }
.about__title { font-family: var(--serif); font-size: 34px; line-height: 1.25; margin: 10px 0 18px; color: var(--green-dark); }
.about p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; color: var(--ink-2); }
.about p:last-of-type { margin-bottom: 24px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  transition: transform 300ms var(--ease), box-shadow 300ms;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(8, 63, 38, .12); }
.pillar__title { font-family: var(--serif); font-size: 24px; color: var(--green); font-weight: 900; }
.pillar__text { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Leadership
   ========================================================================== */
.leadership { background: linear-gradient(180deg, #f7f5f1, #eef5f0); }
.leadership .container { max-width: 1320px; }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.leader {
  height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(8, 63, 38, .06);
  transition: transform 320ms var(--ease), box-shadow 320ms;
}
.leader:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(8, 63, 38, .16); }
.leader__photo { height: 290px; flex-shrink: 0; background: #eef1ee; }
.leader__photo img { object-position: center top; }
.leader__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.role-chip {
  background: var(--green-tint-3); color: var(--green-dark); font-weight: 700; font-size: 13px;
  line-height: 1.4; padding: 10px 14px; border-radius: 16px;
}
.leader__name { font-size: 22px; margin: 16px 0 10px; color: #0e1a14; }
.leader__msg {
  font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.link-btn {
  margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0;
  font-weight: 700; font-size: 16px; color: var(--green); cursor: pointer;
  display: inline-flex; gap: 8px; align-items: center;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 30, 20, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 300ms ease-out, visibility 300ms;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  background: #fff; border-radius: 24px; max-width: 720px; width: 100%; max-height: 85vh; overflow: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3);
  transform: translateY(20px) scale(.97); transition: transform 350ms var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__photo { min-height: 260px; background: #eef1ee; }
.modal__photo img { object-position: center top; }
.modal__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.modal__name { font-family: var(--serif); font-size: 24px; margin: 4px 0 0; color: var(--green-dark); }
.modal__msg { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.modal__body .btn { margin-top: 8px; align-self: flex-start; }

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff, #f1f7f3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.services > .container, .notices > .container { position: relative; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
  animation: uadaFloat 18s ease-in-out infinite alternate;
}
.blob--a { width: 420px; height: 420px; top: -120px; left: -100px; background: rgba(47, 174, 106, .18); }
.blob--b { width: 380px; height: 380px; bottom: -140px; right: -80px; background: rgba(245, 217, 191, .55); animation-delay: -6s; }
.blob--c { width: 260px; height: 260px; top: 40%; left: 45%; background: rgba(11, 90, 54, .08); animation-delay: -11s; }
.blob--d { width: 460px; height: 460px; top: -160px; right: -120px; background: rgba(47, 174, 106, .35); }
.blob--e { width: 340px; height: 340px; bottom: -160px; left: 30%; background: rgba(245, 217, 191, .18); animation-delay: -8s; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service {
  height: 100%; position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden;
  transition: transform 320ms var(--ease), box-shadow 320ms, border-color 320ms;
}
.service::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--sand));
}
.service:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 44px rgba(8, 63, 38, .14); border-color: var(--line-hover); }
.service__num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--green-tint-2); color: var(--green);
  font-weight: 900; display: flex; align-items: center; justify-content: center; font-family: var(--serif);
  transition: transform 350ms cubic-bezier(.3, 1.4, .5, 1), background-color 300ms, color 300ms;
}
.service:hover .service__num { background: var(--green); color: #fff; transform: scale(1.12) rotate(-8deg); }
.service__title { font-size: 19px; margin: 16px 0 8px; color: var(--ink); }
.service__text { font-size: 15px; line-height: 1.6; margin: 0 0 14px; color: var(--muted); }
.more-link { font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.pill-link {
  font-weight: 700; white-space: nowrap; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--green);
  transition: background-color 250ms, color 250ms, transform 250ms;
}
.pill-link:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.project {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform 320ms var(--ease), box-shadow 320ms;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(8, 63, 38, .16); }
.project__media { height: 220px; position: relative; }
.project__status {
  position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff; padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.project__status--progress { background: #c77a2a; }
.project__status--done { background: var(--green); }
.project__status--planned { background: #4a5a8a; }
.project__body { padding: 20px 22px 24px; }
.project__title { font-size: 19px; margin: 0 0 8px; }
.project__text { font-size: 15px; line-height: 1.6; margin: 0; color: var(--muted); }

/* ==========================================================================
   DG message + Notices
   ========================================================================== */
.notices { position: relative; overflow: hidden; background: linear-gradient(135deg, #083f26, #0b5a36 60%, #0d6a40); color: #fff; }
.notices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.dg { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.dg__photo { width: 150px; height: 180px; flex-shrink: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 36px rgba(0, 0, 0, .3); background: #1b4b33; }
.dg__photo img { object-position: center top; }
.dg__body { flex: 1; min-width: 220px; }
.eyebrow--sand { color: var(--sand); }
.dg__quote { font-family: var(--serif); font-size: 20px; line-height: 1.6; margin: 14px 0 16px; }
.dg__name { font-weight: 700; }
.dg__role { color: #b9cbbf; font-size: 14px; }

.notice-list .eyebrow { margin-bottom: 14px; }
.notice {
  display: flex; gap: 16px; padding: 14px 12px; margin: 0 -12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; color: #fff;
  transition: background-color 250ms, transform 250ms ease-out;
}
.notice:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); color: #fff; }
.notice__date {
  flex-shrink: 0; width: 56px; text-align: center; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 6px 0;
}
.notice__day { font-size: 20px; font-weight: 700; }
.notice__month { font-size: 12px; color: var(--sand); }
.notice__title { font-weight: 600; line-height: 1.4; }
.notice__kind { font-size: 13px; color: #cfdcd3; margin-top: 4px; }

.skeleton-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sk {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
  background-size: 200% 100%; animation: uadaShimmer 1.3s linear infinite;
}
.sk--date { width: 56px; height: 52px; border-radius: 10px; flex-shrink: 0; }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.sk--l1 { width: 85%; height: 14px; }
.sk--l2 { width: 40%; height: 10px; }
.notice-list.is-loaded .skeleton { display: none; }
.notice-list:not(.is-loaded) .notice-items { display: none; }

/* ==========================================================================
   Media gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__frame { height: 100%; border-radius: 16px; overflow: hidden; transition: box-shadow 300ms; }
.gallery__frame:hover { box-shadow: 0 20px 40px rgba(8, 63, 38, .2); }
.gallery__frame .zoom-wrap > img { transition: transform 600ms var(--ease); }
.gallery__frame:hover .zoom-wrap > img { transform: scale(1.06); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--footer); color: #c9d2cc; margin-top: auto; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.footer__logo { width: 72px; height: 72px; border-radius: 50%; }
.footer__about { font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.footer__heading { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer__list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__list a { color: #c9d2cc; transition: color 200ms, padding-left 200ms; }
.footer__list a:hover { color: var(--sand); padding-left: 4px; }
.footer__bottom { border-top: 1px solid #2e3832; text-align: center; padding: 16px; font-size: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 63, 38, .14);
    padding: 8px var(--gutter) 16px;
    max-height: calc(100vh - 90px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 250ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { justify-content: space-between; padding: 14px 12px; border-bottom: 1px solid #f0ede6; border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__caret { font-size: 13px; padding: 10px 14px; margin: -10px -12px -10px 0; }
  .nav__link.is-active { background: var(--green-tint); border-radius: 8px; }
  .dropdown {
    position: static; min-width: 0; padding: 0; transform: none;
    opacity: 1; visibility: visible; max-height: 0; overflow: hidden;
    transition: max-height 300ms ease-out;
  }
  .nav__item.is-open .dropdown { max-height: 240px; }
  .dropdown__panel { border: 0; box-shadow: none; padding: 4px 0 8px 12px; background: transparent; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .hero__content { justify-content: flex-start; padding-top: 56px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-title { font-size: 26px; }
  .about__title { font-size: 28px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__media { height: 280px; }
  .notices__grid { grid-template-columns: 1fr; gap: 40px; }
  .topbar__info span:not(:first-child) { display: none; }
  .brand__logo { width: 52px; height: 52px; }
  .brand__name { font-size: 16px; }
  .brand__city { font-size: 12px; }
  .hero { height: auto; min-height: 560px; }
  .hero__content { padding-top: 48px; padding-bottom: 150px; }
  .hero__text { font-size: 17px; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(6, 40, 24, .78) 0%, rgba(6, 40, 24, .7) 55%, rgba(6, 40, 24, .88) 100%);
  }
  .hero__controls-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__caption { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 24px; }
  .stat { padding: 18px; }
  .stat__value { font-size: 30px; }
  .stat__suffix { font-size: 20px; }
  .leaders, .service-grid, .project-grid { grid-template-columns: 1fr; }
  .modal { padding: 16px; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__photo { min-height: 240px; height: 240px; }
  .dg__quote { font-size: 18px; }
  .projects-head { align-items: flex-start; }
}

@media (max-width: 480px) {
  .ticker__inner { gap: 10px; font-size: 13px; }
  .brand__name { font-size: 14px; }
  .brand { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--big { grid-column: auto; grid-row: span 1; }
  .dg__photo { width: 120px; height: 144px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   INNER PAGES (Contact, Tenders, News & Events)
   ========================================================================== */

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #083f26, #0b5a36 60%, #0d6a40);
}
.page-banner__bg { position: absolute; inset: 0; opacity: .22; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .blob--a { top: -160px; left: auto; right: -100px; background: rgba(47, 174, 106, .35); }
.page-banner .blob--b { width: 320px; height: 320px; bottom: -180px; right: auto; left: 20%; background: rgba(245, 217, 191, .2); animation-delay: -7s; }
.page-banner__inner { position: relative; padding-top: 64px; padding-bottom: 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #cfe2d6; }
.breadcrumb a { color: #cfe2d6; transition: color 200ms; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__current { color: var(--sand); font-weight: 600; }
.page-banner__title { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; margin: 14px 0 12px; }
.page-banner__text { font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0; color: #dfe8e1; }

.page-main { flex: 1; padding-top: 40px; padding-bottom: 72px; }
.page-main--flush { padding-top: 0; }

/* ---------- Toolbar: filter tabs + search ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #d9d5cb; background: #fff; color: var(--ink);
  transition: background-color 250ms, color 250ms, transform 250ms, box-shadow 250ms, border-color 250ms;
}
.tab:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(8, 63, 38, .14); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab__count { opacity: .7; font-weight: 600; }
.search { position: relative; display: flex; align-items: center; flex: 0 1 340px; min-width: 220px; }
.search__icon { position: absolute; left: 16px; color: #6b726d; font-size: 15px; pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 16px 12px 40px; border-radius: 999px;
  border: 1.5px solid #d9d5cb; background: #fff; color: var(--ink); transition: border-color 250ms, box-shadow 250ms;
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 174, 106, .15); outline: none;
}

.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state__title { font-family: var(--serif); font-size: 20px; color: var(--green-dark); margin-bottom: 8px; }
.empty-state .btn { margin-top: 10px; }
.empty-state--boxed { background: #fff; border: 1px dashed #cfcabd; border-radius: 20px; }
[hidden] { display: none !important; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
  margin-top: -36px; position: relative; z-index: 2;
}
.contact-card {
  height: 100%; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; color: inherit; box-shadow: 0 14px 34px rgba(8, 63, 38, .10);
  transition: transform 320ms var(--ease), box-shadow 320ms, border-color 320ms;
}
.contact-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 48px rgba(8, 63, 38, .16); border-color: var(--line-hover); color: inherit; }
.contact-card__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint-2); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  transition: transform 350ms cubic-bezier(.3, 1.4, .5, 1), background-color 300ms, color 300ms;
}
.contact-card:hover .contact-card__icon { background: var(--green); color: #fff; transform: scale(1.1) rotate(-8deg); }
.contact-card__text { min-width: 0; }
.contact-card__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.contact-card__value { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; margin-top: 4px; color: var(--ink); overflow-wrap: anywhere; }
.contact-card__sub { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

.contact-layout { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; align-items: stretch; }
.form-card {
  flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 10px 30px rgba(8, 63, 38, .06);
}
.form-card__title { font-family: var(--serif); font-size: 28px; margin: 8px 0 6px; color: var(--green-dark); }
.form-card__note { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.req { color: #c0532b; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: #2c332e; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #d9d5cb; background: #fff; color: var(--ink); transition: border-color 250ms, box-shadow 250ms;
}
.field textarea { resize: vertical; min-height: 140px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0532b; }
.field__error { font-size: 13px; font-weight: 600; color: #c0532b; }
.field__error:empty { display: none; }
.field__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.field__count { color: #8a8f8a; margin-left: auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form-actions__note { font-size: 14px; color: var(--muted); }
.btn--submit { border: 0; font-size: 16px; padding: 14px 30px; background: var(--green); color: #fff; }
.btn--submit:hover { background: #08472a; color: #fff; box-shadow: 0 12px 26px rgba(8, 63, 38, .3); }
.btn--submit[disabled] { opacity: .7; cursor: wait; transform: none; }

.form-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: #eef7f1; border: 1px solid var(--line-hover); border-radius: 18px; padding: 28px;
}
.form-success__tick { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.form-success__title { font-family: var(--serif); font-size: 22px; color: var(--green-dark); }
.form-success__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.map-col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.map-frame {
  position: relative; flex: 1; min-height: 380px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(8, 63, 38, .08); background: #e8ece6;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office-card {
  background: linear-gradient(135deg, #083f26, #0b5a36); color: #fff; border-radius: 20px; padding: 22px 24px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.office-card__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.office-card__addr { font-size: 17px; font-weight: 600; line-height: 1.45; margin-top: 4px; }
.office-card .btn { padding: 12px 20px; flex-shrink: 0; }

/* ==========================================================================
   Tenders page
   ========================================================================== */
.tender-table {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 63, 38, .06);
}
.tender-grid {
  display: grid; gap: 16px; align-items: center;
  grid-template-columns: 130px minmax(0, 1fr) 120px 120px 110px 40px;
  grid-template-areas: "no ti pu cl st ar";
}
.tender-head {
  padding: 14px 22px; background: #f3f7f4; border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tender { border-bottom: 1px solid #eeebe4; }
.tender.is-last { border-bottom: 0; }
.tender__row {
  width: 100%; font: inherit; text-align: left; background: #fff; border: 0; cursor: pointer;
  padding: 18px 22px; color: var(--ink); transition: background-color 250ms;
}
.tender__row:hover, .tender.is-open .tender__row { background: #f6faf7; }
.tender__no { grid-area: no; font-size: 14px; font-weight: 700; color: var(--green); }
.tender__ti { grid-area: ti; min-width: 0; }
.tender__title { display: block; font-weight: 700; font-size: 16px; line-height: 1.4; }
.tender__type { display: block; font-size: 13px; color: var(--brown); font-weight: 600; margin-top: 2px; }
.tender__pu { grid-area: pu; font-size: 14px; color: var(--ink-2); }
.tender__cl { grid-area: cl; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.tender__lbl { display: none; color: #6b726d; font-weight: 400; }
.tender__st { grid-area: st; }
.tender__arrow {
  grid-area: ar; justify-self: end; width: 32px; height: 32px; border-radius: 50%; background: var(--green-tint); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 12px; transition: transform 300ms var(--ease);
}
.tender.is-open .tender__arrow { transform: rotate(180deg); }
.status { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.status--open { background: #e3f3e8; color: var(--green); }
.status--soon { background: #fdecd8; color: #8a4b0f; }
.status--closed { background: #eceae5; color: #4a4f4b; }
.status--awarded { background: #e4e8f5; color: #34437a; }

.tender__details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease); }
.tender.is-open .tender__details { grid-template-rows: 1fr; }
.tender__details-inner { overflow: hidden; min-height: 0; }
.tender__panel { padding: 4px 22px 24px; display: flex; flex-wrap: wrap; gap: 24px; background: #fbfaf7; border-top: 1px dashed var(--line); }
.tender__scope { flex: 2 1 360px; min-width: 0; padding-top: 18px; }
.tender__scope .eyebrow { margin-bottom: 6px; letter-spacing: .08em; }
.tender__scope p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.tender__facts { flex: 1 1 260px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; padding-top: 18px; align-content: start; margin: 0; }
.tender__facts dt { color: #6b726d; }
.tender__facts dd { margin: 0; font-weight: 700; }
.tender__docs { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.doc-btn {
  display: inline-flex; white-space: nowrap; gap: 8px; align-items: center; font-weight: 700; font-size: 14px;
  padding: 11px 18px; border-radius: 999px; transition: transform 250ms, box-shadow 250ms, background-color 250ms, color 250ms;
}
.doc-btn--solid { background: var(--green); color: #fff; }
.doc-btn--solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(8, 63, 38, .28); }
.doc-btn--outline { border: 1.5px solid var(--green); color: var(--green); padding: 10px 18px; }
.doc-btn--outline:hover { background: var(--green); color: #fff; }
.page-note { font-size: 14px; color: var(--muted); margin: 18px 4px 0; }

/* ==========================================================================
   News & Events page
   ========================================================================== */
.news-toolbar { margin-bottom: 32px; }
.featured {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: inherit;
  box-shadow: 0 10px 30px rgba(8, 63, 38, .06);
  transition: transform 320ms var(--ease), box-shadow 320ms;
}
.featured-wrap { margin-bottom: 40px; }
.featured:hover { transform: translateY(-4px); box-shadow: 0 28px 56px rgba(8, 63, 38, .14); color: inherit; }
.featured__media { min-height: 340px; position: relative; overflow: hidden; }
.featured__media .zoom-wrap { position: absolute; inset: 0; }
.featured__badge {
  position: absolute; top: 18px; left: 18px; background: var(--sand); color: var(--green-dark); font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.featured__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured__title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; margin: 0; color: var(--green-dark); text-wrap: pretty; }
.featured__text { font-size: 17px; line-height: 1.7; color: #4a524c; margin: 0; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--brown); }
.read-link { font-weight: 700; color: var(--green); display: inline-flex; gap: 8px; align-items: center; }

.cat--development { --cat: #0b5a36; }
.cat--anti-encroachment { --cat: #c0532b; }
.cat--events { --cat: #4a5a8a; }
.cat--notices { --cat: #9a6a12; }
.news-meta__cat { color: var(--cat); }

.news-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.news-main { flex: 999 1 560px; min-width: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.news-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; color: inherit; transition: transform 320ms var(--ease), box-shadow 320ms, border-color 320ms;
}
.news-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 44px rgba(8, 63, 38, .14); border-color: var(--line-hover); color: inherit; }
.news-card__media { height: 190px; position: relative; flex-shrink: 0; }
.news-card__cat {
  position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #fff; background: var(--cat); padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.news-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: 13px; color: var(--brown); font-weight: 600; }
.news-card__title { font-size: 18px; line-height: 1.4; margin: 0; color: var(--ink); }
.news-card__text {
  font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .read-link { margin-top: auto; padding-top: 8px; font-size: 15px; gap: 6px; }
.news-full { display: none; }

.news-skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sk-light {
  background: linear-gradient(90deg, #ece8df, #f7f5f1, #ece8df); background-size: 200% 100%;
  animation: uadaShimmer 1.3s linear infinite; border-radius: 6px;
}
.sk-card__img { height: 190px; border-radius: 0; }
.sk-card__lines { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sk-card__lines .sk-light { height: 11px; }
.sk-card__lines .sk-light:nth-child(1) { width: 35%; }
.sk-card__lines .sk-light:nth-child(2) { width: 90%; height: 16px; }
.sk-card__lines .sk-light:nth-child(3) { width: 75%; }
.sk-card__lines .sk-light:nth-child(4) { width: 60%; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.page-btn {
  font: inherit; font-weight: 700; min-width: 44px; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid #d9d5cb; background: #fff; color: var(--ink); cursor: pointer;
  transition: transform 250ms, border-color 250ms, background-color 250ms, color 250ms;
}
.page-btn:hover:not([disabled]) { transform: translateY(-2px); border-color: var(--green); }
.page-btn[disabled] { opacity: .4; cursor: default; }
.page-btn--num { width: 44px; padding: 0; border-radius: 50%; }
.page-btn[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }

.news-aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 120px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.side-card__title { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--green-dark); margin-bottom: 6px; }
.press-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 8px; margin: 0 -8px; border-bottom: 1px solid #eeebe4;
  border-radius: 10px; color: var(--ink); transition: background-color 250ms, transform 250ms ease-out;
}
.press-item:last-child { border-bottom: 0; }
.press-item:hover { background: #f1f7f3; transform: translateX(4px); color: var(--ink); }
.press-item__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--green-tint-2); color: var(--green); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.press-item__title { display: block; font-weight: 600; font-size: 15px; line-height: 1.4; }
.press-item__date { display: block; font-size: 13px; color: var(--brown); margin-top: 2px; }
.follow-card { background: linear-gradient(135deg, #083f26, #0b5a36); color: #fff; border-radius: 18px; padding: 24px; }
.follow-card .side-card__title { color: #fff; margin-bottom: 8px; }
.follow-card p { font-size: 15px; line-height: 1.6; color: #dfe8e1; margin: 0 0 16px; }
.follow-card .btn { padding: 11px 20px; }

/* News modal */
.news-modal__dialog {
  background: #fff; border-radius: 24px; max-width: 760px; width: 100%; max-height: 88vh; overflow: auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3); transform: translateY(20px) scale(.97); transition: transform 350ms var(--ease);
}
.modal.is-open .news-modal__dialog { transform: none; }
.news-modal__img { height: 320px; }
.news-modal__body { padding: 30px 34px 34px; display: flex; flex-direction: column; gap: 14px; }
.news-modal__title { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 0; color: var(--green-dark); }
.news-modal__body p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.news-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.btn--outline-green { border: 1.5px solid var(--green); color: var(--green); padding: 11px 22px; background: transparent; }
.btn--outline-green:hover { background: var(--green); color: #fff; }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1080px) {
  .news-aside { position: static; }
}
@media (max-width: 760px) {
  .tender-head { display: none; }
  .tender-grid { grid-template-columns: minmax(0, 1fr) auto 32px; grid-template-areas: "no st ar" "ti ti ti" "pu cl cl"; gap: 8px 12px; }
  .tender__lbl { display: inline; }
  .tender__row { padding: 16px; }
  .tender__panel { padding: 4px 16px 20px; }
}
@media (max-width: 720px) {
  .page-banner__inner { padding-top: 44px; padding-bottom: 56px; }
  .page-banner__text { font-size: 16px; }
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .contact-layout { margin-top: 32px; gap: 24px; }
  .form-card, .map-col { flex-basis: 100%; }
  .map-frame { min-height: 300px; }
  .form-actions .btn--submit { width: 100%; text-align: center; }
  .search { flex: 1 1 100%; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 220px; }
  .featured__body { padding: 24px; }
  .news-grid, .news-skeleton { grid-template-columns: 1fr; }
  .news-modal__img { height: 220px; }
  .news-modal__body { padding: 22px; }
  .news-modal__title { font-size: 22px; }
  .office-card .btn { width: 100%; text-align: center; }
}
