/* =========================================================
   KR ENGG PVT LTD — Modern Theme
   ========================================================= */

:root {
  --navy: #0a2a4f;
  --navy-2: #0e3868;
  --navy-3: #14488a;
  --brand-blue: #0756a1;
  --accent: #e69c2a;
  --accent-dark: #b87d22;
  --steel: #5c6b7a;
  --light-bg: #f5f7fa;
  --border: #e6e9ee;
  --text: #23303f;
  --text-muted: #5d6b7a;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(10, 42, 79, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 42, 79, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 42, 79, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-light { color: #c7d3e3; }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffd98f);
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn--outline-light {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.btn--ghost {
  border-color: var(--border);
  color: var(--navy);
  padding: 10px 18px;
  font-size: 0.88rem;
}
.btn--ghost:hover { background: var(--light-bg); }
.btn--block { width: 100%; justify-content: center; }

.header__cta {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.header__cta svg { color: var(--accent); flex-shrink: 0; }
.header__cta:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.header__cta:hover svg { color: var(--navy); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 42, 79, 0.0);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 18px 0;
}
.header.is-scrolled {
  background: rgba(10, 42, 79, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__mark { transform: scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1.05rem; letter-spacing: 0.5px; }
.brand__text small { color: #b9c6d8; font-size: 0.68rem; letter-spacing: 0.5px; text-transform: uppercase; }

.nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  color: #dbe4f0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.header__cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 15% 20%, #14488a 0%, transparent 55%),
              linear-gradient(160deg, var(--navy) 0%, #051a30 100%);
  overflow: hidden;
  padding-top: 90px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 1; padding: 60px 24px 90px; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(230,156,42,0.4);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  max-width: 760px;
  margin-bottom: 22px;
}
.hero__lead {
  color: #c7d3e3;
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 780px;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 30px;
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat .counter {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
}
.hero__stat small { color: #9fb0c6; font-size: 0.78rem; }

/* ---------- Hero decoration: blueprint grid ---------- */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridDrift 30s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 90%);
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 46px 46px, -46px 46px; }
}

/* ---------- Hero decoration: glow orb ---------- */
.hero__glow {
  position: absolute;
  z-index: 0;
  top: -160px;
  left: 50%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  transform: translateX(-42%);
  background: radial-gradient(circle, rgba(230,156,42,0.32), transparent 70%);
  filter: blur(6px);
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-42%) scale(1); }
  50%      { opacity: 0.85; transform: translateX(-42%) scale(1.08); }
}

/* ---------- Hero decoration: shimmering headline ---------- */
.shimmer {
  background: linear-gradient(100deg, var(--accent) 20%, #ffdca0 40%, var(--accent) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerMove 3.5s linear infinite;
}
@keyframes shimmerMove {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---------- Hero decoration: rising sparks ---------- */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__particles span {
  position: absolute;
  bottom: -12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(230,156,42,0.6);
  opacity: 0;
  animation-name: riseSpark;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes riseSpark {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.9; }
  85%  { opacity: 0.35; }
  100% { transform: translateY(-72vh) scale(0.3); opacity: 0; }
}

/* ---------- Hero decoration: floating industry icons ---------- */
.hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.float-icon {
  position: absolute;
  color: rgba(230, 156, 42, 0.16);
  animation-name: floatIcon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.float-icon svg { width: 100%; height: 100%; }
.float-icon--1 { top: 16%;  left: 6%;   width: 64px; height: 64px; animation-duration: 9s; }
.float-icon--2 { top: 64%;  left: 11%;  width: 46px; height: 46px; animation-duration: 7s;  animation-delay: 1s; color: rgba(255,255,255,0.09); }
.float-icon--3 { top: 20%;  right: 8%;  width: 58px; height: 58px; animation-duration: 10s; animation-delay: 2s; }
.float-icon--4 { top: 68%;  right: 13%; width: 42px; height: 42px; animation-duration: 6.5s; animation-delay: 0.5s; color: rgba(255,255,255,0.09); }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}
@media (max-width: 900px) {
  .hero__floaters { display: none; }
}

/* ---------- Hero decoration: rotating ISO seal badge ---------- */
.hero__badge {
  position: absolute;
  z-index: 2;
  top: 130px;
  right: 6%;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0.9;
  animation: badgeSpin 20s linear infinite;
}
.hero__badge-core {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffdca0, var(--accent));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(230,156,42,0.14), var(--shadow-md);
}
@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 1200px) {
  .hero__badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__grid, .hero__glow, .shimmer, .hero__particles span, .float-icon, .hero__badge-ring {
    animation: none !important;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--light-bg); }
.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, #051a30 100%);
  color: #dbe4f0;
}
.section--dark h3, .section--dark h4 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 10px 0 14px; }
.section-tag {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.section-tag--light { color: var(--accent); }
.lead-text { color: var(--text-muted); font-size: 1.03rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.grid-2.align-center { align-items: center; }
.grid-2.align-start { align-items: start; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  background: #eef3fa;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.info-card h4 { margin-bottom: 18px; }
.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { color: var(--text-muted); }
.info-list strong { text-align: right; color: var(--navy); font-weight: 600; }

/* ---------- Facility cards ---------- */
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.facility-card__icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.facility-card h3 { margin-bottom: 6px; }
.facility-card__loc { color: var(--text-muted); margin-bottom: 14px; }
.facility-card__area { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); }
.facility-card__area span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.service-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 24px;
}
.service-card--wide .service-card__icon { margin-bottom: 0; flex-shrink: 0; }
.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-card__icon { background: var(--navy); color: var(--accent); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Strengths / policies ---------- */
.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: #dbe4f0;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 70px;
}
.policy-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
}
.policy-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--accent); }
.policy-card__head h3 { color: var(--white); margin: 0; }
.policy-card ul { display: flex; flex-direction: column; gap: 12px; }
.policy-card li {
  position: relative;
  padding-left: 22px;
  color: #c7d3e3;
  font-size: 0.93rem;
}
.policy-card li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 900;
}

/* ---------- Organogram ---------- */
.org-chart { display: flex; flex-direction: column; align-items: center; }
.org-node {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.org-node--sm { border-color: var(--accent); color: var(--accent-dark); font-size: 0.82rem; padding: 9px 14px; }
.org-connector { width: 2px; height: 26px; background: var(--border); }
.org-branches {
  display: flex;
  gap: 90px;
  margin-top: 26px;
  position: relative;
}
.org-branches::before {
  content: "";
  position: absolute;
  top: -26px; left: 50%;
  width: 60%;
  max-width: 500px;
  height: 26px;
  border-top: 2px solid var(--border);
  transform: translateX(-50%);
}
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.org-branch .org-node { margin-bottom: 0; }
.org-branch__split {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.org-mini { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-card__no {
  position: absolute;
  top: -14px; right: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--light-bg);
  z-index: 0;
}
.project-card h3 { position: relative; z-index: 1; margin-bottom: 4px; }
.project-card__loc {
  position: relative; z-index: 1;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.project-card p:last-child { position: relative; z-index: 1; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Leadership ---------- */
.lead-feature {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 50px;
}
.lead-feature img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.lead-feature__role { color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.lead-feature p a { color: var(--navy); font-weight: 600; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card__avatar {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.team-card h4 { font-size: 1rem; margin-bottom: 2px; }
.team-card__role { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 10px; }
.team-card__contact { font-size: 0.8rem; }
.team-card__contact a { color: var(--navy); }
.team-card__contact a:hover { color: var(--accent-dark); }

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.cert-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.cert-card__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cert-card h4 { color: var(--white); margin-bottom: 6px; font-size: 1.02rem; }
.cert-card p { color: #aebdd1; font-size: 0.88rem; margin-bottom: 10px; }
.cert-card__no {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(230,156,42,0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- Contact ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.contact-block {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-block h4 { margin-bottom: 10px; font-size: 1.02rem; }
.contact-block p { color: var(--text-muted); font-size: 0.94rem; }
.contact-block a { color: var(--navy); font-weight: 600; }
.contact-block a:hover { color: var(--accent-dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #061f3a; padding: 50px 0 26px; color: #9fb0c6; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__logo-panel {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.footer__logo-panel img { height: 26px; width: auto; display: block; }
.footer__tagline { font-size: 0.85rem; color: #9fb0c6; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 0.9rem; }
.footer__links a:hover { color: var(--accent); }
.footer__meta { text-align: right; font-size: 0.82rem; }
.footer__meta p:first-child { margin-bottom: 4px; }
@media (max-width: 760px) {
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__meta { text-align: center; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark); }

/* ---------- Scroll reveal ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-aos].is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1050px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 42, 79, 0.98);
    padding: 20px 24px 28px;
    gap: 16px;
  }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: 1fr; }
  .org-branches { gap: 40px; }
}

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; text-align: center; }
  .policy-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .lead-feature { grid-template-columns: 1fr; text-align: center; }
  .lead-feature img { max-width: 200px; margin: 0 auto; }
  .org-branches { flex-direction: column; align-items: center; gap: 30px; }
  .org-branches::before { display: none; }
  section.section { padding: 70px 0; }
}

@media (max-width: 520px) {
  .header__inner { gap: 8px; }
  .brand__text small { display: none; }
  .header__cta {
    padding: 8px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .brand__text { display: none; }
  .header__cta { padding: 8px 10px; font-size: 0.74rem; }
}
