/* =====================================================================
   Bridge Lending Solutions — Global Stylesheet
   Static, dependency-free. Brand colours derived from the company logo.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Noto+Sans+Gurmukhi:wght@400;500;600;700&family=Noto+Sans+Gujarati:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ---- Design tokens ------------------------------------------------- */
:root {
  --blue:        #1C9FCE;   /* bridge arch blue  */
  --blue-600:    #1789B4;
  --teal:        #15607A;   /* "LENDING" deep teal */
  --teal-700:    #0F4A5E;
  --ink:         #16242B;   /* charcoal text */
  --ink-soft:    #33454D;
  --muted:       #5C6E76;
  --gold:        #C8A24B;   /* premium / money accent */
  --gold-600:    #B08A33;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F7F9;
  --bg-soft-2:   #EAF1F4;
  --line:        #E1E8EC;
  --white:       #FFFFFF;

  --grad-deep:   linear-gradient(135deg, #0F4A5E 0%, #15607A 45%, #1C9FCE 100%);
  --grad-blue:   linear-gradient(135deg, #1C9FCE 0%, #15607A 100%);
  --grad-gold:   linear-gradient(135deg, #D8B765 0%, #C8A24B 50%, #B08A33 100%);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16,40,52,.06);
  --shadow:    0 12px 34px -12px rgba(16,40,52,.18);
  --shadow-lg: 0 30px 70px -28px rgba(15,74,94,.32);
  --ease:      cubic-bezier(.22,1,.36,1);
  --container:  1180px;
}

/* ---- 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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { color: var(--ink-soft); }

/* ---- Layout helpers ----------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section   { padding: 92px 0; }
.section--soft {
  background:
    linear-gradient(rgba(243,247,249,.9), rgba(232,240,244,.93)),
    url("img/texture.jpg") center/cover no-repeat;
}
.section--ink  { background: var(--ink); }
.narrow    { max-width: 760px; }
.center    { text-align: center; }
.mx-auto   { margin-left:auto; margin-right:auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--gold); display:inline-block; }
.eyebrow--light { color: #BFE3F1; }
.eyebrow--light::before { background: var(--gold); }

.lead { font-size: 1.15rem; color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left:auto; margin-right:auto; }
.section-head h2 { margin: 14px 0 16px; }

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-gold); color: #2A2009; box-shadow: 0 10px 24px -8px rgba(176,138,51,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(176,138,51,.7); }
.btn--blue { background: var(--blue); color:#fff; box-shadow: 0 10px 24px -10px rgba(28,159,206,.7); }
.btn--blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color:#fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color:#fff; }
.btn-row { display:flex; flex-wrap:wrap; gap:14px; }

/* ---- Header / nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display:flex; align-items:center; justify-content:space-between; height: 78px; }
.brand { display:flex; align-items:center; gap: 12px; }
.brand img { height: 46px; width:auto; }
.brand-text { display:none; }   /* logo image already shows the company name */
.brand-text b { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand-text span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav-links { display:flex; align-items:center; gap: 4px; }
.nav-links > li > a {
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  padding: 10px 14px; border-radius: 100px; color: var(--ink-soft);
  transition: all .2s var(--ease); display:inline-flex; align-items:center;
  white-space: nowrap;
}
.nav-links > li > a { position: relative; }
.nav-links > li > a:hover { color: var(--teal); }
.nav-links > li > a.active { color: var(--teal); background: var(--bg-soft); }
.nav-links > li > a::after {
  content:""; position:absolute; left:14px; right:14px; bottom:5px; height:2px;
  background: var(--gold); border-radius:2px; transform: scaleX(0); transform-origin:left;
  transition: transform .28s var(--ease);
}
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.active::after { display:none; }

/* dropdown */
.has-drop { position: relative; }
.drop-toggle { display:inline-flex; align-items:center; gap:6px; }
.drop-toggle svg { width:14px; height:14px; transition: transform .25s var(--ease); }
.has-drop:hover .drop-toggle svg, .has-drop:focus-within .drop-toggle svg { transform: rotate(180deg); }
.dropdown {
  position:absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 340px; background:#fff; border:1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 12px; opacity:0; visibility:hidden;
  transition: all .22s var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity:1; visibility:visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display:flex; gap:12px; align-items:flex-start; padding:11px 12px; border-radius:12px; transition: background .18s; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .ic { flex:none; width:34px; height:34px; border-radius:9px; background: var(--bg-soft-2); display:grid; place-items:center; color: var(--teal); }
.dropdown .ic svg { width:18px; height:18px; }
.dropdown b { font-family:var(--font-display); font-size:.9rem; color: var(--ink); display:block; }
.dropdown small { color: var(--muted); font-size:.78rem; line-height:1.45; }
.nav-cta { display:flex; align-items:center; gap: 14px; }
.nav-phone { font-family:var(--font-display); font-weight:700; color:var(--teal); font-size:.95rem; display:flex; align-items:center; gap:8px; white-space:nowrap; }
.nav-phone svg { width:17px; height:17px; }

.burger { display:none; width:46px; height:46px; border:1px solid var(--line); border-radius:12px; background:#fff; cursor:pointer; }
.burger span { display:block; width:20px; height:2px; background:var(--ink); margin:4px auto; transition:.25s var(--ease); }
.burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------------------- */
.hero { position: relative; background: var(--grad-deep); color:#fff; overflow:hidden; padding: 96px 0 110px; }
.hero::after { /* skyline silhouette */
  content:""; position:absolute; left:0; right:0; bottom:0; height: 160px;
  background: url("skyline.svg") repeat-x bottom center; background-size: auto 160px;
  opacity:.22; pointer-events:none;
}
.hero-deco { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.hero-deco span { position:absolute; border-radius:50%; filter: blur(60px); }
.hero-deco span:nth-child(1){ width:420px;height:420px; background: radial-gradient(circle,#2BB6E6,transparent 70%); top:-120px; right:-80px; opacity:.5;}
.hero-deco span:nth-child(2){ width:360px;height:360px; background: radial-gradient(circle,#C8A24B,transparent 70%); bottom:-120px; left:-60px; opacity:.28;}
.hero-grid { position:relative; z-index:2; display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; }
.hero h1 { color:#fff; }
.hero h1 .hl { color:#9FE0F5; }
.hero p { color: #D4E6EE; font-size:1.18rem; margin: 22px 0 32px; max-width: 560px; }
.hero .btn-row { margin-bottom: 34px; }
.hero-stats {
  display:grid; grid-template-columns: repeat(3, 1fr); max-width: 520px;
  background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  border-radius: 16px; overflow:hidden; backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px -22px rgba(0,0,0,.45);
}
.hero-stats > div { padding: 16px 18px; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.13); }
.hero-stats div b { font-family:var(--font-display); font-weight:800; font-size:1.65rem; color:#fff; display:block; line-height:1.05; }
.hero-stats div span { font-size:.8rem; color:#C2DDE6; letter-spacing:.01em; line-height:1.35; display:block; margin-top:5px; }

.page-hero { background: var(--grad-deep); color:#fff; padding: 72px 0 80px; position:relative; overflow:hidden; }
.page-hero .hero-deco span:nth-child(1){opacity:.4;}
.page-hero-inner { position:relative; z-index:2; max-width: 780px; }
.page-hero h1 { color:#fff; margin: 16px 0 18px; }
.page-hero p { color:#D4E6EE; font-size:1.16rem; max-width: 620px; }
.crumbs { display:flex; gap:8px; font-size:.85rem; color:#9FC6D6; font-family:var(--font-display); font-weight:600; }
.crumbs a:hover { color:#fff; }

/* ---- Hero side card ----------------------------------------------- */
.hero-card {
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color:#fff; margin-bottom: 6px; }
.hero-card p.sub { color:#BBD7E0; font-size:.9rem; margin-bottom: 22px; }
.q-field { margin-bottom: 14px; }
.q-field label { display:block; font-size:.78rem; color:#BBD7E0; font-family:var(--font-display); font-weight:600; margin-bottom:6px; letter-spacing:.03em; }
.q-field input, .q-field select {
  width:100%; padding: 12px 14px; border-radius: 11px; border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color:#fff; font-family:var(--font-body); font-size:.95rem;
}
.q-field input::placeholder { color:#A9C7D2; }
.q-field select option { color: var(--ink); }
.q-note { font-size:.74rem; color:#A9C7D2; margin-top: 12px; text-align:center; }

/* ---- Trust bar ----------------------------------------------------- */
.trustbar { background:#fff; border-bottom:1px solid var(--line); }
.trustbar .container { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 20px; padding-top:26px; padding-bottom:26px; }
.trustbar div { display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:600; color:var(--ink-soft); font-size:.92rem; }
.trustbar svg { width:22px; height:22px; color: var(--blue); flex:none; }

/* ---- Cards / grids ------------------------------------------------- */
/* Prevent grid/flex blowout: let 1fr tracks shrink below their content's
   intrinsic min-width (esp. form controls). The universal correctness fix. */
.grid > *, .contact-grid > *, .svc-layout > *, .split > *, .field.two > * { min-width: 0; }
.info-item a { overflow-wrap: anywhere; }
.footer-contact a, .footer-col a { overflow-wrap: break-word; }

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

.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: all .28s var(--ease); position:relative; overflow:hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #CFE3EC; }
.card .ic {
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
  background: var(--bg-soft-2); color: var(--teal); margin-bottom: 20px;
}
.card .ic svg { width:27px; height:27px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size:.96rem; }
.card .more { display:inline-flex; align-items:center; gap:7px; margin-top:16px; font-family:var(--font-display); font-weight:600; color:var(--teal); font-size:.92rem; }
.card .more svg { width:16px;height:16px; transition: transform .2s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }

/* service card top accent */
.card--service::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background: var(--grad-blue); transform: scaleX(0); transform-origin:left; transition: transform .3s var(--ease); }
.card--service:hover::before { transform: scaleX(1); }

/* stat cards */
.stat-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align:center; padding: 28px 18px; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); }
.stat b { font-family:var(--font-display); font-weight:800; font-size: 2.4rem; background: var(--grad-blue); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; display:block; }
.stat span { color: var(--muted); font-size:.92rem; font-weight:500; }

/* ---- Feature split (image/text) ----------------------------------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow:hidden; min-height: 380px; box-shadow: var(--shadow); position:relative; }
.media-illus { width:100%; height:100%; display:block; }
.checklist li { display:flex; gap:13px; align-items:flex-start; margin-bottom: 14px; }
.checklist .tick { flex:none; width:24px; height:24px; border-radius:50%; background: var(--bg-soft-2); color: var(--teal); display:grid; place-items:center; margin-top:2px; }
.checklist .tick svg { width:14px; height:14px; }
.checklist b { font-family:var(--font-display); }
.checklist span { color: var(--muted); font-size:.95rem; }

/* ---- Process steps ------------------------------------------------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 26px; counter-reset: step; }
.step { position:relative; padding-top: 18px; }
.step .num { width:48px; height:48px; border-radius:14px; background: var(--grad-deep); color:#fff; font-family:var(--font-display); font-weight:800; font-size:1.2rem; display:grid; place-items:center; margin-bottom:18px; box-shadow: var(--shadow-sm); }
.step h3 { font-size:1.12rem; margin-bottom:8px; }
.step p { font-size:.93rem; }

/* ---- Why-us / dark feature ---------------------------------------- */
.section--ink h2, .section--ink h3 { color:#fff; }
.section--ink p { color:#B9CDD5; }
.feature-ink { display:flex; gap:18px; }
.feature-ink .ic { flex:none; width:50px; height:50px; border-radius:13px; background: rgba(28,159,206,.16); color:#7FD3EE; display:grid; place-items:center; }
.feature-ink .ic svg { width:25px; height:25px; }

/* ---- Testimonials -------------------------------------------------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.quote .stars { color: var(--gold); letter-spacing:2px; margin-bottom: 14px; font-size:1rem; }
.quote p { font-size:1rem; color: var(--ink-soft); font-style: italic; }
.quote .who { display:flex; align-items:center; gap:12px; margin-top: 20px; }
.quote .avatar { width:44px; height:44px; border-radius:50%; background: var(--grad-blue); color:#fff; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; }
.quote .who b { font-family:var(--font-display); font-size:.95rem; display:block; }
.quote .who span { font-size:.82rem; color: var(--muted); }

/* ---- FAQ (accordion) ---------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding: 22px 0; display:flex; justify-content:space-between; align-items:center; gap:20px; font-family:var(--font-display); font-weight:600; font-size:1.06rem; color:var(--ink); }
.faq-q .pm { flex:none; width:28px; height:28px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; transition: all .25s var(--ease); }
.faq-q .pm svg { width:15px; height:15px; transition: transform .25s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--teal); border-color:var(--teal); color:#fff; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 0 22px; color: var(--muted); }

/* ---- CTA band ------------------------------------------------------ */
.cta-band { background: var(--grad-deep); color:#fff; border-radius: var(--radius-lg); padding: 56px; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; width:340px;height:340px; border-radius:50%; background: radial-gradient(circle,rgba(200,162,75,.4),transparent 70%); top:-140px; right:-80px; }
.cta-band h2 { color:#fff; position:relative; }
.cta-band p { color:#D4E6EE; max-width:560px; margin: 14px auto 28px; position:relative; }
.cta-band .btn-row { justify-content:center; position:relative; }

/* ---- Generic content prose ---------------------------------------- */
.prose h2 { margin: 38px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul.bullets { margin: 0 0 18px; }
.prose ul.bullets li { position:relative; padding-left: 28px; margin-bottom: 11px; color: var(--ink-soft); }
.prose ul.bullets li::before { content:""; position:absolute; left:4px; top:11px; width:8px; height:8px; border-radius:2px; background: var(--gold); }
.callout { background: var(--bg-soft); border-left: 4px solid var(--blue); border-radius: 12px; padding: 22px 24px; margin: 24px 0; }
.callout b { font-family: var(--font-display); color: var(--teal-700); }

/* sticky aside on service pages */
.svc-layout { display:grid; grid-template-columns: 1fr 340px; gap: 50px; align-items:start; }
.aside-card { position: sticky; top: 100px; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size:1.15rem; margin-bottom: 6px; }
.aside-card p { font-size:.9rem; color:var(--muted); margin-bottom: 18px; }
.aside-card .btn { width:100%; justify-content:center; margin-bottom:10px; }
.aside-list { margin-top: 22px; border-top:1px solid var(--line); padding-top: 18px; }
.aside-list a { display:flex; align-items:center; justify-content:space-between; padding:9px 0; font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--ink-soft); }
.aside-list a:hover { color: var(--teal); }
.aside-list a.cur { color: var(--teal); }
.aside-list svg { width:15px;height:15px; opacity:.5; }

/* ---- Contact ------------------------------------------------------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:start; }
.field { margin-bottom: 18px; }
.field label { display:block; font-family:var(--font-display); font-weight:600; font-size:.86rem; margin-bottom:7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; border-radius: 12px; border:1px solid var(--line);
  background:#fff; font-family:var(--font-body); font-size:.96rem; color:var(--ink); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28,159,206,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.field.two { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:0; }
.info-item { display:flex; gap:16px; margin-bottom: 26px; }
.info-item .ic { flex:none; width:48px; height:48px; border-radius:13px; background: var(--bg-soft-2); color:var(--teal); display:grid; place-items:center; }
.info-item .ic svg { width:23px; height:23px; }
.info-item b { font-family:var(--font-display); display:block; margin-bottom:3px; }
.info-item span, .info-item a { color: var(--muted); font-size:.95rem; }
.info-item a:hover { color: var(--teal); }
.form-ok { display:none; background:#EAF6EF; border:1px solid #BFE3CE; color:#1E6B43; border-radius:12px; padding:14px 16px; margin-bottom:18px; font-size:.92rem; }
.form-ok.show { display:block; }

/* ---- Footer -------------------------------------------------------- */
.site-footer { background: var(--ink); color:#AFC0C8; padding: 76px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; align-items: start; padding-bottom: 46px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand img { width:200px; max-width:70%; height:auto; margin-bottom:22px; }
.footer-brand p { color:#8FA4AD; font-size:.92rem; line-height:1.7; max-width: 340px; }
.footer-col h4 { color:#fff; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.09); }
.footer-col a, .footer-col li { display:block; color:#AFC0C8; font-size:.93rem; padding: 7px 0; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: var(--blue); transform: translateX(3px); }
.footer-contact div { display:flex; gap:11px; margin-bottom:15px; font-size:.92rem; align-items:flex-start; line-height:1.5; }
.footer-contact a:hover { color: var(--blue); }
.footer-contact svg { width:18px;height:18px; color:var(--blue); flex:none; margin-top:3px; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px 24px; padding-top: 26px; font-size:.84rem; color:#7C909A; }
.footer-bottom a:hover { color:#fff; }
.footer-bottom .credit a { color: var(--blue); font-weight:600; transition: color .2s var(--ease); }
.footer-bottom .credit a:hover { color: var(--gold); text-decoration: underline; }
.social { display:flex; gap:10px; margin-top:22px; }
.social a { width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#AFC0C8;transition:.2s var(--ease); }
.social a:hover { background:var(--blue); color:#fff; transform: translateY(-3px); }
.social svg { width:18px;height:18px; }

/* ---- Reveal-on-scroll --------------------------------------------- */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* =====================================================================
   MOTION & EFFECTS  (pure CSS — honours prefers-reduced-motion below)
   ===================================================================== */

/* Smooth anchored scrolling clears the sticky header */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* --- Animated hero gradients (slow living sheen) --- */
@keyframes bgShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.hero, .page-hero { background-size: 220% 220%; animation: bgShift 20s ease-in-out infinite; }

/* --- Floating blurred blobs in the heroes --- */
@keyframes floatA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(34px,-26px)} }
@keyframes floatB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-28px,22px)} }
.hero-deco span:nth-child(1){ animation: floatA 13s ease-in-out infinite; }
.hero-deco span:nth-child(2){ animation: floatB 16s ease-in-out infinite; }

/* --- Hero entrance (staggered fade-up on load) --- */
@keyframes heroIn { from{opacity:0; transform:translateY(26px)} to{opacity:1; transform:none} }
.hero-grid > div > *, .hero-card, .page-hero-inner > * { animation: heroIn .85s var(--ease) both; }
.hero-grid > div > *:nth-child(1){animation-delay:.04s}
.hero-grid > div > *:nth-child(2){animation-delay:.12s}
.hero-grid > div > *:nth-child(3){animation-delay:.20s}
.hero-grid > div > *:nth-child(4){animation-delay:.28s}
.hero-grid > div > *:nth-child(5){animation-delay:.36s}
.hero-card{animation-delay:.30s}
.page-hero-inner > *:nth-child(1){animation-delay:.04s}
.page-hero-inner > *:nth-child(2){animation-delay:.12s}
.page-hero-inner > *:nth-child(3){animation-delay:.20s}
.page-hero-inner > *:nth-child(4){animation-delay:.28s}
.page-hero-inner > *:nth-child(5){animation-delay:.36s}

/* --- Sticky header shrinks & lifts on scroll --- */
.site-header { transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 8px 28px -14px rgba(16,40,52,.28); }
.nav { transition: height .3s var(--ease); }
.brand img { transition: height .3s var(--ease); }
.site-header.scrolled .nav { height: 66px; }
.site-header.scrolled .brand img { height: 40px; }

/* --- Button shine sweep on solid buttons --- */
.btn--primary, .btn--blue, .btn--light { position: relative; overflow: hidden; }
.btn--primary::after, .btn--blue::after, .btn--light::after {
  content:""; position:absolute; top:0; bottom:0; left:-130%; width:55%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); pointer-events:none;
}
.btn--primary:hover::after, .btn--blue:hover::after, .btn--light:hover::after { left:170%; transition: left .75s var(--ease); }

/* --- Card icon pop + media zoom on hover --- */
.card .ic { transition: transform .32s var(--ease), background .32s var(--ease), color .32s var(--ease); }
.card:hover .ic { transform: translateY(-3px) scale(1.07); background: var(--grad-blue); color:#fff; }
.split-media .media-illus { transition: transform .9s var(--ease); will-change: transform; }
.split-media:hover .media-illus { transform: scale(1.05); }

/* --- Feature-ink icons glow on hover --- */
.feature-ink .ic { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature-ink:hover .ic { transform: translateY(-3px); box-shadow: 0 10px 26px -8px rgba(28,159,206,.5); }

/* --- Parallax FIXED background on the CTA band (every page) --- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(13,64,82,.93) 0%, rgba(21,96,122,.86) 55%, rgba(28,159,206,.72) 100%),
    url("img/cta-cityscape.jpg"),
    var(--grad-deep);
  background-attachment: scroll, fixed, scroll;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

/* --- Subtle FIXED skyline behind dark sections (parallax depth) --- */
.section--ink { position: relative; overflow: hidden; }
.section--ink::after { display: none; }   /* skyline bars retired — the photo backdrop replaces them */
.section--ink > .container { position: relative; z-index: 1; }

/* --- Scroll-reveal base (JS adds .in) — richer easing + variants --- */
.reveal { opacity:0; transform: translateY(30px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* --- Pulse ring on the gold eyebrow tick --- */
@keyframes lineGrow { from{transform:scaleX(.2)} to{transform:scaleX(1)} }
.eyebrow::before { transform-origin:left; }

/* --- Accessibility: respect reduced-motion --- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity:1 !important; transform:none !important; }
  .cta-band { background-attachment: scroll, scroll, scroll !important; }
  .section--ink::after { background-attachment: scroll !important; }
}

/* Background-attachment:fixed is janky / ignored on touch — fall back to scroll */
@media (max-width: 920px){
  .cta-band { background-attachment: scroll, scroll, scroll; }
  .section--ink::after { background-attachment: scroll; }
}

/* =====================================================================
   PHOTO BACKGROUNDS (Gemini-generated, saved in assets/img/)
   Layered UNDER a dark brand overlay for text legibility, and OVER the
   brand gradient so it degrades gracefully if an image is missing.
   ===================================================================== */

/* Home hero — bridge photo on a slow Ken-Burns zoom layer */
.home .hero {
  background: var(--grad-deep);   /* graceful fallback under the photo layer */
  animation: none;
}
.home .hero::before {             /* zooming photo + dark overlay (scales together) */
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(105deg, rgba(11,58,74,.90) 0%, rgba(13,64,82,.60) 48%, rgba(21,96,122,.30) 100%),
    url("img/hero-bridge.jpg") center/cover no-repeat;
  background-size: cover, cover;
  transform-origin: 60% 50%;
  animation: heroZoom 26s ease-in-out infinite alternate;
  will-change: transform;
}
.home .hero::after { display: none; }   /* the bridge photo has its own skyline */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce){ .home .hero::before { animation: none; } }

/* Secondary page heroes — shared overlay, per-page photo via --hero-photo */
.about .page-hero, .services .page-hero, .contact .page-hero,
.purchase .page-hero, .refinance .page-hero, .debt .page-hero,
.custom .page-hero, .highrise .page-hero, .mli .page-hero,
.multires .page-hero, .hospitality .page-hero {
  background:
    linear-gradient(100deg, rgba(11,58,74,.92) 0%, rgba(13,64,82,.74) 45%, rgba(21,96,122,.55) 100%),
    var(--hero-photo, none) center/cover no-repeat,
    var(--grad-deep);
  animation: none;
}
.about .page-hero       { --hero-photo: url("img/about-towers.jpg"); }
.purchase .page-hero    { --hero-photo: url("img/purchase-home.jpg"); }
.refinance .page-hero   { --hero-photo: url("img/purchase-home.jpg"); }
.debt .page-hero        { --hero-photo: url("img/cta-cityscape.jpg"); }
.custom .page-hero      { --hero-photo: url("img/custom-home.jpg"); }
.highrise .page-hero    { --hero-photo: url("img/highrise.jpg"); }
.mli .page-hero         { --hero-photo: url("img/highrise.jpg"); }
.multires .page-hero    { --hero-photo: url("img/highrise.jpg"); }
.hospitality .page-hero { --hero-photo: url("img/hospitality.jpg"); }
.services .page-hero    { --hero-photo: url("img/cta-cityscape.jpg"); }
.contact .page-hero     { --hero-photo: url("img/cta-cityscape.jpg"); }

/* ---- Responsive ---------------------------------------------------- */

/* Collapse the main nav to a hamburger BEFORE it gets cramped (≤1100px) */
@media (max-width: 1100px){
  .nav { justify-content: flex-start; gap: 12px; }
  .brand { margin-right: auto; }
  .brand-text { display: none; }          /* keep just the logo on mobile/tablet */
  .brand img { height: 44px; }
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); gap: 2px; box-shadow: var(--shadow);
    max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav-mobile-open .nav-links > li { width: 100%; }
  .nav-mobile-open .nav-links > li > a { display: flex; width: 100%; padding: 12px 14px; }
  .nav-mobile-open .has-drop .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    width: 100%; box-shadow: none; border: none;
    max-height: 0; overflow: hidden; padding: 0 0 0 8px;
    transition: max-height .32s var(--ease), padding .32s var(--ease);
  }
  .nav-mobile-open .has-drop.open .dropdown { max-height: 660px; padding: 4px 0 8px 8px; }
  /* the caret follows the accordion state (not hover/focus) inside the mobile menu */
  .nav-mobile-open .has-drop .drop-toggle svg { transform: none; }
  .nav-mobile-open .has-drop.open .drop-toggle svg { transform: rotate(180deg); }
  /* compact service entries inside the open mobile menu */
  .nav-mobile-open .dropdown a { padding: 8px 10px; gap: 10px; align-items: center; }
  .nav-mobile-open .dropdown .ic { width: 30px; height: 30px; border-radius: 8px; }
  .nav-mobile-open .dropdown .ic svg { width: 16px; height: 16px; }
  .nav-mobile-open .dropdown b { font-size: .88rem; }
  .nav-mobile-open .dropdown small { font-size: .74rem; line-height: 1.35; }
  /* lock the page + retire the floating language globe while the menu is open */
  body.nav-open { overflow: hidden; }
  body.nav-open .lang-switch { opacity: 0; visibility: hidden; }
}

@media (max-width: 1080px){
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps  { grid-template-columns: repeat(2,1fr); }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 920px){
  .hero-grid { grid-template-columns: 1fr; gap:40px; }
  .hero-card { max-width: 460px; }
  .split, .contact-grid, .svc-layout { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px){
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 84px; }
  .page-hero { padding: 56px 0 60px; }
  /* paragraph cards stack; compact items stay 2-up for a tight fit */
  .grid-2, .grid-3, .field.two { grid-template-columns: 1fr; }
  .steps, .stat-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .footer-contact { grid-column: 1 / -1; }   /* contact block gets full width so email/address don't break */
  .cta-band { padding: 40px 22px; }
  .hero-stats { max-width: none; }
  .hero-stats > div { padding: 14px 12px; }
  .hero-stats div b { font-size: 1.4rem; }
  .hero-stats div span { font-size: .73rem; margin-top: 4px; }
}

/* Small phones — trim the header to logo + CTA + menu */
@media (max-width: 600px){
  .nav { height: 66px; }
  .brand img { height: 40px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 11px 16px; font-size: .88rem; }
  h1 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .btn { padding: 13px 20px; font-size: .94rem; }
  .btn-row { gap: 10px; }
  .container { padding: 0 18px; }
  .cta-band { padding: 34px 20px; }

  /* tighter rhythm + reading sizes on small screens */
  .section-head { margin-bottom: 36px; }
  .hero { padding: 60px 0 72px; }
  .hero p { font-size: 1.04rem; margin: 18px 0 26px; }
  .page-hero p { font-size: 1.02rem; }
  .lead { font-size: 1.04rem; }
  .card, .quote, .hero-card { padding: 24px 20px; }
  .card .ic { width: 46px; height: 46px; margin-bottom: 16px; }
  .card .ic svg { width: 23px; height: 23px; }
  .faq-q { font-size: .98rem; padding: 18px 0; }
  .trustbar .container { gap: 12px; padding-top: 20px; padding-bottom: 20px; }
  .trustbar div { font-size: .86rem; gap: 10px; }
  .trustbar svg { width: 19px; height: 19px; }

  /* illustration panels: size to content, kill the empty band */
  .split { gap: 28px; }
  .split-media { min-height: 0; aspect-ratio: 16 / 10; }

  /* menu: drop the marketing blurbs so the whole nav fits one screen */
  .nav-mobile-open .dropdown small { display: none; }
  .nav-mobile-open .dropdown a { padding: 9px 10px; }
  .nav-mobile-open .nav-links { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); }

  /* footer: fully centered on phones — brand on top, links 2-up, all centred */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; text-align: center; }
  .footer-col a, .footer-col li { font-size: .86rem; }
  .footer-brand img { margin-left: auto; margin-right: auto; max-width: 220px; width: 64%; }
  .footer-brand p { margin-left: auto; margin-right: auto; max-width: 420px; }
  .footer-brand .social { justify-content: center; }
  .footer-col h4 { display: inline-block; }        /* underline hugs the centred heading */
  .footer-col a:hover { transform: none; }         /* no sideways shift when centred */
  .footer-contact div { font-size: .88rem; gap: 9px; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* compact the 2-up process steps so they fit cleanly */
  .steps { gap: 14px 12px; }
  .step { padding-top: 6px; }
  .step .num { width: 42px; height: 42px; font-size: 1.05rem; border-radius: 12px; margin-bottom: 12px; }
  .step h3 { font-size: 1.02rem; }
  .step p { font-size: .86rem; }
  .stat { padding: 22px 12px; }
  .stat b { font-size: 2rem; }
  .stat span { font-size: .82rem; }
}

/* Narrow phones — stats read as tidy rows instead of three squeezed columns */
@media (max-width: 480px){
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
  .hero-stats > div + div { border-left: none; border-top: 1px solid rgba(255,255,255,.13); }
  .hero-stats div b { font-size: 1.35rem; min-width: 64px; }
  .hero-stats div span { margin-top: 0; font-size: .82rem; }
}

@media (max-width: 380px){
  .nav-cta .btn { padding: 10px 13px; font-size: .8rem; }
  .container { padding: 0 14px; }
  h1 { font-size: clamp(1.6rem, 8.5vw, 1.95rem); }
  .btn { padding: 12px 17px; font-size: .9rem; }
  .step h3 { font-size: .95rem; }
  .cta-band { padding: 30px 16px; }
  .footer-grid { gap: 22px 14px; }
}

/* =====================================================================
   LANGUAGE SWITCHER + MULTILINGUAL SUPPORT
   ===================================================================== */

/* Per-language fonts (override the brand font tokens for each script) */
html[lang="hi"] { --font-body:'Noto Sans Devanagari', system-ui, sans-serif; --font-display:'Noto Sans Devanagari', system-ui, sans-serif; }
html[lang="pa"] { --font-body:'Noto Sans Gurmukhi',  system-ui, sans-serif; --font-display:'Noto Sans Gurmukhi',  system-ui, sans-serif; }
html[lang="gu"] { --font-body:'Noto Sans Gujarati',  system-ui, sans-serif; --font-display:'Noto Sans Gujarati',  system-ui, sans-serif; }
html[lang="ur"] { --font-body:'Noto Naskh Arabic',   system-ui, sans-serif; --font-display:'Noto Naskh Arabic',   system-ui, sans-serif; line-height:1.85; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4 { line-height:1.5; }

/* RTL (Urdu) — base direction handles most; a few targeted fixes */
[dir="rtl"] .lead, [dir="rtl"] .prose p, [dir="rtl"] .card p, [dir="rtl"] .hero p, [dir="rtl"] .page-hero p { text-align: right; }
[dir="rtl"] .crumbs { direction: rtl; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }

/* Floating switcher */
.lang-switch { position: fixed; right: 22px; bottom: 22px; z-index: 200; transition: opacity .2s var(--ease), visibility .2s var(--ease); }
.lang-globe {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer; color: #fff;
  background: var(--grad-deep); box-shadow: var(--shadow); transition: transform .2s var(--ease);
}
.lang-globe:hover { transform: translateY(-2px); }
.lang-globe svg { width: 20px; height: 20px; }
.lang-code { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .02em; }
.lang-menu {
  position: absolute; bottom: 4px; right: 64px; display: flex; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 6px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateX(12px) scale(.96); transform-origin: right center;
  transition: all .22s var(--ease); white-space: nowrap;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 100px;
  border: none; background: transparent; color: var(--ink-soft); cursor: pointer;
  white-space: nowrap; transition: all .18s var(--ease);
}
.lang-menu button:hover { background: var(--bg-soft); color: var(--teal); }
.lang-menu button.active { background: var(--grad-gold); color: #2A2009; }

@media (max-width: 680px){
  .lang-switch { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .lang-globe { width: 48px; height: 48px; }
  .lang-globe svg { width: 18px; height: 18px; }
  .lang-menu { right: 0; bottom: 58px; flex-direction: column; align-items: stretch; }
  .lang-menu button { text-align: center; }
}

/* =====================================================================
   EXTRA PARALLAX TEXTURES — footer, dark sections, construction CTAs
   (layered under dark overlays; degrade gracefully if files are absent)
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: linear-gradient(rgba(22,36,43,.84), rgba(22,36,43,.92)),
              url("img/footer-texture.jpg") center/cover no-repeat;
  background-attachment: scroll, fixed;
}
.site-footer > .container { position: relative; z-index: 1; }

/* Dark feature sections (Home "Why Us", About "Lender Network") */
.section--ink::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: linear-gradient(rgba(15,36,43,.85), rgba(13,30,37,.90)),
              url("img/dark-feature.jpg") center/cover no-repeat;
  background-attachment: scroll, fixed;
}

/* Construction-themed pages get a blueprint CTA band */
.custom .cta-band, .highrise .cta-band, .multires .cta-band, .hospitality .cta-band {
  background:
    linear-gradient(135deg, rgba(13,40,50,.9) 0%, rgba(15,60,76,.84) 100%),
    url("img/blueprint.jpg"),
    var(--grad-deep);
  background-attachment: scroll, fixed, scroll;
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

@media (max-width: 920px){
  .site-footer::before { background-attachment: scroll, scroll; }
  .section--ink::before { background-attachment: scroll, scroll; }
  .custom .cta-band, .highrise .cta-band, .multires .cta-band, .hospitality .cta-band { background-attachment: scroll, scroll, scroll; }
}
@media (prefers-reduced-motion: reduce){
  .site-footer::before, .section--ink::before { background-attachment: scroll, scroll !important; }
}

/* ---- Google Map embed (contact page) ------------------------------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-embed { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.95); }
@media (max-width: 600px){ .map-embed { height: 320px; } }

/* ---- Contact page: channel cards + talk banner --------------------- */
.channel-card { display:block; }
.channel-card .ic { margin-left:auto; margin-right:auto; }
.channel-card .channel-value {
  display:block; font-family: var(--font-display); font-weight: 700;
  color: var(--teal); font-size: 1.02rem; margin: 4px 0 10px; line-height: 1.45;
  overflow-wrap: anywhere;
}
.channel-card p { font-size: .88rem; color: var(--muted); }
.talk-banner {
  margin-top: 34px; background: var(--ink); border-radius: var(--radius-lg);
  padding: 30px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.talk-banner::before {
  content:""; position:absolute; width:260px; height:260px; border-radius:50%;
  background: radial-gradient(circle, rgba(28,159,206,.35), transparent 70%);
  top:-120px; right:-60px; pointer-events:none;
}
.talk-banner h3 { color:#fff; margin-bottom: 4px; }
.talk-banner p { color:#B9CDD5; margin: 0; font-size: .95rem; }
.talk-banner .btn { flex: none; position: relative; }

/* ---- Team page ------------------------------------------------------ */
.team .page-hero { --hero-photo: url("img/advisor-clients.jpg"); }

/* Founder — featured spotlight above the team grid */
#founder-section { position: relative; overflow: hidden; }
#founder-section > .container { position: relative; z-index: 1; }
#founder-section::before {           /* soft brand glows behind the card */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(620px 420px at 10% 12%, rgba(28,159,206,.12), transparent 60%),
    radial-gradient(560px 420px at 92% 96%, rgba(200,162,75,.10), transparent 60%);
}
.founder-card {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 0;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  overflow:hidden; box-shadow: var(--shadow-lg); position:relative;
}
.founder-card::before {
  content:""; position:absolute; top:0; left:0; right:0; height:5px; z-index:3;
  background: var(--grad-gold);
}
.founder-media {
  position:relative; min-height: 470px; overflow:hidden;
  background: var(--grad-deep);
}
.founder-media::before {            /* fine dot texture */
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.4px, transparent 1.5px);
  background-size: 20px 20px; opacity:.5;
}
.founder-media::after {             /* faint city skyline along the base */
  content:""; position:absolute; left:0; right:0; bottom:0; height:50%;
  background: url("skyline.svg") repeat-x bottom / auto 100%; opacity:.12; pointer-events:none;
}
.founder-media img { position:relative; z-index:2; width:100%; height:100%; object-fit: cover; object-position: center top; }
.founder-media .member-avatar { z-index:2; color:#fff; }
.founder-media .member-avatar svg { display:none; }
.founder-media .member-avatar b {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing:.02em;
  width:122px; height:122px; border-radius:50%; padding:0; display:grid; place-items:center;
  color:#fff; background: rgba(255,255,255,.12); border:1.5px solid rgba(255,255,255,.55);
  box-shadow: 0 14px 36px rgba(8,30,40,.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.founder-body { padding: 48px 50px; display:flex; flex-direction:column; }
.founder-body h2 { margin: 14px 0 6px; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.founder-role {
  display:block; font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 22px;
}
.founder-about p { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 14px; }
.founder-about p:last-child { margin-bottom: 0; }
.founder-about b { color: var(--ink); }
.founder-badges { display:flex; flex-wrap:wrap; gap: 11px; margin: 22px 0 4px; }
.founder-badges span {
  background: var(--bg-soft-2); border:1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; color: var(--teal-700);
}
.founder-badges b { color: var(--gold-600); }
.founder-contact { margin-top: 26px; }
@media (max-width: 860px){
  .founder-card { grid-template-columns: 1fr; }
  .founder-media { min-height: 0; aspect-ratio: 4 / 5; }   /* tall portrait — face shows large on phones */
  .founder-media img { object-position: center 22%; }
  .founder-body { padding: 34px 26px; }
}

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  overflow:hidden; transition: all .28s var(--ease); position:relative;
  display:flex; flex-direction:column;
}
.member-card::before {
  content:""; position:absolute; top:0; left:0; right:0; height:4px; z-index:1;
  background: var(--grad-blue); transform: scaleX(0); transform-origin:left;
  transition: transform .3s var(--ease);
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color:#CFE3EC; }
.member-card:hover::before { transform: scaleX(1); }
.member-photo {
  aspect-ratio: 4 / 3.4; background: var(--grad-blue);
  position: relative; overflow: hidden;
}
.member-photo::before {  /* fine dot texture on the placeholder */
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.3px);
  background-size: 17px 17px; opacity:.45;
}
.member-photo img { position:relative; z-index:2; width:100%; height:100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.member-card:hover .member-photo img { transform: scale(1.05); }
.member-avatar {
  position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 2px; color: #fff;
}
.member-avatar svg { display:none; }
.member-avatar b {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing:.04em;
  width:78px; height:78px; border-radius:50%; padding:0; display:grid; place-items:center;
  color:#fff; background: rgba(255,255,255,.14); border:1.5px solid rgba(255,255,255,.6);
  box-shadow: 0 8px 22px rgba(8,30,40,.28);
}
.member-photo::after {   /* soft fade so any uploaded photo blends into the card */
  content:""; position:absolute; left:0; right:0; bottom:0; height:38%; z-index:2;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.16)); pointer-events:none;
}
.member-body { padding: 22px 24px 24px; display:flex; flex-direction:column; flex:1 1 auto; }
.member-role {
  display:block; font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 7px;
}
.member-body h3 { margin-bottom: 9px; }
.member-body p { font-size: .93rem; color: var(--ink-soft); }

/* contact row — only the icons a member actually has */
.member-contact {
  display:flex; flex-wrap:wrap; gap:9px; align-items:center;
  margin-top:auto;            /* pin to the bottom on equal-height cards */
  padding-top:18px; border-top:1px solid var(--line);
}
.member-contact a {
  width:40px; height:40px; border-radius:11px; flex:none;
  background:var(--bg-soft-2); color:var(--teal); display:grid; place-items:center;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.member-contact a:hover { background:var(--grad-blue); color:#fff; transform:translateY(-3px); }
.member-contact svg { width:18px; height:18px; }
/* placeholder social icon — shown muted until a link is added in the admin */
.member-contact .is-empty {
  width:40px; height:40px; border-radius:11px; flex:none;
  background:var(--bg-soft-2); color:#AEC0C8; display:grid; place-items:center;
  opacity:.65; cursor:default;
}

@media (max-width: 920px){ .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px){
  .team-grid { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 4 / 5; }   /* tall portrait so headshots show large on phones */
  .member-body { padding: 20px 20px 22px; }
  .talk-banner { padding: 26px 22px; }
  .talk-banner .btn { width: 100%; justify-content: center; }
}

/* ---- Home hero: direct-contact card (replaces the old quote form) --- */
.hero-contact-card .sub { margin-bottom: 20px; }
.hero-points { margin: 0 0 22px; }
.hero-points li { display:flex; align-items:center; gap:12px; padding:9px 0; color:#E2F0F6; font-size:.96rem; }
.hero-points li + li { border-top:1px solid rgba(255,255,255,.1); }
.hero-points .hp-ic {
  flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  background:rgba(28,159,206,.18); color:#9FE0F5;
}
.hero-points .hp-ic svg { width:18px; height:18px; }
.hero-contact-card .btn { width:100%; justify-content:center; }
.hero-contact-card .btn + .btn { margin-top:11px; }
.hero-contact-card .hc-or {
  text-align:center; font-size:.78rem; color:#A9C7D2; letter-spacing:.04em;
  margin:13px 0; position:relative;
}
.hero-contact-card .hc-or::before,
.hero-contact-card .hc-or::after {
  content:""; position:absolute; top:50%; width:34%; height:1px; background:rgba(255,255,255,.16);
}
.hero-contact-card .hc-or::before { left:0; }
.hero-contact-card .hc-or::after { right:0; }

/* ---- Mid-page image bands (lifestyle photos on service pages etc.) -- */
.img-band {
  position: relative; min-height: 400px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13,40,50,0) 40%, rgba(13,40,50,.5) 100%),
              var(--band-img, none) center/cover no-repeat;
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; align-items: flex-end;
}
.img-band-cap { padding: 28px 32px; color:#fff; max-width: 640px; }
.img-band-cap h3 { color:#fff; margin-bottom: 4px; }
.img-band-cap p { color: #DCE9EE; font-size:.96rem; margin:0; }
@media (max-width: 600px){
  .img-band { min-height: 260px; }
  .img-band-cap { padding: 20px 22px; }
}
