/* ============================================================
   VOLTAGE ENERGY, shared design system
   Built off the approved v7 demo. Navy + electric blue,
   warm/premium, rounded shapes, modern sans-serif.
   ============================================================ */

:root {
  --navy: #1a3a6b;
  --navy-dark: #0f2647;
  --navy-light: #2d558f;
  --electric: #4a8fee;
  --electric-glow: #6ba5f0;
  --electric-soft: rgba(74, 143, 238, 0.12);

  --white: #ffffff;
  --off-white: #fafbfc;
  --light: #f5f7fa;
  --pale: #e8ecf2;
  --grey-100: #d4dae3;
  --grey-300: #9ba3b0;
  --grey-500: #5b6472;
  --grey-700: #2a3140;
  --black: #0a0f1c;
  --accent: #d4a574;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  --shadow-glow: 0 0 40px rgba(74, 143, 238, 0.25);
  --shadow-glow-strong: 0 0 60px rgba(74, 143, 238, 0.4);
  --shadow-sm: 0 2px 8px rgba(10, 15, 28, 0.04);
  --shadow-md: 0 12px 32px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 15, 28, 0.12);
  --shadow-xl: 0 32px 80px rgba(10, 15, 28, 0.18);

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--black); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--electric); color: var(--white); }
img { max-width: 100%; display: block; }

/* SMOOTH PAGE NAVIGATION — the whole page (nav included) does one gentle cross-fade.
   The nav is byte-identical on every page, so it reads as perfectly still — no name
   is assigned to it, which avoids the fixed-element "snapshot jump" that caused shake. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }

/* AMBIENT GLOW */
.ambient-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Soft radial gradients are already blurry, dropping the heavy filter: blur()
   and promoting to their own GPU layer keeps the look but stops per-frame repaints. */
.glow-1 { position: absolute; top: -200px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(74, 143, 238, 0.12), transparent 65%); border-radius: 50%; will-change: transform; transform: translateZ(0); animation: float-1 20s ease-in-out infinite; }
.glow-2 { position: absolute; bottom: 20%; left: -300px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(26, 58, 107, 0.08), transparent 65%); border-radius: 50%; will-change: transform; transform: translateZ(0); animation: float-2 25s ease-in-out infinite; }
@keyframes float-1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-100px,100px)} }
@keyframes float-2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(150px,-80px)} }

/* NAV */
nav { position: fixed; top: 20px; left: 20px; right: 20px; z-index: 100; padding: 10px 14px 10px 18px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-radius: var(--r-full); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 8px 32px rgba(10,15,28,0.06); transform: translateZ(0); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.logo-img { height: 48px; width: auto; display: block; }
.logo-text-wrap { line-height: 1; }
.logo-text { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.3px; color: var(--navy); text-transform: uppercase; line-height: 1; }
.logo-text small { display: block; font-size: 9px; font-weight: 500; letter-spacing: 1.5px; color: var(--grey-300); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--grey-700); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--electric); }
/* active marked by colour only (NOT weight) so the bar never changes width between pages */
.nav-links a.active { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { background: var(--navy); color: var(--white); padding: 10px 20px; font-size: 13px; font-weight: 600; border-radius: var(--r-full); text-decoration: none; transition: all 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--navy-dark); box-shadow: var(--shadow-glow); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; border-radius: var(--r-full); align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }

/* BUTTONS */
.btn-primary { background: var(--navy); color: var(--white); padding: 18px 32px; border: none; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; border-radius: var(--r-full); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); background: var(--navy-dark); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-ghost { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--white); padding: 18px 32px; border: 1px solid rgba(255,255,255,0.3); font-family: var(--font-body); font-size: 14.5px; font-weight: 500; border-radius: var(--r-full); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.2); }

/* HERO (home) */
.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; margin: 0; }
.hero-bg { position: absolute; inset: 0; background-image: url('brand_assets/image_01.jpg'); background-size: cover; background-position: center; z-index: 1; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 38, 71, 0.7) 0%, rgba(15, 38, 71, 0.35) 60%, rgba(15, 38, 71, 0.55) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; max-width: 1400px; margin: 0 auto; padding: 140px 40px 60px; display: flex; flex-direction: column; justify-content: center; color: var(--white); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--white); margin-bottom: 28px; padding: 8px 16px; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r-full); border: 1px solid rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 1.5px; width: fit-content; }
.hero-eyebrow-dot { width: 7px; height: 7px; background: var(--electric-glow); border-radius: var(--r-full); box-shadow: 0 0 12px var(--electric-glow); animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 12px var(--electric-glow)} 50%{box-shadow:0 0 24px var(--electric-glow), 0 0 36px var(--electric-glow)} }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 8vw, 112px); line-height: 0.95; letter-spacing: -3px; margin-bottom: 28px; max-width: 900px; }
.hero h1 .light { font-weight: 300; color: rgba(255,255,255,0.85); }
.hero h1 .accent { background: linear-gradient(135deg, var(--electric-glow), var(--white)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
.hero-sub { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 540px; margin-bottom: 40px; line-height: 1.5; font-weight: 400; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero .btn-primary:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.2); }

/* Hero floating stats bar */
.hero-stats { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0; background: rgba(255,255,255,0.1); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-full); padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.hero-stat { padding: 12px 28px; display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; font-weight: 500; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.15); }
.hero-stat:last-child { border-right: none; }
.hero-stat-icon { width: 28px; height: 28px; background: rgba(255,255,255,0.15); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: var(--electric-glow); }

/* PAGE HEADER (sub-pages) */
.page-header { position: relative; overflow: hidden; padding: 180px 32px 90px; color: var(--white); }
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-header-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 38, 71, 0.88) 0%, rgba(15, 38, 71, 0.7) 100%); }
.page-header-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; }
.page-header .section-eyebrow { color: var(--electric-glow); background: rgba(255,255,255,0.1); }
.page-header h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -2px; margin-bottom: 18px; }
.page-header h1 .accent { background: linear-gradient(135deg, var(--electric-glow), var(--white)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-header p { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 560px; line-height: 1.6; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 22px; letter-spacing: 0.3px; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* SECTIONS */
section { padding: 100px 32px; position: relative; z-index: 2; }
.container { max-width: 1400px; margin: 0 auto; }
.container-narrow { max-width: 920px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.left { text-align: left; margin-left: 0; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--electric); margin-bottom: 18px; padding: 6px 14px; background: var(--electric-soft); border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 1.5px; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -1.5px; color: var(--black); margin-bottom: 16px; }
h2 .accent { background: linear-gradient(135deg, var(--navy), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-intro { color: var(--grey-500); font-size: 17px; line-height: 1.6; max-width: 540px; margin: 0 auto; }
.section-head.left .section-intro { margin: 0; }

/* TRUST BADGES */
.trust-badges { padding: 48px 32px; border-top: 1px solid var(--pale); border-bottom: 1px solid var(--pale); background: var(--white); position: relative; z-index: 2; }
.trust-badges-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 14px; color: var(--grey-500); }
.trust-badge-icon { width: 42px; height: 42px; background: var(--electric-soft); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--electric); flex-shrink: 0; }
.trust-badge-text strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--black); line-height: 1.2; }
.trust-badge-text small { font-size: 12px; letter-spacing: 0.3px; }

/* SERVICES bento */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 14px; }
.service-1 { grid-column: span 4; grid-row: span 2; }
.service-2 { grid-column: span 2; grid-row: span 1; }
.service-3 { grid-column: span 2; grid-row: span 1; }
.service-4 { grid-column: span 3; grid-row: span 1; }
.service-stat { grid-column: span 3; grid-row: span 1; }
.service-card { position: relative; overflow: hidden; border-radius: var(--r-lg); cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: var(--navy); box-shadow: var(--shadow-sm); text-decoration: none; }
.service-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-card-img { transform: scale(1.08); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 38, 71, 0.92) 100%); z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl), var(--shadow-glow); }
.service-1 .service-card-img { background-image: url('brand_assets/image_05.jpg'); }
.service-2 .service-card-img { background-image: url('brand_assets/image_04.jpg'); }
.service-3 .service-card-img { background-image: url('brand_assets/image_02.jpg'); }
.service-4 .service-card-img { background-image: url('brand_assets/image_03.jpg'); }
.service-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 2; color: var(--white); }
.service-1 .service-content { padding: 36px; }
.service-1 .service-content h3 { font-size: 38px; }
.service-2 .service-content, .service-3 .service-content { padding: 22px; }
.service-2 .service-content h3, .service-3 .service-content h3 { font-size: 22px; }
.service-num { font-family: var(--font-display); font-size: 11px; color: var(--electric-glow); margin-bottom: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.service-content h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
.service-stat { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border-radius: var(--r-lg); }
.service-stat::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(74, 143, 238, 0.25), transparent 70%); border-radius: var(--r-full); }
.service-stat-top { font-family: var(--font-display); font-size: 11px; color: var(--electric-glow); position: relative; z-index: 2; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.service-stat-big { position: relative; z-index: 2; }
.service-stat-num { font-family: var(--font-display); font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -3px; display: flex; align-items: baseline; gap: 4px; }
.service-stat-num .plus { color: var(--electric-glow); font-weight: 400; font-size: 44px; }
.service-stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 10px; line-height: 1.5; max-width: 240px; }

/* SERVICES, detailed list (services page) */
.services-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-detail { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--pale); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.4s, transform 0.4s; }
.service-detail:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-detail-media { min-height: 220px; background-size: cover; background-position: center; }
.service-detail-body { padding: 34px; }
.service-detail-body .service-num { color: var(--electric); }
.service-detail-body h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--black); margin-bottom: 14px; letter-spacing: -0.6px; }
.service-detail-body p { color: var(--grey-500); font-size: 15.5px; line-height: 1.65; margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--grey-700); margin-bottom: 10px; }
.service-list li svg { color: var(--electric); flex-shrink: 0; }

/* WHY */
.why { background: linear-gradient(180deg, var(--off-white), var(--light)); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: var(--white); padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--pale); transition: all 0.4s; position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--electric), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(74, 143, 238, 0.2); }
.why-icon { width: 52px; height: 52px; background: var(--electric-soft); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--electric); margin-bottom: 20px; position: relative; }
.why-icon::after { content: ''; position: absolute; inset: -4px; border-radius: var(--r-md); background: var(--electric); opacity: 0.1; filter: blur(12px); z-index: -1; }
.why-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.2; letter-spacing: -0.4px; }
.why-card p { color: var(--grey-500); font-size: 14.5px; line-height: 1.6; }

/* EMERGENCY / RESPONSE */
.emergency-callout { background: var(--navy-dark); color: var(--white); position: relative; overflow: hidden; padding: 90px 32px; }
.emergency-callout::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74, 143, 238, 0.2), transparent 60%); border-radius: 50%; filter: blur(40px); animation: float-1 15s ease-in-out infinite; }
.emergency-callout::after { content: ''; position: absolute; bottom: -200px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74, 143, 238, 0.15), transparent 60%); border-radius: 50%; filter: blur(40px); animation: float-2 18s ease-in-out infinite; }
.emergency-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.emergency-pulse { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--r-full); font-size: 11px; font-weight: 600; color: var(--white); margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1.5px; }
.emergency-pulse-dot { width: 8px; height: 8px; background: #ff4646; border-radius: var(--r-full); box-shadow: 0 0 12px #ff4646; animation: pulse-glow-red 1.5s ease-in-out infinite; }
@keyframes pulse-glow-red { 0%,100%{box-shadow:0 0 12px #ff4646} 50%{box-shadow:0 0 30px #ff4646} }
.emergency-callout h2 { color: var(--white); font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
.emergency-callout h2 .accent { background: linear-gradient(135deg, var(--electric-glow), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.emergency-callout p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.55; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.emergency-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: var(--navy); padding: 20px 36px; border-radius: var(--r-full); text-decoration: none; font-size: 16px; font-weight: 700; box-shadow: 0 0 0 0 rgba(255,255,255,0.4); animation: pulse-cta 2s ease-in-out infinite; transition: transform 0.3s; }
.emergency-cta:hover { transform: scale(1.05); }
@keyframes pulse-cta { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); } 100% { box-shadow: 0 0 0 30px rgba(255,255,255,0); } }

/* SHOWCASE / PORTFOLIO */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 16px; }
.showcase-item { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--pale); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.showcase-item.tall { grid-row: span 2; }
.showcase-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.showcase-item:hover .showcase-img { transform: scale(1.08); }
.showcase-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 28, 0.85)); opacity: 0.85; transition: opacity 0.3s; }
.showcase-item:hover::after { opacity: 1; }
.showcase-info { position: absolute; bottom: 24px; left: 24px; right: 24px; color: var(--white); z-index: 2; }
.showcase-tag { display: inline-block; font-size: 10px; color: var(--electric-glow); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; font-weight: 700; }
.showcase-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.4px; }

/* TESTIMONIALS */
.testimonials { background: linear-gradient(180deg, var(--off-white), var(--light)); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Solid-with-slight-translucency instead of backdrop-filter: visually near-identical
   on the light testimonial background, but far cheaper when several scroll past at once. */
.testimonial-card { background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.9); padding: 32px; border-radius: var(--r-lg); transition: transform 0.4s, box-shadow 0.4s; position: relative; box-shadow: var(--shadow-sm); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.stars { display: flex; gap: 2px; margin-bottom: 18px; color: #f5b842; }
.testimonial-quote { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--black); margin-bottom: 24px; letter-spacing: -0.2px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--pale); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--navy), var(--electric)); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.testimonial-author-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.testimonial-author-info small { font-size: 12px; color: var(--grey-500); }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-step { text-align: center; position: relative; }
.process-step-num { width: 60px; height: 60px; background: var(--white); border: 1px solid var(--pale); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--electric); position: relative; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.process-step:hover .process-step-num { background: var(--electric); color: var(--white); box-shadow: var(--shadow-glow-strong); transform: scale(1.05); }
.process-step-num::after { content: ''; position: absolute; inset: -2px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--electric), transparent); opacity: 0; z-index: -1; filter: blur(12px); transition: opacity 0.3s; }
.process-step:hover .process-step-num::after { opacity: 0.6; }
.process-step h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 8px; letter-spacing: -0.3px; }
.process-step p { color: var(--grey-500); font-size: 13.5px; line-height: 1.55; }

/* FAQ */
.faq { background: var(--white); }
.faq-container { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--off-white); border: 1px solid var(--pale); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(74, 143, 238, 0.3); }
.faq-item[open] { background: var(--white); box-shadow: var(--shadow-md); border-color: rgba(74, 143, 238, 0.4); }
.faq-question { padding: 22px 26px; cursor: pointer; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--black); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; letter-spacing: -0.2px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; background: var(--electric-soft); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: var(--electric); flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 22px; color: var(--grey-500); font-size: 14.5px; line-height: 1.65; }

/* ABOUT */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-intro-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 480px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.about-intro-media .badge-float { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r-md); padding: 20px 24px; display: flex; gap: 28px; box-shadow: var(--shadow-md); }
.badge-float div strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.badge-float div small { font-size: 12px; color: var(--grey-500); }
.about-intro-body h2 { text-align: left; }
.about-intro-body p { color: var(--grey-500); font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.about-intro-body p strong { color: var(--grey-700); }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--pale); border-radius: var(--r-lg); padding: 30px; transition: all 0.4s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(74,143,238,0.2); }
.value-card .why-icon { margin-bottom: 0; flex-shrink: 0; }
.value-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.value-card p { color: var(--grey-500); font-size: 14.5px; line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); border-radius: var(--r-lg); padding: 44px; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(74, 143, 238, 0.25), transparent 70%); border-radius: var(--r-full); }
.contact-info-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 2; }
.contact-info-card > p { color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.6; margin-bottom: 32px; position: relative; z-index: 2; }
.contact-line { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; position: relative; z-index: 2; text-decoration: none; color: var(--white); }
.contact-line-icon { width: 46px; height: 46px; background: rgba(255,255,255,0.12); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--electric-glow); flex-shrink: 0; transition: background 0.3s; }
.contact-line:hover .contact-line-icon { background: rgba(255,255,255,0.22); }
.contact-line-text small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.55); margin-bottom: 3px; }
.contact-line-text strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.contact-socials { display: flex; gap: 12px; margin-top: 32px; position: relative; z-index: 2; }
.contact-socials a { width: 44px; height: 44px; background: rgba(255,255,255,0.12); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: var(--white); transition: all 0.3s; }
.contact-socials a:hover { background: var(--electric); transform: translateY(-3px); }

.contact-form-card { background: var(--white); border: 1px solid var(--pale); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow-md); }
.contact-form-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.contact-form-card > p { color: var(--grey-500); font-size: 14.5px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--grey-700); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--pale); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 15px; color: var(--black); background: var(--off-white); transition: all 0.25s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--electric); background: var(--white); box-shadow: 0 0 0 4px var(--electric-soft); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--grey-300); margin-top: 16px; text-align: center; }
.form-success { display: none; background: var(--electric-soft); border: 1px solid rgba(74,143,238,0.3); color: var(--navy); padding: 16px 20px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 20px; }
.form-success.show { display: block; }
.form-error { display: none; background: rgba(220, 76, 76, 0.08); border: 1px solid rgba(220, 76, 76, 0.3); color: #a3282b; padding: 16px 20px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 20px; }
.form-error.show { display: block; }

/* MAP */
.map-embed { width: 100%; height: 420px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); filter: grayscale(0.15); }

/* CTA STRIP */
.cta-strip { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }

/* FINAL CTA */
.final-cta { position: relative; overflow: hidden; padding: 0; }
.final-cta-bg { position: absolute; inset: 0; background-image: url('brand_assets/image_11.jpg'); background-size: cover; background-position: center; }
.final-cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 38, 71, 0.94) 0%, rgba(15, 38, 71, 0.78) 100%); }
.final-cta-content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 120px 32px; text-align: center; color: var(--white); }
.final-cta h2 { color: var(--white); font-size: clamp(42px, 6vw, 76px); margin-bottom: 20px; line-height: 1; }
.final-cta h2 .accent { background: linear-gradient(135deg, var(--electric-glow), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.final-cta p { color: rgba(255,255,255,0.82); font-size: 18px; line-height: 1.55; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-primary { font-size: 15px; padding: 20px 36px; background: var(--white); color: var(--navy); }
.final-cta .btn-ghost { font-size: 15px; padding: 20px 36px; }

/* FOOTER */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 70px 32px 28px; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74, 143, 238, 0.08), transparent 60%); border-radius: 50%; filter: blur(40px); }
.footer-grid { max-width: 1400px; margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; position: relative; z-index: 2; }
.footer-brand .logo-img { height: 54px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.65; margin-top: 18px; max-width: 260px; }
.footer-col h5 { font-family: var(--font-display); font-size: 11px; color: var(--electric-glow); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--electric-glow); }
.footer-bottom { max-width: 1400px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.4); position: relative; z-index: 2; }
.footer-bottom a { color: var(--electric-glow); text-decoration: none; }

/* FLOATING CALL */
.floating-call { position: fixed; bottom: 24px; right: 24px; z-index: 90; background: var(--navy); color: var(--white); padding: 16px 26px; border-radius: var(--r-full); font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px rgba(26, 58, 107, 0.4), var(--shadow-glow-strong); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.floating-call:hover { transform: translateY(-3px) scale(1.03); }
.floating-call-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.15); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; animation: ring 2s ease-in-out infinite; }
@keyframes ring { 0%,100%{transform:rotate(0)} 5%{transform:rotate(-15deg)} 10%{transform:rotate(15deg)} 15%{transform:rotate(-15deg)} 20%{transform:rotate(0)} }

/* PERF, let the browser skip painting sections until they're near the viewport.
   Big win on a long page; the intrinsic size keeps the scrollbar stable. */
section { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.hero { content-visibility: visible; }

/* Respect users who ask for less motion, kills the infinite ambient/CTA loops. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s, transform 0.9s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
/* Accessibility / safety: never hide or animate reveal content for users who
   prefer reduced motion. (No-JS users are covered by the <noscript> fallback.) */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* MOBILE */
/* NAV collapses to the dropdown menu before the 7-item bar can overflow,
   so every item (including Home) is always reachable. */
@media (max-width: 1024px) {
  nav { padding: 8px 8px 8px 14px; top: 12px; left: 12px; right: 12px; }
  .logo-img { height: 42px; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: flex-start; gap: 4px; background: rgba(255,255,255,0.92); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.3s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 14px; border-radius: var(--r-sm); width: 100%; font-size: 15px; }
  .nav-links a:hover, .nav-links a.active { background: var(--electric-soft); }
  .nav-cta { padding: 8px 16px; font-size: 12px; }
}

@media (max-width: 900px) {
  .hero { min-height: 640px; height: 100vh; }
  .hero-content { padding: 110px 20px 120px; }
  .hero h1 { font-size: 48px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { position: relative; bottom: auto; left: auto; transform: none; flex-direction: column; padding: 8px; margin-top: 30px; width: 100%; }
  .hero-stat { padding: 10px 18px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: flex-start; }
  .hero-stat:last-child { border-bottom: none; }

  .page-header { padding: 150px 20px 70px; }

  section { padding: 70px 20px; }
  .section-head { margin-bottom: 44px; }

  .services-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .service-1, .service-2, .service-3, .service-4, .service-stat { grid-column: span 1; grid-row: span 1; min-height: 240px; }
  .service-content { padding: 22px !important; }
  .service-content h3 { font-size: 24px !important; }

  .services-detail-grid { grid-template-columns: 1fr; }
  .service-detail-media { min-height: 200px; }
  .service-detail-body { padding: 28px; }

  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
  .showcase-item.tall { grid-row: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-intro-media { min-height: 340px; }
  .about-intro-body h2 { text-align: left; }
  .values-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-info-card, .contact-form-card { padding: 32px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .trust-badges-inner { gap: 20px; }
  .trust-badge-text strong { font-size: 15px; }
  .final-cta-content { padding: 70px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .floating-call { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 13px; }
  .floating-call-icon { width: 24px; height: 24px; }
}

/* SMALL PHONES */
@media (max-width: 520px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas, .lc-hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost,
  .lc-hero-ctas .btn-primary, .lc-hero-ctas .btn-ghost { justify-content: center; width: 100%; }
  .page-header h1 { font-size: 36px; }
  .page-header p { font-size: 16px; }
  h2 { font-size: 32px; letter-spacing: -1px; }
  section { padding: 56px 18px; }
  .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .final-cta-buttons { flex-direction: column; }
  .final-cta-buttons .btn-primary, .final-cta-buttons .btn-ghost { justify-content: center; }
  .badge-float { flex-wrap: wrap; gap: 16px; }
  /* keep tap targets comfortable */
  .nav-links a { padding: 14px; }
}

/* ============================================================
   HOMEPAGE — CENTERED / BOLD layout
   ============================================================ */
.lc-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 140px 24px 90px; }
.lc-hero-bg { position: absolute; inset: 0; background-image: url('brand_assets/image_01.jpg'); background-size: cover; background-position: center; z-index: 0; }
.lc-hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15,38,71,0.55), rgba(10,15,28,0.82)); }
.lc-hero-inner { position: relative; z-index: 2; color: var(--white); max-width: 980px; }
.lc-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 8vw, 120px); line-height: 0.92; letter-spacing: -3px; margin-bottom: 26px; }
.lc-hero h1 .accent { background: linear-gradient(135deg, var(--electric-glow), var(--white)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lc-hero-sub { font-size: 20px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 38px; line-height: 1.55; }
.lc-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lc-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.lc-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-full); font-size: 13.5px; font-weight: 600; color: var(--white); }
.lc-pill b { font-family: var(--font-display); color: var(--electric-glow); }

.lc-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lc-card { background: var(--white); border: 1px solid var(--pale); border-radius: var(--r-lg); overflow: hidden; transition: all 0.4s; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lc-card, .lc-card * { text-decoration: none; }
.lc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl), var(--shadow-glow); }
.lc-card-img { height: 150px; background-size: cover; background-position: center; }
.lc-card-body { padding: 26px; }
.lc-card-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--electric-soft); color: var(--electric); display: flex; align-items: center; justify-content: center; margin: -28px 0 16px; position: relative; z-index: 2; border: 3px solid var(--white); background-clip: padding-box; }
.lc-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 8px; letter-spacing: -0.3px; }
.lc-card p { color: var(--grey-500); font-size: 14px; line-height: 1.55; }

.lc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.lc-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--r-full); background: var(--grey-100); cursor: pointer; transition: all 0.3s; }
.lc-dot.active { background: var(--electric); width: 24px; }
.lc-review-grid { transition: opacity 0.45s ease; }
.lc-review-grid.is-fading { opacity: 0; }
.lc-review-grid .testimonial-card { display: flex; flex-direction: column; min-height: 340px; }
.lc-review-grid .testimonial-quote { flex: 1 0 auto; }
.lc-review-grid .testimonial-author { margin-top: auto; }

/* CONTINUOUS REVIEW REEL — slow seamless marquee, pauses on hover so it's readable.
   Cards use margin-right (not flex gap) so two identical halves loop perfectly. */
.review-reel { overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-track { display: flex; width: max-content; animation: review-reel-scroll var(--reel-duration, 60s) linear infinite; }
.review-reel:hover .review-track, .review-track:focus-within { animation-play-state: paused; }
.review-track .testimonial-card { flex: 0 0 360px; width: 360px; margin-right: 22px; min-height: 230px; display: flex; flex-direction: column; }
.review-track .testimonial-quote { flex: 1 0 auto; }
.review-track .testimonial-author { margin-top: auto; }
@keyframes review-reel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .review-track .testimonial-card { flex-basis: 300px; width: 300px; } }

/* Reviews page: two staggered rows — second row runs the opposite way, same speed. */
.review-track--reverse { animation-direction: reverse; }
.review-reel--row2 { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .review-track { animation: none; } }

@media (max-width: 900px) {
  .lc-services { grid-template-columns: 1fr 1fr; }
  .lc-hero h1 { font-size: 52px; letter-spacing: -1.5px; }
}
@media (max-width: 560px) {
  .lc-services { grid-template-columns: 1fr; }
}

/* ============================================================
   PROJECT GALLERY — grouped cover cards + lightbox
   ============================================================ */
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 232px; gap: 16px; grid-auto-flow: dense; }
.proj-card { position: relative; display: block; padding: 0; border: none; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-md); -webkit-tap-highlight-color: transparent; }
.proj-card--feature { grid-row: span 2; }
.proj-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.proj-card:hover .proj-card-img, .proj-card:focus-visible .proj-card-img { transform: scale(1.06); }
.proj-card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; text-align: left;
  background: linear-gradient(to top, rgba(9, 14, 26, 0.86) 0%, rgba(9, 14, 26, 0.30) 48%, rgba(9, 14, 26, 0) 78%); }
.proj-card-meta { display: flex; flex-direction: column; gap: 2px; transform: translateY(4px); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.proj-card:hover .proj-card-meta, .proj-card:focus-visible .proj-card-meta { transform: translateY(0); }
.proj-card-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--electric-glow); }
.proj-card-name { font-family: var(--font-display); font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-top: 5px; line-height: 1.1; }
.proj-card-loc { font-size: 13px; color: rgba(255, 255, 255, 0.82); margin-top: 3px; }
.proj-card-count { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-full);
  background: rgba(9, 14, 26, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 12px; font-weight: 600; }
.proj-card:focus-visible { outline: 3px solid var(--electric-glow); outline-offset: 3px; }

@media (max-width: 900px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 560px) {
  .project-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .proj-card--feature { grid-row: span 1; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(7, 10, 19, 0.93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { margin: 0; width: 92vw; height: 80vh; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  animation: lb-pop 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes lb-pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.lb-btn { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-full);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.25s, transform 0.25s; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-btn:active { transform: scale(0.94); }
.lb-close { top: 20px; right: 22px; width: 46px; height: 46px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-nav:active { transform: translateY(-50%) scale(0.94); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-bar { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; pointer-events: none; }
.lb-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.lb-counter { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.04em; }
.lb-btn:focus-visible { outline: 3px solid var(--electric-glow); outline-offset: 2px; }

@media (max-width: 560px) {
  .lb-stage { width: 96vw; height: 74vh; }
  .lb-img { max-width: 96vw; max-height: 74vh; }
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}
