/* ═══════════════════════════════════════════════════════
   WHITE PROFESSIONAL THEME — CrazyRays Solutions BPO
═══════════════════════════════════════════════════════ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #fff; color: #111827; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }
.w-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* COLOUR TOKENS */
:root {
    --cr-red:      #e11d48;
    --cr-red-dark: #be123c;
    --cr-red-soft: #fff1f2;
    --cr-gray-50:  #f9fafb;
    --cr-gray-100: #f3f4f6;
    --cr-gray-200: #e5e7eb;
    --cr-gray-400: #9ca3af;
    --cr-gray-600: #4b5563;
    --cr-gray-900: #111827;
    --cr-shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --cr-shadow:    0 4px 24px rgba(0,0,0,.08);
    --cr-shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --cr-radius:    14px;
    --cr-radius-lg: 20px;
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal-up   { opacity: 0; transform: translateY(40px);  transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right{ opacity: 0; transform: translateX(50px);  transition: opacity .8s ease, transform .8s ease; }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view { opacity: 1; transform: none; }

/* ── NAVIGATION ── */
.w-nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--cr-gray-200); transition: box-shadow .3s; }
.w-nav.scrolled { box-shadow: var(--cr-shadow); }
.w-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.w-brand { display: flex; align-items: center; gap: 12px; }
.w-logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #e11d48, #f43f5e); color: #fff; font-weight: 900; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .5px; box-shadow: 0 4px 12px rgba(225,29,72,.3); }
.w-brand-name { font-weight: 800; font-size: .95rem; color: var(--cr-gray-900); line-height: 1.1; }
.w-brand-tag  { font-size: .65rem; color: var(--cr-red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.w-nav-links  { display: flex; gap: 32px; }
.w-nav-links a { font-size: .88rem; font-weight: 600; color: var(--cr-gray-600); transition: color .2s; position: relative; }
.w-nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--cr-red); border-radius: 2px; transition: width .25s; }
.w-nav-links a:hover { color: var(--cr-red); }
.w-nav-links a:hover::after { width: 100%; }
.w-nav-actions { display: flex; gap: 10px; align-items: center; }

/* ── BUTTONS ── */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 10px 24px; font-weight: 700; font-size: .88rem; cursor: pointer; border: 2px solid transparent; transition: all .22s ease; white-space: nowrap; }
.w-btn:hover { transform: translateY(-2px); }
.w-btn-primary { background: var(--cr-red); color: #fff; border-color: var(--cr-red); box-shadow: 0 4px 14px rgba(225,29,72,.3); }
.w-btn-primary:hover { background: var(--cr-red-dark); border-color: var(--cr-red-dark); box-shadow: 0 8px 24px rgba(225,29,72,.4); }
.w-btn-ghost { background: transparent; color: var(--cr-gray-600); border-color: var(--cr-gray-200); }
.w-btn-ghost:hover { border-color: var(--cr-red); color: var(--cr-red); }
.w-btn-outline { background: transparent; color: var(--cr-gray-900); border-color: var(--cr-gray-300, #d1d5db); }
.w-btn-outline:hover { border-color: var(--cr-red); color: var(--cr-red); }
.w-btn-white { background: #fff; color: var(--cr-red); border-color: #fff; }
.w-btn-white:hover { background: var(--cr-red-soft); }
.w-btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.w-btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.w-btn-lg { padding: 14px 32px; font-size: .95rem; }
.w-btn-sm { padding: 7px 18px; font-size: .8rem; }

/* ── LABELS & HEADINGS ── */
.w-label { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cr-red); margin-bottom: 12px; }
.w-h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 900; line-height: 1.1; color: var(--cr-gray-900); margin-bottom: 1rem; }
.w-accent { color: var(--cr-red); }
.w-body-text { color: var(--cr-gray-600); font-size: 1rem; line-height: 1.75; }
.w-section { padding: 6rem 0; background: #fff; }
.w-section-alt { background: var(--cr-gray-50); }
.w-section-head { margin-bottom: 3.5rem; }
.w-section-head.centered, .w-section-head { text-align: left; }

/* ── HERO ── */
.w-hero { min-height: 100vh; display: flex; align-items: center; background: #fff; padding: 100px 0 60px; position: relative; overflow: hidden; }
.w-hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,72,.06) 0%, transparent 70%); pointer-events: none; }
.w-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.w-hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--cr-red-soft); color: var(--cr-red); font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.5rem; }
.w-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cr-red); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.w-hero-h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.08; color: var(--cr-gray-900); margin-bottom: 1.4rem; }
.w-hero-sub { color: var(--cr-gray-600); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.2rem; max-width: 480px; }
.w-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.w-hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.w-hero-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--cr-gray-900); line-height: 1; }
.w-hero-stat span { font-size: .78rem; color: var(--cr-gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.w-stat-divider { width: 1px; height: 36px; background: var(--cr-gray-200); }

/* HERO IMAGE */
.w-hero-img-wrap { position: relative; }
.w-hero-img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--cr-radius-lg); box-shadow: var(--cr-shadow-lg); }
.w-hero-img-blob { position: absolute; inset: -20px; border-radius: var(--cr-radius-lg); background: linear-gradient(135deg, rgba(225,29,72,.08), rgba(225,29,72,.03)); z-index: -1; }
.w-hero-card { position: absolute; background: #fff; border-radius: 14px; padding: .9rem 1.2rem; box-shadow: var(--cr-shadow-lg); display: flex; align-items: center; gap: .8rem; min-width: 170px; animation: float-card 4s ease-in-out infinite; }
.w-hero-card-1 { top: 2rem; left: -2rem; animation-delay: 0s; }
.w-hero-card-2 { bottom: 3rem; right: -2rem; animation-delay: 2s; }
@keyframes float-card { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.w-hcard-icon { font-size: 1.6rem; }
.w-hero-card strong { display: block; font-size: .88rem; font-weight: 800; color: var(--cr-gray-900); }
.w-hero-card span { font-size: .75rem; color: var(--cr-gray-400); }

/* SCROLL HINT */
.w-hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--cr-gray-400); font-size: .75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.w-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--cr-gray-400), transparent); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform:scaleY(0);transform-origin:bottom} }

/* ── TICKER ── */
.w-ticker { background: var(--cr-gray-900); padding: .9rem 0; overflow: hidden; }
.w-ticker-track { display: flex; gap: 2rem; align-items: center; white-space: nowrap; animation: ticker 30s linear infinite; }
.w-ticker-track span { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .5px; }
.w-ticker-dot { color: var(--cr-red) !important; font-size: .6rem !important; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── ABOUT ── */
.w-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.w-about-pillars { display: grid; gap: 1.2rem; margin: 2rem 0; }
.w-about-pillar { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--cr-radius); border: 1px solid var(--cr-gray-200); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.w-about-pillar:hover { border-color: var(--cr-red); box-shadow: 0 4px 20px rgba(225,29,72,.08); transform: translateX(6px); }
.w-pillar-num { font-size: 1.4rem; font-weight: 900; color: var(--cr-red); opacity: .25; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.w-about-pillar h4 { font-size: .95rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .3rem; }
.w-about-pillar p { font-size: .85rem; color: var(--cr-gray-600); line-height: 1.6; }

/* ABOUT IMAGE STACK */
.w-about-img-stack { position: relative; }
.w-about-img-main { width: 100%; height: 480px; object-fit: cover; border-radius: var(--cr-radius-lg); box-shadow: var(--cr-shadow-lg); }
.w-about-img-secondary { position: absolute; bottom: -2rem; left: -2rem; width: 200px; height: 160px; object-fit: cover; border-radius: var(--cr-radius); border: 4px solid #fff; box-shadow: var(--cr-shadow-lg); }
.w-about-float-card { position: absolute; top: 2rem; right: -2rem; background: #fff; border-radius: 14px; padding: 1rem 1.4rem; box-shadow: var(--cr-shadow-lg); display: flex; align-items: center; gap: .8rem; animation: float-card 4s ease-in-out infinite; }
.w-float-icon { font-size: 1.8rem; }
.w-about-float-card strong { display: block; font-size: .9rem; font-weight: 800; color: var(--cr-gray-900); }
.w-about-float-card span { font-size: .75rem; color: var(--cr-gray-400); }

/* ── METRICS STRIP ── */
.w-metrics-strip { background: var(--cr-gray-900); padding: 3.5rem 0; }
.w-metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.w-metric-num { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: .4rem; }
.w-metric-label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1.5px; }
.w-metric { position: relative; }
.w-metric:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 50px; background: rgba(255,255,255,.1); }

/* ── SERVICES ── */
.w-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.w-service-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.w-service-card:hover { transform: translateY(-8px); box-shadow: var(--cr-shadow-lg); border-color: var(--cr-red); }
.w-service-img { height: 190px; overflow: hidden; }
.w-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.w-service-card:hover .w-service-img img { transform: scale(1.07); }
.w-service-body { padding: 1.5rem; }
.w-service-tag { display: inline-block; background: var(--cr-red-soft); color: var(--cr-red); font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.w-service-body h3 { font-size: 1rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .5rem; line-height: 1.3; }
.w-service-body p { font-size: .85rem; color: var(--cr-gray-600); line-height: 1.65; margin-bottom: 1rem; }
.w-service-link { font-size: .85rem; font-weight: 700; color: var(--cr-red); transition: gap .2s; display: inline-flex; align-items: center; gap: .3rem; }
.w-service-link:hover { gap: .6rem; }

/* ── TOP PERFORMERS ── */
.w-performers-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.w-performer-featured { position: relative; border-radius: var(--cr-radius-lg); overflow: hidden; height: 520px; box-shadow: var(--cr-shadow-lg); }
.w-performer-featured img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.w-performers-side { display: flex; flex-direction: column; gap: 1.5rem; }
.w-performer-card { position: relative; border-radius: var(--cr-radius); overflow: hidden; height: 155px; box-shadow: var(--cr-shadow); transition: transform .3s; }
.w-performer-card:hover { transform: translateY(-4px); }
.w-performer-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.w-performer-info { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,24,39,.92) 50%, transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.w-performer-info-sm { padding: 1rem; }
.w-performer-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.w-tag-accent { background: var(--cr-red); color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .65rem; border-radius: 999px; }
.w-tag-outline { background: transparent; color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); }
.w-performer-payout { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.w-performer-sub { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .3rem; }

/* ── WHY JOIN ── */
.w-why-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.4rem; margin-bottom: 3rem; }
.w-why-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 1.8rem 1.4rem; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.w-why-card:hover { transform: translateY(-6px); box-shadow: var(--cr-shadow-lg); border-color: var(--cr-red); }
.w-why-icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--cr-red-soft); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1rem; transition: background .25s; }
.w-why-card:hover .w-why-icon-wrap { background: var(--cr-red); }
.w-why-card h4 { font-size: .95rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .5rem; }
.w-why-card p { font-size: .83rem; color: var(--cr-gray-600); line-height: 1.6; }

/* BENEFITS */
.w-benefits-section { background: var(--cr-gray-50); border-radius: var(--cr-radius-lg); padding: 2.5rem; margin-bottom: 2.5rem; border: 1px solid var(--cr-gray-200); }
.w-benefits-title { font-size: 1.2rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: 1.5rem; }
.w-benefits-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: .8rem; }
.w-benefit { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: 10px; padding: .9rem .6rem; text-align: center; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.w-benefit:hover { border-color: var(--cr-red); transform: translateY(-3px); }
.w-benefit span:first-child { font-size: 1.5rem; }
.w-benefit span:last-child { font-size: .72rem; color: var(--cr-gray-600); font-weight: 600; line-height: 1.3; }

/* AWARDS */
.w-awards-row { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; padding: 2rem; background: #fff; border-radius: var(--cr-radius-lg); border: 1px solid var(--cr-gray-200); }
.w-award-badge { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.w-award-badge img { width: 52px; height: 52px; object-fit: contain; }
.w-award-badge span { font-size: .8rem; font-weight: 700; color: var(--cr-gray-900); max-width: 120px; }
.w-award-badge small { font-size: .72rem; color: var(--cr-red); font-weight: 700; }

/* ── CAREERS ── */
.w-careers-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.w-careers-banner { position: relative; border-radius: var(--cr-radius-lg); overflow: hidden; height: 300px; margin-bottom: 3rem; box-shadow: var(--cr-shadow-lg); }
.w-careers-banner img { width: 100%; height: 100%; object-fit: cover; }
.w-careers-banner-text { position: absolute; inset: 0; background: linear-gradient(to right, rgba(17,24,39,.88) 50%, rgba(17,24,39,.3)); display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.w-careers-banner-text h3 { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: .6rem; }
.w-careers-banner-text p { color: rgba(255,255,255,.75); margin-bottom: 1.4rem; max-width: 400px; }
.w-careers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.w-career-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); padding: 1.8rem; transition: transform .3s, box-shadow .3s, border-color .3s; }
.w-career-card:hover { transform: translateY(-6px); box-shadow: var(--cr-shadow-lg); border-color: var(--cr-red); }
.w-career-num { font-size: 3rem; font-weight: 900; color: var(--cr-red); opacity: .15; line-height: 1; margin-bottom: .8rem; }
.w-career-card h4 { font-size: 1rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .5rem; }
.w-career-card p { font-size: .85rem; color: var(--cr-gray-600); line-height: 1.65; }

/* HOW WE HIRE */
.w-hire-section { background: var(--cr-gray-50); border-radius: var(--cr-radius-lg); padding: 2.5rem; border: 1px solid var(--cr-gray-200); }
.w-hire-section h3 { font-size: 1.3rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: 2rem; text-align: center; }
.w-hire-flow { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.w-hire-step { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 100px; }
.w-hire-icon { width: 56px; height: 56px; background: #fff; border: 2px solid var(--cr-gray-200); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: .6rem; transition: border-color .25s, background .25s; }
.w-hire-step:hover .w-hire-icon { border-color: var(--cr-red); background: var(--cr-red-soft); }
.w-hire-step span { font-size: .75rem; font-weight: 700; color: var(--cr-gray-600); line-height: 1.3; }
.w-hire-final .w-hire-icon { border-color: var(--cr-red); background: var(--cr-red-soft); }
.w-hire-final span { color: var(--cr-red); font-weight: 800; }
.w-hire-arrow { color: var(--cr-gray-400); font-size: 1.2rem; margin-top: 1.2rem; flex-shrink: 0; }

/* ── BRANCHES ── */
.w-branches-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.w-branch-card { background: #fff; border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.w-branch-card:hover { transform: translateY(-6px); box-shadow: var(--cr-shadow-lg); border-color: var(--cr-red); }
.w-branch-img { height: 140px; overflow: hidden; }
.w-branch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.w-branch-card:hover .w-branch-img img { transform: scale(1.06); }
.w-branch-body { padding: 1.2rem; }
.w-branch-status { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: .2rem .7rem; border-radius: 999px; margin-bottom: .6rem; }
.w-branch-status.active { background: #dcfce7; color: #16a34a; }
.w-branch-status.upcoming { background: #fef3c7; color: #d97706; }
.w-branch-body h4 { font-size: .95rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .3rem; }
.w-branch-body p { font-size: .82rem; color: var(--cr-gray-600); line-height: 1.5; }
.w-branch-upcoming { border-style: dashed; }

/* ── CTA BANNER ── */
.w-cta-banner { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); padding: 5rem 0; position: relative; overflow: hidden; }
.w-cta-banner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,72,.15) 0%, transparent 70%); }
.w-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; position: relative; z-index: 2; }
.w-cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; line-height: 1.2; }
.w-cta-inner p { color: rgba(255,255,255,.65); margin-top: .6rem; font-size: .95rem; }
.w-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CONTACT ── */
.w-contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.w-contact-left { display: flex; flex-direction: column; gap: 2rem; }
.w-contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.w-contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--cr-red-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.w-contact-item strong { display: block; font-size: .9rem; font-weight: 800; color: var(--cr-gray-900); margin-bottom: .3rem; }
.w-contact-item p { font-size: .85rem; color: var(--cr-gray-600); margin: .1rem 0; }
.w-contact-form { background: var(--cr-gray-50); border: 1px solid var(--cr-gray-200); border-radius: var(--cr-radius-lg); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.w-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.w-field { display: flex; flex-direction: column; gap: .5rem; }
.w-field label { font-size: .82rem; font-weight: 700; color: var(--cr-gray-600); }
.w-field input, .w-field select, .w-field textarea { width: 100%; border: 1.5px solid var(--cr-gray-200); border-radius: 10px; background: #fff; color: var(--cr-gray-900); padding: 10px 14px; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.w-field input:focus, .w-field select:focus, .w-field textarea:focus { border-color: var(--cr-red); box-shadow: 0 0 0 3px rgba(225,29,72,.08); }
.w-field textarea { resize: vertical; }

/* ── FOOTER ── */
.w-footer { background: var(--cr-gray-50); border-top: 1px solid var(--cr-gray-200); padding: 4rem 0 0; }
.w-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--cr-gray-200); }
.w-footer-brand p { color: var(--cr-gray-600); font-size: .88rem; line-height: 1.7; max-width: 260px; margin: 1rem 0 1.4rem; }
.w-footer-social { display: flex; gap: .6rem; }
.w-fsocial { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--cr-gray-200); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; color: var(--cr-gray-600); transition: all .2s; }
.w-fsocial:hover { background: var(--cr-red); border-color: var(--cr-red); color: #fff; }
.w-footer-col h5 { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cr-gray-900); margin-bottom: 1.2rem; }
.w-footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.w-footer-col ul li a { font-size: .88rem; color: var(--cr-gray-600); transition: color .2s; }
.w-footer-col ul li a:hover { color: var(--cr-red); }
.w-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; color: var(--cr-gray-400); font-size: .82rem; flex-wrap: wrap; gap: .8rem; }
.w-footer-bottom a { color: var(--cr-gray-400); font-size: .82rem; transition: color .2s; }
.w-footer-bottom a:hover { color: var(--cr-red); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .w-why-grid { grid-template-columns: repeat(3,1fr); }
    .w-benefits-grid { grid-template-columns: repeat(4,1fr); }
    .w-branches-grid { grid-template-columns: repeat(2,1fr); }
    .w-footer-grid { grid-template-columns: 1fr 1fr; }
    .w-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 900px) {
    .w-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .w-hero { padding: 120px 0 60px; min-height: auto; }
    .w-hero-img { height: 380px; }
    .w-hero-card-1 { left: 0; }
    .w-hero-card-2 { right: 0; }
    .w-about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .w-about-img-secondary { display: none; }
    .w-about-float-card { right: 1rem; }
    .w-metrics-grid { grid-template-columns: repeat(2,1fr); }
    .w-metric:not(:last-child)::after { display: none; }
    .w-services-grid { grid-template-columns: repeat(2,1fr); }
    .w-performers-grid { grid-template-columns: 1fr; }
    .w-performer-featured { height: 380px; }
    .w-performers-side { flex-direction: row; }
    .w-performer-card { flex: 1; }
    .w-careers-grid { grid-template-columns: repeat(2,1fr); }
    .w-contact-grid { grid-template-columns: 1fr; }
    .w-cta-inner { flex-direction: column; text-align: center; }
    .w-cta-btns { justify-content: center; }
}
@media (max-width: 640px) {
    .w-hero-grid, .w-about-grid, .w-services-grid, .w-careers-grid,
    .w-branches-grid, .w-footer-grid, .w-why-grid,
    .w-metrics-grid, .w-performers-side { grid-template-columns: 1fr; }
    .w-hero-stats { gap: 1rem; }
    .w-hero-btns { flex-direction: column; }
    .w-hero-btns .w-btn { width: 100%; }
    .w-benefits-grid { grid-template-columns: repeat(3,1fr); }
    .w-hire-flow { flex-direction: column; align-items: center; }
    .w-hire-arrow { transform: rotate(90deg); margin: 0; }
    .w-form-row { grid-template-columns: 1fr; }
    .w-footer-grid { grid-template-columns: 1fr; }
    .w-footer-brand { grid-column: auto; }
    .w-footer-bottom { flex-direction: column; text-align: center; }
    .w-careers-intro { flex-direction: column; }
    .w-hero-scroll-hint { display: none; }
    .w-performer-featured { height: 300px; }
}

/* ── POPPINS FOR HEADINGS ── */
.w-h2, .w-hero-h1, .w-cta-inner h2,
.w-careers-banner-text h3, .w-hire-section h3,
.w-performer-payout, .w-metric-num, .w-career-num {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* ── NUMBER COUNTER COLOR IN WHITE THEME ── */
.w-metrics-strip .stat-num { color: #fff; }
.w-hero-stat strong .stat-num { color: var(--cr-gray-900); }

/* ── MOBILE NAV OVERRIDE FOR WHITE THEME ── */
.w-nav .mobile-nav { background: #fff; border-top: 1px solid var(--cr-gray-200); }
.w-nav .mobile-nav a { color: var(--cr-gray-600); border-bottom: 1px solid var(--cr-gray-100); }
.w-nav .mobile-nav a:hover { color: var(--cr-red); }
.w-nav .hamburger span { background: var(--cr-gray-900); }

/* ── MODAL OVERRIDES FOR WHITE THEME ── */
.modal-dialog { background: #fff; border: 1px solid var(--cr-gray-200); }
.modal-header h2 { color: var(--cr-gray-900); }
.modal-header p { color: var(--cr-gray-600); }
.field span { color: var(--cr-gray-700, #374151); }
.field input, .field select {
    background: var(--cr-gray-50);
    border-color: var(--cr-gray-200);
    color: var(--cr-gray-900);
}
.field input:focus, .field select:focus {
    border-color: var(--cr-red);
    box-shadow: 0 0 0 3px rgba(225,29,72,.08);
}
.field input::placeholder { color: var(--cr-gray-400); }
.check-row { color: var(--cr-gray-600); }
.modal-close { background: var(--cr-gray-100); border-color: var(--cr-gray-200); color: var(--cr-gray-600); }
.modal-close:hover { background: var(--cr-gray-200); }
.btn-ghost { background: var(--cr-gray-100); color: var(--cr-gray-600); border-color: var(--cr-gray-200); }
.btn-ghost:hover { background: var(--cr-gray-200); }
.form-error-box { background: #fff1f2; border-color: rgba(225,29,72,.3); color: var(--cr-red-dark); }

/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
═══════════════════════════════════════════════════ */

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .w-nav-links  { display: none; }
    .w-nav-actions { display: none; }
    .hamburger { display: flex; }

    /* Fix nav inner height */
    .w-nav-inner { min-height: 60px; padding: 0 4px; }

    /* Brand text wrapping fix */
    .w-brand-name { font-size: .82rem; }
    .w-brand-tag  { font-size: .6rem; letter-spacing: 1px; }
    .w-logo-mark  { width: 36px; height: 36px; font-size: .75rem; flex-shrink: 0; }

    /* Mobile nav dropdown */
    .w-nav .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid var(--cr-gray-200);
        padding: 8px 0 16px;
    }
    .w-nav .mobile-nav.open { display: flex; }
    .w-nav .mobile-nav a {
        padding: 12px 20px;
        font-size: .9rem;
        font-weight: 600;
        color: var(--cr-gray-600);
        border-bottom: 1px solid var(--cr-gray-100);
        display: block;
    }
    .w-nav .mobile-nav a:hover { color: var(--cr-red); background: var(--cr-red-soft); }
    .w-nav .mobile-nav-actions {
        display: flex;
        gap: 10px;
        padding: 14px 20px 0;
    }
    .w-nav .mobile-nav-actions .w-btn { flex: 1; justify-content: center; }

    /* Hamburger lines — dark for white theme */
    .hamburger span { background: var(--cr-gray-900) !important; }

    /* Hero fixes */
    .w-hero { padding: 80px 0 40px; }
    .w-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .w-hero-img { height: 260px; }
    .w-hero-card { display: none; }
    .w-hero-img-blob { display: none; }
    .w-hero-h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .w-hero-btns { flex-direction: column; }
    .w-hero-btns .w-btn { width: 100%; text-align: center; justify-content: center; }
    .w-hero-stats { gap: .8rem; }
    .w-hero-stat strong { font-size: 1.3rem; }
    .w-hero-scroll-hint { display: none; }

    /* Ticker */
    .w-ticker-track { animation-duration: 20s; }

    /* About */
    .w-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .w-about-img-main { height: 280px; }
    .w-about-img-secondary { display: none; }
    .w-about-float-card { display: none; }

    /* Metrics */
    .w-metrics-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
    .w-metric:not(:last-child)::after { display: none; }
    .w-metric-num { font-size: 2.2rem; }

    /* Services */
    .w-services-grid { grid-template-columns: 1fr; }

    /* Performers */
    .w-performers-grid { grid-template-columns: 1fr; }
    .w-performer-featured { height: 320px; }
    .w-performers-side { flex-direction: column; }
    .w-performer-card { height: 200px; }

    /* Why */
    .w-why-grid { grid-template-columns: repeat(2,1fr); }

    /* Benefits */
    .w-benefits-grid { grid-template-columns: repeat(3,1fr); }

    /* Careers */
    .w-careers-intro { flex-direction: column; gap: 1rem; }
    .w-careers-banner { height: 220px; }
    .w-careers-banner-text { padding: 1.5rem; }
    .w-careers-banner-text h3 { font-size: 1.3rem; }
    .w-careers-grid { grid-template-columns: 1fr; }

    /* Hire flow */
    .w-hire-flow { flex-direction: column; align-items: center; }
    .w-hire-arrow { transform: rotate(90deg); margin: 0; font-size: 1rem; }

    /* Branches */
    .w-branches-grid { grid-template-columns: 1fr; }

    /* CTA */
    .w-cta-inner { flex-direction: column; text-align: center; }
    .w-cta-btns { justify-content: center; flex-direction: column; width: 100%; }
    .w-cta-btns .w-btn { width: 100%; justify-content: center; }

    /* Contact */
    .w-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .w-form-row { grid-template-columns: 1fr; }
    .w-contact-form { padding: 1.5rem; }

    /* Footer */
    .w-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .w-footer-brand { grid-column: auto; }
    .w-footer-bottom { flex-direction: column; text-align: center; gap: .8rem; }

    /* Awards */
    .w-awards-row { gap: 1.2rem; }

    /* Section padding */
    .w-section, .w-section-alt { padding: 3.5rem 0; }
    .w-metrics-strip { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
    .w-why-grid { grid-template-columns: 1fr; }
    .w-benefits-grid { grid-template-columns: repeat(2,1fr); }
    .w-metrics-grid { grid-template-columns: 1fr; }
    .w-hero-stats { flex-wrap: wrap; gap: .6rem; }
    .w-stat-divider { display: none; }
}

/* ── SIGNUP FORM — OTHER COUNTRY FIELD VISIBILITY ── */
#other-country-wrap {
    visibility: visible; /* JS controls this */
}

/* ── MODAL FORM ERROR BOX — WHITE THEME ── */
.form-error-box {
    background: #fff1f2;
    border: 1px solid rgba(225,29,72,.3);
    color: #be123c;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.form-error-box ul { margin: 0; padding-left: 1.2rem; }
.form-error-box li { margin: .2rem 0; }

/* ── MODAL WIDE RESPONSIVE ── */
@media (max-width: 768px) {
    .modal-dialog.modal-wide { padding: 20px 16px; }
    .form-grid.three-col { grid-template-columns: 1fr !important; }
    .modal-header h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════
   MODAL MARGIN & POSITIONING FIX
═══════════════════════════════════════════════════ */

/* Override bridge.css modal-dialog to sit properly */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 16px;
}
.modal.active { display: block; }

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    z-index: 0;
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--cr-gray-200);
    border-radius: 20px;
    padding: 36px 40px 32px;
    box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.modal-dialog:not(.modal-wide) {
    width: min(480px, 100%);
}

.modal-header.center {
    text-align: center;
    margin-bottom: 24px;
}

.modal-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(225,29,72,.3);
    letter-spacing: .5px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cr-gray-900);
    margin-bottom: 6px;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.modal-header p {
    color: var(--cr-gray-600);
    font-size: .88rem;
    line-height: 1.55;
    max-width: 480px;
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--cr-gray-200);
    background: var(--cr-gray-100);
    color: var(--cr-gray-600);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    line-height: 1;
}
.modal-close:hover { background: var(--cr-red); color: #fff; border-color: var(--cr-red); }

/* Form grid inside modal */
.auth-grid-form { display: flex; flex-direction: column; gap: 0; }

.form-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.form-grid.three-col { grid-template-columns: repeat(3, 1fr); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field span, .field label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--cr-gray-600);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.field input,
.field select {
    width: 100%;
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 10px;
    background: var(--cr-gray-50);
    color: var(--cr-gray-900);
    padding: 10px 14px;
    font: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--cr-gray-400); }
.field input:focus,
.field select:focus {
    border-color: var(--cr-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(225,29,72,.08);
}
.field small { color: #be123c; font-size: .75rem; }

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cr-gray-600);
    font-size: .88rem;
    cursor: pointer;
    margin-bottom: 4px;
}
.check-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--cr-red);
    cursor: pointer;
    flex-shrink: 0;
}

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.form-actions.between { justify-content: space-between; align-items: center; }

/* Sign Up button in modal */
.btn-gold {
    background: var(--cr-red) !important;
    border-color: var(--cr-red) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 11px 28px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s;
    border: 2px solid transparent;
}
.btn-gold:hover {
    background: var(--cr-red-dark) !important;
    border-color: var(--cr-red-dark) !important;
    box-shadow: 0 6px 20px rgba(225,29,72,.35);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--cr-gray-100);
    color: var(--cr-gray-600);
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.btn-ghost:hover { background: var(--cr-gray-200); color: var(--cr-gray-900); }

.hidden { display: none !important; }

/* Modal responsive */
@media (max-width: 768px) {
    .modal { padding: 12px 10px; }
    .modal-dialog { padding: 24px 18px 20px; border-radius: 16px; }
    .modal-dialog.modal-wide { width: 100%; }
    .form-grid.three-col { grid-template-columns: 1fr 1fr !important; }
    .modal-header h2 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .form-grid.three-col { grid-template-columns: 1fr !important; }
    .form-actions.between { flex-direction: column; align-items: stretch; }
    .form-actions.between .btn-gold,
    .form-actions.between .btn-ghost { width: 100%; text-align: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   SELECT DROPDOWN — FORCE WHITE BACKGROUND
   Fixes browser dark-mode / OS dark theme inheritance
═══════════════════════════════════════════════════ */
.field select,
.modal-dialog select,
.auth-grid-form select {
    background-color: #ffffff !important;
    color: #111827 !important;
    -webkit-appearance: auto;
    appearance: auto;
    cursor: pointer;
}

/* Force white on every option — overrides OS dark theme */
.field select option,
.modal-dialog select option,
.auth-grid-form select option {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* Selected option highlight */
.field select option:checked,
.modal-dialog select option:checked {
    background-color: #fff1f2 !important;
    color: #e11d48 !important;
}

/* Also fix the Role and other selects in the form */
select.form-control,
.form-grid select {
    background-color: #ffffff !important;
    color: #111827 !important;
}
select.form-control option,
.form-grid select option {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* ═══════════════════════════════════════════════════
   SERVICE CARDS — CLEAN ICON BANNER
   (replaces neon images until real photos are added)
═══════════════════════════════════════════════════ */
.w-service-icon-banner {
    height: 190px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--svc-color) 12%, #f9fafb),
        color-mix(in srgb, var(--svc-color) 6%, #ffffff)
    );
    border-bottom: 1px solid var(--cr-gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    position: relative;
    overflow: hidden;
    transition: background .3s;
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red 10%, white)) {
    .w-service-icon-banner {
        background: #f9fafb;
    }
}

.w-service-icon-banner::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--svc-color);
    opacity: .06;
    top: -40px;
    right: -40px;
}

.w-service-icon-banner::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--svc-color);
    opacity: .05;
    bottom: -30px;
    left: -20px;
}

.w-svc-icon {
    font-size: 3.2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.1));
    transition: transform .3s;
}

.w-service-card:hover .w-svc-icon {
    transform: scale(1.15) translateY(-4px);
}

.w-svc-placeholder-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--svc-color);
    position: relative;
    z-index: 1;
    opacity: .8;
}

/* When real image is added later — just swap .w-service-icon-banner for .w-service-img */
.w-service-img {
    height: 190px;
    overflow: hidden;
}
.w-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.w-service-card:hover .w-service-img img {
    transform: scale(1.07);
}

/* ═══════════════════════════════════════════════════
   SEARCHABLE COUNTRY DROPDOWN
═══════════════════════════════════════════════════ */
.cr-country-wrap {
    position: relative;
    width: 100%;
}

.cr-country-selected {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 10px;
    background: var(--cr-gray-50);
    color: var(--cr-gray-900);
    padding: 10px 14px;
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
    user-select: none;
    outline: none;
}
.cr-country-selected:focus,
.cr-country-wrap.open .cr-country-selected {
    border-color: var(--cr-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(225,29,72,.08);
}
.cr-country-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-chevron { color: var(--cr-gray-400); font-size: .7rem; transition: transform .2s; flex-shrink: 0; }
.cr-country-wrap.open .cr-chevron { transform: rotate(180deg); }
.cr-flag { font-size: 1.1rem; flex-shrink: 0; }

.cr-country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
}
.cr-country-wrap.open .cr-country-dropdown { display: block; }

.cr-country-search-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid var(--cr-gray-200);
    background: var(--cr-gray-50);
}
.cr-country-search {
    width: 100%;
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: .85rem;
    outline: none;
    background: #fff;
    color: var(--cr-gray-900);
    transition: border-color .2s;
}
.cr-country-search:focus { border-color: var(--cr-red); }

.cr-country-list {
    list-style: none;
    padding: 6px 0;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cr-gray-200) transparent;
}
.cr-country-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 8px 14px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--cr-gray-900);
    transition: background .15s;
}
.cr-country-list li:hover,
.cr-country-list li.highlighted { background: var(--cr-red-soft); color: var(--cr-red); }
.cr-country-list li .cr-li-flag { font-size: 1rem; flex-shrink: 0; }
.cr-country-list li .cr-li-name { flex: 1; }
.cr-country-list li .cr-li-dial { color: var(--cr-gray-400); font-size: .78rem; flex-shrink: 0; }
.cr-country-list li.no-results { color: var(--cr-gray-400); cursor: default; justify-content: center; }
.cr-country-list li.no-results:hover { background: none; }

/* ═══════════════════════════════════════════════════
   PHONE WITH DIAL CODE PREFIX
═══════════════════════════════════════════════════ */
.cr-phone-wrap {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--cr-gray-200);
    border-radius: 10px;
    overflow: hidden;
    background: var(--cr-gray-50);
    transition: border-color .2s, box-shadow .2s;
}
.cr-phone-wrap:focus-within {
    border-color: var(--cr-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(225,29,72,.08);
}
.cr-dial-badge {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: 0 12px;
    background: var(--cr-gray-100);
    border-right: 1.5px solid var(--cr-gray-200);
    font-size: .82rem;
    font-weight: 700;
    color: var(--cr-gray-600);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 72px;
    justify-content: center;
}
.cr-phone-wrap input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 12px;
    font-size: .9rem;
    color: var(--cr-gray-900);
    outline: none;
    min-width: 0;
}
.cr-phone-wrap input::placeholder { color: var(--cr-gray-400); }

/* ── Country search input — hidden from browser validation when dropdown closed ── */
.cr-country-search {
    /* tabindex managed by JS — prevent browser trying to validate it */
    pointer-events: none;
}
.cr-country-wrap.open .cr-country-search {
    pointer-events: auto;
}

/* Row 1 of signup form — now only 2 visible fields (Role + Name), center them */
#signup-modal .form-grid.three-col:first-of-type {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
    #signup-modal .form-grid.three-col:first-of-type {
        grid-template-columns: 1fr;
    }
}
