/* =========================================================================
   Bharat Medfin — Healthcare Financing
   Brand palette from logo: orange + blue + green, on deep navy / clean light
   Display: Fraunces (serif)  ·  Body: Manrope (geometric sans)
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --paper:      #F4F7F7;
  --paper-2:    #E7EEEF;
  --paper-card: #FFFFFF;
  --ink:        #122230;
  --ink-soft:   #4B5A65;

  /* brand colours (from logo) */
  --orange:      #EF7C24;
  --orange-deep: #CC630F;
  --orange-tint: #FCEBDB;
  --blue:        #45A1D8;
  --blue-deep:   #1E7CB3;
  --blue-tint:   #DEEFF8;
  --green:       #74B43C;
  --green-deep:  #3C7A1C;   /* legible green for text on light */
  --green-tint:  #E7F3D8;

  /* dark base (logo sits on dark) */
  --navy:   #0E2535;
  --navy-2: #0A1A27;
  --navy-3: #06121C;

  /* aliases kept for existing rules */
  --pine:    var(--navy);
  --pine-2:  var(--navy-2);
  --pine-3:  var(--navy-3);
  --emerald: var(--green-deep);
  --mint:    #A8DC72;   /* bright light-green for accents on dark */
  --mint-2:  #C9ECA0;
  --amber:   #F2B33E;

  --line:        rgba(18, 34, 48, 0.12);
  --line-strong: rgba(18, 34, 48, 0.24);

  --shadow-sm: 0 2px 10px rgba(10, 26, 39, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(10, 26, 39, 0.30);
  --shadow-lg: 0 40px 90px -36px rgba(6, 18, 28, 0.50);

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

  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--orange); color: #fff; }

/* grain overlay for tactile feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}
.eyebrow.on-dark { color: var(--mint); }
.eyebrow.on-dark::before { background: var(--orange); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 460; line-height: 1.05; letter-spacing: -0.015em; font-optical-sizing: auto; color: var(--ink); }
.display { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 420; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.italic { font-style: italic; font-weight: 380; }
.accent-text { color: var(--green-deep); }

p.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
/* primary = brand orange (main action) */
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 16px 34px -14px rgba(239,124,36,0.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -16px rgba(239,124,36,0.7); background: var(--orange-deep); }
/* mint = brand green (alt action) */
.btn-mint { background: var(--green); color: #fff; box-shadow: 0 16px 34px -16px rgba(116,180,60,0.6); }
.btn-mint:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -16px rgba(116,180,60,0.7); background: var(--green-deep); }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; backdrop-filter: blur(2px); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Brand / logo ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 76px; width: auto; display: block; transition: height 0.4s ease; }
.nav.scrolled .brand-logo { height: 62px; }
.footer .brand-logo { height: 80px; }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 18px 0;
}
/* dark glass when scrolled, so the white logo + links stay legible over light content */
.nav.scrolled {
  background: rgba(10, 26, 39, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 14px 34px -24px rgba(6,18,28,0.7);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.92); position: relative; padding: 4px 0; transition: color 0.3s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--orange); transition: width 0.35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.4); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO SLIDER (illustration-driven, dark canvas)
   ========================================================================= */
.hero {
  position: relative; height: 100svh; min-height: 640px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,20,30,0.66) 0%, rgba(7,20,30,0.5) 48%, rgba(7,20,30,0.84) 100%),
    url("../assets/images/hero-bg.jpg") center / cover no-repeat,
    var(--navy-3);
}
/* animated decorative background */
.hero-decor { display: none; }
.hero-decor .blob { position: absolute; border-radius: 50%; filter: blur(64px); }
.hero-decor .b1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(116,180,60,0.55), transparent 70%); top: -130px; right: -70px; animation: float1 15s ease-in-out infinite; }
.hero-decor .b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(69,161,216,0.5), transparent 70%); bottom: -150px; left: -90px; animation: float2 18s ease-in-out infinite; }
.hero-decor .b3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(239,124,36,0.42), transparent 70%); top: 42%; right: 34%; animation: float1 21s ease-in-out infinite; }
.hero-decor .dotgrid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.10) 1.4px, transparent 1.4px); background-size: 30px 30px; mask-image: radial-gradient(130% 120% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(130% 120% at 50% 30%, #000 30%, transparent 75%); }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px, 30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(32px, -26px); } }

.hero-grid { position: relative; z-index: 1; display: block; padding-top: 124px; padding-bottom: 36px; width: 100%; }

/* text slides */
.hero-content { position: relative; width: 100%; max-width: 100%; text-align: center; }
.hslides { position: relative; }
.hslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.hslide.is-active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }
.hero-eyebrow { color: var(--mint); margin-bottom: 22px; }
.hslide h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); font-weight: 400; color: #fff; max-width: 100%; margin-bottom: 22px; }
.hslide h1 .italic { color: var(--mint); }
.hslide p { max-width: 64ch; font-size: clamp(1.02rem, 1.5vw, 1.28rem); color: rgba(255,255,255,0.88); margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
/* staggered text reveal on the active slide */
.hslide.is-active .hero-eyebrow { animation: slideUp 0.55s var(--ease) both; }
.hslide.is-active h1 { animation: slideUp 0.6s 0.07s var(--ease) both; }
.hslide.is-active p { animation: slideUp 0.6s 0.15s var(--ease) both; }
.hslide.is-active .hero-actions { animation: slideUp 0.6s 0.23s var(--ease) both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* controls */
.hero-controls { margin: 46px auto 0; max-width: 460px; }
.hctabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.hctab { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 600; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.hctab:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.hctab.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.hcbar { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.16); overflow: hidden; }
.hcfill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--green)); border-radius: 3px; }
.hcfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.hcindex { font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.6); }
.hcindex b { font-size: 1.7rem; color: #fff; margin-right: 2px; }
.hcarrows { display: flex; gap: 10px; }
.hcarrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.hcarrows button:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

/* illustration column */
.hero-art { position: relative; min-height: 460px; }
.hart { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.92) translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.hart.is-active { opacity: 1; transform: none; }
.hart svg { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4)); }

/* floating illustration parts (shared by all illustrations) */
.fl { transform-box: fill-box; transform-origin: center; }
.fl-a { animation: bobA 6s ease-in-out infinite; }
.fl-b { animation: bobB 5s ease-in-out infinite; }
.fl-c { animation: bobA 7.5s ease-in-out infinite; }
@keyframes bobA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bobB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(11px); } }

/* =========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================= */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; display: inline-flex; align-items: center; gap: 56px; opacity: 0.95; }
.marquee-track span::after { content: "✦"; color: var(--orange); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 86px); align-items: center; }
.about-media { position: relative; }
.about-art { border-radius: var(--r-lg); background: var(--paper-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.about-art img { width: 100%; height: auto; display: block; }
.about-badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 26px; box-shadow: var(--shadow-md); max-width: 230px;
}
.about-badge .big { font-family: var(--font-display); font-size: 2.6rem; color: var(--orange); line-height: 1; }
.about-badge .small { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.about-copy h2 { margin: 18px 0 24px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.about-points .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.about-points .tick svg { width: 13px; height: 13px; }

/* =========================================================================
   STATS BAND
   ========================================================================= */
.stats { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 18px; border-left: 1px solid rgba(255,255,255,0.16); }
.stat:first-child { border-left: none; }
.stat .val { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; }
.stat .val .suffix { color: var(--orange); }
.stat:nth-child(2) .val .suffix { color: var(--mint); }
.stat:nth-child(3) .val .suffix { color: var(--blue); }
.stat .desc { margin-top: 12px; color: rgba(255,255,255,0.76); font-size: 14.5px; max-width: 22ch; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.services-head .h2 { max-width: 16ch; margin-top: 18px; }
.services-head p { max-width: 40ch; color: var(--ink-soft); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s ease;
}
.service::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy), var(--navy-2));
  opacity: 0; transition: opacity 0.5s ease; z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service:hover .service-num,
.service:hover h3,
.service:hover p { color: #fff; }
.service:hover .service-num { -webkit-text-stroke-color: rgba(255,255,255,0.4); }
.service:hover .service-link { border-color: var(--orange); color: #fff; }

.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; transition: transform 0.5s var(--ease);
}
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 28px; height: 28px; }
/* per-card brand colour variety */
.service:nth-child(1) .service-icon { background: var(--green-tint); color: var(--green-deep); }
.service:nth-child(2) .service-icon { background: var(--blue-tint); color: var(--blue-deep); }
.service:nth-child(3) .service-icon { background: var(--orange-tint); color: var(--orange-deep); }
.service:nth-child(4) .service-icon { background: var(--green-tint); color: var(--green-deep); }
.service-num {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1.4px var(--line-strong);
  transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}
.service h3 { font-size: 1.55rem; margin-bottom: 14px; transition: color 0.5s ease; }
.service p { color: var(--ink-soft); font-size: 15.5px; transition: color 0.5s ease; margin-bottom: 26px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--orange); color: var(--orange-deep);
  transition: color 0.4s ease, border-color 0.4s ease, gap 0.4s ease;
}
.service-link:hover { gap: 12px; }

/* =========================================================================
   VISION / PROCESS (dark)
   ========================================================================= */
.vision { background: var(--navy-3); color: #fff; position: relative; overflow: hidden; }
.vision-decor {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 60% at 88% 16%, rgba(69,161,216,0.20), transparent 70%),
    radial-gradient(40% 60% at 8% 92%, rgba(116,180,60,0.18), transparent 70%),
    radial-gradient(30% 40% at 60% 60%, rgba(239,124,36,0.10), transparent 70%);
}
.vision-decor::after {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.3px, transparent 1.3px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
}
.vision .wrap { position: relative; z-index: 1; }
.vision-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); }
.vision-intro h2 { color: #fff; margin: 18px 0 24px; }
.vision-intro p { color: rgba(255,255,255,0.74); }
.vision-list { display: grid; gap: 8px; }
.vrow {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.16); transition: padding-left 0.4s var(--ease);
}
.vrow:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.vrow:hover { padding-left: 12px; }
.vrow .vnum { font-family: var(--font-display); font-size: 1.5rem; color: var(--orange); font-style: italic; }
.vrow:nth-child(2) .vnum { color: var(--mint); }
.vrow:nth-child(3) .vnum { color: var(--blue); }
.vrow h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.vrow p { color: rgba(255,255,255,0.72); font-size: 15.5px; max-width: 60ch; }

/* =========================================================================
   WHY US
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why-copy h2 { margin: 18px 0 32px; }
.why-item { padding: 24px 0; border-top: 1px solid var(--line); }
.why-item:first-of-type { border-top: none; padding-top: 0; }
.why-item h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.why-item h3 .idx { font-size: 13px; font-family: var(--font-body); font-weight: 800; color: #fff; background: var(--green); border-radius: 999px; padding: 4px 11px; }
.why-item:nth-of-type(2) h3 .idx { background: var(--blue); }
.why-item:nth-of-type(3) h3 .idx { background: var(--orange); }
.why-item p { color: var(--ink-soft); font-size: 15.5px; }
.why-art { display: grid; place-items: center; }
.why-art img { width: 100%; max-width: 560px; height: auto; display: block; border-radius: var(--r-lg); filter: drop-shadow(0 24px 50px rgba(10,26,39,0.16)); }

/* =========================================================================
   TESTIMONIAL / CLIENT STORIES
   ========================================================================= */
.stories { background: var(--paper-2); }
.stories-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 70px); align-items: stretch; }
.rating-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg);
  padding: 44px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-lg);
}
.rating-card::after { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(239,124,36,0.35), transparent 70%); }
.rating-card .score { font-family: var(--font-display); font-size: 5rem; line-height: 1; }
.rating-card .stars { color: var(--amber); font-size: 1.4rem; letter-spacing: 4px; margin: 10px 0 24px; }
.rating-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.rating-card p { color: rgba(255,255,255,0.78); font-size: 15px; }
.quotes { display: grid; gap: 22px; }
.quote {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .mark { font-family: var(--font-display); font-size: 3rem; color: var(--orange); line-height: 0.5; height: 24px; display: block; }
.quote blockquote { font-size: 1.12rem; color: var(--ink); margin: 18px 0 22px; font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; flex-shrink: 0; }
.quote:nth-child(2) .who .av { background: linear-gradient(135deg, var(--orange), var(--green)); }
.quote .who .meta strong { display: block; font-size: 15px; }
.quote .who .meta span { font-size: 13px; color: var(--ink-soft); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta { position: relative; color: #fff; overflow: hidden; background: linear-gradient(120deg, var(--navy-2) 0%, var(--navy) 55%, #123451 100%); }
.cta-decor { position: absolute; inset: 0; z-index: 0; }
.cta-decor svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta .wrap { position: relative; z-index: 1; }
.cta-inner { padding: clamp(70px, 10vw, 140px) 0; max-width: 760px; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin: 18px 0 24px; }
.cta p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: 36px; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-3); color: rgba(255,255,255,0.72); padding-top: clamp(64px, 8vw, 100px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: var(--mint); }
.footer-about p { margin: 22px 0; font-size: 14.5px; max-width: 34ch; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; color: #fff; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease; }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 14.5px; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col a:hover { color: var(--mint); padding-left: 5px; }
.footer-contact .ci { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; }
.footer-contact .ci svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 26px 0; font-size: 13.5px; }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--mint); }

/* floating whatsapp */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(31,168,85,0.6); transition: transform 0.3s ease; animation: waPulse 2.6s ease-in-out infinite; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }
@keyframes waPulse { 0%,100% { box-shadow: 0 14px 30px -8px rgba(31,168,85,0.6), 0 0 0 0 rgba(31,168,85,0.4); } 50% { box-shadow: 0 14px 30px -8px rgba(31,168,85,0.6), 0 0 0 14px rgba(31,168,85,0); } }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 116px; }
  .hero-art { order: -1; min-height: 300px; max-width: 440px; }
  .about-grid, .vision-grid, .why-grid, .stories-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stat { border-left: none; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .why-art { max-width: 420px; margin-inline: auto; }
  .about-badge { left: 0; }
  .vision .vrow:hover { padding-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
  .service { padding: 30px; }
  .rating-card, .quote { padding: 30px; }
}

/* ─── offcanvas mobile menu ─── */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 105; background: rgba(6,18,28,0.55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 110; height: 100%;
  width: min(360px, 86vw);
  background: var(--navy-2); color: #fff;
  display: flex; flex-direction: column;
  padding: 20px 26px 32px;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  overflow-y: auto; box-shadow: -24px 0 70px rgba(0,0,0,0.45);
}
.mobile-menu.open { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mm-logo { height: 50px; width: auto; display: block; }
.mm-close { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 2rem; line-height: 1; color: #fff; border: 1px solid rgba(255,255,255,0.18); transition: background 0.25s ease; }
.mm-close:hover { background: rgba(255,255,255,0.08); }
.mm-links { display: flex; flex-direction: column; }
.mm-links a, .mm-toggle { font-family: var(--font-display); font-size: 1.5rem; font-weight: 460; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.10); text-align: left; }
.mm-cta { margin-top: 24px; justify-content: center; }
@media (min-width: 761px) { .mobile-menu, .nav-backdrop { display: none !important; } }

/* =========================================================================
   SERVICES PAGE
   ========================================================================= */
.page-hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  padding: clamp(150px, 20vh, 240px) 0 clamp(64px, 9vh, 100px);
  background:
    linear-gradient(180deg, rgba(7,20,30,0.70) 0%, rgba(7,20,30,0.62) 45%, rgba(7,20,30,0.86) 100%),
    url("../assets/images/hero-bg.jpg") center / cover no-repeat,
    var(--navy-3);
}
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); margin-top: 18px; }
.page-hero .lead { color: rgba(255,255,255,0.86); max-width: 60ch; margin: 20px auto 0; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--mint); }

.svc-list { display: grid; gap: 26px; }
.svc-row {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.svc-row:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-row.reverse .svc-visual { order: 2; }
.svc-visual { position: relative; border-radius: var(--r-lg); aspect-ratio: 5/4; display: grid; place-items: center; overflow: hidden; }
.svc-visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.16) 1.4px, transparent 1.4px); background-size: 26px 26px; opacity: 0.55; }
.svc-visual .gico { position: relative; z-index: 1; width: clamp(64px, 8vw, 108px); height: auto; color: #fff; }
.svc-visual .ghost { position: absolute; z-index: 1; right: 20px; bottom: -1.2rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(6rem, 12vw, 11rem); line-height: 1; color: rgba(255,255,255,0.20); }
.gv-1 { background: linear-gradient(140deg, #74B43C, #2F6916); }
/* photo variant of a service visual */
.svc-photo { background: var(--navy); }
.svc-photo::after { display: none; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.svc-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,20,30,0.05) 35%, rgba(7,20,30,0.55) 100%); }
.svc-photo .ghost { z-index: 2; font-size: clamp(2.6rem, 4.5vw, 3.8rem); right: 24px; bottom: 12px; color: rgba(255,255,255,0.92); text-shadow: 0 6px 24px rgba(0,0,0,0.55); }
.gv-2 { background: linear-gradient(140deg, #45A1D8, #155F8C); }
.gv-3 { background: linear-gradient(140deg, #EF7C24, #A94D08); }
.gv-4 { background: linear-gradient(140deg, #1E7CB3, #0E2535); }
.gv-5 { background: linear-gradient(140deg, #74B43C, #1E7CB3); }
.gv-6 { background: linear-gradient(140deg, #EF7C24, #0E2535); }
.svc-body .scount { font-family: var(--font-display); font-style: italic; color: var(--orange); font-size: 1.15rem; }
.svc-body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.svc-body p { color: var(--ink-soft); margin-bottom: 22px; max-width: 58ch; }
.svc-highlights { display: grid; gap: 11px; margin-bottom: 28px; }
.svc-highlights li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; color: var(--ink); }
.svc-highlights .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.svc-highlights .tick svg { width: 12px; height: 12px; }
.svc-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.svc-more { display: grid; grid-template-rows: 0fr; opacity: 0; margin: 0; transition: grid-template-rows 0.45s var(--ease), opacity 0.4s ease, margin 0.45s var(--ease); }
.svc-more > div { overflow: hidden; }
.svc-more p { color: var(--ink-soft); margin: 0; max-width: 58ch; }
.svc-row.is-open .svc-more { grid-template-rows: 1fr; opacity: 1; margin: -6px 0 22px; }

@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row.reverse .svc-visual { order: 0; }
  .svc-visual { aspect-ratio: 16/7; }
  .svc-visual .ghost { bottom: -0.6rem; font-size: clamp(5rem, 18vw, 8rem); }
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .cc-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.contact-card:nth-child(1) .cc-icon { background: var(--green-tint); color: var(--green-deep); }
.contact-card:nth-child(2) .cc-icon { background: var(--blue-tint); color: var(--blue-deep); }
.contact-card:nth-child(3) .cc-icon { background: var(--orange-tint); color: var(--orange-deep); }
.contact-card .cc-icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.contact-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.contact-card a { color: var(--ink-soft); transition: color 0.3s ease; }
.contact-card a:hover { color: var(--orange-deep); }

.contact-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: stretch; }
.contact-form-card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 3vw, 46px); box-shadow: var(--shadow-sm); }
.contact-form-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 8px; }
.contact-form-card .sub { color: var(--ink-soft); margin-bottom: 26px; }
.cform { display: grid; gap: 16px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: block; }
.cform .lbl { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; display: block; letter-spacing: 0.01em; }
.cform .lbl span { color: var(--orange); }
.cform input, .cform textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink); transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cform textarea { min-height: 132px; resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: #9aa6ad; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239,124,36,0.14); }
.cform .form-note { font-size: 14px; font-weight: 600; margin: -2px 0 2px; min-height: 18px; }
.cform .form-note.ok { color: var(--green-deep); }
.cform .form-note.err { color: var(--orange-deep); }

.contact-map { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 440px; display: flex; }
.contact-map iframe { width: 100%; min-height: 440px; border: 0; filter: saturate(0.95); }
.contact-map .open-maps {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: #fff; color: var(--blue-deep);
  padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md);
  display: inline-flex; gap: 7px; align-items: center; transition: transform 0.3s ease;
}
.contact-map .open-maps:hover { transform: translateY(-2px); }

@media (max-width: 920px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .cform .row2 { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }
  .contact-map iframe { min-height: 340px; }
}

/* =========================================================================
   SERVICE DETAIL PAGES
   ========================================================================= */
.detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.detail-side { position: sticky; top: 104px; display: grid; gap: 20px; }
.side-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.side-card > h3 { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.side-card > h3::before { content: ""; width: 26px; height: 4px; border-radius: 3px; background: var(--orange); }
.side-nav { display: grid; gap: 10px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 17px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; }
.side-nav a svg { width: 16px; height: 16px; color: var(--ink-soft); transition: transform 0.3s ease, color 0.3s ease; flex-shrink: 0; }
.side-nav a:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateX(3px); }
.side-nav a:hover svg { color: var(--orange-deep); transform: translateX(2px); }
.side-nav a.active { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.side-nav a.active svg { color: var(--mint); }
.side-cta { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-md); }
.side-cta h4 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.side-cta p { color: rgba(255,255,255,0.78); font-size: 14px; margin-bottom: 18px; }
.side-cta .btn { width: 100%; justify-content: center; }
.side-cta .side-call { display: block; text-align: center; margin-top: 14px; color: var(--mint); font-weight: 700; font-size: 15px; }

.detail-main { min-width: 0; }
.detail-hero { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 36px; aspect-ratio: 16/9; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-main h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.detail-main > p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }
.detail-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 34px 0; }
.dh-item { display: flex; gap: 14px; align-items: center; background: var(--paper-card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.dh-item .dh-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; }
.dh-item:nth-child(2) .dh-ic { background: var(--blue-tint); color: var(--blue-deep); }
.dh-item:nth-child(3) .dh-ic { background: var(--orange-tint); color: var(--orange-deep); }
.dh-item:nth-child(4) .dh-ic { background: var(--green-tint); color: var(--green-deep); }
.dh-item .dh-ic svg { width: 20px; height: 20px; }
.dh-item span { font-weight: 600; font-size: 14.5px; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 36px 0; }
.detail-cols h3 { font-size: 1.4rem; margin-bottom: 16px; }
.detail-list { display: grid; gap: 11px; }
.detail-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.detail-list .tick { color: var(--green-deep); flex-shrink: 0; margin-top: 2px; }
.detail-list .tick svg { width: 16px; height: 16px; }
.detail-cta { background: linear-gradient(135deg, var(--orange), #d2640d); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 3vw, 40px); margin: 42px 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 24px 50px -24px rgba(239,124,36,0.6); }
.detail-cta h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 22ch; }
.detail-cta .btn { background: #fff; color: var(--orange-deep); }
.detail-cta .btn:hover { background: var(--navy); color: #fff; }
.detail-pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; }
.detail-pager a { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--ink); transition: color 0.3s ease; max-width: 48%; }
.detail-pager a small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.detail-pager a.next { text-align: right; margin-left: auto; align-items: flex-end; }
.detail-pager a:hover .lbl { color: var(--orange-deep); }
.detail-pager .lbl { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); transition: color 0.3s ease; }

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-highlights, .detail-cols { grid-template-columns: 1fr; }
}

/* =========================================================================
   HEADER — services dropdown + active states
   ========================================================================= */
.nav-links a[aria-current="page"]::after,
.nav-drop-toggle.active::after { width: 100%; }

.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-toggle svg { width: 13px; height: 13px; transition: transform 0.3s ease; }
.nav-item:hover .nav-drop-toggle svg,
.nav-item:focus-within .nav-drop-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 264px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px; margin-top: 14px;
  display: grid; gap: 2px; z-index: 50;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}
/* invisible bridge so the cursor can cross the gap without closing */
.nav-dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a { display: block; padding: 11px 14px; border-radius: 11px; color: var(--ink); font-size: 14px; font-weight: 600; transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease; }
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--paper-2); color: var(--orange-deep); padding-left: 18px; }
.nav-dropdown a.active { background: var(--paper-2); color: var(--orange-deep); }
.nav-dropdown a.all { color: var(--green-deep); border-bottom: 1px solid var(--line); border-radius: 11px 11px 0 0; margin-bottom: 4px; }
.nav-dropdown a.all:hover { color: var(--green-deep); }

/* mobile services submenu */
.mobile-menu .mm-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; font-family: var(--font-display); font-size: 1.5rem; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.10); text-align: left; }
.mobile-menu .mm-toggle svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.mobile-menu .mm-toggle.open svg { transform: rotate(180deg); }
.mobile-menu .mm-subwrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.mobile-menu .mm-subwrap > div { overflow: hidden; }
.mobile-menu .mm-subwrap.open { grid-template-rows: 1fr; }
.mobile-menu .mm-subwrap > div { padding: 4px 0 10px; }
.mobile-menu .mm-sub { display: block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em; color: rgba(255,255,255,0.66); padding: 9px 0 9px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); border-left: 2px solid rgba(255,255,255,0.12); transition: color 0.25s ease, border-color 0.25s ease; }
.mobile-menu .mm-sub:last-child { border-bottom: none; }
.mobile-menu .mm-sub:hover { color: var(--mint); border-left-color: var(--mint); }

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.mission { background: var(--paper-2); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.mission-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 16px 0 20px; }
.mission-copy h2 .italic { color: var(--green-deep); }
.mission-copy p { color: var(--ink-soft); }
.mission-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.mission-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.mission-list .tick { color: var(--green-deep); flex-shrink: 0; margin-top: 2px; }
.mission-list .tick svg { width: 16px; height: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .v-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.value-card:nth-child(3n+1) .v-ic { background: var(--green-tint); color: var(--green-deep); }
.value-card:nth-child(3n+2) .v-ic { background: var(--blue-tint); color: var(--blue-deep); }
.value-card:nth-child(3n+3) .v-ic { background: var(--orange-tint); color: var(--orange-deep); }
.value-card .v-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 860px) {
  .mission-grid { grid-template-columns: 1fr; }
  .mission-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   TEAM — overview grid + member profile
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(160deg, var(--paper-2), #dfe7e6); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo .role-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(10,26,39,0.85); color: #fff; backdrop-filter: blur(4px); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 7px 13px; border-radius: 999px; }
.team-info { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.team-info h3 { font-size: 1.5rem; }
.team-info .pos { color: var(--green-deep); font-weight: 700; font-size: 14px; }
.team-info p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.team-info .profile-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--orange-deep); transition: gap 0.3s ease; }
.team-card:hover .profile-link { gap: 12px; }

/* member profile */
.profile-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.profile-aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.profile-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(160deg, var(--paper-2), #dfe7e6); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile-facts { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-md); }
.profile-facts .pf { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.profile-facts .pf:last-child { border-bottom: none; }
.profile-facts .pf svg { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; }
.profile-facts .pf b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; line-height: 1.1; }
.profile-facts .pf span { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.profile-aside .btn { width: 100%; justify-content: center; }

.profile-main .eyebrow { margin-bottom: 14px; }
.profile-main h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 6px; }
.profile-main .role { color: var(--green-deep); font-weight: 700; font-size: 1.05rem; margin-bottom: 24px; display: block; }
.profile-main p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }
.profile-soon { background: var(--paper-2); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 26px 28px; color: var(--ink-soft); font-weight: 600; }
.profile-pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 36px; }
.profile-pager a { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--ink); max-width: 48%; }
.profile-pager a small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.profile-pager a.next { text-align: right; margin-left: auto; align-items: flex-end; }
.profile-pager .lbl { font-family: var(--font-display); font-size: 1.1rem; transition: color 0.3s ease; }
.profile-pager a:hover .lbl { color: var(--orange-deep); }

@media (max-width: 920px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-aside { position: static; max-width: 420px; }
}
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   TEAM PROFILE — extended (executive CV)
   ========================================================================= */
.profile-quote { border-left: 3px solid var(--orange); background: var(--paper-2); border-radius: 0 12px 12px 0; padding: 18px 24px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 24px 0; line-height: 1.6; }
.profile-connect { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.profile-connect h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; margin-bottom: 10px; }
.profile-links { display: grid; gap: 4px; }
.profile-links a { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13.5px; font-weight: 600; padding: 7px 0; }
.profile-links a:hover { color: var(--orange-deep); }
.profile-links svg { width: 17px; height: 17px; color: var(--green-deep); flex-shrink: 0; }

.pstat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 4px; }
.pstat { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.pstat b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); line-height: 1; }
.pstat b span { color: var(--orange); }
.pstat small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }

.ach-list { display: grid; gap: 14px; }
.ach-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: border-color 0.3s ease, transform 0.3s ease; }
.ach-item:hover { border-color: rgba(239,124,36,0.3); transform: translateY(-3px); }
.ach-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; }
.ach-item:nth-child(2) .ach-ic { background: var(--blue-tint); color: var(--blue-deep); }
.ach-item:nth-child(3) .ach-ic { background: var(--orange-tint); color: var(--orange-deep); }
.ach-item:nth-child(4) .ach-ic { background: var(--green-tint); color: var(--green-deep); }
.ach-item:nth-child(5) .ach-ic { background: var(--blue-tint); color: var(--blue-deep); }
.ach-ic svg { width: 22px; height: 22px; }
.ach-item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.ach-item p { color: var(--ink-soft); font-size: 14.5px; }

.cv-timeline { position: relative; padding-left: 28px; }
.cv-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange), var(--green), transparent); }
.cv-item { position: relative; padding-bottom: 28px; }
.cv-item:last-child { padding-bottom: 0; }
.cv-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-card); border: 2.5px solid var(--orange); }
.cv-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 5px; }
.cv-org { font-weight: 800; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green-deep); }
.cv-period { font-size: 12.5px; color: var(--ink-soft); }
.cv-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 2px 9px; border-radius: 999px; }
.cv-role { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.cv-desc { color: var(--ink-soft); font-size: 14.5px; }

.edu-grid { display: grid; gap: 12px; }
.edu-row { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; padding: 16px 20px; background: var(--paper-2); border-radius: 12px; border-left: 3px solid var(--green); }
.edu-row b { color: var(--green-deep); font-size: 0.95rem; min-width: 240px; }
.edu-row span { color: var(--ink-soft); font-size: 14.5px; }

.cert-grid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cert-c { background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; font-size: 12.5px; color: var(--ink-soft); transition: border-color 0.25s ease; }
.cert-c:hover { border-color: rgba(212,168,71,0.4); }
.cert-c b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 3px; font-size: 13.5px; }

@media (max-width: 860px) {
  .pstat-row { grid-template-columns: repeat(2, 1fr); }
  .cert-grid2 { grid-template-columns: 1fr 1fr; }
  .ach-item { grid-template-columns: 1fr; }
  .edu-row b { min-width: unset; }
}
@media (max-width: 560px) { .cert-grid2 { grid-template-columns: 1fr; } }

/* Ashish/exec profile — detail blocks flow inside the main column (fills the
   space next to the sticky sidebar) */
.profile-block { margin-top: 52px; }
.profile-main .block-title { font-family: var(--font-display); font-weight: 460; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); margin: 12px 0 22px; line-height: 1.15; }
.profile-main .pstat-row { margin-top: 10px; }
@media (min-width: 921px) {
  .profile-main .values-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-main .cert-grid2 { grid-template-columns: repeat(2, 1fr); }
}
