/* ==========================================================
   CAREER CRAFT — MAIN STYLESHEET
   ========================================================== */

:root {
    --color-primary: #123a63;
    --color-primary-dark: #0b2540;
    --color-accent: #f5a623;
    --color-accent-dark: #d98c0f;
    --color-light: #f6f9fc;
    --color-light-alt: #eef2f8;
    --color-white: #ffffff;
    --color-text: #2b3648;
    --color-text-light: #6b7688;
    --color-border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(18, 58, 99, 0.08);
    --shadow-md: 0 8px 24px rgba(18, 58, 99, 0.12);
    --shadow-lg: 0 16px 40px rgba(18, 58, 99, 0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--color-text-light); }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

.text-accent { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline-light {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 34px; height: 34px; }
.icon-rotate-up { transform: rotate(-90deg); }
.icon-star { color: var(--color-accent); fill: var(--color-accent); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary-dark);
}
.logo-img { height: 42px; width: auto; }
.logo-img-footer { height: 42px; filter: brightness(0) invert(1); }

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
    display: block;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--color-primary);
    background: var(--color-light-alt);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
/* Portal login link (/app) — stays visible on mobile, unlike the consultation button. */
.btn-login {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.btn-login:hover { background: var(--color-primary); color: #fff; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary-dark);
    padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-inner { max-width: 720px; padding-top: 60px; padding-bottom: 60px; }
.eyebrow {
    display: inline-block;
    background: rgba(245, 166, 35, 0.18);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Bank Logo Marquee (homepage, below hero) ---------- */
.bank-marquee-section {
    background: var(--color-light);
    padding: 34px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}
.bank-marquee-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Fade the strip's edges so logos entering/exiting feel intentional, not clipped. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.bank-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    position: relative;
    will-change: transform;
}
.bank-marquee-set { display: contents; }
.bank-marquee-item {
    flex: 0 0 auto;
    width: 130px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}
.bank-marquee-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bank-marquee-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    letter-spacing: 0.4px;
}

/* ---------- Private Banking Specialization CTA (homepage) ---------- */
.banking-spec { background: var(--color-white); padding: 90px 0; }

.banking-spec-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 64px 40px;
    box-shadow: var(--shadow-lg);
}
/* Soft orange spotlight glow in the corner — brand accent, pure CSS. */
.banking-spec-glow {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 70%);
    pointer-events: none;
}
/* Faint dot-grid pattern, fading out from one corner — subtle "banking
   dashboard" texture without any image asset. */
.banking-spec-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 24% 34%, #000 0%, transparent 62%);
    mask-image: radial-gradient(circle at 24% 34%, #000 0%, transparent 62%);
    pointer-events: none;
}

.banking-spec-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.banking-spec-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.banking-spec-icon .icon { color: var(--color-accent); width: 26px; height: 26px; }
.banking-spec-tag { background: rgba(245, 166, 35, 0.18); color: var(--color-accent); }
.banking-spec-inner h2 { color: #fff; margin-bottom: 14px; }
.banking-spec-inner p { color: rgba(255, 255, 255, 0.8); margin-bottom: 30px; font-size: 1.02rem; }

/* Diagonal shine sweep across the button on hover. */
.banking-spec-btn { position: relative; overflow: hidden; }
/* This button also carries .reveal for the staggered entrance — once it has
   revealed, .reveal.in-view's `transform` (equal specificity, later in the
   cascade) would otherwise cancel the hover-lift below. Extra class-level
   selector guarantees this wins regardless of source order. */
.banking-spec-inner .banking-spec-btn:hover { transform: translateY(-2px); }
.banking-spec-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 35%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}
.banking-spec-btn:hover .btn-shine { left: 130%; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
    background-size: cover;
    background-position: center;
    padding: 130px 0 70px;
    color: #fff;
    text-align: center;
}
.page-banner .container { max-width: 700px; }
.page-banner h1 { color: #fff; margin-bottom: 14px; }
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.page-banner .eyebrow { margin-bottom: 16px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--color-light); }

.section-header { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-header p { margin-top: 12px; }

.section-tag {
    display: inline-block;
    color: var(--color-accent-dark);
    background: rgba(245, 166, 35, 0.12);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* ---------- Stats ---------- */
.stats-strip { background: var(--color-primary); padding: 50px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--color-accent);
}
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }

/* ---------- About Grid ---------- */
.about-grid, .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 18px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    line-height: 1.2;
}
.about-image-badge strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; }
.about-image-badge span { font-size: 0.75rem; font-weight: 600; }

.about-content h2, .why-content h2 { margin-bottom: 16px; }
.about-content p, .why-content > p { margin-bottom: 18px; }

.check-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--color-text); font-weight: 500; }
.check-list .icon { color: var(--color-accent-dark); margin-top: 2px; }

.why-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 460px; object-fit: cover; }
.why-points { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.why-point { display: flex; gap: 16px; }
.why-point-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--color-light-alt);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-point h4 { margin-bottom: 4px; }
.why-point p { font-size: 0.92rem; }

/* ---------- Services Grid (overview cards) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.93rem; margin-bottom: 16px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }
.card-link .icon { transition: var(--transition); }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- Services Detail Page ---------- */
.services-detail-list { display: flex; flex-direction: column; gap: 60px; }
.service-detail-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 36px;
    align-items: flex-start;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--color-border);
}
.service-detail-card:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail-icon {
    width: 84px;
    height: 84px;
    border-radius: var(--radius);
    background: var(--color-light-alt);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-content h3 { margin-bottom: 10px; }
.service-detail-content > p { margin-bottom: 16px; }

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.process-number {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0 auto 16px;
}
.process-card h4 { margin-bottom: 8px; }
.process-card p { font-size: 0.9rem; }

/* ---------- Hiring Programs (/hiring-programs) ---------- */
.hiring-category { margin-bottom: 56px; }
.hiring-category:last-child { margin-bottom: 0; }
.hiring-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
}
.hiring-category-title .icon { color: var(--color-accent-dark); width: 26px; height: 26px; flex-shrink: 0; }
.hiring-category-count {
    margin-left: auto;
    background: var(--color-light-alt);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
}

.hiring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.hiring-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-width: 0;
}
/* Two-class selector so this reliably wins over the later, equal-specificity
   .reveal rule's `transition` shorthand (which would otherwise silently
   replace — not merge with — this one, regardless of source order). */
.hiring-grid .hiring-card {
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hiring-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
/* Higher specificity than .reveal.in-view (which also sets `transform`) so
   the hover lift still applies after a card has already scrolled into view. */
.hiring-grid .hiring-card:hover { transform: translateY(-4px); }

.hiring-card-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: var(--color-light-alt);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}
.hiring-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hiring-card-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.hiring-card-body { min-width: 0; }
.hiring-card-body h4 { font-size: 0.96rem; margin-bottom: 6px; line-height: 1.35; }
.hiring-card-company { font-size: 0.8rem; color: var(--color-text-light); }

.hiring-card-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Mission/Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
    background: var(--color-white);
    padding: 40px 34px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.mv-card h3 { margin: 18px 0 10px; }

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card { text-align: center; }
.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.team-card h4 { margin-bottom: 4px; }
.team-card span { color: var(--color-text-light); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-quote-icon { color: var(--color-light-alt); position: absolute; top: 22px; right: 22px; }
.testimonial-quote-icon .icon { width: 34px; height: 34px; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-text { color: var(--color-text); font-style: italic; margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; font-size: 0.95rem; }
.testimonial-person span { font-size: 0.82rem; color: var(--color-text-light); }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
    padding: 80px 0;
    text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Contact Page ---------- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.contact-info-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.contact-info-card .service-icon { margin: 0 auto 16px; }
.contact-info-card h4 { margin-bottom: 8px; }
.contact-info-card a, .contact-info-card span { font-size: 0.92rem; color: var(--color-text-light); }
.contact-info-card a:hover { color: var(--color-primary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.contact-form-wrap h2 { margin-bottom: 12px; }
.contact-form-wrap > p { margin-bottom: 26px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--color-text); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(18, 58, 99, 0.1);
}
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
    border-color: #e0473e;
}
.form-error { color: #e0473e; font-size: 0.8rem; min-height: 1em; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-weight: 600;
    font-size: 0.92rem;
}
.form-alert-success { background: #e6f7ee; color: #1c8a53; }
.form-alert-error { background: #fdecea; color: #c53c33; }

.whatsapp-fallback {
    margin: -12px 0 22px;
    font-size: 0.88rem;
}
.whatsapp-fallback a { color: #1c8a53; font-weight: 700; text-decoration: underline; }

.contact-map { min-height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-grid {
    display: grid;
    /* minmax(0, ...) stops a long unbreakable line (e.g. the office address
       or email) from expanding its column — and the whole grid — past the
       viewport (the same grid/flex "min-width:auto" blowout fixed on the
       lead popup). */
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 40px;
    padding-bottom: 50px;
}
.footer-col { min-width: 0; }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 16px 0 20px; }
.logo-footer .logo-text { color: #fff; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; min-width: 0; }
.footer-contact li span,
.footer-contact li a { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.footer-contact .icon { color: var(--color-accent); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--color-accent); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}
.social-links a:hover { background: var(--color-accent); color: var(--color-primary-dark); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ---------- Floating Buttons ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 150;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); color: var(--color-primary-dark); }

/* ---------- Lead Popup ---------- */
.lead-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 64, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}
.lead-popup-overlay.visible { opacity: 1; visibility: visible; }

.lead-popup {
    background: #fff;
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    /* Prevents the flex-item content (e.g. a <select> sized to its widest
       option) from ballooning this card wider than its flex container. */
    min-width: 0;
    padding: 32px 30px 28px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    /* Safety net only — the compact layout below is sized to never need it
       at the widths/heights this popup is designed for. */
    max-height: 96vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.lead-popup-overlay.visible .lead-popup { transform: translateY(0) scale(1); }

.lead-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-light-alt);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
}
.lead-popup-close:hover { background: var(--color-border); }
.lead-popup-close .icon { width: 14px; height: 14px; }

.lead-popup-body .section-tag { font-size: 0.68rem; padding: 4px 11px; margin-bottom: 8px; }
.lead-popup-body h3 { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.3; }
.lead-popup-body > p { margin-bottom: 16px; font-size: 0.85rem; }

.lead-popup-form { display: flex; flex-direction: column; gap: 12px; }

.lead-popup-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
    min-width: 0;
}
.lead-popup-form .form-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lead-popup-form label { font-weight: 600; font-size: 0.74rem; color: var(--color-text); }
.lead-popup-form input,
.lead-popup-form select {
    padding: 9px 11px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.86rem;
    background: #fff;
    color: var(--color-text);
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.lead-popup-form select { cursor: pointer; }
.lead-popup-form input:focus,
.lead-popup-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(18, 58, 99, 0.1);
}
.lead-popup-submit { justify-content: center; width: 100%; padding: 12px 24px; font-size: 0.92rem; }
.lead-popup-error { color: #e0473e; font-size: 0.76rem; min-height: 14px; line-height: 1; }

.lead-popup-success { text-align: center; padding: 6px 0; }
.lead-popup-success .icon {
    width: 46px;
    height: 46px;
    color: #1c8a53;
    background: #e6f7ee;
    border-radius: 50%;
    padding: 11px;
    margin: 0 auto 14px;
}
.lead-popup-success h3 { margin-bottom: 6px; }
.lead-popup-success p { margin-bottom: 16px; font-size: 0.88rem; }
.lead-popup-whatsapp-btn { justify-content: center; width: 100%; background: #25D366; color: #fff; padding: 12px 24px; }
.lead-popup-whatsapp-btn:hover { background: #1ebc59; }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
    .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
    .why-image { order: -1; }
    .services-grid, .team-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; padding: 10px 20px 20px; gap: 0; }
    .main-nav a { padding: 14px 10px; border-bottom: 1px solid var(--color-border); }
    .header-phone { display: none; }
    .nav-toggle { display: block; }
    .header-actions .btn-primary.btn-sm { display: none; }

    .service-detail-card { grid-template-columns: 1fr; }
    .service-detail-icon { width: 64px; height: 64px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .page-banner { padding: 110px 0 60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .hiring-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .hiring-card { padding: 18px 14px; gap: 10px; }
    .hiring-card-logo { width: 56px; height: 56px; }
    .hiring-card-body h4 { font-size: 0.85rem; }
    .hiring-card-company { font-size: 0.72rem; }
    .hiring-card-btn { font-size: 0.8rem; padding: 8px 12px; }
    .hiring-category-title { font-size: 1.1rem; }

    .bank-marquee-track { gap: 30px; }
    .bank-marquee-item { width: 96px; height: 52px; }
    .bank-marquee-placeholder { font-size: 0.78rem; }

    .banking-spec { padding: 60px 0; }
    .banking-spec-card { padding: 44px 24px; border-radius: 20px; }
    .banking-spec-glow { width: 220px; height: 220px; top: -60px; right: -60px; }
}

@media (max-width: 560px) {
    .services-grid, .team-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-actions, .cta-banner .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn, .cta-banner .btn { justify-content: center; width: 100%; }
    .whatsapp-float, .back-to-top { width: 48px; height: 48px; bottom: 16px; }
    .whatsapp-float { left: 16px; }
    .back-to-top { right: 16px; }

    .lead-popup-overlay { padding: 14px; }
    .lead-popup { padding: 26px 18px 22px; }
    .lead-popup-body h3 { font-size: 1.05rem; }
    .lead-popup-body > p { font-size: 0.8rem; margin-bottom: 14px; }
    .lead-popup-fields { gap: 9px 10px; }
    .lead-popup-form { gap: 10px; }
    .lead-popup-form label { font-size: 0.7rem; }
    .lead-popup-form input, .lead-popup-form select { padding: 8px 9px; font-size: 0.82rem; }
}

/* Safety net for unusually narrow devices: stack the popup fields to one column */
@media (max-width: 340px) {
    .lead-popup-fields { grid-template-columns: 1fr; }
}

/* ==========================================================
   LANDING v2 — hero, apply steps, pricing, FAQ, legal footer,
   content pages. Colours come from the same tokens as above
   (and follow the admin theme when it is customised).
   ========================================================== */

/* ---------- Buttons (additions) ---------- */
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-outline-dark { border-color: var(--color-primary); color: var(--color-primary); background: transparent; justify-content: center; }
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }
.btn-glow { box-shadow: 0 10px 30px rgba(245, 166, 35, 0.35); }
.btn-glow:hover { box-shadow: 0 14px 34px rgba(245, 166, 35, 0.5); }

/* ---------- Hero v2 ---------- */
.hero-v2 {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #1b4f86 100%);
    padding: 70px 0 90px;
}
.hero-v2-bg { position: absolute; inset: 0; pointer-events: none; }
/* Soft glows via radial gradients (much cheaper to paint than filter: blur on mobile). */
.blob { position: absolute; border-radius: 50%; animation: blobFloat 14s ease-in-out infinite alternate; will-change: transform; }
.blob-1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(245, 166, 35, 0.28) 0%, rgba(245, 166, 35, 0) 65%); top: -260px; right: -200px; }
.blob-2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(64, 140, 255, 0.30) 0%, rgba(64, 140, 255, 0) 65%); bottom: -280px; left: -220px; animation-delay: -6s; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
}

.hero-v2-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-v2-copy h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-v2-sub { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 560px; margin-bottom: 30px; }

.hero-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    color: #fff; font-size: 0.85rem; font-weight: 600;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.word-rotator { display: inline-block; color: var(--color-accent); position: relative; }
.word-rotator-text { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.word-rotator-text.is-out { opacity: 0; transform: translateY(-14px); }

.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack img, .avatar-more {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-primary);
    object-fit: cover; margin-left: -10px; background: var(--color-accent);
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-more { display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary-dark); font-weight: 800; }
.hero-trust-text small, .hero-trust-secure small { color: rgba(255,255,255,0.8); font-size: .82rem; line-height: 1.3; display: block; }
.hero-trust-text strong { color: #fff; }
.hero-stars { display: flex; gap: 2px; margin-bottom: 2px; }
.hero-trust-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }
.hero-trust-secure { display: flex; align-items: center; gap: 8px; }
.hero-trust-secure .icon { color: #3ddc84; }

.hero-v2-visual { position: relative; }
.hero-photo-wrap { position: relative; max-width: 520px; margin-left: auto; }
.hero-photo {
    width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover;
    border-radius: 32px 32px 32px 120px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    border: 6px solid rgba(255,255,255,0.08);
}
.float-card {
    position: absolute; background: #fff; color: var(--color-text);
    border-radius: 16px; padding: 12px 16px;
    box-shadow: 0 18px 40px rgba(8, 24, 48, 0.28);
    display: flex; align-items: center; gap: 12px;
    animation: floatY 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-heading); font-size: .92rem; color: var(--color-primary-dark); }
.float-card small { display: block; font-size: .75rem; color: var(--color-text-light); }
.fc-top { top: 26px; left: -40px; }
.fc-rate { bottom: 70px; right: -26px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -2s; }
.fc-rate strong { font-size: 1.6rem; color: #1a8f4c; line-height: 1; }
.fc-logos { bottom: -24px; left: 30px; flex-direction: column; align-items: flex-start; gap: 6px; animation-delay: -4s; }
.fc-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-green { background: #e6f6ee; color: #1a8f4c; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 4px; }
.mini-bars i { width: 7px; border-radius: 3px; background: linear-gradient(180deg, #3ddc84, #1a8f4c); transform-origin: bottom; animation: barGrow 2.4s ease-in-out infinite alternate; }
.mini-bars i:nth-child(1) { height: 40%; } .mini-bars i:nth-child(2) { height: 60%; animation-delay: .2s; }
.mini-bars i:nth-child(3) { height: 50%; animation-delay: .4s; } .mini-bars i:nth-child(4) { height: 80%; animation-delay: .6s; }
.mini-bars i:nth-child(5) { height: 100%; animation-delay: .8s; }
@keyframes barGrow { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
.fc-logo-row { display: flex; gap: 8px; }
.fc-logo {
    width: 46px; height: 32px; border-radius: 8px; background: var(--color-light);
    border: 1px solid var(--color-border);
    display: inline-flex; align-items: center; justify-content: center; padding: 3px;
    font-size: .6rem; font-weight: 800; color: var(--color-primary);
}
.fc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Apply steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps-grid::before {
    content: ''; position: absolute; top: 62px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-border) 0 10px, transparent 10px 18px);
}
.step-card {
    position: relative; background: #fff; border: 1px solid var(--color-border);
    border-radius: 20px; padding: 34px 26px 28px; text-align: center;
    transition: transform .6s ease, opacity .6s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.steps-grid .step-card.in-view:hover { transform: translateY(-6px); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--color-accent); color: var(--color-primary-dark);
    font-family: var(--font-heading); font-weight: 800; font-size: .8rem;
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 5px #fff;
}
.step-icon {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
    background: linear-gradient(135deg, var(--color-primary), #1b4f86); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 24px rgba(18,58,99,.25); position: relative;
}
.step-icon .icon { width: 28px; height: 28px; }
.step-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step-card p { font-size: .93rem; margin: 0; }
.steps-cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 44px; }
.steps-cta span { color: var(--color-text-light); font-size: .95rem; }
.steps-cta span a { color: var(--color-primary); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-section { background: linear-gradient(180deg, var(--color-light) 0%, #fff 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
    position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 22px;
    padding: 34px 28px; display: flex; flex-direction: column; gap: 18px;
    transition: transform .6s ease, opacity .6s ease, box-shadow .25s ease;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.15rem; }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--color-text-light); }
.price-amt { font-family: var(--font-heading); font-weight: 800; font-size: 2.3rem; color: var(--color-primary-dark); line-height: 1; }
.price-amt-text { font-size: 1.9rem; color: #1a8f4c; }
.price-card .check-list { flex: 1; margin: 0; }
.price-card .btn { justify-content: center; }
.price-card-featured {
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: transparent; color: #fff; box-shadow: 0 24px 50px rgba(18,58,99,.28);
}
.price-card-featured h3, .price-card-featured .price-amt { color: #fff; }
.price-card-featured .price, .price-card-featured .check-list li { color: rgba(255,255,255,.85); }
.price-card-featured .check-list .icon { color: var(--color-accent); }
.price-badge {
    position: absolute; top: -13px; right: 24px; background: var(--color-accent); color: var(--color-primary-dark);
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px;
}
.pricing-note { text-align: center; margin-top: 28px; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pricing-note a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 12px; }
.faq-intro p { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 22px; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--color-light-alt); color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease, background .25s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--color-accent); color: var(--color-primary-dark); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; font-size: .95rem; }
.faq-answer a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }

/* ---------- Footer legal strip ---------- */
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-legal-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal-links a { color: rgba(255,255,255,0.7); font-size: .85rem; }
.footer-legal-links a:hover { color: var(--color-accent); }
.footer-secure { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,0.65); flex-wrap: wrap; }
.footer-secure .icon { color: #3ddc84; }
.footer-secure strong { color: #fff; }
.pay-chip { border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 2px 8px; font-size: .7rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ---------- Content / legal pages ---------- */
.legal-banner { padding: 70px 0 90px; }
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-card { background: #fff; border: 1px solid var(--color-border); border-radius: 22px; padding: 44px 48px; box-shadow: var(--shadow-md); margin-top: -60px; position: relative; }
.legal-meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--color-text-light); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.legal-content { color: var(--color-text); font-size: 1rem; line-height: 1.8; }
.legal-content p, .legal-content ul, .legal-content ol, .legal-content blockquote { margin-bottom: 16px; color: var(--color-text); }
.legal-content h2 { font-size: 1.3rem; margin: 30px 0 12px; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal-content h4 { font-size: 1rem; margin: 20px 0 8px; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-primary); text-decoration: underline; font-weight: 500; }
.legal-content blockquote { border-left: 4px solid var(--color-accent); background: var(--color-light); padding: 14px 18px; border-radius: 0 12px 12px 0; }
.legal-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.legal-related a { border: 1px solid var(--color-border); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; color: var(--color-primary); transition: var(--transition); }
.legal-related a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Responsive (landing v2) ---------- */
@media (max-width: 992px) {
    .hero-v2 { padding: 50px 0 80px; }
    .hero-v2-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-photo-wrap { margin: 0 auto; max-width: 460px; }
    .fc-top { left: -10px; }
    .fc-rate { right: -8px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-intro { position: static; text-align: center; }
}
@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; gap: 30px; }
    .steps-grid::before { display: none; }
    .legal-card { padding: 28px 22px; border-radius: 18px; }
    .footer-legal-inner { flex-direction: column; text-align: center; }
    .footer-legal-links, .footer-secure { justify-content: center; }
}
@media (max-width: 560px) {
    .hero-trust-sep { display: none; }
    .float-card { padding: 9px 12px; border-radius: 12px; }
    .fc-top { top: 12px; left: 6px; }
    .fc-top small { display: none; }
    .fc-rate { right: 6px; bottom: 60px; }
    .fc-logos { left: 12px; }
    .fc-logo { width: 38px; height: 28px; }
    .hero-photo { border-radius: 24px 24px 24px 80px; }
}
@media (prefers-reduced-motion: reduce) {
    .blob, .float-card, .mini-bars i, .pulse-dot { animation: none !important; }
}

/* ==========================================================
   LEAD POPUP v2 — short "callback" form (name + mobile + optional interest)
   ========================================================== */
.lead-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 22px;
    padding: 26px 24px 20px;
    box-shadow: 0 30px 70px rgba(8, 24, 48, 0.35);
    transform: translateY(18px) scale(.97);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
    overflow: hidden;
}
.lead-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.lead-popup-overlay.visible .lead-card { transform: none; }
.lead-card-close {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--color-light-alt); color: var(--color-text-light);
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.lead-card-close:hover { background: var(--color-border); color: var(--color-primary-dark); }
.lead-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 26px; }
.lead-card-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    background: rgba(245, 166, 35, 0.15); color: var(--color-accent-dark);
    display: flex; align-items: center; justify-content: center;
    animation: leadRing 2.6s ease-in-out infinite;
}
@keyframes leadRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 85% { transform: rotate(12deg); } 95% { transform: rotate(-5deg); } }
.lead-card-head h3 { font-size: 1.12rem; margin: 0 0 2px; }
.lead-card-head p { font-size: .82rem; margin: 0; }

.lead-card-form { display: flex; flex-direction: column; gap: 10px; }
.lead-field {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid var(--color-border); border-radius: 12px;
    padding: 0 14px; height: 50px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.lead-field:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(18, 58, 99, .1); }
.lead-field-icon { color: var(--color-text-light); display: flex; }
.lead-field-prefix { font-weight: 700; color: var(--color-primary-dark); font-size: .95rem; padding-right: 10px; border-right: 1px solid var(--color-border); }
.lead-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--color-text); background: transparent; height: 100%; }

.lead-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.lead-chip { cursor: pointer; }
.lead-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lead-chip span {
    display: inline-block; border: 1px solid var(--color-border); border-radius: 999px;
    padding: 5px 11px; font-size: .76rem; font-weight: 600; color: var(--color-text-light); transition: var(--transition);
}
.lead-chip:hover span { border-color: var(--color-primary); color: var(--color-primary); }
.lead-chip input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.lead-chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.lead-card .lead-popup-error { color: #c62828; font-size: .8rem; min-height: 1em; margin: 0; }
.lead-card-submit { width: 100%; justify-content: center; height: 52px; font-size: 1rem; border-radius: 12px; }
.lead-card-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.lead-card-trust { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; margin: 2px 0 0; }
.lead-card-trust .icon { color: #1a8f4c; }

.lead-card-success { text-align: center; padding: 10px 4px 6px; }
.lead-success-tick {
    width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px;
    background: #1a8f4c; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 8px rgba(26, 143, 76, .12); animation: leadPop .45s cubic-bezier(.2, 1.4, .4, 1) both;
}
.lead-success-tick .icon { width: 34px; height: 34px; }
@keyframes leadPop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lead-card-success h4 { font-size: 1.2rem; margin-bottom: 6px; }
.lead-card-success p { font-size: .9rem; margin-bottom: 16px; }
.lead-card-success .lead-popup-whatsapp-btn { background: #25D366; color: #fff; width: 100%; justify-content: center; border-radius: 12px; }
.lead-card-success .lead-popup-whatsapp-btn:hover { background: #1ebe5a; }

@media (max-width: 480px) {
    .lead-popup-overlay { align-items: flex-end; padding: 0; }
    .lead-card { max-width: none; border-radius: 22px 22px 0 0; padding: 24px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); }
    .lead-popup-overlay.visible .lead-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .lead-card-icon { animation: none; } }

/* ==========================================================
   PRIVATE BANKING SPECIALIZATION v2 — full-width, animated
   (programs + banks come live from the admin via index.php)
   ========================================================== */
.bspec {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 110px 0;
    color: #fff;
    background: linear-gradient(135deg, #071a2f 0%, var(--color-primary-dark) 45%, var(--color-primary) 100%);
}
.bspec-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bspec-aurora {
    position: absolute; border-radius: 50%;
    will-change: transform;
    animation: bspecDrift 18s ease-in-out infinite alternate;
}
.bspec-aurora.a1 { width: 620px; height: 620px; top: -260px; right: -140px; background: radial-gradient(circle, rgba(245, 166, 35, .30), transparent 65%); }
.bspec-aurora.a2 { width: 560px; height: 560px; bottom: -280px; left: -160px; background: radial-gradient(circle, rgba(64, 140, 255, .28), transparent 65%); animation-duration: 22s; animation-direction: alternate-reverse; }
.bspec-aurora.a3 { width: 380px; height: 380px; top: 30%; left: 42%; background: radial-gradient(circle, rgba(61, 220, 190, .14), transparent 65%); animation-duration: 26s; }
@keyframes bspecDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-40px, 30px, 0) scale(1.08); }
    100% { transform: translate3d(30px, -20px, 0) scale(.96); }
}
.bspec-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.bspec-beam {
    position: absolute; top: -50%; left: -30%; width: 40%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
    transform: rotate(18deg);
    animation: bspecBeam 9s ease-in-out infinite;
}
@keyframes bspecBeam { 0% { transform: translateX(0) rotate(18deg); } 60%, 100% { transform: translateX(420%) rotate(18deg); } }

.bspec-inner {
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center;
}

/* ---- left: copy ---- */
.bspec-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(245, 166, 35, .14); border: 1px solid rgba(245, 166, 35, .35);
    color: var(--color-accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.bspec h2 {
    color: #fff; margin: 18px 0 16px;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; letter-spacing: -.01em;
}
.bspec-grad {
    background: linear-gradient(90deg, #ffd27a, var(--color-accent) 40%, #ffb347 60%, #ffd27a);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: bspecShimmer 6s linear infinite;
}
@keyframes bspecShimmer { to { background-position: 200% center; } }
.bspec-lead { color: rgba(255, 255, 255, .78); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; max-width: 560px; }

.bspec-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.bspec-points li { display: flex; align-items: center; gap: 14px; }
.bspec-points strong { display: block; font-size: .98rem; color: #fff; }
.bspec-points small { color: rgba(255, 255, 255, .62); font-size: .86rem; }
.bspec-ico {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .3s ease, background .3s ease;
}
.bspec-ico .icon { width: 20px; height: 20px; color: var(--color-accent); }
.bspec-points li:hover .bspec-ico { transform: translateY(-3px) rotate(-6deg); background: rgba(245, 166, 35, .18); }

.bspec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.bspec-actions .banking-spec-btn { box-shadow: 0 12px 30px rgba(245, 166, 35, .28); }
.bspec-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; font-weight: 600; text-decoration: none;
    padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
    transition: background .25s ease, border-color .25s ease;
}
.bspec-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.bspec-ghost .icon { color: var(--color-accent); }

.bspec-stats {
    display: flex; margin-top: 38px; padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.bspec-stats div { flex: 1; padding-right: 18px; }
.bspec-stats div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.bspec-stats strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.bspec-stats span { font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* ---- right: live hiring board ---- */
.bspec-visual { position: relative; padding: 36px 20px 50px; }
.bspec-orbit { position: absolute; inset: 0; pointer-events: none; }
.bspec-orbit span {
    position: absolute; border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .14);
    width: 110%; aspect-ratio: 1; left: -5%; top: 50%; margin-top: -55%;
    animation: bspecSpin 60s linear infinite;
}
.bspec-orbit span + span { width: 80%; left: 10%; margin-top: -40%; border-style: solid; border-color: rgba(245, 166, 35, .16); animation-duration: 40s; animation-direction: reverse; }
.bspec-orbit span::after {
    content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--color-accent); box-shadow: 0 0 14px 4px rgba(245, 166, 35, .55);
}
@keyframes bspecSpin { to { transform: rotate(360deg); } }

.bspec-board {
    position: relative; z-index: 1;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px; padding: 18px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
    animation: bspecFloat 7s ease-in-out infinite;
}
@keyframes bspecFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bspec-board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding: 0 4px; }
.bspec-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.bspec-live i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: bspecPing 1.8s infinite; }
@keyframes bspecPing { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.bspec-board-count { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(245, 166, 35, .18); color: var(--color-accent); }

.bspec-ticker {
    height: 264px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.bspec-ticker-track { display: grid; gap: 10px; }
.bspec-ticker-track.is-moving { animation: bspecTicker 26s linear infinite; }
.bspec-board:hover .bspec-ticker-track { animation-play-state: paused; }
/* The list is rendered twice, so moving up by half (+ half a gap) loops seamlessly. */
@keyframes bspecTicker { to { transform: translateY(calc(-50% - 5px)); } }
.bspec-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 14px;
    background: rgba(255, 255, 255, .95); color: var(--color-text);
}
.bspec-logo {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-light); border: 1px solid var(--color-border);
    font-weight: 800; font-size: .75rem; color: var(--color-primary);
}
.bspec-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.bspec-row-text { flex: 1; min-width: 0; line-height: 1.3; }
.bspec-row-text strong, .bspec-row-text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bspec-row-text strong { font-size: .88rem; color: var(--color-primary-dark); }
.bspec-row-text small { font-size: .74rem; color: var(--color-text-light); }
.bspec-badge { flex-shrink: 0; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #e7f8ef; color: #178a4c; }

.bspec-float {
    position: absolute; z-index: 2;
    background: #fff; color: var(--color-primary-dark);
    border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    animation: bspecFloat 6s ease-in-out infinite;
}
.bspec-chart { right: -6px; bottom: 0; width: 170px; padding: 10px 12px 8px; color: #178a4c; animation-delay: -2s; }
.bspec-chart small { display: block; font-size: .72rem; font-weight: 700; color: var(--color-text-light); margin-bottom: 4px; }
.bspec-chart svg { width: 100%; height: 48px; display: block; }
.bspec-line { stroke-dasharray: 200; stroke-dashoffset: 200; }
.bspec-visual.in-view .bspec-line { animation: bspecDraw 2.2s .4s ease-out forwards; }
@keyframes bspecDraw { to { stroke-dashoffset: 0; } }
.bspec-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.bspec-chip .icon { color: var(--color-accent); }
.bspec-chip.c1 { top: 4px; left: -14px; animation-delay: -1s; }
.bspec-chip.c2 { bottom: 14px; left: 8px; animation-delay: -3.5s; }

@media (max-width: 991.98px) {
    .bspec { padding: 80px 0; }
    .bspec-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .bspec-visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .bspec { padding: 64px 0; }
    .bspec-aurora.a1 { width: 360px; height: 360px; top: -160px; right: -160px; }
    .bspec-aurora.a2 { width: 340px; height: 340px; }
    .bspec-stats strong { font-size: 1.35rem; }
    .bspec-stats div { padding-right: 10px; }
    .bspec-stats div + div { padding-left: 14px; }
    .bspec-actions .banking-spec-btn, .bspec-ghost { width: 100%; justify-content: center; }
    .bspec-visual { padding: 30px 0 46px; }
    .bspec-ticker { height: 236px; }
    .bspec-chart { width: 140px; right: 0; }
    .bspec-chip.c1 { left: 0; }
    .bspec-orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bspec-aurora, .bspec-beam, .bspec-grad, .bspec-orbit span, .bspec-board, .bspec-float, .bspec-live i { animation: none; }
    .bspec-ticker-track.is-moving { animation-duration: 60s; }
    .bspec-line { stroke-dashoffset: 0; }
}
