/* ============================================================
   ECJ TECHNOLOGY S.A. — Sitio Web Corporativo
   Paleta: #0D2257 | #0066AA | #00A8E8 | #EEF4FA
   Tipografía: Roboto Condensed (headings) + Inter (cuerpo)
   ============================================================ */

/* 1. Variables
   ------------------------------------------------------------ */
:root {
  --dark:   #0D2257;
  --mid:    #0066AA;
  --light:  #00A8E8;
  --bg:     #EEF4FA;
  --text:   #444444;
  --white:  #FFFFFF;
  --border: #CCCCCC;
  --shadow: 0 4px 28px rgba(13,34,87, 0.13);
  --radius: 4px;
  --tr: 0.22s ease;
  --font-h: 'Roboto Condensed', sans-serif;
  --font-b: 'Inter', sans-serif;
}

/* 2. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); color: var(--text); line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 3. Utilities
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section        { padding: 88px 0; }
.section--bg    { background: var(--bg); }
.section--dark  { background: var(--dark); }

.label {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--light);
}

.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* 4. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5 { font-family: var(--font-h); line-height: 1.08; }

h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 700; color: var(--dark); }
h3 { font-size: clamp(1.2rem, 2vw, 1.625rem); font-weight: 400; color: var(--mid); }
h4 { font-size: 1.0625rem; font-weight: 700; color: var(--dark); }
h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--light); }

p { font-size: 1rem; line-height: 1.72; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* 5. Section Header
   ------------------------------------------------------------ */
.section-header { margin-bottom: 60px; }
.section-header .label { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.0625rem;
  color: #666;
  max-width: 660px;
  line-height: 1.75;
}
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.section-header--dark h2,
.section-header--dark p { color: var(--white); }
.section-header--dark p { color: rgba(255,255,255,0.75); }

/* 6. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-b);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  line-height: 1;
}
.btn--primary   { background: var(--mid);   color: var(--white); border-color: var(--mid); }
.btn--primary:hover { background: var(--dark); border-color: var(--dark); }
.btn--outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--dark); }
.btn--outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline-dark:hover { background: var(--dark); color: var(--white); }
.btn--lg { padding: 17px 38px; font-size: 1rem; }

/* 7. Header / Navigation
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.header.scrolled {
  background: var(--dark);
  padding: 11px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo img {
  height: 44px;
  width: auto;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  transition: height var(--tr);
}
.header.scrolled .logo img { height: 38px; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-family: var(--font-h);
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.4px;
  position: relative;
  transition: color var(--tr);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 2px;
  background: var(--light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover,
.nav__link.active { color: var(--white); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__cta { margin-left: 4px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 8. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #080F2A 0%, #0D2257 45%, #07509A 100%);
  background-size: cover;
  background-position: center;
}
/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,232,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,232,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
/* Photo overlay — active when photo is set */
.hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,34,87,0.88) 0%, rgba(13,34,87,0.62) 55%, rgba(13,34,87,0.45) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  padding: 120px 0 80px;
}
.hero__label { margin-bottom: 24px; }
.hero__title { color: var(--white); margin-bottom: 26px; }
.hero__title strong { color: var(--light); font-weight: 700; }
.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-h);
  font-size: 0.625rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.75; transform: translateX(-50%) translateY(7px); }
}

/* 9. Page Hero (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 148px 0 88px;
  background: linear-gradient(135deg, #080F2A 0%, #0D2257 50%, #07509A 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,232,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,34,87,0.68);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero__inner .label { margin-bottom: 18px; }
.page-hero__inner h1 { color: var(--white); margin-bottom: 20px; }
.page-hero__inner p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin: 0;
}

/* 10. Value Proposition Cards
   ------------------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  padding: 36px 28px;
  text-align: center;
  background: var(--white);
  border-radius: 6px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.value-card:hover {
  border-bottom-color: var(--light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.value-icon {
  width: 68px; height: 68px;
  background: rgba(0,168,232,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.625rem;
  color: var(--light);
  transition: background var(--tr);
}
.value-card:hover .value-icon { background: rgba(0,168,232,0.18); }
.value-card h4 { margin-bottom: 14px; font-size: 1rem; letter-spacing: 0.3px; }
.value-card p { font-size: 0.9375rem; color: #666; line-height: 1.72; }

/* 11. Sector Cards
   ------------------------------------------------------------ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}
.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(13,34,87,0.28);
}
/* Gradient backgrounds (replace with photos by setting background-image) */
.sector-card--hidro  { background-color: #0C1840; background-image: linear-gradient(160deg, #080F2A 0%, #0D2257 60%, #0059A0 100%); }
.sector-card--energia{ background-color: #080C25; background-image: linear-gradient(160deg, #060B1A 0%, #074480 60%, #0066AA 100%); }
.sector-card--mineria{ background-color: #0A0E1F; background-image: linear-gradient(160deg, #060912 0%, #0A1A55 60%, #0062A5 100%); }
/* Overlay for photo versions */
.sector-card.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,42,0.93) 0%, rgba(13,34,87,0.45) 55%, transparent 100%);
}
.sector-card__icon {
  position: absolute;
  top: 28px; left: 28px;
  font-size: 2rem;
  color: rgba(0,168,232,0.85);
}
.sector-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  width: 100%;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease;
}
.sector-card:hover .sector-card__body { border-top-color: var(--light); }
.sector-card__body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sector-card__body p { color: rgba(255,255,255,0.78); font-size: 0.875rem; margin: 0; line-height: 1.55; }

/* 12. Stats Band
   ------------------------------------------------------------ */
.stats-band {
  background: var(--dark);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.stat-suffix {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 0.65em;
}
.stat-label {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  display: block;
}

/* 13. Service Cards
   ------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-grid--3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  border-top: 3px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.service-card:hover {
  border-top-color: var(--light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-card__icon {
  font-size: 1.75rem;
  color: var(--light);
  margin-bottom: 20px;
}
.service-card h4 { margin-bottom: 12px; }
.service-card p { font-size: 0.9375rem; color: #666; line-height: 1.68; margin-bottom: 22px; }
.service-card__link {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap var(--tr);
}
.service-card__link:hover { gap: 12px; }

/* 14. Clients Grid
   ------------------------------------------------------------ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.client-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  border: 1px solid #E2E8F5;
  transition: background var(--tr);
  gap: 8px;
}
.client-cell:hover { background: var(--bg); }
.client-logo-text {
  font-family: var(--font-h);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #AABBDD;
  text-align: center;
  transition: color var(--tr);
}
.client-cell:hover .client-logo-text { color: var(--dark); }
.client-logo-img {
  max-height: 44px;
  width: auto;
  filter: grayscale(100%) opacity(0.45);
  transition: filter var(--tr);
}
.client-cell:hover .client-logo-img { filter: grayscale(0%) opacity(1); }
.client-sector {
  font-size: 0.6875rem;
  color: #BBCCEE;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* 15. CTA Band
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 1.0625rem; margin-bottom: 40px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 16. Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.footer-col h5 { margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--tr);
}
.footer-col ul a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.footer-contact li i {
  color: var(--light);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}
.footer-contact a { color: rgba(255,255,255,0.65); transition: color var(--tr); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.38); margin: 0; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: all var(--tr);
}
.social-btn:hover {
  border-color: var(--light);
  color: var(--light);
  background: rgba(0,168,232,0.1);
}

/* 17. About Page
   ------------------------------------------------------------ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  border-radius: 6px;
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, #0C1840, #0A1A55);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-photo.has-photo { background: none; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder-icon { font-size: 4rem; color: rgba(0,168,232,0.3); }

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.mvv-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  border-top: 3px solid var(--mid);
}
.mvv-card h4 { color: var(--dark); margin-bottom: 12px; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 1px; }
.mvv-card p { font-size: 0.9375rem; color: #666; }

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #EEF0F8;
  font-size: 0.9375rem;
  color: var(--text);
}
.values-list li:last-child { border-bottom: none; }
.values-list li i { color: var(--light); margin-top: 3px; font-size: 1rem; flex-shrink: 0; }
.values-list li strong { color: var(--dark); }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.infra-card {
  border-radius: 6px;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #080C1A, #0D2257);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.infra-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(13,34,87,0.3); }
.infra-card.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,42,0.92) 0%, transparent 65%);
}
.infra-card__icon-top {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 1.875rem;
  color: rgba(0,168,232,0.7);
}
.infra-card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.infra-card__body h4 { color: var(--white); margin-bottom: 6px; }
.infra-card__body p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: 6px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(13,34,87,0.07);
  transition: box-shadow var(--tr), transform var(--tr);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), var(--mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem; color: var(--white);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-card__role {
  font-size: 0.875rem;
  color: var(--mid);
  font-family: var(--font-h);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.team-card p { font-size: 0.875rem; color: #777; line-height: 1.65; }

.repr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.repr-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  border-left: 4px solid var(--light);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  transition: box-shadow var(--tr);
}
.repr-card:hover { box-shadow: var(--shadow); }
.repr-icon {
  width: 52px; height: 52px;
  background: rgba(0,168,232,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  font-size: 1.375rem;
}
.repr-card h4 { margin-bottom: 2px; font-size: 1.0625rem; }
.repr-country { font-size: 0.8125rem; color: var(--mid); font-weight: 600; margin-bottom: 8px; display: block; }
.repr-card p { font-size: 0.9375rem; color: #666; margin: 0; }

/* 18. Services Page
   ------------------------------------------------------------ */
.services-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 19. Service Subpage
   ------------------------------------------------------------ */
.service-hero-detail {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 56px;
  align-items: start;
}
.service-detail-photo {
  border-radius: 6px;
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, #0C1840, #07509A);
  display: flex; align-items: center; justify-content: center;
  background-size: cover;
  background-position: center;
}
.service-detail-photo.has-photo { background-color: transparent; }

.norm-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.norm-tag {
  background: var(--bg);
  border: 1px solid #D0DAF0;
  border-radius: 3px;
  padding: 5px 12px;
  font-family: var(--font-h);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
}
.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #EEF0F8;
  font-size: 0.9375rem;
  color: var(--text);
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li i { color: var(--mid); margin-top: 4px; flex-shrink: 0; }

.service-sidebar {
  position: sticky;
  top: 96px;
}
.service-sidebar-box {
  background: var(--bg);
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 24px;
}
.service-sidebar-box h5 { color: var(--dark); margin-bottom: 18px; font-size: 0.8125rem; letter-spacing: 2px; }
.service-sidebar-box ul li {
  padding: 9px 0;
  border-bottom: 1px solid #DDE4F2;
  font-size: 0.875rem;
}
.service-sidebar-box ul li:last-child { border-bottom: none; }
.service-sidebar-box ul a { color: #666; transition: color var(--tr); }
.service-sidebar-box ul a:hover { color: var(--dark); }
.service-sidebar-box ul a.current { color: var(--dark); font-weight: 600; }

/* 20. Projects Page
   ------------------------------------------------------------ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 2px solid #DDE4F0;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: all var(--tr);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border-radius: 6px;
  border-left: 4px solid var(--mid);
  padding: 28px 24px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tag {
  font-family: var(--font-h);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--light);
  background: rgba(0,168,232,0.1);
  padding: 4px 10px;
  border-radius: 2px;
}
.project-card h4 { color: var(--dark); margin-bottom: 6px; }
.project-client { font-size: 0.875rem; color: #888; font-weight: 600; margin-bottom: 12px; }
.project-card p { font-size: 0.9375rem; color: #666; margin-bottom: 12px; }
.project-norm { font-size: 0.8125rem; color: #AAA; font-family: var(--font-h); }

/* 21. Clients Page
   ------------------------------------------------------------ */
.client-profile {
  padding: 32px 28px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: box-shadow var(--tr);
}
.client-profile:hover { box-shadow: var(--shadow); }
.client-profile:nth-child(odd)  { background: var(--white); }
.client-profile:nth-child(even) { background: var(--bg); }
.client-profile-badge {
  width: 56px; height: 56px;
  background: var(--dark);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}
.client-profile h4 { margin-bottom: 4px; }
.client-profile__sector { font-size: 0.8125rem; color: var(--mid); font-weight: 600; margin-bottom: 10px; display: block; }
.client-profile p { font-size: 0.9375rem; color: #666; margin: 0; }

/* 22. Contact Page
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(0,168,232,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-item h5 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-info-item p { font-size: 0.9375rem; color: #666; margin: 0; line-height: 1.6; }
.contact-info-item a { color: var(--mid); transition: color var(--tr); }
.contact-info-item a:hover { color: var(--dark); }

.map-wrap { border-radius: 8px; overflow: hidden; margin-top: 28px; }
.map-wrap iframe { display: block; }

.contact-form {
  background: var(--bg);
  border-radius: 8px;
  padding: 40px 36px;
}
.contact-form h3 { color: var(--dark); margin-bottom: 28px; font-size: 1.375rem; font-weight: 700; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 7px;
}
.required { color: var(--mid); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #D4D9E8;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(0,102,170,0.1);
}
textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D2257' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--mid); }
.form-check label { font-family: var(--font-b); font-size: 0.875rem; font-weight: 400; letter-spacing: 0; color: #666; margin: 0; cursor: pointer; }
.form-check a { color: var(--mid); }
.form-submit { margin-top: 26px; }
.form-submit .btn { width: 100%; text-align: center; padding: 16px; }
.form-note { font-size: 0.8125rem; color: #999; margin-top: 12px; text-align: center; }

/* 23. Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-h);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--tr); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.625rem; }
.breadcrumb span { color: var(--light); }

/* 23b. Service Page Layout
   ------------------------------------------------------------ */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
}
.service-main > * + * { margin-top: 36px; }
.projects-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-main h5 {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  color: var(--dark);
  margin-bottom: 14px;
}
.equip-list { display: flex; flex-direction: column; gap: 8px; }
.equip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}
.equip-item i { color: var(--light); width: 16px; flex-shrink: 0; }

@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static !important; }
}

/* 24. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .services-all-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; }
  .repr-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-hero-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,15,40,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 1050;
  }
  .nav.open { display: flex; }
  .nav__link { font-size: 1.375rem; }
  .nav__cta { margin-left: 0; }

  .value-grid   { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid--3 { grid-template-columns: 1fr; }
  .services-all-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-mini-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; }
  .infra-grid   { grid-template-columns: 1fr; }
  .mvv-grid     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-grid    { grid-template-columns: 1fr; }
  .clients-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { flex-direction: column; align-items: center; }
}
