@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --navy:      #1A3A6B;
  --navy-dark: #0F2544;
  --navy-mid:  #1E4580;
  --green:     #1A6B3A;
  --green-light:#22874A;
  --green-pale:#E6F4EC;
  --sky:       #2878B4;
  --off-white: #F4F6F9;
  --white:     #ffffff;
  --charcoal:  #1E1E2E;
  --gray:      #64748B;
  --gray-light:#E2E8F0;
  --purple:    #5C3D8F;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--charcoal); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── TOPBAR ── */
.topbar { background: var(--navy-dark); padding: 6px 0; font-size: 12px; color: rgba(255,255,255,0.6); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 16px; }
.tb-pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.8)} }

/* ── NAVBAR ── */
nav { background: var(--navy); position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; margin-right: 24px; }
.logo-mark svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo-brand { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 2px; line-height: 1; display: block; white-space: nowrap; }
.logo-sub { font-size: 8.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 3px; display: block; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; flex: 1; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 13px; padding: 0 12px; height: 66px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-item > a:hover, .nav-item.active > a { color: #fff; background: rgba(255,255,255,0.08); }
.nav-item > a .chevron { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s; }
.nav-item.active > a .chevron { transform: rotate(180deg); opacity: 1; }

/* Mega menu */
.mega-menu { position: absolute; top: 66px; left: 50%; transform: translateX(-40%); background: var(--white); border: 1px solid var(--gray-light); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); padding: 28px; display: none; z-index: 200; }
.nav-item:hover .mega-menu { display: grid; }
.mega-cols-2 { grid-template-columns: 1fr 1fr; gap: 20px; min-width: 420px; }
.mega-cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px; min-width: 580px; }
.mega-cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; min-width: 760px; }
.mega-group-title { font-size: 9px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 7px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1; }
.mega-link { display: flex; align-items: flex-start; gap: 6px; padding: 5px 8px; border-radius: 6px; text-decoration: none; color: var(--gray); font-size: 12.5px; transition: background 0.15s, color 0.15s; line-height: 1.4; }
.mega-link::before { content: '→'; color: var(--green); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.mega-link:hover { background: var(--off-white); color: var(--navy); }
.nav-cta { margin-left: auto; background: var(--green); color: #fff !important; padding: 0 20px !important; height: 38px; border-radius: 8px; font-size: 13px !important; font-weight: 600 !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; transition: background 0.2s !important; text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.nav-cta:hover { background: var(--green-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; margin-right: 8px; background: none; border: none; }
.hamburger span { width: 20px; height: 1.5px; background: #fff; border-radius: 2px; display: block; }

/* Mobile drawer */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 150; }
.mobile-drawer { position: fixed; top: 0; left: 0; height: 100%; width: 85vw; max-width: 340px; background: var(--navy-dark); z-index: 200; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; overflow: hidden; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-overlay.open { display: block; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.drawer-close { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 18px; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.drawer-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.drawer-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.drawer-toggle .arrow { color: rgba(255,255,255,0.4); font-size: 18px; transition: transform 0.2s; flex-shrink: 0; }
.drawer-toggle.expanded .arrow { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 4px 12px 12px; }
.drawer-sub.open { display: block; }
.drawer-sub-title { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(110,231,163,0.8); padding: 8px 8px 4px; }
.drawer-sub a { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; color: rgba(255,255,255,0.6); font-size: 13px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.drawer-sub a::before { content: '→'; color: #4ADE80; font-size: 11px; flex-shrink: 0; }
.drawer-sub a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.drawer-cta-primary { display: block; background: var(--green); color: #fff; text-align: center; padding: 12px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; }
.drawer-cta-secondary { display: block; background: rgba(255,255,255,0.08); color: #fff; text-align: center; padding: 12px; border-radius: 12px; text-decoration: none; font-size: 14px; }

/* ── HERO CAROUSEL ── */
.hero-carousel { position: relative; overflow: hidden; background: #0F2544; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.carousel-slide { min-width: 100%; position: relative; overflow: hidden; }
.cs-bg { position: absolute; inset: 0; }
.cs-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; }
.cs-inner { max-width: 1280px; margin: 0 auto; padding: 80px 32px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; min-height: 88vh; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,107,58,0.15); border: 1px solid rgba(26,107,58,0.3); color: #86EFAC; font-size: 11.5px; font-weight: 500; padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }
.cs-h1 { font-family: 'DM Serif Display', serif; font-size: 52px; line-height: 1.1; color: #fff; margin-bottom: 20px; font-weight: 400; }
.cs-h1 em { font-style: normal; color: #86EFAC; }
.cs-desc { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 32px; font-weight: 300; max-width: 520px; }
.cs-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--green); color: #fff; text-decoration: none; padding: 13px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.85); text-decoration: none; padding: 13px 28px; border-radius: 10px; font-size: 14px; border: 1px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-whatsapp { background: #25D366; color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, transform 0.15s; }
.btn-whatsapp:hover { background: #20BA5A; transform: translateY(-2px); }

/* Carousel visuals */
.cs-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 24px; }
.cs-stat-num { font-family: 'DM Serif Display', serif; font-size: 40px; color: #fff; line-height: 1; margin-bottom: 8px; }
.cs-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 300; }
.cs-data-card { background: rgba(0,0,0,0.3); border: 1px solid rgba(74,222,128,0.2); border-radius: 14px; padding: 24px; }
.cs-data-title { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.cs-data-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cs-data-row:last-child { border-bottom: none; }
.cs-data-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 300; }
.cs-data-value { font-size: 15px; font-weight: 600; }
.cs-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-spec-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 16px; }
.cs-spec-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.cs-spec-val { font-size: 13px; color: #fff; font-weight: 500; }

/* Carousel controls */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.2s; line-height: 1; }
.carousel-btn:hover { background: rgba(255,255,255,0.2); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all 0.2s; padding: 0; }
.cdot.active { background: #4ADE80; width: 24px; border-radius: 4px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); overflow-x: auto; }
.trust-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; min-width: max-content; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 18px 28px; border-right: 1px solid rgba(255,255,255,0.08); flex: 1; min-width: 150px; }
.trust-item:last-child { border-right: none; }
.trust-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.trust-num { font-size: 17px; font-weight: 600; color: #fff; line-height: 1; }
.trust-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ── BUILDS GRID ── */
.builds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.build-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.2s; height: 100%; }
.build-card:hover { box-shadow: 0 12px 36px rgba(26,58,107,0.12); transform: translateY(-4px); }
.build-dark { background: var(--navy-dark); border-color: rgba(255,255,255,0.1); }
.build-img { width: 100%; height: 220px; min-height: 220px; overflow: hidden; flex-shrink: 0; background: var(--off-white); position: relative; }
.build-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.4s; }
.build-card:hover .build-img img { transform: scale(1.05); }
.build-img-empty { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.build-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.build-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.build-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.build-card:not(.build-dark) .build-body h3 { color: var(--navy-dark); }
.build-dark .build-body h3 { color: #fff; }
.build-body p { font-size: 13px; line-height: 1.65; font-weight: 300; flex: 1; margin-bottom: 16px; }
.build-card:not(.build-dark) .build-body p { color: var(--gray); }
.build-dark .build-body p { color: rgba(255,255,255,0.55); }
.build-link { font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s; }
.build-card:not(.build-dark) .build-link { color: var(--green); }
.build-dark .build-link { color: #4ADE80; }
.build-link:hover { gap: 8px; }

/* ── SECTIONS ── */
.section { padding: 84px 32px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-alt { background: var(--off-white); }
.eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 10px; }
.section-heading { font-family: 'DM Serif Display', serif; font-size: 36px; font-weight: 400; color: var(--navy-dark); margin-bottom: 12px; line-height: 1.2; }
.section-sub { font-size: 15.5px; color: var(--gray); line-height: 1.75; max-width: 540px; font-weight: 300; }
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.view-all { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--navy); padding-bottom: 1px; transition: color 0.2s; white-space: nowrap; }
.view-all:hover { color: var(--green); border-color: var(--green); }

/* ── PRODUCT GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.product-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 14px; overflow: hidden; transition: box-shadow 0.25s, transform 0.2s; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: 0 12px 40px rgba(26,58,107,0.12); transform: translateY(-4px); }
.product-thumb { height: 200px; min-height: 200px; position: relative; overflow: hidden; width: 100%; flex-shrink: 0; background: var(--off-white); border-radius: 14px 14px 0 0; }
.product-thumb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-badge { position: absolute; top: 10px; right: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; background: rgba(255,255,255,0.15); color: #fff; }
.product-body { padding: 18px; }
.product-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; display: block; }
.product-body h3 { font-size: 15px; font-weight: 600; color: var(--navy-dark); margin-bottom: 7px; line-height: 1.3; }
.product-body p { font-size: 12.5px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; font-weight: 300; }
.product-link { font-size: 12.5px; font-weight: 600; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s; }
.product-link:hover { gap: 8px; }

/* ── WHY CSPL ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat-card { background: var(--off-white); border: 1px solid var(--gray-light); border-radius: 12px; padding: 22px; transition: box-shadow 0.2s, transform 0.2s; }
.feat-card:hover { box-shadow: 0 8px 24px rgba(26,58,107,0.08); transform: translateY(-3px); }
.feat-card.a-green { border-top: 3px solid var(--green); }
.feat-card.a-navy  { border-top: 3px solid var(--navy); }
.feat-card.a-sky   { border-top: 3px solid var(--sky); }
.feat-card.a-purple{ border-top: 3px solid var(--purple); }
.feat-icon { font-size: 24px; margin-bottom: 12px; }
.feat-card h4 { font-size: 14px; font-weight: 600; color: var(--navy-dark); margin-bottom: 6px; }
.feat-card p { font-size: 12.5px; color: var(--gray); line-height: 1.6; font-weight: 300; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--gray-light); }
.stat-card { background: var(--off-white); border-radius: 12px; padding: 16px; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 40px; color: var(--navy); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray); margin-top: 4px; font-weight: 300; }

/* ── TIMELINE ── */
.tl-section { background: var(--navy-dark); overflow: hidden; padding: 80px 32px; }
.tl-heading { color: #fff; margin-bottom: 16px; }
.tl-sub { font-size: 15px; color: rgba(255,255,255,0.55); font-weight: 300; margin-bottom: 56px; max-width: 500px; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid var(--navy-dark); box-shadow: 0 0 0 2px var(--green); z-index: 1; flex-shrink: 0; }
.tl-dot-last { background: #4ADE80; box-shadow: 0 0 0 2px #4ADE80; }
.tl-year { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 1px; margin-bottom: 8px; white-space: nowrap; display: block; }
.tl-year-last { color: #4ADE80; }
.tl-icon { font-size: 20px; margin-bottom: 8px; display: block; }
.tl-title { font-size: 11px; font-weight: 600; color: #fff; text-align: center; margin-bottom: 6px; line-height: 1.3; display: block; }
.tl-desc { font-size: 10.5px; color: rgba(255,255,255,0.45); text-align: center; line-height: 1.5; font-weight: 300; }
.tl-desktop { display: block; position: relative; padding-bottom: 24px; }
.tl-line { position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--green), var(--sky), var(--green)); }
.tl-desktop-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; position: relative; }
.tl-desktop-item { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.tl-desktop-item .tl-dot { margin-bottom: 16px; }
.tl-mobile { display: none; }
.tl-mobile-item { display: flex; gap: 16px; }
.tl-mobile-left { display: flex; flex-direction: column; align-items: center; }
.tl-mobile-connector { width: 2px; flex: 1; background: linear-gradient(to bottom, var(--green), rgba(26,107,58,0.2)); min-height: 24px; margin: 4px 0; }
.tl-mobile-right { flex: 1; }
.tl-mobile-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tl-mobile-right .tl-year { margin-bottom: 6px; }

/* ── CLIENTS ── */
.client-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.client-pill { background: var(--white); border: 1px solid var(--gray-light); color: var(--gray); font-size: 13px; padding: 9px 20px; border-radius: 100px; transition: all 0.2s; cursor: default; }
.client-pill:hover { border-color: var(--navy); color: var(--navy); background: #EEF3FB; }
.sector-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-badge { font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 6px; background: var(--navy); color: rgba(255,255,255,0.8); }

/* ── SERVICES ── */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--gray-light); border-radius: 14px; padding: 28px 22px; transition: all 0.2s; text-decoration: none; display: block; background: var(--white); }
.service-card:hover { border-color: var(--navy); box-shadow: 0 8px 28px rgba(26,58,107,0.1); transform: translateY(-3px); }
.service-icon { font-size: 28px; margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 600; color: var(--navy-dark); margin-bottom: 8px; }
.service-card p { font-size: 12.5px; color: var(--gray); line-height: 1.65; font-weight: 300; }
.service-arrow { font-size: 18px; color: var(--green); display: block; margin-top: 16px; transition: transform 0.15s; }
.service-card:hover .service-arrow { transform: translateX(4px); }

/* ── CTA + FOOTER ── */
.cta-section { background: var(--green); padding: 72px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px); background-size: 50px 50px; }
.cta-section h2 { font-family: 'DM Serif Display', serif; font-size: 38px; font-weight: 400; color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 32px; position: relative; z-index: 1; font-weight: 300; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }
.btn-cta-white { background: #fff; color: var(--green); text-decoration: none; padding: 13px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; transition: transform 0.15s, box-shadow 0.15s; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-cta-outline { background: transparent; color: #fff; text-decoration: none; padding: 13px 28px; border-radius: 10px; font-size: 14px; border: 1.5px solid rgba(255,255,255,0.4); display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s; }
.btn-cta-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
footer { background: var(--navy-dark); padding: 60px 32px 0; color: rgba(255,255,255,0.55); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand-name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 2px; margin-bottom: 12px; }
.footer-brand p { font-size: 12.5px; line-height: 1.75; max-width: 240px; font-weight: 300; margin-bottom: 20px; }
.footer-contact div { font-size: 12.5px; margin-bottom: 7px; }
.footer-contact a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 12.5px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 20px 0 24px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── INNER PAGES ── */
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero { background: var(--navy-dark); padding: 60px 32px 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px); background-size: 60px 60px; }
.page-hero-glow { position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(26,107,58,0.18) 0%,transparent 65%); pointer-events: none; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: 44px; font-weight: 400; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 580px; line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.subpage-hero { background: var(--navy-dark); padding: 52px 32px 48px; position: relative; overflow: hidden; }
.subpage-hero::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px); background-size:60px 60px; }
.subpage-hero-inner { max-width:1280px; margin:0 auto; position:relative; z-index:1; }
.subpage-hero h1 { font-family:'DM Serif Display',serif; font-size:38px; font-weight:400; color:#fff; margin-bottom:10px; line-height:1.2; }
.subpage-hero p { font-size:15px; color:rgba(255,255,255,0.65); max-width:560px; line-height:1.75; font-weight:300; }
.sub-nav { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 32px; position: sticky; top: 66px; z-index: 90; overflow-x: auto; }
.sub-nav-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 0; min-width: max-content; }
.sub-nav a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; padding: 14px 20px; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.sub-nav a:hover { color: #fff; }
.sub-nav a.active { color: #fff; border-bottom-color: #4ADE80; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--off-white); border: 1px solid var(--gray-light); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15,37,68,0.85)); color: #fff; padding: 20px 12px 10px; font-size: 12px; font-weight: 500; transform: translateY(100%); transition: transform 0.25s; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--gray); font-size: 14px; }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 999; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .product-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .builds-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar        { display: none; }
  .nav-menu      { display: none !important; }
  .nav-cta       { display: none !important; }
  .hamburger     { display: flex; }
  .nav-inner     { padding: 0 16px; height: 60px; }
  .logo-sub      { display: none; }
  .logo          { margin-right: 0; }
  .logo-mark svg { width: 32px; height: 32px; }
  .logo-brand    { font-size: 15px; }

  /* Carousel */
  .cs-inner      { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding: 48px 16px 80px; }
  .cs-h1         { font-size: 32px; }
  .cs-desc       { font-size: 14px; }
  .cs-btns       { flex-direction: column; }
  .cs-btns a     { width: 100%; justify-content: center; }
  .cs-stat-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs-spec-grid  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cs-stat       { padding: 16px; }
  .cs-stat-num   { font-size: 28px; }
  .carousel-btn  { display: none; }

  /* Trust bar */
  .trust-bar-inner { padding: 0 12px; }

  /* Builds */
  .builds-grid   { grid-template-columns: 1fr; }
  .build-img     { height: 200px; }

  /* Sections */
  .section       { padding: 48px 16px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-heading { font-size: 26px; }

  /* Products */
  .product-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Why */
  .why-grid      { grid-template-columns: 1fr; gap: 36px; }
  .stats-row     { grid-template-columns: 1fr 1fr; }

  /* Timeline */
  .tl-desktop    { display: none; }
  .tl-mobile     { display: block; }
  .tl-section    { padding: 48px 16px; }
  .tl-sub        { margin-bottom: 36px; font-size: 13px; }

  /* Services */
  .service-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card  { padding: 20px 16px; }

  /* CTA */
  .cta-section   { padding: 48px 16px; }
  .cta-section h2 { font-size: 26px; }
  .cta-btns      { flex-direction: column; align-items: center; }
  .btn-cta-white,
  .btn-cta-outline { width: 100%; justify-content: center; }

  /* Footer */
  footer         { padding: 40px 0 0; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 16px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding: 16px; }

  /* Inner pages */
  .page-hero     { padding: 36px 16px; }
  .page-hero h1  { font-size: 28px; }
  .subpage-hero  { padding: 36px 16px 32px; }
  .subpage-hero h1 { font-size: 26px; }
  .sub-nav       { padding: 0 12px; top: 60px; }

  /* WhatsApp */
  .wa-float      { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .product-grid  { grid-template-columns: 1fr; }
  .service-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .feat-grid     { grid-template-columns: 1fr; }
}

/* ── PAGE TEMPLATE STYLES ── */
.diff-layout { display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start; }
.diff-body { font-size:15px;color:var(--gray);line-height:1.85;font-weight:300;margin-top:16px; }
.diff-badges { display:flex;flex-direction:column;gap:12px; }
.diff-badge { display:flex;gap:14px;align-items:flex-start;padding:16px;background:var(--off-white);border-radius:12px;border-left:3px solid var(--green); }
.diff-badge-icon { font-size:22px;flex-shrink:0; }
.diff-badge-title { font-size:14px;font-weight:600;color:var(--navy-dark);margin-bottom:3px; }
.diff-badge-sub { font-size:12.5px;color:var(--gray);font-weight:300; }

/* Install tabs */
.install-tabs { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px; }
.itab { display:flex;align-items:center;gap:7px;padding:10px 16px;border-radius:10px;border:1px solid var(--gray-light);background:var(--white);color:var(--gray);font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;transition:all 0.2s; }
.itab.active { background:var(--navy);color:#fff;border-color:var(--navy); }
.it-header { display:flex;align-items:center;gap:12px;margin-bottom:14px; }
.it-icon { font-size:34px; }
.it-header h3 { font-size:20px;font-weight:600;color:var(--navy-dark); }
.it-desc { font-size:14px;color:var(--gray);line-height:1.8;font-weight:300;margin-bottom:20px; }
.it-specs { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px; }
.it-spec { background:var(--white);border:1px solid var(--gray-light);border-radius:8px;padding:12px 14px; }
.it-spec-k { font-size:10px;color:var(--gray);text-transform:uppercase;letter-spacing:1px;margin-bottom:4px; }
.it-spec-v { font-size:14px;font-weight:600;color:var(--navy-dark); }
.it-gallery { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.it-img { border-radius:10px;overflow:hidden;aspect-ratio:4/3;background:var(--off-white);border:1px solid var(--gray-light);cursor:pointer; }
.it-img img { width:100%;height:100%;object-fit:cover;transition:transform 0.3s; }
.it-img:hover img { transform:scale(1.05); }

/* Upload prompt */
.upload-prompt { border:2px dashed var(--gray-light);border-radius:12px;padding:40px 24px;text-align:center;background:var(--white); }
.up-icon { font-size:36px;margin-bottom:12px; }
.up-title { font-size:14px;font-weight:500;color:var(--navy-dark);margin-bottom:8px; }
.up-path { display:inline-block;background:var(--off-white);padding:4px 12px;border-radius:5px;font-size:12px;margin:6px 0 12px; }
.up-hint { font-size:12px;color:var(--gray);font-weight:300;line-height:1.6; }

/* Image placeholder */
.img-placeholder { border:2px dashed var(--gray-light);border-radius:12px;padding:60px 24px;text-align:center; }
.ip-icon { font-size:40px;margin-bottom:14px; }
.ip-title { font-size:15px;font-weight:500;color:var(--navy-dark);margin-bottom:8px; }
.ip-sub { font-size:13px;color:var(--gray);line-height:1.7; }

/* Use cases */
.usecase-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px; }
.usecase-card { display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--white);border:1px solid var(--gray-light);border-radius:10px;transition:all 0.2s; }
.usecase-card:hover { border-color:var(--navy);background:#EEF3FB; }
.uc-icon { font-size:22px;flex-shrink:0; }
.uc-label { font-size:13px;font-weight:500;color:var(--navy-dark); }

/* Spec table */
.spec-tbl { width:100%;border-collapse:collapse;font-size:13px; }

/* Calculator */
.calc-box { background:var(--off-white);border:1px solid var(--gray-light);border-radius:16px;padding:32px;max-width:960px; }
.calc-inputs { display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px; }
.calc-field { display:flex;flex-direction:column;gap:6px; }
.calc-label { font-size:11px;font-weight:700;color:var(--gray);text-transform:uppercase;letter-spacing:1px;display:block; }
.calc-input { width:100%;padding:10px 12px;border:1px solid var(--gray-light);border-radius:8px;font-size:14px;font-family:inherit;background:var(--white);color:var(--charcoal); }
.calc-select { padding:10px 8px;border:1px solid var(--gray-light);border-radius:8px;font-size:13px;font-family:inherit;background:var(--white); }
.calc-btn { background:var(--navy);color:#fff;border:none;padding:13px 36px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:background 0.2s; }
.calc-btn:hover { background:var(--navy-mid); }
.calc-divider { height:1px;background:var(--gray-light);margin:24px 0; }
.calc-stats { display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:24px; }
.cstat { background:var(--white);border:1px solid var(--gray-light);border-radius:10px;padding:14px; }
.cstat-l { font-size:10px;color:var(--gray);text-transform:uppercase;letter-spacing:1px;margin-bottom:5px; }
.cstat-v { font-size:16px;font-weight:700;color:var(--navy-dark); }
.calc-section-label { font-size:11px;font-weight:700;color:var(--gray);text-transform:uppercase;letter-spacing:1px;margin-bottom:10px; }
.calc-summary { font-size:13px;font-weight:600;color:var(--navy);cursor:pointer;padding:6px 0; }
.calc-note { border-radius:8px;padding:12px 14px;font-size:12.5px;line-height:1.6;margin-bottom:20px; }
.note-ok   { background:#ECFDF5;border:1px solid #A7F3D0;color:#065F46; }
.note-warn { background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412; }
.calc-cta-box { background:var(--navy-dark);border-radius:12px;padding:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px; }
.calc-cta-title { font-size:15px;font-weight:600;color:#fff;margin-bottom:4px; }
.calc-cta-sub { font-size:13px;color:rgba(255,255,255,0.55);font-weight:300; }

/* Responsive additions */
@media (max-width: 768px) {
  .diff-layout { grid-template-columns:1fr; gap:28px; }
  .install-tabs { gap:6px; }
  .itab { font-size:12px;padding:8px 12px; }
  .install-panel { grid-template-columns:1fr !important; gap:24px; }
  .it-specs { grid-template-columns:1fr 1fr; }
  .usecase-grid { grid-template-columns:1fr 1fr; }
  .calc-box { padding:20px 16px; }
  .calc-inputs { grid-template-columns:1fr 1fr; gap:12px; }
  .calc-stats { grid-template-columns:1fr 1fr; }
}
@media (max-width: 480px) {
  .calc-inputs { grid-template-columns:1fr; }
  .usecase-grid { grid-template-columns:1fr; }
  .it-gallery { grid-template-columns:1fr; }
}

/* ── LOGO MARQUEE ── */
.logo-marquee-wrap {
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.logo-marquee-wrap::before,
.logo-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.logo-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }
.logo-marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.logo-marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-tile {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 160px;
  flex-shrink: 0;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.logo-tile:hover {
  box-shadow: 0 4px 16px rgba(26,58,107,0.1);
  border-color: var(--navy);
}
.logo-tile img {
  max-width: 120px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s;
}
.logo-tile:hover img { filter: grayscale(0%); }
.logo-tile-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Section alt background for clients */
.section.clients-section { background: var(--off-white); }
.clients-section .logo-marquee-wrap::before { background: linear-gradient(to right, var(--off-white), transparent); }
.clients-section .logo-marquee-wrap::after  { background: linear-gradient(to left,  var(--off-white), transparent); }

/* ── WHY CSPL — ELECTROMED STYLE ── */
.why-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.why-img-wrap { height: 440px; border-radius: 16px; overflow: hidden; background: var(--navy-dark); position: relative; }
.why-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: 16px; }
.why-text { display: flex; flex-direction: column; }
.why-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.why-stat { background: var(--white); border: 1px solid var(--gray-light); border-radius: 10px; padding: 14px; text-align: center; }
.why-stat-num { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--navy); line-height: 1; }
.why-stat-label { font-size: 11px; color: var(--gray); margin-top: 4px; font-weight: 300; }

/* Feature bar — Electromed style */
.feat-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--navy-dark); border-radius: 14px; overflow: hidden; }
.feat-bar-item { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,0.07); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; transition: background 0.2s; }
.feat-bar-item:last-child { border-right: none; }
.feat-bar-item:hover { background: rgba(255,255,255,0.04); }
.feat-bar-icon { font-size: 24px; margin-bottom: 4px; }
.feat-bar-title { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.5px; }
.feat-bar-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; font-weight: 300; }

/* CTA — 4 buttons */
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .feat-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .why-split { grid-template-columns: 1fr; gap: 28px; }
  .why-img-wrap { height: 260px; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .feat-bar { grid-template-columns: 1fr 1fr; border-radius: 10px; }
  .feat-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 480px) {
  .feat-bar { grid-template-columns: 1fr; }
}

/* ── MODULES PAGE MOBILE ── */
@media (max-width: 768px) {
  /* Hero: stack vertically */
  .mod-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
  }
  /* Product cards: 2 columns */
  .mod-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  /* Spec table full width */
  .mod-spec-table { max-width: 100% !important; }
  /* Tab bar scrollable */
  .mod-tab-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .mod-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
