:root {
  --primary: #0d9488;
  --primary-light: rgba(13, 148, 136, 0.08);
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --bg-main: #f8fafc;
  --bg-silver: #f1f5f9;
  --white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-heading: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 40px 100px rgba(0, 0, 0, 0.1);
  --transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.07);
  --radius-lg: clamp(1.6rem, 2vw, 2.4rem);
  --radius-pill: 100px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-premium: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /* Fluid Spacing */
  --space-hero: clamp(10rem, 15vh, 20rem);
  --space-section: clamp(8rem, 12vw, 16rem);
}

/* ─── BASE ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  background: var(--bg-main);
}
body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ─── NATIVE SMOOTH SCROLL — Disabled to prevent conflict with JS ─ */
html {
  scroll-behavior: auto;
}

/* ─── SCROLL PROGRESS — transform:scaleX (GPU composited) ───── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: var(--primary);
  z-index: 10001;
  transform-origin: left center;
  transform: scaleX(0);
  width: 100% !important;
  transition: transform 0.1s linear;
}

/* ══════════════════════════════════════════════════════════════
   AOS OVERRIDES — Custom easing & timing per element type
══════════════════════════════════════════════════════════════ */
[data-aos] {
  pointer-events: auto;
}

/* ─── HERO ENTRANCE (JS-timed, not AOS) ─────────────────────── */
.hero-h1 {
  opacity: 0;
  transform: translateY(4rem);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}
.hero-fadein {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.pwif-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.main-header.scrolled {
  top: 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .main-header {
    top: 1.2rem;
    width: 92% !important;
    left: 4% !important;
    transform: none !important;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
  .main-header.scrolled {
    top: 0.8rem;
    width: 92% !important;
    background: rgba(255, 255, 255, 0.98);
  }
}
@media (max-width: 480px) {
  .main-header {
    padding: 0.6rem 1.6rem;
  }
  .site-logo img {
    height: 2.8rem;
  }
  .hamburger {
    width: 3.4rem;
    height: 3.4rem;
    gap: 0.5rem;
  }
}
.pwif-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── PRELOADER ─────────────────────────────────────────────── */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#preloader img {
  height: 5rem;
}
.preloader-bar {
  width: 20rem;
  height: 2px;
  background: var(--slate-200);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.05s linear;
}

/* ─── CURSOR ────────────────────────────────────────────────── */
/* Swiper — hide controls on auto-silent sliders */
.sol-swiper .swiper-pagination,
.sol-swiper .swiper-button-next,
.sol-swiper .swiper-button-prev,
.hero-swiper .swiper-pagination,
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev,
.contact-swiper .swiper-pagination,
.contact-swiper .swiper-button-next,
.contact-swiper .swiper-button-prev {
  display: none !important;
}

/* Removed duplicate .scroll-progress rule */

/* ─── NOISE ─────────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── FLOATING ACTION BUTTON ────────────────────────────────── */
.fab-connect {
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  z-index: 998;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-base);
  will-change: background, box-shadow, transform;
}
.fab-connect:hover {
  background: var(--white);
  box-shadow: var(--shadow-premium);
  transform: scale(1.06) translateY(-4px);
}
.fab-connect span {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.4;
}

/* ─── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 3.5rem;
  left: 3.5rem;
  z-index: 998;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-base),
    background var(--transition-fast);
  opacity: 0;
  pointer-events: none;
  font-size: 2rem;
  color: var(--primary);
}
@media (max-width: 767px) {
  .scroll-top-btn {
    bottom: 2rem;
    left: 2rem;
    width: 4.8rem;
    height: 4.8rem;
  }
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

/* ─── PILL HEADER ───────────────────────────────────────────── */
.main-header {
  position: fixed;
  top: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 140rem;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-radius: var(--radius-pill);
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: top, width;
}

@media (max-width: 1024px) {
  .main-header {
    top: 1.5rem;
    width: 90%;
    margin: 0 auto;
  }
}

.main-header.scrolled {
  top: 1rem;
  width: 80%;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo img {
  height: 4.2rem;
  object-fit: contain;
  width: auto;
  transition: height 0.3s ease;
}
@media (max-width: 768px) {
  .site-logo img {
    height: 3.2rem;
  }
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 3.5rem;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.4rem;
  opacity: 0.65;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active-link {
  opacity: 1;
  color: var(--primary);
}

/* ─── MOBILE HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  width: 4rem;
  height: 4rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-premium);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12rem 4rem 6rem;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.1s * var(--i));
}
.mobile-menu.open .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-links a:hover {
  color: var(--primary);
  transform: translateX(10px) !important;
}
.mobile-cta {
  color: var(--primary) !important;
}
.mobile-menu-footer {
  margin-top: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.5s;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}
.mobile-socials {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}
.mobile-contact-info p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.mobile-menu-close {
  position: absolute;
  top: 4rem;
  right: 4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--white);
  transition: var(--transition-base);
}
.mobile-menu-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* ─── BUTTON ────────────────────────────────────────────────── */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem 3rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid transparent;
  will-change: transform;
}
.btn-primary:hover {
  background: var(--slate-900);
  transform: scale(1.04);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end; /* Position content at bottom */
  justify-content: center;
  overflow: hidden;
  padding: 0 0 15rem 0; /* Bottom padding for the content group */
  contain: layout;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 16rem 2rem 10rem;
    text-align: center;
  }
  .hero-h1 {
    font-size: clamp(6.5rem, 16vw, 9rem);
    margin: 2.5rem 0;
    line-height: 0.85;
  }
  .hero-content p {
    font-size: 1.8rem;
    max-width: 100%;
    margin-bottom: 4rem;
  }
  .hero-content .btn-primary {
    width: 100%;
    margin-bottom: 2rem;
  }
  .hero-fadein {
    gap: 1.5rem !important;
  }
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin: 3rem 0;
}
.hero-word-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #065f46 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: clamp(2rem, 3vw, 3rem);
  color: #ffffff;
  font-weight: 500;
  max-width: 90rem;
  margin: 0 auto 5rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.5) 100%
  );
}
.hero-link-secondary {
  color: #fff;
  font-weight: 600;
  font-size: 1.7rem;
  padding: 1.6rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-link-secondary:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
/* Consolidated .hero-h1 removal from here */

/* Lazy-loaded images: prevent layout shift */
img[loading="lazy"] {
  background: var(--bg-silver);
}

/* ─── BADGE ─────────────────────────────────────────────────── */
.badge-senior {
  display: inline-block;
  background: rgba(13, 148, 136, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff !important;
  padding: 1.2rem 2.8rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ─── MISSION QUOTE ─────────────────────────────────────────── */
.mission-quote-block {
  padding: 15rem 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}
.mission-quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 5vw, 7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-main);
  max-width: 110rem;
  margin: 0 auto;
}
.mission-quote-block blockquote em {
  font-style: normal;
  color: var(--primary);
}

/* ─── IMPACT STATS STRIP ────────────────────────────────────── */
.impact-strip {
  background: var(--slate-900);
  padding: 12rem 0;
  position: relative;
  overflow: hidden;
}

.impact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(13, 148, 136, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.impact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.impact-stat-item {
  padding: 8rem 4rem;
  text-align: center;
  background: var(--slate-900);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.impact-stat-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition-base);
}

.impact-stat-item:hover {
  background: rgba(13, 148, 136, 0.02);
}

.impact-stat-item:hover::after {
  opacity: 1;
}

.impact-stat-num {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: block;
  text-shadow: 0 0 30px rgba(13, 148, 136, 0.15);
}

.impact-stat-label {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .impact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── PARTNER TILE ──────────────────────────────────────────── */
.partner-tile {
  transition: var(--transition);
  cursor: default;
}
.partner-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card) !important;
  border-color: var(--primary) !important;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-senior {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 14rem 8rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .contact-senior {
    padding: 10rem 3rem;
    border-radius: 4rem;
  }
}
.contact-senior .badge-senior {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ─── AMBIENT BLOBS — GPU optimized ──────────────────────────── */
.senior-blob {
  position: absolute;
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.05) 0%,
    transparent 65%
  );
  /* Removed filter:blur — too expensive. Use opacity gradient instead */
  z-index: -1;
  pointer-events: none;
  will-change: auto; /* don't hint GPU for static elements */
  contain: layout style;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.main-footer {
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
  padding: 18rem 0 8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Wave Divider */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}
.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 12rem;
}
.footer-wave path {
  fill: var(--bg-silver);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: clamp(6rem, 8vw, 12rem);
  margin-bottom: 10rem;
  position: relative;
  z-index: 2;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.footer-logo img {
  height: 6rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition-premium);
}

.footer-logo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-description {
  font-size: 1.7rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42rem;
  text-align: justify;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-btn {
  width: 5.4rem;
  height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition-premium);
  position: relative;
}

.social-btn svg {
  width: 2.2rem;
  height: 2.2rem;
  position: relative;
  z-index: 2;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4rem;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-link {
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: var(--transition-base);
}

.footer-link-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(8px);
}

.footer-link:hover .footer-link-dot {
  opacity: 1;
  transform: scale(1);
}

.footer-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-subheading {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.footer-address,
.footer-phone,
.footer-reg {
  font-size: 1.65rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.45rem;
  position: relative;
  z-index: 2;
}

.footer-credits a {
  font-weight: 700;
  color: var(--primary);
  position: relative;
}

.footer-credits a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: var(--transition-base);
}

.footer-credits a:hover::after {
  width: 100% !important;
}

/* ─── FEATURE PILLARS — Persistent Interaction ────────────────── */
.pillars-section {
  padding: 12rem 0;
  margin-top: -8rem;
  position: relative;
  z-index: 10;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5rem;
}
.pillar-card {
  background: var(--white);
  padding: 5rem 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform var(--transition-premium),
    box-shadow var(--transition-premium);
  cursor: pointer;
  height: 44rem; /* Fixed height to prevent row resizing */
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--border-color);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.pillar-card:hover::before {
  opacity: 0.03;
}
.pillar-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-color);
  z-index: 5;
}

.pillar-icon {
  width: 9.6rem;
  height: 9.6rem;
  border-radius: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 5;
}
.pillar-card:hover .pillar-icon {
  transform: translateY(-2rem) scale(1.05);
}

.pillar-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.04em;
  line-height: 1.1;
  transition: transform 0.5s var(--transition-premium);
}

.pillar-desc-long {
  font-family: var(--font-body);
  font-size: 1.55rem;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    max-height 0.6s var(--transition-premium),
    transform 0.5s var(--transition-premium);
  margin-top: 0;
  transform: translateY(2rem);
}

.pillar-cta {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  display: block;
  margin-top: 1.5rem;
  transition:
    opacity 0.4s ease 0.1s,
    transform 0.4s ease;
  transform: translateY(1rem);
}

.pillar-card:hover .pillar-title,
.pillar-card:active .pillar-title {
  transform: translateY(-2rem);
}
.pillar-card:hover .pillar-desc-long,
.pillar-card:active .pillar-desc-long {
  opacity: 1;
  max-height: 20rem;
  margin-top: 2rem;
  transform: translateY(-1.5rem);
}
.pillar-card:hover .pillar-cta {
  opacity: 1;
  transform: translateY(-1rem);
}

.pillar-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-premium);
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-card {
    height: 46rem;
  }
}

@media (max-width: 480px) {
  .pillars-section {
    padding: 6rem 0;
    margin-top: 0;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar-card {
    height: 40rem; /* Give it enough height to expand */
    padding: 4.5rem 3.5rem;
    transition: all 0.5s ease;
  }
}

/* ─── SOLUTION SKELETON ────────────────────────────────────── */
.sol-skeleton {
  pointer-events: none;
}
.sol-skeleton img {
  opacity: 0.8 !important; /* Brighter initial state */
  filter: blur(8px);
}
.sol-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.2s infinite; /* Faster shimmer */
}
@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Disable hover transforms on touch devices to avoid "sticky" UI */
@media (hover: none) {
  .pillar-card:hover,
  .partner-tile:hover,
  .btn-primary:hover,
  .solution-row:hover {
    transform: none !important;
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}
.container {
  width: 92%;
  max-width: 148rem;
  margin: 0 auto;
}
.pwif-custom-engine {
  position: relative;
  overflow: hidden;
}
.swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.3;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
}

/* ─── PROCESS STEPS ─────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
@media (max-width: 1023px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.process-step {
  background: var(--white);
  border-radius: 4rem;
  padding: 6rem 4.5rem;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.process-step.is-highlighted {
  background: var(--primary);
  color: var(--white);
  margin-top: 4rem;
}
.process-step:not(.is-highlighted) {
  margin-top: 0;
}
@media (min-width: 1024px) {
  .process-step:nth-child(2) {
    margin-top: 4rem;
  }
  .process-step:nth-child(3) {
    margin-top: 8rem;
  }
}
@media (max-width: 1023px) {
  .process-step {
    margin-top: 0 !important;
    padding: 4rem 3rem;
  }
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium) !important;
}
.process-num {
  font-family: var(--font-heading);
  font-size: 10rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 3rem;
  letter-spacing: -0.06em;
}
.is-highlighted .process-num {
  color: rgba(255, 255, 255, 0.15);
}

.process-icon {
  width: 5.2rem;
  height: 5.2rem;
  background: var(--primary-light);
  border-radius: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  color: var(--primary);
}
.is-highlighted .process-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}
.process-step p {
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.is-highlighted p {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── EDITORIAL SECTION ─────────────────────────────────────── */
.editorial-section {
  background: var(--bg-silver);
  padding: clamp(10rem, 15vw, 18rem) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.editorial-header {
  margin-bottom: clamp(6rem, 8vw, 10rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.editorial-h3 {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 7vw, 8.5rem);
  color: var(--text-main);
  margin-top: 2rem;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.editorial-intro {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.7;
}

/* ─── EDITORIAL MASONRY GRID ────────────────────────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 38rem 28rem 32rem;
  gap: 1.6rem;
}

/* Row 1 */
.eg-tall-left {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
} /* tall left */
.eg-top-right1 {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
} /* wide middle */
.eg-top-right2 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
} /* small right */

/* Row 2 */
.eg-mid-left1 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.eg-mid-left2 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.eg-mid-right {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

/* Row 3 */
.eg-bot-left {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}
.eg-bot-mid {
  grid-column: 2 / 4;
  grid-row: 3 / 4;
} /* wide center */
.eg-bot-right {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

.eg-item {
  position: relative;
  border-radius: clamp(2rem, 3vw, 3.2rem);
  overflow: hidden;
  cursor: pointer;
}
.eg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 148, 136, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
  z-index: 1;
}
.eg-item:hover::after {
  opacity: 1;
}
.eg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.eg-item:hover img {
  transform: scale(1.1);
}

.eg-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 3.5rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.4) 40%,
    transparent 100%
  );
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  letter-spacing: -0.01em;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}
.eg-item:hover .eg-caption {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM  —  6 Breakpoints
   xs: 0–479  |  sm: 480–767  |  md: 768–1023
   lg: 1024–1279  |  xl: 1280–1535  |  2xl: 1536+
══════════════════════════════════════════════════════════════ */

/* ─── 2XL: 1536px+ (Large Monitors, 4K) ────────────────────── */
@media (min-width: 1536px) {
  .container {
    max-width: 160rem;
  }
  html {
    font-size: 68.75%;
  } /* 11px base → 1rem = 11px */
  .hero-section h1 {
    font-size: 20rem;
  }
  .impact-stat-num {
    font-size: 9rem;
  }
  .editorial-grid {
    grid-template-rows: 46rem 34rem 38rem;
  }
}

/* ─── XL: 1280px–1535px (Standard Desktop / Laptops) ───────── */
@media (min-width: 1280px) and (max-width: 1535px) {
  .container {
    max-width: 128rem;
  }
}

/* ─── LG: 1024px–1279px (Small Laptop, iPad Pro Landscape) ─── */
@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 100rem;
  }
  .editorial-grid {
    grid-template-rows: 32rem 24rem 28rem;
  }
  .main-header {
    width: 94%;
  }
  .impact-stat-num {
    font-size: 5.5rem;
  }
}

/* ─── MD: 768px–1023px (Tablets: iPad Mini, Air, Pro 11") ──── */
@media (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 56.25%;
  } /* 9px base = 1rem */
  .container {
    width: 94%;
    max-width: 96rem;
  }

  /* Header */
  .main-header {
    width: 94%;
    padding: 0.8rem 2.5rem;
    top: 1.6rem;
  }
  .main-header.scrolled {
    width: 88%;
    top: 0.8rem;
  }
  .main-nav ul {
    gap: 2.5rem;
  }
  .main-nav a {
    font-size: 1.5rem;
  }

  /* Hero */
  .hero-section {
    height: 90vh;
  }

  /* Solutions — stack on tablet */
  .solution-row {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 5rem !important;
    margin-bottom: 10rem !important;
  }
  .sol-swiper-wrap {
    height: 45rem;
    border-radius: 3rem;
  }

  /* Process steps — 2 column on tablet */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem !important;
  }
  .process-step[style*="margin-top:4rem"],
  .process-step[style*="margin-top:8rem"] {
    margin-top: 0 !important;
  }

  /* Impact strip */
  .impact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-stat-num {
    font-size: 6rem;
  }
  .impact-stat-item {
    padding: 6rem 3rem;
  }

  /* Partner grid — 2×4 becomes 2×2 */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  /* Editorial grid — Tablet 2-column */
  .editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 2.5rem;
  }
  .eg-tall-left,
  .eg-top-right1,
  .eg-top-right2,
  .eg-mid-left1,
  .eg-mid-left2,
  .eg-mid-right,
  .eg-bot-left,
  .eg-bot-mid,
  .eg-bot-right {
    grid-column: auto;
    grid-row: auto;
    height: 34rem;
  }

  /* Contact */
  .contact-senior {
    padding: 12rem 6rem;
    border-radius: 6rem;
  }
  .contact-senior h2 {
    font-size: 7rem !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8rem 6rem;
  }
  .footer-brand-col {
    grid-column: span 2;
  }

  /* FAB */
  .fab-connect {
    width: 11rem;
    height: 11rem;
  }
}

/* ─── SM: 480px–767px (Large Mobile: iPhone 14 Plus, Galaxy) ── */
@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 53.125%;
  } /* 8.5px */
  .container {
    width: 95%;
  }

  /* Header — hamburger */
  .main-header {
    width: 100%;
    padding: 1.5rem 1.5rem; /* Reduced horizontal padding to move items to edges */
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .main-header.scrolled {
    width: 100%;
    top: 0;
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(15px) !important;
  }
  .site-logo img {
    height: 5.2rem !important; /* Even larger logo as requested */
  }
  .header-inner {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .main-nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-section {
    height: 100vh;
    padding-top: 8rem;
  }

  /* Solutions — single column */
  .solution-row {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 4rem !important;
    margin-bottom: 8rem !important;
  }
  .sol-swiper-wrap {
    height: 38rem;
    border-radius: 2.5rem;
  }

  /* Process steps — single column */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
  .process-step[style*="margin-top:4rem"],
  .process-step[style*="margin-top:8rem"] {
    margin-top: 0 !important;
  }

  /* Impact */
  .impact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-stat-num {
    font-size: 5.5rem;
  }
  .impact-stat-item {
    padding: 5rem 2rem;
  }

  /* Partners — 2 columns */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem !important;
  }

  /* Editorial grid — Large Mobile 1-column */
  .editorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.6rem;
  }
  .eg-tall-left,
  .eg-top-right1,
  .eg-top-right2,
  .eg-mid-left1,
  .eg-mid-left2,
  .eg-mid-right,
  .eg-bot-left,
  .eg-bot-mid,
  .eg-bot-right {
    grid-column: auto;
    grid-row: auto;
    height: 28rem;
  }
  .editorial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  /* Mission quote */
  .mission-quote-block blockquote {
    font-size: 3.2rem;
  }

  /* Contact */
  .contact-senior {
    padding: 9rem 4rem;
    border-radius: 5rem;
  }
  .contact-senior h2 {
    font-size: 5.5rem !important;
  }

  /* Footer */
  .main-footer {
    padding: 12rem 0 6rem;
    text-align: center;
  }
  .footer-wave svg {
    height: 8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8rem;
    margin-bottom: 8rem;
  }
  .footer-brand-col {
    align-items: center;
    gap: 3rem;
  }
  .footer-description {
    max-width: 100%;
  }
  .footer-logo img {
    height: 5.5rem;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-link {
    justify-content: center;
  }
  .footer-link:hover {
    transform: translateY(-3px);
  }
  .footer-contact-grid {
    gap: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 3rem;
  }

  /* FAB */
  .fab-connect {
    width: 9.5rem;
    height: 9.5rem;
    bottom: 2.5rem;
    right: 2.5rem;
  }
  .scroll-top-btn {
    left: 2rem;
    bottom: 2.5rem;
  }
}

/* ─── XS: 0–479px (Small Mobile: iPhone SE, Galaxy 360px) ───── */
@media (max-width: 479px) {
  html {
    font-size: 50%;
  } /* 8px base */
  .container {
    width: 95%;
  }

  /* Header */
  .main-header {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem;
    border-radius: 0;
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .main-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    padding: 1.2rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  }
  .main-header.scrolled .hamburger,
  .hamburger.scrolled {
    border-color: #0f172a !important;
    background: rgba(15, 23, 42, 0.1) !important;
  }
  .main-header.scrolled .hamburger span,
  .hamburger.scrolled span {
    background-color: #0f172a !important; /* Deep dark for scrolled icon */
  }
  .site-logo img {
    height: 6.5rem !important; /* Bold, proper visible logo */
  }
  .main-nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 1.5rem !important;
    width: 5.2rem !important;
    height: 5.2rem !important;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .hamburger span {
    background-color: #fff !important;
    width: 2.5rem !important;
  }

  /* Mobile menu — smaller text */
  .mobile-menu a {
    font-size: 4.5rem;
    gap: 3rem;
  }

  /* Hero */
  .hero-section {
    height: 750px;
    min-height: 55rem;
    padding-top: 10rem;
  }

  /* Badge */
  .badge-senior {
    font-size: 1.1rem;
    padding: 0.6rem 1.6rem;
  }

  /* Solutions */
  .solution-row {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 3rem !important;
    margin-bottom: 6rem !important;
  }
  .sol-swiper-wrap {
    height: 30rem;
    border-radius: 2rem;
  }

  /* Process — 1 col, no offset */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
  .process-step {
    border-radius: 2.5rem !important;
    padding: 4rem 3rem !important;
  }
  .process-step[style*="margin-top:4rem"],
  .process-step[style*="margin-top:8rem"] {
    margin-top: 0 !important;
  }

  /* Impact strip — 2x2 column as requested */
  .impact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-stat-item {
    padding: 4rem 2rem;
  }
  .impact-stat-num {
    font-size: 4.5rem;
  }
  .impact-stat-label {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  /* Partner grid — single column */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .partner-tile {
    min-height: 12rem !important;
    padding: 3rem 2.5rem !important;
  }

  /* Editorial grid — Small Mobile 1-column */
  .editorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.2rem;
  }
  .eg-tall-left,
  .eg-top-right1,
  .eg-top-right2,
  .eg-mid-left1,
  .eg-mid-left2,
  .eg-mid-right,
  .eg-bot-left,
  .eg-bot-mid,
  .eg-bot-right {
    grid-column: 1;
    grid-row: auto;
    height: 24rem;
  }
  .editorial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 5rem;
  }
  .editorial-intro {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  .editorial-h3 {
    font-size: 4.5rem;
  }

  /* Mission quote */
  .mission-quote-block {
    padding: 8rem 0;
  }
  .mission-quote-block blockquote {
    font-size: 2.8rem;
    line-height: 1.3;
  }

  /* Contact */
  .contact-senior {
    padding: 8rem 2.5rem;
    border-radius: 4rem;
  }
  .contact-senior h2 {
    font-size: 4.5rem !important;
  }
  .contact-senior p {
    font-size: 1.9rem !important;
  }

  /* Footer Fix — Centered Mobile Layout */
  .main-footer {
    padding: clamp(8rem, 12vw, 12rem) 0 6rem;
    text-align: center;
  }
  .footer-wave svg {
    height: 8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: clamp(6rem, 10vw, 8rem);
    margin-bottom: 8rem;
  }
  .footer-brand-col {
    align-items: center !important;
    text-align: center !important;
    gap: 3rem;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .footer-logo img {
    height: 5.5rem;
  }
  .footer-description {
    max-width: 100% !important;
    margin: 0 auto;
  }
  .footer-social {
    justify-content: center;
    gap: 2rem;
  }
  .footer-heading {
    margin-bottom: 3.5rem;
  }
  .footer-link {
    justify-content: center;
    gap: 1.5rem;
  }
  .footer-contact-grid {
    gap: 4.5rem;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 3.5rem;
    padding-top: 5rem;
  }
  .footer-credits {
    font-size: 1.35rem;
  }

  /* FAB — smaller, closer to edge */
  .fab-connect {
    width: 8.5rem;
    height: 8.5rem;
    bottom: 2rem;
    right: 2rem;
  }
  .fab-connect span {
    font-size: 1rem;
  }
  .scroll-top-btn {
    width: 4.8rem;
    height: 4.8rem;
    left: 2rem;
    bottom: 2rem;
  }

  /* Section padding compression */
  section,
  .container {
    padding-top: clamp(6rem, 10vw, 10rem) !important;
    padding-bottom: clamp(6rem, 10vw, 10rem) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   BUG FIXES & FLUID ENHANCEMENTS
══════════════════════════════════════════════════════════════ */

/* ─── SOLUTIONS SECTION — Premium Magazine Grid ──────────────── */
.solutions-section {
  padding: clamp(12rem, 16vw, 22rem) 0;
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.solutions-h2 {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 10vw, 12rem);
  color: var(--text-main);
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-top: 2rem;
}

.solution-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(6rem, 10vw, 15rem);
  align-items: center;
  margin-bottom: clamp(12rem, 18vw, 22rem);
}

.solution-row:last-child {
  margin-bottom: 0;
}

.solution-row.is-reversed .sol-swiper-wrap {
  order: 2;
}

.solution-row.is-reversed .sol-text {
  order: 1;
}

.sol-swiper-wrap {
  height: clamp(40rem, 55vh, 65rem);
  border-radius: clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-premium);
}

.sol-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg-silver);
}
.sol-skeleton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  opacity: 0.5;
}

.sol-swiper {
  height: 100%;
  z-index: 2;
}

.solution-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 5vw, 7.5rem);
  color: var(--text-main);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 2rem 0 3.5rem;
}

.solution-desc {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.solution-stats-grid {
  display: flex;
  gap: 4rem;
  margin-top: 6rem;
  padding-top: 5rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.sol-stat-card {
  flex: 0 0 auto;
}

.sol-stat-val {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 5vw, 6.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 0.9;
}

.sol-stat-label {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--slate-500);
  margin-top: 1.2rem;
}

@media (max-width: 1024px) {
  .solution-row {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  .solution-row.is-reversed .sol-swiper-wrap,
  .solution-row.is-reversed .sol-text {
    order: unset;
  }
  .sol-swiper-wrap {
    height: 55rem;
  }
}

@media (max-width: 480px) {
  .solutions-section {
    padding: 10rem 0;
  }
  .sol-swiper-wrap {
    height: 38rem;
    border-radius: 3.5rem;
  }
  .solution-stats-grid {
    gap: 3.5rem;
    justify-content: center;
    text-align: center;
  }
}

/* ─── FLUID HERO H1 — smooth scale across all devices ────────── */
/* clamp(min, fluid, max): 4rem on 320px, 12rem on 1440px        */
.hero-h1 {
  font-size: clamp(4rem, calc(4rem + 8vw), 12rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.06em !important;
}

/* ─── TOUCH DEVICE FIX — captions always visible (no hover) ─── */
/* On phones & tablets (hover: none), show captions permanently  */
@media (hover: none) {
  .eg-caption {
    transform: translateY(0) !important;
    /* Semi-transparent so image still visible underneath */
    background: linear-gradient(
      to top,
      rgba(15, 23, 42, 0.65) 0%,
      transparent 100%
    );
  }
  /* Disable zoom on touch — already handled by JS, but reinforce */
  .eg-item img {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ✦ PREMIUM VISUAL ENHANCEMENTS
   Gradient text · Shimmer · Dot grid · Wave · Scrollbar · Glow
══════════════════════════════════════════════════════════════ */

/* ─── KEYFRAMES ─────────────────────────────────────────────── */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes shimmerSweep {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}
@keyframes wheelDrop {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0);
  }
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ─── HERO — Animated Gradient "Water" text ─────────────────── */
.hero-word-plain {
  color: #ffffff;
  font-size: clamp(5rem, 9vw, 12rem);
  font-weight: 800;
  display: block;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.hero-word-gradient {
  display: inline-block;
  font-size: clamp(5rem, 9vw, 12rem);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    #0d9488 0%,
    #06b6d4 35%,
    #3b82f6 65%,
    #0d9488 100%
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* ─── HERO — Overlays ────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.5) 100%
  );
}
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(13, 148, 136, 0.12) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 40%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 40%,
    transparent 100%
  );
}

/* ─── HERO — Tagline + Ghost CTA ────────────────────────────── */
.hero-tagline-text {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  color: var(--text-muted);
  font-weight: 500;
  max-width: 60rem;
  margin: 0 auto 5rem;
}
.hero-ghost-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.7rem;
  padding: 1.6rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 2px solid var(--slate-200);
  transition:
    color 0.3s,
    border-color 0.3s;
  text-decoration: none;
}
.hero-ghost-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.ghost-arrow {
  display: inline-block;
  animation: arrowBounce 1.8s ease-in-out infinite;
}

/* ─── HERO — Scroll Mouse Indicator ─────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 2.4rem;
  height: 3.8rem;
  border: 2px solid rgba(13, 148, 136, 0.55);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 0.6rem;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: wheelDrop 1.8s ease-in-out infinite;
}

/* ─── REDESIGNED PARTNERS MARQUEE ─────────────────────────── */
.partners-marquee-section {
  background: var(--bg-main);
  padding: 16rem 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}

.partner-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8rem;
  margin-bottom: 12rem;
}

.pe-left {
  flex: 0 0 45%;
}
.pe-right {
  flex: 0 0 45%;
}

.pe-title {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 8vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--text-main);
  margin-top: 3rem;
}

.pe-intro {
  font-size: 2.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

.pe-cta .btn-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  transition: gap 0.3s;
}

.pe-cta .btn-text:hover {
  gap: 2rem;
}

/* Premium Logo Grid styles */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.partner-card {
  perspective: 1200px;
}

.pc-logo-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: clamp(1.6rem, 2vw, 2.4rem);
  padding: 4rem 2.5rem;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  box-shadow:
    0 4px 24px -1px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.pc-logo-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 50%
  );
  opacity: 0.8;
  pointer-events: none;
}

.pc-logo-img {
  width: auto;
  height: 8rem;
  max-width: 95%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7) brightness(1);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 2;
}

.pc-logo-box:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-1.2rem) scale(1.02);
  box-shadow:
    0 30px 60px -12px rgba(13, 148, 136, 0.15),
    0 18px 36px -18px rgba(0, 0, 0, 0.2);
}

.pc-logo-box:hover .pc-logo-img {
  filter: grayscale(0%) opacity(1) brightness(1);
  transform: scale(1.08) translateY(-2px);
}

.pc-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: capitalize;
  transition: color 0.4s ease;
}

.pc-logo-box:hover .pc-name {
  color: var(--primary);
}

.pc-industry {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .pc-logo-box {
    padding: 2.5rem 1rem;
    min-height: 12rem;
    border-radius: 1.6rem;
  }
  .pc-name {
    font-size: 1.4rem;
  }
  .pc-industry {
    font-size: 0.8rem;
  }
  .pc-logo-img {
    max-height: 6.5rem;
    max-width: 95%;
  }
}
@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
}

/* ─── HERO — Wave SVG Divider ────────────────────────────────── */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ─── BUTTON — Shimmer on hover ─────────────────────────────── */
.btn-shine {
  overflow: hidden;
  position: relative;
}
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
}
.btn-shine:hover::after {
  animation: shimmerSweep 0.55s ease forwards;
}

/* ─── BADGE — Pulse ──────────────────────────────────────────── */
.badge-senior {
  animation: badgePulse 3s ease-in-out infinite;
}

/* ─── IMPACT STATS — Glow + shimmer on hover ────────────────── */
.impact-stat-num {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
.impact-stat-item {
  transition: background 0.35s !important;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.impact-stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.impact-stat-item:hover::before {
  opacity: 1;
}
.impact-stat-item:hover .impact-stat-num {
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.45);
}

/* ─── PARTNER TILES — Teal glow hover ───────────────────────── */
.partner-tile {
  transition:
    box-shadow 0.35s,
    transform 0.35s,
    background 0.35s !important;
}
.partner-tile:hover {
  box-shadow:
    0 12px 40px rgba(13, 148, 136, 0.15),
    0 0 0 1px rgba(13, 148, 136, 0.2) !important;
  transform: translateY(-4px) !important;
  background: rgba(13, 148, 136, 0.04) !important;
}

/* ─── MISSION QUOTE — Big decorative quote mark ─────────────── */
.mission-quote-block {
  position: relative;
}
.mission-quote-block blockquote {
  position: relative;
}
.mission-quote-block blockquote::before {
  content: "\201C";
  position: absolute;
  top: -3rem;
  left: -1rem;
  font-family: var(--font-heading);
  font-size: 16rem;
  font-weight: 900;
  color: rgba(13, 148, 136, 0.07);
  line-height: 1;
  pointer-events: none;
}

/* ─── PROCESS STEPS — Left glow accent ──────────────────────── */
.process-step {
  position: relative;
  overflow: hidden;
}
.process-step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.process-step:hover::after {
  opacity: 1;
}

/* ─── EDITORIAL GRID — Teal shimmer on hover ────────────────── */
.eg-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.1) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: inherit;
}
.eg-item:hover::before {
  opacity: 1;
}

/* ─── CUSTOM SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0d9488, #06b6d4);
  border-radius: 3px;
}

/* ─── TEXT SELECTION ─────────────────────────────────────────── */
::selection {
  background: rgba(13, 148, 136, 0.18);
  color: #0d5e55;
}

/* ─── PWIF ULTIMATE OVERLAY (Nuclear Fix) ───────────────────── */
.pwif-ultimate-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important; /* Max possible z-index */
  background: rgba(0, 0, 0, 0.98) !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  backdrop-filter: blur(25px);
}

.pwif-ultimate-overlay.active {
  display: flex !important;
}

.pwif-overlay-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  animation: overlay-zoom 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes overlay-zoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pwif-overlay-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pwif-overlay-caption {
  color: #fff;
  font-size: 2.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pwif-overlay-close {
  position: absolute;
  top: 4rem;
  right: 4rem;
  color: #fff;
  font-size: 5rem;
  cursor: pointer;
  z-index: 2147483647;
  opacity: 0.6;
  transition:
    opacity 0.3s,
    transform 0.3s;
  line-height: 0.8;
}

.pwif-overlay-close:hover {
  opacity: 1;
  transform: scale(1.1) rotate(90deg);
}

/* ─── RESPONSIVE — Hide hints on small mobile ───────────────── */
@media (max-width: 479px) {
  .hero-scroll-hint {
    display: none;
  }
  .hero-wave svg {
    height: 40px;
  }
  .mission-quote-block blockquote::before {
    display: none;
  }
}
