/* =====================================================
   PREMIUM GLOBAL NAVIGATION
   Reconnect Electrical Group
===================================================== */

.site-navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 3000;
  width: calc(100% - 48px);
  max-width: 1380px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 22px 55px rgba(11, 31, 58, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    top 0.3s ease,
    width 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-navbar--home {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.08);
}

.site-navbar.is-scrolled {
  top: 10px;
  width: calc(100% - 36px);
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(223, 231, 241, 1);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.14);
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand img {
  height: 58px;
  width: auto;
  display: block;
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.site-nav-links a {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.site-nav-links a:not(.quote-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: var(--blue);
}

.site-nav-links a:hover::after,
.site-nav-links a.active::after {
  width: 100%;
}

.quote-link {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  border: 1px solid var(--navy);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.quote-link:hover {
  transform: translateY(-2px);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(27, 134, 217, 0.25);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.hero {
  padding-top: 170px;
}

.page-hero {
  padding-top: 150px;
}

@media (max-width: 900px) {
  .site-navbar {
    top: 12px;
    width: calc(100% - 28px);
    padding: 10px 12px;
    border-radius: 20px;
  }

  .site-navbar.is-scrolled {
    top: 8px;
    width: calc(100% - 20px);
  }

  .site-brand img {
    height: 48px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  body.nav-menu-open .site-nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav-links a {
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .site-nav-links a:not(.quote-link)::after {
    display: none;
  }

  .site-nav-links a:hover,
  .site-nav-links a.active {
    background: #eef6ff;
  }

  .quote-link {
    text-align: center;
    margin-top: 8px;
  }

  body.nav-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-hero {
    padding-top: 135px;
  }
}

@media (max-width: 480px) {
  .site-brand img {
    height: 42px;
  }

  .site-navbar {
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .site-nav-links {
    top: 78px;
  }
}

:root {
  --navy: #0b1f3a;
  --blue: #1b86d9;
  --light: #f5f8fc;
  --white: #ffffff;
  --text: #26364a;
  --border: #dfe7f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #f4f8ff;
  line-height: 1.7;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--blue);
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--navy);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #102a50;
  border-color: #102a50;
  color: var(--white);
}

.nav-links .btn {
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.hero {
  position: relative;
  padding: 120px 40px;
  background: linear-gradient(135deg, rgba(7, 22, 43, 0.24), rgba(22, 69, 127, 0.18)), url('../images/backgrounds/elec.webp') center/cover no-repeat;
  color: var(--white);
  min-height: 60vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.96) contrast(0.98);
  transform-origin: center;
  pointer-events: none;
}

/* ensure overlay and content sit above the video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 43, 0.28), rgba(7, 22, 43, 0.14));
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 16px 24px rgba(11, 31, 58, 0.22);
}

.hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 12px 18px rgba(11, 31, 58, 0.18);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-tag.light {
  color: #8cc7ff;
}

.services-section,
.sectors-section,
.projects-preview,
.about-home,
.stats-section,
.cta-section,
.page {
  padding: 90px 40px;
}

.stats-section {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.service-focus {
  padding: 90px 40px;
  background: #eef4fc;
}

.service-focus .section-header {
  max-width: 760px;
  margin: 0 auto 38px;
}

.service-focus .mini-card {
  min-height: 170px;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.why-section .grid-4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.why-section .mini-card {
  min-height: 170px;
}

.section-header h2,
.about-home h2,
.cta-box h2,
.page h2 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 3.2vw, 3.8rem);
  color: var(--navy);
  line-height: 1.1;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: #4d5f7f;
  font-size: 1rem;
}

.page {
  background: #f8fbff;
}

.grid,
.stats-grid,
.about-home-content,
.about-points,
.about-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3,
.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.about-home-content,
.about-grid {
  grid-template-columns: 1.15fr 1fr;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.mini-card,
.stat-card,
.project-card,
.cta-box,
.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card,
.mini-card,
.stat-card {
  padding: 28px;
}

.card:hover,
.mini-card:hover,
.stat-card:hover,
.project-card:hover,
.gallery-card:hover,
.cta-box:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 28px 70px rgba(11, 31, 58, 0.12);
}

.stat-card h3,
.card h3,
.mini-card h3,
.project-body h3 {
  margin-top: 0;
  color: var(--navy);
}

.project-card {
  overflow: hidden;
}

.project-image {
  height: 260px;
  background: linear-gradient(135deg, #dbe8f8, #b8d1ee);
  background-size: cover;
  background-position: center;
}

.project-body {
  padding: 26px;
}

.hero-highlights {
  padding: 50px 40px;
  background: linear-gradient(180deg, #f5f9ff 0%, #e9f1fb 100%);
}

.hero-highlights .highlight-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(31, 97, 187, 0.12);
  padding: 30px 26px;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.06);
}

.hero-highlights .highlight-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.hero-highlights .highlight-card p {
  margin: 0;
  color: #4d5f7f;
}

.metrics-section,
.testimonials-section {
  padding: 80px 40px;
}

.metrics-section {
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  margin-top: 24px;
}

.metric-card {
  text-align: center;
  padding: 32px 26px;
  border-radius: 28px;
  border: 1px solid rgba(27, 134, 217, 0.12);
  background: var(--white);
}

.metric-value {
  display: block;
  margin-bottom: 14px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
}

.testimonials-section {
  background: #f8fbff;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  margin-top: 24px;
}

.testimonial-card {
  padding: 34px 30px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.06);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: #4d5f7f;
  line-height: 1.75;
}

.testimonial-card strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
}

.projects-preview {
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #4d5f7f;
}

.service-list li {
  margin-bottom: 0.9rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: #32415c;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .grid-4,
  .grid-3,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar,
  .services-section,
  .sectors-section,
  .projects-preview,
  .about-home,
  .stats-section,
  .cta-section,
  .page {
    padding: 40px 20px;
  }
}

.project-body span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-home {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.cta-section {
  background: var(--navy);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, #102a50, #154178);
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 40px 40px;
  background: #0b1f3a;
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  color: var(--white);
}

.simple-footer {
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero {
  position: relative;
  padding: 100px 40px 80px;
  background: linear-gradient(180deg, rgba(7, 22, 43, 0.14), rgba(7, 22, 43, 0.08)), url('../images/backgrounds/bg2.webp') center/cover no-repeat;
  text-align: center;
  color: var(--white);
  min-height: 360px;
}

.page-hero.dark {
  background: linear-gradient(180deg, rgba(7, 22, 43, 0.32), rgba(7, 22, 43, 0.22)), url('../images/backgrounds/mnc3.webp') center/cover no-repeat;
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 4vw, 4rem);
  color: var(--white);
}

.page-hero p,
.page-hero .section-tag {
  color: rgba(255, 255, 255, 0.92);
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.split-section.alt {
  background: var(--light);
}

@media (max-width: 1000px) {
  .grid-4,
  .grid-3,
  .stats-grid,
  .about-home-content,
  .about-grid,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding: 70px 20px;
    min-height: 42vh;
  }

  .hero-video {
    display: none; /* avoid mobile autoplay / bandwidth issues */
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .services-section,
  .sectors-section,
  .projects-preview,
  .about-home,
  .page,
  .stats-section,
  .cta-section,
  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .grid-4,
  .grid-3,
  .stats-grid,
  .about-home-content,
  .about-grid,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .logo {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero,
  .page-hero {
    background-position: top center;
    background-size: cover;
  }
  .page-hero h1,
  .hero h1 {
    font-size: 26px;
  }
}

/* =====================================================
   PREMIUM HOME HERO SECTION
===================================================== */

.premium-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 170px 40px 90px;
  color: #ffffff;
  background: #173f6f;
}

.premium-hero__media,
.premium-hero__video,
.premium-hero__overlay {
  position: absolute;
  inset: 0;
}

.premium-hero__media {
  z-index: 0;
}

.premium-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.premium-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 58, 98, 0.82) 0%, rgba(22, 68, 112, 0.62) 42%, rgba(30, 86, 136, 0.32) 100%),
    linear-gradient(180deg, rgba(15, 48, 82, 0.15) 0%, rgba(17, 54, 92, 0.64) 100%);
}

.premium-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.premium-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.premium-hero__eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d9ecff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.premium-hero h1 {
  max-width: 880px;
  margin: 0 0 24px;
  font-size: clamp(3.3rem, 7vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.premium-hero__lead {
  max-width: 720px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.7;
}

.premium-hero__slogan {
  max-width: 760px;
  margin: 0 0 34px;
  color: #8cc7ff;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.premium-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 54px;
}

.premium-hero__primary {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.premium-hero__primary:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.premium-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.premium-hero__secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.58);
}

.premium-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 200px));
  gap: 16px;
}

.premium-hero__stats div {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.premium-hero__stats strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.premium-hero__stats span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.premium-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.premium-hero__scroll span {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  position: relative;
}

.premium-hero__scroll span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%);
  animation: heroScrollDot 1.6s ease-in-out infinite;
}

@keyframes heroScrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 900px) {
  .premium-hero {
    min-height: 92vh;
    padding: 145px 24px 80px;
  }

  .premium-hero__overlay {
    background:
      linear-gradient(90deg, rgba(18, 58, 98, 0.86) 0%, rgba(22, 68, 112, 0.68) 100%),
      linear-gradient(180deg, rgba(15, 48, 82, 0.18) 0%, rgba(17, 54, 92, 0.67) 100%);
  }

  .premium-hero h1 {
    max-width: 680px;
    font-size: clamp(3rem, 12vw, 5.2rem);
  }

  .premium-hero__stats {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .premium-hero {
    min-height: 88vh;
    padding: 130px 20px 76px;
  }

  .premium-hero__video {
    display: none;
  }

  .premium-hero {
    background:
      linear-gradient(90deg, rgba(5, 18, 37, 0.9), rgba(5, 18, 37, 0.72)),
      url("../images/backgrounds/elec.webp") center / cover no-repeat;
  }

  .premium-hero__eyebrow {
    gap: 8px;
    margin-bottom: 22px;
  }

  .premium-hero__eyebrow span {
    font-size: 0.68rem;
    padding: 7px 10px;
  }

  .premium-hero h1 {
    font-size: 3rem;
    letter-spacing: -0.045em;
  }

  .premium-hero__lead {
    font-size: 1rem;
  }

  .premium-hero__actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
    margin-bottom: 34px;
  }

  .premium-hero__primary,
  .premium-hero__secondary {
    width: 100%;
    text-align: center;
  }

  .premium-hero__scroll {
    display: none;
  }
}

/* =====================================================
   COMPANY STATISTICS SECTION
===================================================== */

.company-stats {
  position: relative;
  padding: 95px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  overflow: hidden;
}

.company-stats::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(27, 134, 217, 0.08);
  pointer-events: none;
}

.company-stats::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.06);
  pointer-events: none;
}

.company-stats__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.company-stats__intro {
  max-width: 780px;
  margin-bottom: 54px;
}

.company-stats__intro h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.company-stats__intro p {
  max-width: 720px;
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.8;
}

.company-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.company-stat {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 30px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 24px 55px rgba(11, 31, 58, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.company-stat::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 30px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
}

.company-stat::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(27, 134, 217, 0.07);
  transition: transform 0.35s ease;
}

.company-stat:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 134, 217, 0.24);
  box-shadow: 0 34px 75px rgba(11, 31, 58, 0.13);
}

.company-stat:hover::after {
  transform: scale(1.18);
}

.company-stat strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.company-stat p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #4d5f7f;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .company-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .company-stats {
    padding: 75px 24px;
  }

  .company-stats__intro {
    margin-bottom: 36px;
  }

  .company-stats__grid {
    grid-template-columns: 1fr;
  }

  .company-stat {
    min-height: 170px;
    padding: 30px 26px;
  }

  .company-stat strong {
    font-size: 3.6rem;
  }
}

/* =====================================================
   PREMIUM SERVICES SECTION
===================================================== */

.premium-services {
  padding: 110px 40px;
  background: #ffffff;
}

.premium-services__header {
  max-width: 860px;
  margin: 0 auto 70px;
  text-align: center;
}

.premium-services__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.premium-services__header p {
  max-width: 760px;
  margin: 0 auto;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.8;
}

.premium-services__list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 44px;
}

.premium-service {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background: #f7faff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.09);
}

.premium-service--reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.premium-service--reverse .premium-service__image {
  order: 2;
}

.premium-service--reverse .premium-service__content {
  order: 1;
}

.premium-service__image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.premium-service__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.04), rgba(11, 31, 58, 0.24));
  pointer-events: none;
}

.premium-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.premium-service:hover .premium-service__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.premium-service__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 70px);
  background: radial-gradient(circle at top right, rgba(27, 134, 217, 0.08), transparent 36%), #ffffff;
}

.premium-service__content span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.premium-service__content h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.premium-service__content p {
  margin: 0 0 26px;
  color: #4d5f7f;
  font-size: 1.04rem;
  line-height: 1.8;
}

.premium-service__content ul {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.premium-service__content li {
  position: relative;
  padding-left: 28px;
  color: #26364a;
  font-weight: 700;
}

.premium-service__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.premium-service__content a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  transition: color 0.25s ease, transform 0.25s ease;
}

.premium-service__content a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .premium-service,
  .premium-service--reverse {
    grid-template-columns: 1fr;
  }

  .premium-service--reverse .premium-service__image,
  .premium-service--reverse .premium-service__content {
    order: initial;
  }

  .premium-service,
  .premium-service__image {
    min-height: auto;
  }

  .premium-service__image {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .premium-services {
    padding: 80px 24px;
  }

  .premium-services__header {
    margin-bottom: 42px;
    text-align: left;
  }

  .premium-service {
    border-radius: 26px;
  }

  .premium-service__image {
    height: 300px;
  }

  .premium-service__content {
    padding: 34px 24px;
  }

  .premium-service__content h3 {
    font-size: 2.6rem;
  }
}

/* =====================================================
   FEATURED PROJECTS SHOWCASE
===================================================== */

.featured-projects-showcase {
  padding: 115px 40px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 52%, #f4f8ff 100%);
  overflow: hidden;
}

.featured-projects-showcase__header {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 40px;
  align-items: start;
}

.featured-projects-showcase__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.featured-projects-showcase__header p {
  max-width: 780px;
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.8;
}

.featured-projects-showcase__main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 28px;
}

.featured-project {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.1);
}

.featured-project__image {
  position: relative;
  overflow: hidden;
  background: #dfe7f1;
}

.featured-project__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.02), rgba(11, 31, 58, 0.38));
  pointer-events: none;
}

.featured-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.75s ease;
}

.featured-project:hover .featured-project__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.featured-project--large {
  display: grid;
  grid-template-columns: 1fr;
}

.featured-project--large .featured-project__image {
  height: 560px;
}

.featured-project--large .featured-project__content {
  padding: 42px;
}

.featured-projects-showcase__side {
  display: grid;
  gap: 28px;
}

.featured-project--small .featured-project__image {
  height: 255px;
}

.featured-project--small .featured-project__content {
  padding: 28px;
}

.featured-project__label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.featured-project h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.featured-project--small h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.featured-project__description,
.featured-project p {
  margin: 0 0 24px;
  color: #4d5f7f;
  line-height: 1.75;
}

.featured-project__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}

.featured-project__facts div {
  padding: 18px;
  border-radius: 20px;
  background: #f4f8ff;
  border: 1px solid rgba(223, 231, 241, 0.9);
}

.featured-project__facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.featured-project__facts span {
  display: block;
  color: #4d5f7f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

.featured-project__services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.featured-project__services span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef6ff;
  border: 1px solid rgba(27, 134, 217, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
}

.featured-project__link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  transition: color 0.25s ease, transform 0.25s ease;
}

.featured-project__link:hover {
  color: var(--blue);
}

.featured-projects-showcase__footer {
  max-width: 1280px;
  margin: 42px auto 0;
  padding: 34px;
  border-radius: 28px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.featured-projects-showcase__footer p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.featured-projects-showcase__footer .btn {
  flex-shrink: 0;
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}

.featured-projects-showcase__footer .btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

@media (max-width: 1100px) {
  .featured-projects-showcase__header,
  .featured-projects-showcase__main {
    grid-template-columns: 1fr;
  }

  .featured-projects-showcase__side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .featured-projects-showcase {
    padding: 82px 24px;
  }

  .featured-projects-showcase__header {
    margin-bottom: 38px;
    gap: 18px;
  }

  .featured-project--large .featured-project__image {
    height: 360px;
  }

  .featured-project--large .featured-project__content,
  .featured-project--small .featured-project__content {
    padding: 28px 24px;
  }

  .featured-projects-showcase__side {
    grid-template-columns: 1fr;
  }

  .featured-project__facts {
    grid-template-columns: 1fr;
  }

  .featured-projects-showcase__footer {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 24px;
  }

  .featured-projects-showcase__footer .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .featured-project--large .featured-project__image,
  .featured-project--small .featured-project__image {
    height: 280px;
  }

  .featured-project {
    border-radius: 26px;
  }
}

/*=============================
      FEATURED PROJECTS
==============================*/

.projects-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:60px;

}

.project-item{

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.35s;

}

.project-item:hover{

transform:translateY(-8px);

}

.project-item img{

width:100%;

height:320px;

object-fit:cover;

transition:.5s;

}

.project-item:hover img{

transform:scale(1.08);

}

.project-content{

padding:28px;

}

.project-type{

display:inline-block;

margin-bottom:12px;

font-size:12px;

font-weight:700;

color:#1b86d9;

text-transform:uppercase;

letter-spacing:2px;

}

.project-content h3{

margin:0 0 10px;

font-size:28px;

color:#0b1f3a;

}

.project-content p{

color:#555;

margin-bottom:20px;

}

.project-content a{

color:#1b86d9;

font-weight:700;

text-decoration:none;

}

.project-button{

text-align:center;

margin-top:50px;

}

@media(max-width:900px){

.projects-grid{

grid-template-columns:1fr;

}

}

/* =====================================================
   PROJECTS PAGE REDESIGN
===================================================== */

.projects-page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.projects-page-hero__image,
.projects-page-hero__image img,
.projects-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.projects-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.projects-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.7) 42%, rgba(5, 18, 37, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.16) 0%, rgba(5, 18, 37, 0.88) 100%);
}

.projects-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.projects-page-hero h1 {
  max-width: 920px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.projects-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

.projects-intro {
  padding: 95px 40px 55px;
  background: #ffffff;
}

.projects-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: start;
}

.projects-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.projects-intro p {
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.9;
}

.project-filter-section {
  position: sticky;
  top: 102px;
  z-index: 50;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(223, 231, 241, 0.8);
  border-bottom: 1px solid rgba(223, 231, 241, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.project-filter-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.project-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-filter-btn {
  border: 1px solid rgba(223, 231, 241, 1);
  background: #ffffff;
  color: var(--navy);
  padding: 11px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.project-filter-btn:hover,
.project-filter-btn.active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.project-feature {
  padding: 90px 40px;
  background: #f4f8ff;
}

.project-feature__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 36px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 34px 90px rgba(11, 31, 58, 0.1);
}

.project-feature__image {
  min-height: 620px;
  overflow: hidden;
}

.project-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.75s ease,
    filter 0.75s ease;
}

.project-feature__inner:hover .project-feature__image img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.project-feature__content {
  padding: clamp(38px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-feature h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.project-feature p {
  margin: 0 0 30px;
  color: #4d5f7f;
  font-size: 1.06rem;
  line-height: 1.8;
}

.project-feature__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.project-feature__facts div {
  padding: 18px;
  border-radius: 20px;
  background: #f4f8ff;
  border: 1px solid rgba(223, 231, 241, 0.95);
}

.project-feature__facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.project-feature__facts span {
  display: block;
  color: #4d5f7f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.project-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-feature__tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef6ff;
  border: 1px solid rgba(27, 134, 217, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
}

.project-portfolio {
  padding: 105px 40px 120px;
  background: #ffffff;
}

.project-portfolio__header {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.project-portfolio__header h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.project-portfolio__header p {
  margin: 0 auto;
  max-width: 720px;
  color: #4d5f7f;
  line-height: 1.8;
}

.project-portfolio__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.portfolio-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  background: #07162b;
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 80px rgba(11, 31, 58, 0.18);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 18, 37, 0.08) 0%, rgba(5, 18, 37, 0.88) 100%);
  z-index: 1;
}

.portfolio-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.portfolio-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px;
  color: #ffffff;
}

.portfolio-card__content span {
  display: inline-block;
  margin-bottom: 12px;
  color: #8cc7ff;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-card__content h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.portfolio-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.portfolio-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(27, 134, 217, 0.4), transparent 36%),
    linear-gradient(135deg, #07162b 0%, #0b1f3a 100%);
}

.portfolio-card__placeholder strong {
  font-size: 6rem;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.portfolio-card__placeholder span {
  margin-top: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .projects-intro__inner,
  .project-feature__inner {
    grid-template-columns: 1fr;
  }

  .project-feature__image {
    min-height: 440px;
  }

  .project-portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-filter-section {
    top: 92px;
  }
}

@media (max-width: 720px) {
  .projects-page-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .projects-page-hero h1 {
    font-size: 3.2rem;
  }

  .projects-intro,
  .project-feature,
  .project-portfolio {
    padding-left: 24px;
    padding-right: 24px;
  }

  .projects-intro__inner {
    gap: 28px;
  }

  .project-filter-section {
    position: relative;
    top: auto;
    padding: 18px 24px;
  }

  .project-filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .project-filter-btn {
    flex: 0 0 auto;
  }

  .project-feature__inner {
    border-radius: 28px;
  }

  .project-feature__image {
    min-height: 320px;
  }

  .project-feature__content {
    padding: 34px 24px;
  }

  .project-feature__facts {
    grid-template-columns: 1fr;
  }

  .project-portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 390px;
    border-radius: 26px;
  }
}

/* =====================================================
   SERVICES PAGE REDESIGN
===================================================== */

.services-page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.services-page-hero__image,
.services-page-hero__image img,
.services-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.services-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.services-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.72) 44%, rgba(5, 18, 37, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.14) 0%, rgba(5, 18, 37, 0.88) 100%);
}

.services-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.services-page-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.services-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

.services-page-intro {
  padding: 100px 40px 60px;
  background: #ffffff;
}

.services-page-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 70px;
  align-items: start;
}

.services-page-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.services-page-intro p {
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.9;
}

.services-detail-section {
  padding: 60px 40px 115px;
  background: #ffffff;
  display: grid;
  gap: 42px;
}

.service-detail-card {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 36px;
  background: #f7faff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.09);
}

.service-detail-card--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.service-detail-card--reverse .service-detail-card__image {
  order: 2;
}

.service-detail-card--reverse .service-detail-card__content {
  order: 1;
}

.service-detail-card__image {
  min-height: 620px;
  overflow: hidden;
  background: #dfe7f1;
}

.service-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.75s ease,
    filter 0.75s ease;
}

.service-detail-card:hover .service-detail-card__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.service-detail-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 70px);
  background:
    radial-gradient(circle at top right, rgba(27, 134, 217, 0.08), transparent 34%),
    #ffffff;
}

.service-detail-card__content > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-detail-card__content h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.service-detail-card__content p {
  margin: 0 0 30px;
  color: #4d5f7f;
  font-size: 1.06rem;
  line-height: 1.85;
}

.service-detail-card__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-detail-card__columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.service-detail-card__columns li {
  position: relative;
  padding-left: 28px;
  color: #26364a;
  font-weight: 700;
  line-height: 1.55;
}

.service-detail-card__columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.service-process {
  padding: 110px 40px;
  background:
    radial-gradient(circle at top left, rgba(27, 134, 217, 0.1), transparent 34%),
    #f4f8ff;
}

.service-process__header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.service-process__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-process__header p {
  max-width: 720px;
  margin: 0 auto;
  color: #4d5f7f;
  line-height: 1.8;
}

.service-process__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-process-card {
  min-height: 280px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 24px 55px rgba(11, 31, 58, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 34px 78px rgba(11, 31, 58, 0.13);
}

.service-process-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-process-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.1;
}

.service-process-card p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .services-page-intro__inner,
  .service-detail-card,
  .service-detail-card--reverse {
    grid-template-columns: 1fr;
  }

  .service-detail-card--reverse .service-detail-card__image,
  .service-detail-card--reverse .service-detail-card__content {
    order: initial;
  }

  .service-detail-card__image {
    min-height: 440px;
  }

  .service-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .services-page-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .services-page-hero h1 {
    font-size: 3.1rem;
  }

  .services-page-intro,
  .services-detail-section,
  .service-process {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services-page-intro__inner {
    gap: 28px;
  }

  .services-detail-section {
    padding-top: 40px;
    padding-bottom: 82px;
  }

  .service-detail-card {
    border-radius: 28px;
  }

  .service-detail-card__image {
    min-height: 320px;
  }

  .service-detail-card__content {
    padding: 34px 24px;
  }

  .service-detail-card__columns {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .service-process__grid {
    grid-template-columns: 1fr;
  }

  .service-process-card {
    min-height: auto;
  }
}
/* =====================================================
   PROJECT DETAIL PAGE TEMPLATE
===================================================== */

.project-detail-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.project-detail-hero__image,
.project-detail-hero__image img,
.project-detail-hero__overlay {
  position: absolute;
  inset: 0;
}

.project-detail-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.project-detail-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.68) 46%, rgba(5, 18, 37, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.12) 0%, rgba(5, 18, 37, 0.9) 100%);
}

.project-detail-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.project-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 800;
}

.project-back-link:hover {
  color: #8cc7ff;
}

.project-detail-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.project-detail-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

.project-detail-overview {
  padding: 105px 40px;
  background: #ffffff;
}

.project-detail-overview__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 70px;
  align-items: start;
}

.project-detail-overview__content h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.project-detail-overview__content p {
  max-width: 820px;
  margin: 0 0 22px;
  color: #4d5f7f;
  font-size: 1.06rem;
  line-height: 1.9;
}

.project-detail-facts {
  display: grid;
  gap: 16px;
}

.project-detail-facts div {
  padding: 28px;
  border-radius: 26px;
  background: #f4f8ff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.07);
}

.project-detail-facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.project-detail-facts span {
  display: block;
  color: #4d5f7f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-services-delivered {
  padding: 105px 40px;
  background:
    radial-gradient(circle at top left, rgba(27, 134, 217, 0.1), transparent 34%),
    #f4f8ff;
}

.project-services-delivered__header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.project-services-delivered__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-services-delivered__header p {
  margin: 0 auto;
  max-width: 720px;
  color: #4d5f7f;
  line-height: 1.8;
}

.project-services-delivered__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.project-scope-card {
  min-height: 300px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 24px 55px rgba(11, 31, 58, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-scope-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 34px 78px rgba(11, 31, 58, 0.13);
}

.project-scope-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-scope-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.1;
}

.project-scope-card p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.75;
}

.project-detail-gallery {
  padding: 110px 40px;
  background: #ffffff;
}

.project-detail-gallery__header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.project-detail-gallery__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-detail-gallery__header p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.8;
}

.project-detail-gallery__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}

.project-gallery-item {
  overflow: hidden;
  border-radius: 28px;
  background: #dfe7f1;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.08);
}

.project-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.project-detail-cta {
  padding: 115px 40px;
  background:
    radial-gradient(circle at top right, rgba(27, 134, 217, 0.32), transparent 36%),
    linear-gradient(135deg, #07162b 0%, #0b1f3a 54%, #102a50 100%);
  color: #ffffff;
}

.project-detail-cta > div {
  max-width: 1120px;
  margin: 0 auto;
}

.project-detail-cta h2 {
  max-width: 900px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-detail-cta p {
  max-width: 760px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.project-feature__link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}

.project-feature__link:hover {
  color: var(--blue);
}

a.portfolio-card {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 1100px) {
  .project-detail-overview__inner {
    grid-template-columns: 1fr;
  }

  .project-services-delivered__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-detail-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .project-detail-hero {
    min-height: 650px;
    padding: 140px 24px 70px;
  }

  .project-detail-hero h1 {
    font-size: 3.1rem;
  }

  .project-detail-overview,
  .project-services-delivered,
  .project-detail-gallery,
  .project-detail-cta {
    padding: 82px 24px;
  }

  .project-services-delivered__grid,
  .project-detail-gallery__grid {
    grid-template-columns: 1fr;
  }

  .project-detail-gallery__grid {
    grid-auto-rows: 280px;
  }

  .project-gallery-item--large {
    grid-column: span 1;
  }

  .project-scope-card {
    min-height: auto;
  }

  .project-detail-cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
  }

  .project-detail-cta__actions a {
    width: 100%;
    text-align: center;
  }
}

/* =====================================================
   PREMIUM CTA SECTION
===================================================== */

.premium-cta {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.premium-cta__background,
.premium-cta__background img,
.premium-cta__overlay {
  position: absolute;
  inset: 0;
}

.premium-cta__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.02);
}

.premium-cta__overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.94) 0%, rgba(5, 18, 37, 0.78) 48%, rgba(5, 18, 37, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.16) 0%, rgba(5, 18, 37, 0.9) 100%);
  z-index: 1;
}

.premium-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.premium-cta__content h2 {
  max-width: 850px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.premium-cta__content p {
  max-width: 720px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.8;
}

.premium-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.premium-cta__primary {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.premium-cta__primary:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.premium-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.premium-cta__secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   PREMIUM FOOTER
===================================================== */

.premium-footer {
  background: #07162b;
  color: rgba(255, 255, 255, 0.78);
}

.premium-footer__top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: 46px;
}

.premium-footer__brand img {
  width: 230px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.premium-footer__brand p {
  max-width: 420px;
  margin: 0 0 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.premium-footer__brand strong {
  display: block;
  max-width: 430px;
  color: #8cc7ff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.premium-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.premium-footer__column h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-footer__column a,
.premium-footer__column p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  line-height: 1.7;
}

.premium-footer__column a {
  font-weight: 700;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.premium-footer__column a:hover {
  color: #8cc7ff;
  transform: translateX(4px);
}

.premium-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.premium-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.premium-footer__bottom div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.premium-footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.premium-footer__bottom a:hover {
  color: #8cc7ff;
}

@media (max-width: 1000px) {
  .premium-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .premium-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .premium-cta {
    min-height: 520px;
    padding: 90px 24px;
  }

  .premium-cta__content h2 {
    font-size: 3.2rem;
  }

  .premium-cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
  }

  .premium-cta__primary,
  .premium-cta__secondary {
    width: 100%;
    text-align: center;
  }

  .premium-footer__top {
    padding: 64px 24px 44px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .premium-footer__brand img {
    width: 200px;
  }

  .premium-footer__bottom {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =====================================================
   WHY BUILDERS CHOOSE RECONNECT
===================================================== */

.builder-choice {
  position: relative;
  padding: 120px 40px;
  background:
    radial-gradient(circle at top left, rgba(27, 134, 217, 0.22), transparent 34%),
    linear-gradient(135deg, #07162b 0%, #0b1f3a 48%, #102a50 100%);
  color: #ffffff;
  overflow: hidden;
}

.builder-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  pointer-events: none;
}

.builder-choice__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 70px;
  align-items: center;
}

.builder-choice__content h2 {
  max-width: 820px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.builder-choice__content > p {
  max-width: 760px;
  margin: 0 0 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.8;
}

.builder-choice__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.builder-choice__item {
  position: relative;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.builder-choice__item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(140, 199, 255, 0.32);
}

.builder-choice__item span {
  display: inline-block;
  margin-bottom: 18px;
  color: #8cc7ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.builder-choice__item h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.builder-choice__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.builder-choice__visual {
  position: relative;
  min-height: 650px;
}

.builder-choice__image {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  background: #0b1f3a;
}

.builder-choice__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.75s ease,
    filter 0.75s ease;
}

.builder-choice__visual:hover .builder-choice__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.builder-choice__image--large {
  top: 0;
  right: 0;
  width: 88%;
  height: 520px;
}

.builder-choice__image--small {
  left: 0;
  bottom: 0;
  width: 54%;
  height: 270px;
}

.builder-choice__badge {
  position: absolute;
  right: 34px;
  bottom: 44px;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  border: 8px solid rgba(140, 199, 255, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.builder-choice__badge strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 4rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.builder-choice__badge span {
  max-width: 120px;
  color: #4d5f7f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .builder-choice__inner {
    grid-template-columns: 1fr;
  }

  .builder-choice__visual {
    min-height: 560px;
  }

  .builder-choice__image--large {
    width: 78%;
  }

  .builder-choice__image--small {
    width: 44%;
  }
}

@media (max-width: 760px) {
  .builder-choice {
    padding: 85px 24px;
  }

  .builder-choice__inner {
    gap: 44px;
  }

  .builder-choice__grid {
    grid-template-columns: 1fr;
  }

  .builder-choice__item {
    padding: 24px;
  }

  .builder-choice__visual {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .builder-choice__image {
    position: relative;
    width: 100%;
    height: 320px;
    inset: auto;
    border-radius: 26px;
  }

  .builder-choice__image--small {
    display: none;
  }

  .builder-choice__badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 120px;
    border-radius: 26px;
    border-width: 1px;
  }

  .builder-choice__badge strong {
    font-size: 3.2rem;
  }
}

/* =====================================================
   ABOUT PAGE REDESIGN
===================================================== */

.about-page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.about-page-hero__image,
.about-page-hero__image img,
.about-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.about-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.about-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.72) 44%, rgba(5, 18, 37, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.12) 0%, rgba(5, 18, 37, 0.9) 100%);
}

.about-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.about-page-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.about-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

/* Intro */

.about-intro {
  padding: 105px 40px;
  background: #ffffff;
}

.about-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.about-intro p {
  margin: 0 0 22px;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* Feature */

.about-feature {
  padding: 40px 40px 115px;
  background: #ffffff;
}

.about-feature__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 36px;
  background: #f7faff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.09);
}

.about-feature__image {
  min-height: 620px;
  overflow: hidden;
  background: #dfe7f1;
}

.about-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.75s ease,
    filter 0.75s ease;
}

.about-feature__inner:hover .about-feature__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.about-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 70px);
  background:
    radial-gradient(circle at top right, rgba(27, 134, 217, 0.08), transparent 34%),
    #ffffff;
}

.about-feature__content h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.about-feature__content p {
  margin: 0 0 30px;
  color: #4d5f7f;
  font-size: 1.06rem;
  line-height: 1.85;
}

.about-feature__content ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-feature__content li {
  position: relative;
  padding-left: 28px;
  color: #26364a;
  font-weight: 700;
  line-height: 1.55;
}

.about-feature__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

/* Values */

.about-values {
  padding: 110px 40px;
  background:
    radial-gradient(circle at top left, rgba(27, 134, 217, 0.1), transparent 34%),
    #f4f8ff;
}

.about-values__header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.about-values__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about-values__header p {
  max-width: 720px;
  margin: 0 auto;
  color: #4d5f7f;
  line-height: 1.8;
}

.about-values__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-value-card {
  min-height: 300px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 24px 55px rgba(11, 31, 58, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.about-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 34px 78px rgba(11, 31, 58, 0.13);
}

.about-value-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-value-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.1;
}

.about-value-card p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.75;
}

/* Stats Band */

.about-stats-band {
  padding: 70px 40px;
  background:
    linear-gradient(135deg, #07162b 0%, #0b1f3a 55%, #102a50 100%);
  color: #ffffff;
}

.about-stats-band__inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.about-stat {
  padding: 34px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-stat strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.about-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Process */

.about-process {
  padding: 110px 40px;
  background: #ffffff;
}

.about-process__header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.about-process__header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about-process__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-process-card {
  min-height: 280px;
  padding: 30px;
  border-radius: 28px;
  background: #f4f8ff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 24px 55px rgba(11, 31, 58, 0.06);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.about-process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 34px 78px rgba(11, 31, 58, 0.12);
}

.about-process-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-process-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.16;
}

.about-process-card p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .about-intro__inner,
  .about-feature__inner {
    grid-template-columns: 1fr;
  }

  .about-feature__image {
    min-height: 440px;
  }

  .about-values__grid,
  .about-stats-band__inner,
  .about-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .about-page-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .about-page-hero h1 {
    font-size: 3.1rem;
  }

  .about-intro,
  .about-feature,
  .about-values,
  .about-stats-band,
  .about-process {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-intro {
    padding-top: 82px;
    padding-bottom: 60px;
  }

  .about-feature {
    padding-top: 20px;
    padding-bottom: 82px;
  }

  .about-feature__inner {
    border-radius: 28px;
  }

  .about-feature__image {
    min-height: 320px;
  }

  .about-feature__content {
    padding: 34px 24px;
  }

  .about-values__grid,
  .about-stats-band__inner,
  .about-process__grid {
    grid-template-columns: 1fr;
  }

  .about-value-card,
  .about-process-card {
    min-height: auto;
  }
}

/* =====================================================
   CONTACT PAGE REDESIGN
===================================================== */

.contact-page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.contact-page-hero__image,
.contact-page-hero__image img,
.contact-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.contact-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.contact-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.72) 44%, rgba(5, 18, 37, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.12) 0%, rgba(5, 18, 37, 0.9) 100%);
}

.contact-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.contact-page-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.contact-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

/* Contact Intro */

.contact-intro {
  padding: 105px 40px 60px;
  background: #ffffff;
}

.contact-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-intro p {
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* Contact Main */

.contact-main {
  padding: 60px 40px 115px;
  background: #ffffff;
}

.contact-main__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: stretch;
}

.contact-details-panel {
  display: grid;
  gap: 18px;
}

.contact-detail-card {
  padding: 30px;
  border-radius: 28px;
  background: #f4f8ff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.06);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 134, 217, 0.25);
  box-shadow: 0 30px 70px rgba(11, 31, 58, 0.12);
}

.contact-detail-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.16;
}

.contact-detail-card p {
  margin: 0;
  color: #4d5f7f;
  line-height: 1.75;
}

.contact-detail-card a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.contact-detail-card a:hover {
  color: var(--blue);
}

/* Form Panel */

.contact-form-panel {
  padding: clamp(34px, 5vw, 58px);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(27, 134, 217, 0.08), transparent 34%),
    #ffffff;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.09);
}

.contact-form-panel h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-form-panel > p {
  margin: 0 0 34px;
  max-width: 680px;
  color: #4d5f7f;
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(223, 231, 241, 1);
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #ffffff;
  border-color: rgba(27, 134, 217, 0.7);
  box-shadow: 0 0 0 4px rgba(27, 134, 217, 0.1);
}

.contact-submit-btn {
  width: fit-content;
  cursor: pointer;
}

.contact-form-note {
  margin: 0;
  color: #6a7a92;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Map */

.contact-map-section {
  padding: 110px 40px;
  background:
    radial-gradient(circle at top left, rgba(27, 134, 217, 0.1), transparent 34%),
    #f4f8ff;
}

.contact-map-section__header {
  max-width: 850px;
  margin: 0 auto 52px;
  text-align: center;
}

.contact-map-section__header h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-map-section__header p {
  margin: 0 auto;
  max-width: 720px;
  color: #4d5f7f;
  line-height: 1.8;
}

.contact-map {
  max-width: 1280px;
  height: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(223, 231, 241, 0.95);
  box-shadow: 0 30px 75px rgba(11, 31, 58, 0.1);
  background: #dfe7f1;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1100px) {
  .contact-intro__inner,
  .contact-main__inner {
    grid-template-columns: 1fr;
  }

  .contact-details-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .contact-page-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .contact-page-hero h1 {
    font-size: 3.1rem;
  }

  .contact-intro,
  .contact-main,
  .contact-map-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-intro {
    padding-top: 82px;
    padding-bottom: 44px;
  }

  .contact-main {
    padding-top: 44px;
    padding-bottom: 82px;
  }

  .contact-intro__inner {
    gap: 28px;
  }

  .contact-details-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 34px 24px;
    border-radius: 28px;
  }

  .contact-submit-btn {
    width: 100%;
    text-align: center;
  }

  .contact-map {
    height: 380px;
    border-radius: 26px;
  }
}

/* =====================================================
   GLOBAL POLISH: SCROLL REVEAL ANIMATIONS
===================================================== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.reveal-effects-ready .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  will-change: opacity, transform;
}

body.reveal-effects-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-effects-ready .reveal-delay-1 { transition-delay: 0.08s; }
body.reveal-effects-ready .reveal-delay-2 { transition-delay: 0.16s; }
body.reveal-effects-ready .reveal-delay-3 { transition-delay: 0.24s; }
body.reveal-effects-ready .reveal-delay-4 { transition-delay: 0.32s; }

img {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(27, 134, 217, 0.45);
  outline-offset: 4px;
}

::selection {
  background: rgba(27, 134, 217, 0.22);
  color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.reveal-effects-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   GLOBAL PERFORMANCE + SEO POLISH
===================================================== */

section {
  scroll-margin-top: 120px;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

.portfolio-card,
.featured-project,
.premium-service,
.service-detail-card,
.about-feature__inner,
.project-feature__inner {
  transform: translateZ(0);
}

/* =====================================================
   FINAL MOBILE REFINEMENT + BUG CLEANUP
===================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.nav-menu-open {
  overflow: hidden;
}

.site-navbar {
  max-height: calc(100vh - 24px);
}

@media (max-width: 900px) {
  .site-nav-links {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .site-nav-links a {
    font-size: 0.95rem;
  }
}

@media (max-width: 1100px) {
  .premium-hero h1,
  .projects-page-hero h1,
  .services-page-hero h1,
  .about-page-hero h1,
  .contact-page-hero h1,
  .project-detail-hero h1 {
    letter-spacing: -0.045em;
  }
}

@media (max-width: 720px) {
  .premium-hero,
  .projects-page-hero,
  .services-page-hero,
  .about-page-hero,
  .contact-page-hero,
  .project-detail-hero {
    min-height: 620px;
    padding-top: 135px;
    padding-bottom: 64px;
  }

  .premium-hero h1,
  .projects-page-hero h1,
  .services-page-hero h1,
  .about-page-hero h1,
  .contact-page-hero h1,
  .project-detail-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.35rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .premium-hero__lead,
  .projects-page-hero p,
  .services-page-hero p,
  .about-page-hero p,
  .contact-page-hero p,
  .project-detail-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .site-navbar {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px 10px;
  }

  .site-brand img {
    height: 38px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav-links {
    left: 8px;
    right: 8px;
    top: 68px;
  }

  .premium-hero,
  .projects-page-hero,
  .services-page-hero,
  .about-page-hero,
  .contact-page-hero,
  .project-detail-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 720px) {
  .company-stats__intro h2,
  .premium-services__header h2,
  .featured-projects-showcase__header h2,
  .builder-choice__content h2,
  .premium-cta__content h2,
  .projects-intro h2,
  .project-feature h2,
  .project-portfolio__header h2,
  .project-detail-overview__content h2,
  .project-services-delivered__header h2,
  .project-detail-gallery__header h2,
  .project-detail-cta h2,
  .services-page-intro h2,
  .service-detail-card__content h2,
  .service-process__header h2,
  .about-intro h2,
  .about-feature__content h2,
  .about-values__header h2,
  .about-process__header h2,
  .contact-intro h2,
  .contact-form-panel h2,
  .contact-map-section__header h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
}

@media (max-width: 720px) {
  .company-stats,
  .premium-services,
  .featured-projects-showcase,
  .builder-choice,
  .premium-cta,
  .project-portfolio,
  .service-process,
  .about-values,
  .about-process,
  .contact-map-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .projects-intro,
  .services-page-intro,
  .about-intro,
  .contact-intro {
    padding-top: 76px;
    padding-bottom: 44px;
  }
}

@media (max-width: 720px) {
  .company-stat,
  .premium-service,
  .featured-project,
  .builder-choice__item,
  .portfolio-card,
  .project-scope-card,
  .service-process-card,
  .about-value-card,
  .about-process-card,
  .contact-detail-card,
  .contact-form-panel {
    border-radius: 24px;
  }

  .premium-service__content,
  .featured-project--large .featured-project__content,
  .featured-project--small .featured-project__content,
  .project-feature__content,
  .service-detail-card__content,
  .about-feature__content,
  .contact-form-panel {
    padding: 28px 22px;
  }
}

.premium-service__image img,
.featured-project__image img,
.portfolio-card img,
.project-feature__image img,
.service-detail-card__image img,
.about-feature__image img,
.project-gallery-item img {
  object-position: center;
}

@media (max-width: 720px) {
  .portfolio-card {
    min-height: 360px;
  }

  .portfolio-card__content {
    padding: 24px;
  }

  .portfolio-card__content h3 {
    font-size: 1.45rem;
  }
}

.project-filter-buttons::-webkit-scrollbar {
  height: 6px;
}

.project-filter-buttons::-webkit-scrollbar-thumb {
  background: rgba(11, 31, 58, 0.22);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .project-filter-buttons {
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .premium-footer__brand img {
    width: 180px;
  }

  .premium-footer__column h3 {
    margin-bottom: 14px;
  }

  .premium-footer__bottom div {
    gap: 14px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .project-filter-section {
    top: 90px;
  }
}

@media print {
  .site-navbar,
  .nav-toggle,
  .premium-cta,
  .project-detail-cta,
  .premium-footer,
  .project-filter-section {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  section {
    padding: 24px 0 !important;
  }
}

/* =====================================================
   CURRENT PROJECTS CARD FIX
===================================================== */

.portfolio-card--current::after {
  display: none;
}

.portfolio-card--current .portfolio-card__content {
  background: linear-gradient(180deg, transparent, rgba(5, 18, 37, 0.88));
}

/* =====================================================
   GALLERY PAGE
===================================================== */

.gallery-page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 170px 40px 90px;
  overflow: hidden;
  background: #07162b;
  color: #ffffff;
}

.gallery-page-hero__image,
.gallery-page-hero__image img,
.gallery-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.gallery-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.gallery-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 37, 0.92) 0%, rgba(5, 18, 37, 0.72) 44%, rgba(5, 18, 37, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 18, 37, 0.12) 0%, rgba(5, 18, 37, 0.9) 100%);
}

.gallery-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.gallery-page-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.gallery-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

/* Gallery Intro */

.gallery-intro {
  padding: 105px 40px 60px;
  background: #ffffff;
}

.gallery-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: start;
}

.gallery-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.gallery-intro p {
  margin: 0;
  color: #4d5f7f;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* Gallery Grid */

.gallery-main {
  padding: 60px 40px 115px;
  background: #ffffff;
}

.gallery-main__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-main__card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #07162b;
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-main__card--large {
  grid-column: span 2;
}

.gallery-main__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 80px rgba(11, 31, 58, 0.16);
}

.gallery-main__card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery-main__card--large img {
  height: 420px;
}

.gallery-main__card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-main__caption {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid rgba(223, 231, 241, 0.95);
}

.gallery-main__caption span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-main__caption p {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .gallery-intro__inner {
    grid-template-columns: 1fr;
  }

  .gallery-main__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-main__card--large {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .gallery-page-hero {
    min-height: 620px;
    padding: 140px 24px 70px;
  }

  .gallery-page-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.35rem);
  }

  .gallery-intro,
  .gallery-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gallery-intro {
    padding-top: 76px;
    padding-bottom: 44px;
  }

  .gallery-main {
    padding-top: 44px;
    padding-bottom: 82px;
  }

  .gallery-main__grid {
    grid-template-columns: 1fr;
  }

  .gallery-main__card--large {
    grid-column: span 1;
  }

  .gallery-main__card img,
  .gallery-main__card--large img {
    height: 280px;
  }

  .gallery-main__card {
    border-radius: 22px;
  }
}


/* =====================================================
   Clickable project cards and project gallery lightbox
===================================================== */

.portfolio-card,
.featured-project--linked {
  color: inherit;
  text-decoration: none;
}

.featured-project--linked {
  display: block;
}

.project-gallery-item.gallery-lightbox-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: zoom-in;
  text-align: left;
}

.project-gallery-item.gallery-lightbox-trigger:focus-visible {
  outline: 4px solid rgba(27, 134, 217, 0.55);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 86px;
  background: rgba(3, 12, 24, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-lightbox__figure {
  width: min(1180px, 100%);
  max-height: calc(100vh - 90px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.project-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.project-lightbox__caption {
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
}

.project-lightbox__close,
.project-lightbox__nav {
  position: fixed;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-lightbox__close:hover,
.project-lightbox__nav:hover {
  background: rgba(27, 134, 217, 0.78);
  transform: scale(1.05);
}

.project-lightbox__close {
  top: 22px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.project-lightbox__nav {
  top: 50%;
  width: 52px;
  height: 72px;
  border-radius: 16px;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.project-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.project-lightbox__nav--prev {
  left: 22px;
}

.project-lightbox__nav--next {
  right: 22px;
}

@media (max-width: 700px) {
  .project-lightbox {
    padding: 74px 16px 24px;
  }

  .project-lightbox__image {
    max-height: calc(100vh - 190px);
    border-radius: 12px;
  }

  .project-lightbox__nav {
    top: auto;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transform: none;
  }

  .project-lightbox__nav:hover {
    transform: scale(1.05);
  }

  .project-lightbox__nav--prev {
    left: calc(50% - 66px);
  }

  .project-lightbox__nav--next {
    right: calc(50% - 66px);
  }
}

/* =====================================================
   CLIENTS & PROJECT PARTNERS
===================================================== */

.client-partners {
  position: relative;
  padding: 110px 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(27, 134, 217, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.client-partners::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.045);
  pointer-events: none;
}

.client-partners__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.client-partners__header {
  max-width: 830px;
  margin: 0 auto 56px;
  text-align: center;
}

.client-partners__header h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.client-partners__header p {
  max-width: 760px;
  margin: 0 auto;
  color: #4d5f7f;
  font-size: 1.06rem;
  line-height: 1.8;
}

.client-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-partner-card {
  --partner-accent: var(--blue);
  position: relative;
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(223, 231, 241, 0.98);
  border-radius: 24px;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.065);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.client-partner-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--partner-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.client-partner-card::after {
  content: "";
  position: absolute;
  top: -76px;
  right: -76px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(27, 134, 217, 0.055);
  transform: scale(0.7);
  transition: transform 0.35s ease, background 0.35s ease;
}

.client-partner-card:hover,
.client-partner-card:focus-visible {
  color: var(--partner-accent);
  transform: translateY(-6px);
  border-color: rgba(27, 134, 217, 0.3);
  background: #ffffff;
  box-shadow: 0 28px 65px rgba(11, 31, 58, 0.13);
  outline: none;
}

.client-partner-card:hover::before,
.client-partner-card:focus-visible::before {
  transform: scaleX(1);
}

.client-partner-card:hover::after,
.client-partner-card:focus-visible::after {
  transform: scale(1);
  background: rgba(27, 134, 217, 0.09);
}

.client-partner-card__brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.78rem);
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1.05;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.client-partner-card:hover .client-partner-card__brand,
.client-partner-card:focus-visible .client-partner-card__brand {
  transform: scale(1.035);
}

.client-partner-card__brand--stacked {
  flex-direction: column;
  gap: 5px;
}

.client-partner-card__brand--stacked strong {
  font-size: 1.45em;
  line-height: 0.85;
  letter-spacing: 0.04em;
}

.client-partner-card__brand small,
.client-partner-card__brand--stacked small {
  display: block;
  color: inherit;
  font-size: 0.48em;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.client-partner-card__brand--wide {
  flex-direction: column;
  gap: 7px;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.client-partner-card__link-mark {
  position: absolute;
  top: 15px;
  right: 17px;
  z-index: 2;
  color: #8da0b8;
  font-size: 0.9rem;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.client-partner-card:hover .client-partner-card__link-mark,
.client-partner-card:focus-visible .client-partner-card__link-mark {
  color: var(--partner-accent);
  opacity: 1;
  transform: translate(0, 0);
}

.client-partner-card--jv,
.client-partner-card--landmark,
.client-partner-card--tqm {
  --partner-accent: #b78b3e;
}

.client-partner-card--hyz {
  --partner-accent: #d1202f;
}

.client-partner-card--alliance {
  --partner-accent: #e27628;
}

.client-partner-card--level33 {
  --partner-accent: #7b603e;
}

.client-partner-card--level33 .client-partner-card__brand strong {
  margin-left: 0.12em;
  font-size: 1.24em;
}

.client-partner-card--bathla .client-partner-card__brand {
  text-transform: none;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  letter-spacing: -0.045em;
}

.client-partner-card--mono .client-partner-card__brand,
.client-partner-card--builtcom .client-partner-card__brand {
  letter-spacing: 0.13em;
}

@media (max-width: 1050px) {
  .client-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .client-partners {
    padding: 82px 24px;
  }

  .client-partners__header {
    margin-bottom: 38px;
    text-align: left;
  }

  .client-partners__header p {
    margin-left: 0;
  }

  .client-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-partner-card {
    min-height: 126px;
    padding: 22px 15px;
    border-radius: 20px;
  }

  .client-partner-card__brand {
    font-size: clamp(0.94rem, 4vw, 1.3rem);
  }

  .client-partner-card--bathla .client-partner-card__brand {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }
}

@media (max-width: 390px) {
  .client-partner-card {
    min-height: 116px;
  }

  .client-partner-card__brand {
    font-size: 0.85rem;
  }
}



/* =====================================================
   PROJECT SOURCE AND GALLERY NOTES
===================================================== */
.project-source-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(27, 134, 217, 0.28);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.project-source-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.project-gallery-note {
  max-width: 760px;
  margin: 12px auto 0 !important;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #61708a !important;
}

/* =====================================================
   PARTNER LOGO IMAGE OVERRIDES
===================================================== */
.client-partners {
  padding-top: 42px;
}

.client-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-partner-card {
  min-height: 124px;
  border-radius: 22px;
  padding: 20px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,249,253,0.96));
  border: 1px solid rgba(11,31,58,0.08);
  box-shadow: 0 10px 26px rgba(5, 19, 38, 0.08);
}

.client-partner-card__logo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-partner-card__logo {
  display: block;
  width: auto;
  max-width: min(210px, 88%);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-partner-card__name,
.client-partner-card__link-mark {
  display: none !important;
}

.client-partner-card:hover .client-partner-card__logo,
.client-partner-card:focus-visible .client-partner-card__logo {
  transform: scale(1.035);
}

.client-partner-card--mono .client-partner-card__logo,
.client-partner-card--builtcom .client-partner-card__logo,
.client-partner-card--landmark .client-partner-card__logo,
.client-partner-card--level33 .client-partner-card__logo {
  max-width: min(230px, 92%);
}

.client-partner-card--jv .client-partner-card__logo,
.client-partner-card--alliance .client-partner-card__logo,
.client-partner-card--hyz .client-partner-card__logo {
  max-height: 58px;
}

@media (max-width: 980px) {
  .client-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .client-partner-card__logo-wrap { min-height: 72px; }
  .client-partner-card__logo { max-height: 50px; max-width: 84%; }
}

@media (max-width: 640px) {
  .client-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-partner-card {
    min-height: 110px;
    padding: 16px 12px;
    border-radius: 18px;
  }
}

/* =====================================================
   CLIENT PARTNER LOGO CAROUSEL
===================================================== */
.client-partners__inner {
  overflow: hidden;
}

.client-partners__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: 1280px;
  margin: -26px auto 22px;
}

.client-partners__arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 19, 38, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.client-partners__arrow:hover,
.client-partners__arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  outline: none;
}

.client-partners__status {
  min-width: 58px;
  color: #61708a;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.client-partners__viewport {
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  touch-action: pan-y;
}

.client-partners__viewport:focus-visible {
  outline: 3px solid rgba(27, 134, 217, 0.35);
  outline-offset: 6px;
}

.client-partners__track {
  --partner-columns: 4;
  --partner-gap: 18px;
  --partner-loop-distance: 0px;
  --partner-loop-duration: 24s;
  display: flex;
  gap: var(--partner-gap);
  width: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.client-partners__track.is-looping {
  animation: partner-logo-loop var(--partner-loop-duration) linear infinite;
}

.client-partners__track.is-paused {
  animation-play-state: paused;
}

@keyframes partner-logo-loop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--partner-loop-distance)), 0, 0);
  }
}

.client-partners__track .client-partner-card {
  flex: 0 0 calc((100% - (var(--partner-gap) * (var(--partner-columns) - 1))) / var(--partner-columns));
  margin: 0;
}

.client-partners__track.is-dragging {
  transition: none;
  cursor: grabbing;
}

@media (max-width: 980px) {
  .client-partners__track {
    --partner-columns: 3;
  }
}

@media (max-width: 760px) {
  .client-partners__controls {
    margin: -12px 0 18px;
  }
}

@media (max-width: 640px) {
  .client-partners__track {
    --partner-columns: 2;
    --partner-gap: 12px;
  }

  .client-partners__arrow {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-partners__track {
    transition-duration: 0.01ms;
  }
}

/* =====================================================
   OFFICIAL PARTNER LOGOS — TRANSPARENT ASSETS
===================================================== */
.client-partner-card {
  background: #ffffff;
  border-color: rgba(11, 31, 58, 0.10);
}

.client-partner-card__logo {
  max-width: 86%;
  max-height: 66px;
  filter: none !important;
  opacity: 1;
}

.client-partner-card--jv,
.client-partner-card--holdmark,
.client-partner-card--tqm,
.client-partner-card--alliance {
  background: #142b43;
  border-color: rgba(255,255,255,0.08);
}

.client-partner-card--bathla {
  background: #4d7356;
  border-color: rgba(255,255,255,0.10);
}

.client-partner-card--builtcom {
  background: #ffffff;
  border-color: rgba(10, 31, 68, 0.10);
}

.client-partner-card--holdmark {
  background: #25312e;
}

.client-partner-card--tqm {
  background: #050505;
}

.client-partner-card--alliance {
  background: #24282d;
}

.client-partner-card--bathla .client-partner-card__logo,
.client-partner-card--builtcom .client-partner-card__logo,
.client-partner-card--jv .client-partner-card__logo,
.client-partner-card--holdmark .client-partner-card__logo,
.client-partner-card--tqm .client-partner-card__logo,
.client-partner-card--alliance .client-partner-card__logo {
  max-height: 62px;
}

.client-partner-card--hyz .client-partner-card__logo {
  max-width: 92%;
}

.client-partner-card--pheonix .client-partner-card__logo,
.client-partner-card--mono .client-partner-card__logo,
.client-partner-card--landmark .client-partner-card__logo,
.client-partner-card--jqz .client-partner-card__logo,
.client-partner-card--builtcom .client-partner-card__logo {
  max-width: 92%;
}


/* Continuous partner carousel: manual step controls are not required. */
.client-partners__controls {
  display: none !important;
}

.client-partners__viewport.is-static {
  overflow-x: auto;
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  .client-partners__track {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}


/* =====================================================
   FINAL OVERRIDE — LOGO-ONLY CONTINUOUS PARTNER MARQUEE
===================================================== */
.client-partners__viewport {
  max-width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.client-partners__track {
  --partner-gap: clamp(28px, 3vw, 56px);
  --partner-loop-distance: 0px;
  --partner-loop-duration: 24s;
  display: flex;
  align-items: center;
  gap: var(--partner-gap);
  width: max-content;
  min-width: max-content;
  will-change: transform;
}

.client-partners__track .client-partner-card {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  margin: 0;
}

.client-partner-card,
.client-partner-card:hover,
.client-partner-card:focus-visible {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

.client-partner-card::before,
.client-partner-card::after,
.client-partner-card__name,
.client-partner-card__link-mark {
  display: none !important;
  content: none !important;
}

.client-partner-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  padding: 0 !important;
}

.client-partner-card__logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: none !important;
  max-height: 42px !important;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

.client-partners__controls {
  display: none !important;
}

.client-partners__track.is-looping {
  animation: partner-logo-loop var(--partner-loop-duration) linear infinite;
}

.client-partners__track.is-paused {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .client-partners__track {
    --partner-gap: 22px;
  }

  .client-partner-card__logo {
    height: 34px;
    max-height: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-partners__viewport.is-static {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .client-partners__track {
    width: max-content;
    min-width: max-content;
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}


/* =====================================================
   FINAL FIX — SEAMLESS TWO-GROUP PARTNER MARQUEE
===================================================== */
.client-partners__viewport {
  overflow: hidden !important;
}

.client-partners__track {
  --partner-gap: clamp(30px, 3vw, 56px);
  --partner-group-width: 0px;
  --partner-loop-duration: 28s;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  width: max-content !important;
  min-width: max-content !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.client-partners__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  gap: var(--partner-gap);
  padding-right: var(--partner-gap);
}

.client-partners__track.is-looping {
  animation: partner-seamless-loop var(--partner-loop-duration) linear infinite !important;
}

.client-partners__track.is-paused {
  animation-play-state: paused !important;
}

@keyframes partner-seamless-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--partner-group-width)), 0, 0); }
}

.client-partners__group .client-partner-card {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .client-partners__track {
    animation: none !important;
    transform: none !important;
  }
  .client-partners__group[aria-hidden="true"] {
    display: none !important;
  }
}


/* =====================================================
   VERIFIED PARTNER MARQUEE — VISIBLE, GAPLESS, CSS ONLY
===================================================== */
.client-partners__controls {
  display: none !important;
}

.client-partners__viewport {
  width: 100%;
  max-width: none !important;
  min-height: 84px;
  padding: 18px 0;
  overflow: hidden !important;
  border-radius: 0 !important;
}

.client-partners__track {
  --partner-gap: clamp(34px, 3.2vw, 62px);
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  width: max-content !important;
  min-width: max-content !important;
  animation: verified-partner-marquee 24s linear infinite !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.client-partners__group {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  gap: var(--partner-gap) !important;
  padding-right: var(--partner-gap) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.client-partners__group .client-partner-card,
.client-partners__group .client-partner-card:hover,
.client-partners__group .client-partner-card:focus-visible {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

.client-partners__group .client-partner-card::before,
.client-partners__group .client-partner-card::after {
  display: none !important;
  content: none !important;
}

.client-partners__group .client-partner-card__logo-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.client-partners__group .client-partner-card__logo {
  display: block !important;
  width: auto !important;
  height: 44px !important;
  max-width: 220px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.client-partners__viewport:hover .client-partners__track,
.client-partners__viewport:focus-within .client-partners__track {
  animation-play-state: paused !important;
}

@keyframes verified-partner-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-25%, 0, 0); }
}

@media (max-width: 768px) {
  .client-partners__viewport {
    min-height: 72px;
    padding: 14px 0;
  }

  .client-partners__track {
    --partner-gap: 28px;
    animation-duration: 20s !important;
  }

  .client-partners__group .client-partner-card__logo {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 180px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-partners__viewport {
    overflow-x: auto !important;
  }

  .client-partners__track {
    animation: none !important;
    transform: none !important;
  }

  .client-partners__group:not(:first-child) {
    display: none !important;
  }
}


/* =====================================================
   HOMEPAGE VISION SECTION
===================================================== */
.home-vision {
  padding: 88px 24px;
  background:
    radial-gradient(circle at 84% 20%, rgba(72, 158, 219, 0.17), transparent 34%),
    linear-gradient(135deg, #173f6f 0%, #245887 100%);
  color: #ffffff;
}

.home-vision__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.home-vision .section-tag {
  color: #8fd1ff;
}

.home-vision__content h2 {
  margin: 12px 0 20px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
}

.home-vision__content > p {
  max-width: 690px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.8;
}

.home-vision__link {
  display: inline-flex;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding-bottom: 5px;
}

.home-vision__statement {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 24px 60px rgba(3, 20, 42, 0.22);
  backdrop-filter: blur(8px);
}

.home-vision__statement > span {
  display: block;
  margin-bottom: 14px;
  color: #8fd1ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-vision__statement > p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.5;
}

.home-vision__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-vision__pillars strong {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.86);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* =====================================================
   COMPACT HOMEPAGE SERVICES
===================================================== */
.home-services {
  padding: 100px 24px;
  background: #f4f7fb;
}

.home-services__header {
  width: min(1180px, 100%);
  margin: 0 auto 42px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}

.home-services__header h2 {
  margin: 10px 0 12px;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.home-services__header p {
  max-width: 700px;
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.home-services__all {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.home-services__grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-service-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 16px 45px rgba(14, 40, 72, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(14, 40, 72, 0.14);
}

.home-service-card__image {
  height: 170px;
  overflow: hidden;
}

.home-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-service-card:hover .home-service-card__image img {
  transform: scale(1.04);
}

.home-service-card__content {
  padding: 24px 24px 27px;
}

.home-service-card__content > span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-service-card h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

.home-service-card p {
  min-height: 52px;
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.6;
}

.home-service-card a {
  color: var(--blue);
  font-weight: 750;
}

@media (max-width: 980px) {
  .home-vision__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-vision,
  .home-services {
    padding: 68px 20px;
  }

  .home-vision__statement {
    padding: 28px;
  }

  .home-services__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-service-card__image {
    height: 190px;
  }

  .home-service-card p {
    min-height: 0;
  }
}


/* =====================================================
   LEGAL PAGES + SECURE CONTACT FORM
===================================================== */
.legal-page-hero { min-height: 360px; display:flex; align-items:flex-end; padding: 150px 6vw 72px; color:#fff; background:linear-gradient(110deg,rgba(17,57,98,.96),rgba(30,89,143,.82)),url('../images/backgrounds/elec.webp') center/cover no-repeat; }
.legal-page-hero > div { width:min(1180px,100%); margin:0 auto; }
.legal-page-hero h1 { margin:12px 0 10px; font-size:clamp(2.4rem,5vw,4.8rem); line-height:1.02; }
.legal-page-hero p { max-width:720px; font-size:1.08rem; color:rgba(255,255,255,.84); }
.legal-content { width:min(920px,calc(100% - 40px)); margin:0 auto; padding:72px 0 100px; color:var(--text); }
.legal-content section { padding:26px 0; border-bottom:1px solid var(--border); }
.legal-content h2 { margin:0 0 12px; color:var(--navy); font-size:1.45rem; }
.legal-content p { margin:0; line-height:1.8; }
.legal-content a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.legal-updated { padding:18px 20px; background:#edf5fc; border-left:4px solid var(--blue); border-radius:8px; }
.form-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.contact-form-status { margin:0 0 22px; padding:16px 18px; border-radius:10px; font-weight:650; line-height:1.5; }
.contact-form-status.is-success { color:#155b31; background:#e7f7ed; border:1px solid #a9ddba; }
.contact-form-status.is-error { color:#8b1d25; background:#fff0f1; border:1px solid #efb7bb; }
.form-field small { display:block; margin-top:8px; color:#68778b; line-height:1.45; }
.form-consent { display:grid; grid-template-columns:auto 1fr; gap:11px; align-items:start; margin:4px 0 20px; font-size:.94rem; line-height:1.55; }
.form-consent input { width:18px; height:18px; margin-top:3px; accent-color:var(--blue); }
.form-consent a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.contact-submit-btn[disabled] { opacity:.68; cursor:wait; }
@media (max-width:700px) { .legal-page-hero { min-height:300px; padding:130px 24px 56px; } .legal-content { width:min(100% - 32px,920px); padding:52px 0 76px; } }

/* =====================================================
   LOGO VISIBILITY IMPROVEMENTS
   Larger header branding and a light footer logo panel
===================================================== */

/* Make the full logo and its tagline readable in the navigation. */
.site-brand img {
  height: 76px;
  width: auto;
}

.site-navbar {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-navbar.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* The logo uses dark navy artwork, so place it on a light branded panel
   instead of allowing it to blend into the dark footer background. */
.premium-footer__brand img {
  width: 300px;
  height: auto;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .site-brand img {
    height: 62px;
  }

  .site-nav-links {
    top: 96px;
  }
}

@media (max-width: 480px) {
  .site-brand img {
    height: 54px;
  }

  .site-nav-links {
    top: 86px;
  }

  .premium-footer__brand img {
    width: 260px;
    padding: 12px 14px;
  }
}
