/* =====================================================================
   KLA and Co. (Krishna Murari Law Associates)
   PREMIUM multi-colour redesign · Font: Plus Jakarta Sans
   ===================================================================== */

:root {
    /* Base */
    --ink:        #16192e;
    --muted:      #5a627a;
    --line:       #eceef5;
    --bg-soft:    #f6f7fc;
    --white:      #ffffff;

    /* Brand core */
    --indigo:     #171d4e;
    --indigo-deep:#0e1338;
    --blue:       #2f4be0;
    --blue-bright:#3b5bfd;
    --gold:       #e0a92e;
    --gold-light: #f6cf5b;
    --gold-deep:  #c78a12;

    /* Vibrant accent spectrum (multi-colour) */
    --violet:     #7c3aed;
    --emerald:    #10b981;
    --rose:       #f43f5e;
    --cyan:       #06b6d4;
    --orange:     #fb7a3c;
    --pink:       #ec4899;

    /* Gradients */
    --grad-hero:   linear-gradient(135deg, #171d4e 0%, #2b2f78 45%, #3b3fa0 100%);
    --grad-blue:   linear-gradient(135deg, #3b5bfd, #6b46ff);
    --grad-gold:   linear-gradient(135deg, #f6cf5b, #e0a92e);
    --grad-violet: linear-gradient(135deg, #8b5cf6, #6d28d9);
    --grad-emerald:linear-gradient(135deg, #34d399, #059669);
    --grad-rose:   linear-gradient(135deg, #fb7185, #e11d48);
    --grad-cyan:   linear-gradient(135deg, #22d3ee, #0891b2);
    --grad-orange: linear-gradient(135deg, #fdba74, #f97316);

    --radius:     20px;
    --radius-sm:  14px;
    --shadow:     0 24px 60px rgba(23, 29, 78, 0.14);
    --shadow-sm:  0 12px 30px rgba(23, 29, 78, 0.10);
    --shadow-color: 0 18px 40px -12px;
    --font:       'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --font-display:'DM Serif Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x: clip (not hidden) keeps horizontal scroll clipped WITHOUT
   creating a scroll container — so the sticky nav stays pinned on scroll. */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--indigo); letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 60px 0; }

/* ---- Buttons ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 50px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer; border: 2px solid transparent;
    transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, filter 0.25s;
    letter-spacing: 0.2px; font-family: var(--font);
}
.btn-gold {
    background: var(--grad-gold); color: var(--indigo-deep);
    box-shadow: 0 14px 30px -8px rgba(224, 169, 46, 0.6);
}
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -8px rgba(224, 169, 46, 0.75); }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 14px 30px -8px rgba(59, 91, 253, 0.6); }
.btn-blue:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -8px rgba(59, 91, 253, 0.75); }
.btn-outline { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--indigo); border-color: #fff; transform: translateY(-4px); }
.btn-navy { background: var(--indigo); color: #fff; box-shadow: 0 14px 30px -10px rgba(23,29,78,0.6); }
.btn-navy:hover { background: var(--blue); transform: translateY(-4px); }

/* ---- Section headings --------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; font-size: 0.76rem;
    padding: 7px 16px; border-radius: 50px; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(59,91,253,0.12), rgba(124,58,237,0.12));
    color: var(--blue);
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section-title .hl {
    background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.divider-gold { width: 80px; height: 4px; background: var(--grad-gold); margin: 18px auto 0; border-radius: 3px; }

/* =====================================================================
   TOP BAR + NAV
   ===================================================================== */
.topbar { background: var(--indigo-deep); color: rgba(255,255,255,0.85); font-size: 0.85rem; padding: 9px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-left span, .topbar .tb-right a { display: inline-flex; align-items: center; gap: 7px; margin-right: 18px; }
.topbar i { color: var(--gold-light); }

.nav { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,0.92); box-shadow: 0 6px 30px rgba(23,29,78,0.08); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(23,29,78,0.05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .mark {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    background: var(--grad-hero); display: grid; place-items: center; color: var(--gold-light);
    font-size: 1.4rem; box-shadow: 0 10px 22px -6px rgba(23,29,78,0.5); position: relative; overflow: hidden;
}
.brand .mark::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 60%); }
.brand .btxt strong { font-size: 1.32rem; font-weight: 800; color: var(--indigo); display: block; line-height: 1; letter-spacing: -0.02em; }
.brand .btxt small { font-size: 0.66rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 700; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a { padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 0.94rem; color: var(--ink); transition: all 0.2s; position: relative; }
.menu a:hover { color: var(--blue); background: rgba(59,91,253,0.07); }
.menu a.active { color: var(--blue); }
.menu a.active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; background: var(--grad-gold); border-radius: 3px; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--indigo); cursor: pointer; }

/* =====================================================================
   HERO — aurora gradient + glass form
   ===================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--grad-hero); padding: 120px 0 130px; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, #6b46ff, transparent 70%); top: -140px; right: -80px; }
.hero::after { width: 440px; height: 440px; background: radial-gradient(circle, #06b6d4, transparent 70%); bottom: -160px; left: -100px; }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; pointer-events: none; }
.hero .orb.g { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold), transparent 70%); top: 40%; left: 42%; }
.hero .orb.r { width: 260px; height: 260px; background: radial-gradient(circle, var(--rose), transparent 70%); top: 8%; left: 30%; opacity: 0.3; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; color: #fff;
    font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; font-weight: 600;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4rem); margin-bottom: 14px; font-weight: 800; }
.hero h1 .accent { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.18rem; color: rgba(255,255,255,0.82); margin-bottom: 14px; font-weight: 400; }
.hero .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-light); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .stat {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px;
    padding: 16px 22px; backdrop-filter: blur(6px); min-width: 120px;
}
.hero-stats .stat strong { font-size: 2.1rem; font-weight: 800; display: block; line-height: 1; }
.hero-stats .stat:nth-child(1) strong { color: var(--gold-light); }
.hero-stats .stat:nth-child(2) strong { color: #7ee3ff; }
.hero-stats .stat:nth-child(3) strong { color: #7dffc4; }
.hero-stats .stat span { font-size: 0.82rem; color: rgba(255,255,255,0.72); }

.hero-card {
    background: rgba(255,255,255,0.97); border: 1px solid rgba(255,255,255,0.4);
    border-radius: 24px; padding: 32px; box-shadow: 0 30px 70px rgba(6,10,40,0.4); color: var(--ink);
}
.hero-card h3 { color: var(--indigo); font-size: 1.4rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.hero-card h3 i { color: var(--blue); }
.hero-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.hero-card .form-row { margin-bottom: 13px; }
.hero-card input, .hero-card select {
    width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #e3e6f0;
    background: #f8f9fd; font-family: var(--font); font-size: 0.92rem; color: var(--ink);
}
.hero-card input:focus, .hero-card select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,91,253,0.12); }
.hero-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Wave separator */
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* =====================================================================
   PAGE HEADER (interior)
   ===================================================================== */
.page-header { background: var(--grad-hero); color: #fff; text-align: center; padding: 90px 0 70px; position: relative; overflow: hidden; }
.page-header::before { content:''; position:absolute; width:400px; height:400px; border-radius:50%; filter:blur(80px); background: radial-gradient(circle,#6b46ff,transparent 70%); top:-150px; right:-60px; opacity:0.5; }
.page-header::after { content:''; position:absolute; width:340px; height:340px; border-radius:50%; filter:blur(70px); background: radial-gradient(circle,var(--cyan),transparent 70%); bottom:-160px; left:-60px; opacity:0.4; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); position: relative; z-index: 2; }
.breadcrumb { margin-top: 14px; font-size: 0.92rem; color: rgba(255,255,255,0.78); position: relative; z-index: 2; }
.breadcrumb a { color: var(--gold-light); }

/* =====================================================================
   VALUE PILLARS — colourful icons
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden;
}
.pillar::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; opacity:0; transition:opacity .3s; }
.pillar:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.pillar:hover::before { opacity: 1; }
.pillar .ic { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 18px; color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.pillar h4 { font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.9rem; }
.pillar:nth-child(1) .ic { background: var(--grad-blue); }    .pillar:nth-child(1)::before { background: var(--grad-blue); }
.pillar:nth-child(2) .ic { background: var(--grad-emerald); } .pillar:nth-child(2)::before { background: var(--grad-emerald); }
.pillar:nth-child(3) .ic { background: var(--grad-violet); }  .pillar:nth-child(3)::before { background: var(--grad-violet); }
.pillar:nth-child(4) .ic { background: var(--grad-orange); }  .pillar:nth-child(4)::before { background: var(--grad-orange); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 58px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.about-media::before { content:''; position:absolute; inset:-14px -14px 30px 30px; border-radius:28px; background: var(--grad-blue); opacity:0.12; z-index:1; }
.about-media .exp-badge {
    position: absolute; bottom: -22px; right: -18px; z-index: 3; background: var(--grad-gold);
    color: var(--indigo-deep); border-radius: 18px; padding: 18px 26px; text-align: center; box-shadow: var(--shadow);
}
.about-media .exp-badge strong { font-size: 2.3rem; display: block; line-height: 1; font-weight: 800; }
.about-media .exp-badge span { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 30px; }
.about-list li { display: flex; align-items: center; gap: 11px; font-size: 0.94rem; font-weight: 600; }
.about-list li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 0.7rem; flex-shrink: 0; }
.about-list li:nth-child(6n+1) i { background: var(--grad-blue); }
.about-list li:nth-child(6n+2) i { background: var(--grad-emerald); }
.about-list li:nth-child(6n+3) i { background: var(--grad-violet); }
.about-list li:nth-child(6n+4) i { background: var(--grad-rose); }
.about-list li:nth-child(6n+5) i { background: var(--grad-cyan); }
.about-list li:nth-child(6n+6) i { background: var(--grad-orange); }

/* =====================================================================
   PRACTICE AREAS — vibrant multicolour cards
   ===================================================================== */
.pa-section { background: var(--bg-soft); position: relative; }
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pa-card {
    background: var(--white); border-radius: var(--radius); padding: 36px 30px;
    box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden; border: 1px solid var(--line);
}
.pa-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.pa-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.pa-card:hover::before { transform: scaleX(1); }
.pa-card .ic { width: 70px; height: 70px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; margin-bottom: 22px; box-shadow: 0 12px 26px -8px rgba(23,29,78,0.4); }
.pa-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.pa-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.pa-card .more { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; }
.pa-card .more i { transition: transform 0.25s; }
.pa-card:hover .more i { transform: translateX(5px); }
/* colour rotation */
.pa-card:nth-child(6n+1) .ic { background: var(--grad-blue); }    .pa-card:nth-child(6n+1)::before { background: var(--grad-blue); }    .pa-card:nth-child(6n+1) .more { color: var(--blue); }
.pa-card:nth-child(6n+2) .ic { background: var(--grad-rose); }    .pa-card:nth-child(6n+2)::before { background: var(--grad-rose); }    .pa-card:nth-child(6n+2) .more { color: var(--rose); }
.pa-card:nth-child(6n+3) .ic { background: var(--grad-emerald); } .pa-card:nth-child(6n+3)::before { background: var(--grad-emerald); } .pa-card:nth-child(6n+3) .more { color: var(--emerald); }
.pa-card:nth-child(6n+4) .ic { background: var(--grad-violet); }  .pa-card:nth-child(6n+4)::before { background: var(--grad-violet); }  .pa-card:nth-child(6n+4) .more { color: var(--violet); }
.pa-card:nth-child(6n+5) .ic { background: var(--grad-orange); }  .pa-card:nth-child(6n+5)::before { background: var(--grad-orange); }  .pa-card:nth-child(6n+5) .more { color: var(--orange); }
.pa-card:nth-child(6n+6) .ic { background: var(--grad-cyan); }    .pa-card:nth-child(6n+6)::before { background: var(--grad-cyan); }    .pa-card:nth-child(6n+6) .more { color: var(--cyan); }

/* =====================================================================
   WHY CHOOSE
   ===================================================================== */
.whychoose { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.whychoose::before { content:''; position:absolute; width:500px; height:500px; border-radius:50%; filter:blur(90px); background: radial-gradient(circle,#6b46ff,transparent 70%); top:-160px; left:-120px; opacity:0.5; }
.whychoose::after { content:''; position:absolute; width:420px; height:420px; border-radius:50%; filter:blur(80px); background: radial-gradient(circle,var(--emerald),transparent 70%); bottom:-160px; right:-100px; opacity:0.35; }
.whychoose .container { position: relative; z-index: 2; }
.whychoose .section-title { color: #fff; }
.whychoose .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }
.wc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.wc-item { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 22px; transition: transform .25s, background .25s; }
.wc-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.wc-item .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.wc-item:nth-child(4n+1) .ic { background: var(--grad-gold); }
.wc-item:nth-child(4n+2) .ic { background: var(--grad-cyan); }
.wc-item:nth-child(4n+3) .ic { background: var(--grad-rose); }
.wc-item:nth-child(4n+4) .ic { background: var(--grad-emerald); }
.wc-item h4 { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.wc-item p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* =====================================================================
   CTA STRIP — vibrant gradient
   ===================================================================== */
.cta-strip { position: relative; overflow: hidden; background: var(--grad-blue); color: #fff; text-align: center; padding: 70px 0; }
.cta-strip::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(224,169,46,0.35), transparent 45%); }
.cta-strip .container { position: relative; z-index: 2; }
.cta-strip h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.cta-strip p { margin-bottom: 26px; font-weight: 500; color: rgba(255,255,255,0.9); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tst-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s, box-shadow .3s; }
.tst-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.tst-card::after { content:''; position:absolute; left:30px; bottom:0; width:44px; height:4px; border-radius:3px; }
.tst-card:nth-child(3n+1)::after { background: var(--grad-blue); }
.tst-card:nth-child(3n+2)::after { background: var(--grad-rose); }
.tst-card:nth-child(3n+3)::after { background: var(--grad-emerald); }
.tst-card .quote-ic { font-size: 2.2rem; margin-bottom: 10px; }
.tst-card:nth-child(3n+1) .quote-ic { color: var(--blue); }
.tst-card:nth-child(3n+2) .quote-ic { color: var(--rose); }
.tst-card:nth-child(3n+3) .quote-ic { color: var(--emerald); }
.tst-card .stars { color: var(--gold); margin-bottom: 14px; font-size: 0.92rem; }
.tst-card p { color: var(--muted); margin-bottom: 22px; font-size: 0.96rem; }
.tst-who { display: flex; align-items: center; gap: 14px; }
.tst-who .av { width: 50px; height: 50px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.tst-card:nth-child(3n+1) .av { background: var(--grad-blue); }
.tst-card:nth-child(3n+2) .av { background: var(--grad-rose); }
.tst-card:nth-child(3n+3) .av { background: var(--grad-emerald); }
.tst-who .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tst-who strong { display: block; color: var(--indigo); font-size: 0.98rem; }
.tst-who span { color: var(--muted); font-size: 0.82rem; }

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; border: 1px solid var(--line); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-thumb { height: 200px; position: relative; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.8rem; }
.blog-card:nth-child(3n+1) .blog-thumb .ph { background: var(--grad-blue); }
.blog-card:nth-child(3n+2) .blog-thumb .ph { background: var(--grad-violet); }
.blog-card:nth-child(3n+3) .blog-thumb .ph { background: var(--grad-cyan); }
.blog-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-body .date { font-size: 0.8rem; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.35; }
.blog-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; flex: 1; }
.blog-body .more { color: var(--blue); font-weight: 700; font-size: 0.9rem; }

.article { max-width: 830px; margin: 0 auto; }
.article img.cover { border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 12px; }
.article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.article p { color: #33384c; margin-bottom: 20px; font-size: 1.06rem; }
.article h2, .article h3 { margin: 30px 0 12px; }
.article blockquote { border-left: 4px solid var(--gold); background: var(--bg-soft); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 20px 0; font-style: italic; color: var(--indigo); }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 42px; border: 1px solid var(--line); }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--indigo); }
input, select, textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #e3e6f0; border-radius: 12px; font-family: var(--font); font-size: 0.95rem; color: var(--ink); background: #f8f9fd; transition: all 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,91,253,0.12); }
textarea { resize: vertical; min-height: 130px; }

.info-panel { color: var(--muted); }
.info-panel .info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.info-panel .info-item .ic { width: 54px; height: 54px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.info-panel .info-item:nth-child(4n+1) .ic { background: var(--grad-blue); }
.info-panel .info-item:nth-child(4n+2) .ic { background: var(--grad-rose); }
.info-panel .info-item:nth-child(4n+3) .ic { background: var(--grad-emerald); }
.info-panel .info-item:nth-child(4n+4) .ic { background: var(--grad-orange); }
.info-panel .info-item h4 { color: var(--indigo); font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.info-panel .info-item a { color: var(--muted); }
.info-panel .info-item a:hover { color: var(--blue); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 10px; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---- Alerts -------------------------------------------------------- */
.alert { padding: 15px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #e7f8ef; color: #0f8a4d; border: 1px solid #b6e8cd; }
.alert-error { background: #fdeaec; color: #d61f38; border: 1px solid #f6c3ca; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--indigo-deep); color: rgba(255,255,255,0.72); padding: 78px 0 0; position: relative; overflow: hidden; }
.footer::before { content:''; position:absolute; top:-140px; right:-100px; width:400px; height:400px; border-radius:50%; filter:blur(90px); background: radial-gradient(circle,#3b3fa0,transparent 70%); opacity:0.5; }
.footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 42px; }
.footer h4 { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--grad-gold); border-radius: 2px; }
.footer .brand .btxt strong { color: #fff; }
.footer p { font-size: 0.9rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.72); transition: all 0.2s; }
.footer ul a:hover { color: var(--gold-light); padding-left: 6px; }
.footer .fcontact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 15px; }
.footer .fcontact i { color: var(--gold-light); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: all 0.25s; }
.socials a:hover { transform: translateY(-4px); }
.socials a:nth-child(4n+1):hover { background: var(--grad-blue); }
.socials a:nth-child(4n+2):hover { background: var(--grad-rose); }
.socials a:nth-child(4n+3):hover { background: var(--grad-emerald); }
.socials a:nth-child(4n+4):hover { background: var(--grad-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 58px; padding: 24px 0; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: var(--gold-light); }

/* =====================================================================
   FLOATING BUTTONS
   ===================================================================== */
.floaters { position: fixed; right: 22px; bottom: 26px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.floaters a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 26px rgba(0,0,0,0.28); transition: transform 0.2s; }
.floaters a:hover { transform: scale(1.12); }
.fab-wa { background: #25d366; }
.fab-call { background: var(--grad-blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59,91,253,0.5); } 70% { box-shadow: 0 0 0 16px rgba(59,91,253,0); } 100% { box-shadow: 0 0 0 0 rgba(59,91,253,0); } }

/* ---- Reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
    .hero-grid, .about-grid, .form-wrap { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .pa-grid, .tst-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .wc-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-media { max-width: 460px; margin: 0 auto 20px; }
}
@media (max-width: 720px) {
    .section { padding: 66px 0; }
    .nav-toggle { display: block; z-index: 1001; }
    /* NOTE: the mobile drawer (.menu) is defined once, authoritatively, in the
       @media (max-width: 720px) block further down (transform-based, no bleed
       shadow when closed). The old right/box-shadow version was removed here to
       avoid the dark left/right edge shadow it caused on mobile. */
    .pillars, .pa-grid, .tst-grid, .blog-grid, .about-list, .form-row.two { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar .tb-left { display: none; }
    .topbar .container { justify-content: center; }
    .hero-stats { gap: 12px; }
    .hero-stats .stat { min-width: 0; flex: 1; }
}

/* =====================================================================
   LOGO MARK (SVG emblem) + animated wordmark
   ===================================================================== */
.brand .mark { background: none !important; box-shadow: none; overflow: visible; }
.brand .mark::after { display: none; }
.brand .mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(23,29,78,0.35)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.brand:hover .mark img { transform: rotate(-6deg) scale(1.06); }
.brand .btxt strong { background: linear-gradient(120deg, var(--indigo), var(--blue) 60%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer .brand .btxt strong { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer .brand .mark img { filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)); }

/* =====================================================================
   PRELOADER
   ===================================================================== */
.preloader {
    position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
    background: var(--grad-hero);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.pl-inner { text-align: center; position: relative; }
.pl-logo { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 0 0 6px rgba(246,216,115,0.10), 0 0 40px rgba(246,216,115,0.35), 0 22px 50px rgba(0,0,0,0.45); animation: plPop 0.9s cubic-bezier(.2,.9,.2,1.2) both, floatY 2.4s ease-in-out 0.9s infinite; }
.pl-ring {
    position: absolute; top: -18px; left: 50%; width: 128px; height: 128px; margin-left: -64px;
    border: 3px solid rgba(246,216,115,0.18); border-top-color: var(--gold-light); border-radius: 50%;
    animation: spin 1s linear infinite;
}
.pl-name { margin-top: 26px; font-family: var(--font-display); font-size: 1.9rem; color: #fff; letter-spacing: 0.5px; opacity: 0; animation: fadeUp 0.6s ease 0.4s forwards; }
.pl-name span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-sub { color: rgba(255,255,255,0.65); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; opacity: 0; animation: fadeUp 0.6s ease 0.6s forwards; }
@keyframes plPop { 0% { transform: scale(0.4) rotate(-15deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatY2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes popIn { 0% { transform: scale(0.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* =====================================================================
   NAVBAR shrink-on-scroll
   ===================================================================== */
.nav { transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.nav.scrolled { box-shadow: 0 8px 34px rgba(23,29,78,0.14); background: rgba(255,255,255,0.98); }
.nav.scrolled .container { padding: 8px 0; }
.nav.scrolled .brand .mark { width: 42px; height: 42px; }

/* =====================================================================
   HERO — layer the branded image behind the gradient + parallax orbs
   ===================================================================== */
.hero { background: linear-gradient(135deg, rgba(20,24,66,0.92) 0%, rgba(43,47,120,0.85) 45%, rgba(59,63,160,0.78) 100%), url('../images/hero-court.jpg') center/cover no-repeat; }
.hero .orb { animation: floatY2 7s ease-in-out infinite; }
.hero .orb.r { animation: floatY 9s ease-in-out infinite; }
.hero-badge { animation: fadeUp 0.7s ease both; }
.hero h1 { animation: fadeUp 0.7s ease 0.1s both; }
.hero .sub { animation: fadeUp 0.7s ease 0.2s both; }
.hero .tagline { animation: fadeUp 0.7s ease 0.3s both; }
.hero-actions { animation: fadeUp 0.7s ease 0.4s both; }
.hero-stats { animation: fadeUp 0.7s ease 0.5s both; }
.hero-card { animation: fadeUp 0.8s ease 0.35s both; }

/* Count-up numbers */
.hero-stats .stat strong[data-count]::after { content: ''; }

/* =====================================================================
   PAGE HEADER branded image
   ===================================================================== */
.page-header { background: linear-gradient(135deg, rgba(20,24,66,0.94), rgba(43,47,120,0.86)), url('../images/hero-court.jpg') center/cover no-repeat; }

/* =====================================================================
   CTA STRIP branded image
   ===================================================================== */
.cta-strip { background: linear-gradient(120deg, #0e7490 0%, #0f766e 48%, #047857 100%); }
.cta-strip::before { background: radial-gradient(circle at 18% 20%, rgba(255,255,255,0.18), transparent 42%), radial-gradient(circle at 85% 85%, rgba(246,207,91,0.40), transparent 48%); }
.cta-strip h2 { animation: none; }

/* =====================================================================
   SECTION subtle scales pattern
   ===================================================================== */
.pa-section { background: var(--bg-soft) url('../images/pattern-scales.png') repeat; background-blend-mode: multiply; }

/* =====================================================================
   REVEAL variants + stagger
   ===================================================================== */
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-zoom { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-l.visible, .reveal-r.visible, .reveal-zoom.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Card icon micro-motion */
.pa-card .ic, .pillar .ic, .wc-item .ic { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.pa-card:hover .ic { transform: translateY(-4px) rotate(-6deg) scale(1.05); }
.pillar:hover .ic { transform: translateY(-4px) scale(1.08); }
.wc-item:hover .ic { transform: rotate(8deg); }

/* Animated gradient CTA button sheen */
.btn-gold, .btn-blue, .btn-navy { position: relative; overflow: hidden; }
.btn-gold::after, .btn-blue::after, .btn-navy::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg);
}
.btn-gold:hover::after, .btn-blue:hover::after, .btn-navy:hover::after { animation: sheen 0.8s ease; }
@keyframes sheen { to { left: 130%; } }

/* =====================================================================
   BACK TO TOP + SCROLL PROGRESS
   ===================================================================== */
.back-to-top {
    position: fixed; left: 22px; bottom: 26px; z-index: 940; width: 50px; height: 50px; border: none;
    border-radius: 50%; background: var(--grad-hero); color: var(--gold-light); font-size: 1.1rem; cursor: pointer;
    box-shadow: 0 10px 26px rgba(23,29,78,0.4); opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.08); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 9998; background: var(--grad-gold); transition: width 0.1s linear; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .preloader { display: none; }
}

/* =====================================================================
   BINDAL-STYLE SCRIPT LOGO (badge wordmark)
   ===================================================================== */
.brandmark { display: flex; flex-direction: column; line-height: 1; justify-content: center; }
.bm-top {
    display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
    font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 800;
    color: var(--gold-deep);
}
.bm-top::before, .bm-top::after { content: ''; height: 1.5px; width: 16px; background: currentColor; opacity: 0.55; border-radius: 2px; }
.bm-name {
    font-family: 'Kaushan Script', cursive; font-size: 1.85rem; line-height: 0.92; margin: 2px 0 1px;
    background: linear-gradient(120deg, #f6d873, #e0a92e 55%, #b9820f);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-fill-color: transparent; letter-spacing: 0.5px; white-space: nowrap;
}
.bm-sub { font-size: 0.58rem; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 800; color: var(--blue); align-self: flex-start; }
.nav.scrolled .bm-name { font-size: 1.6rem; }

/* footer variant on dark */
.footer-brandmark .bm-top { color: var(--gold-light); }
.footer-brandmark .bm-sub { color: rgba(255,255,255,0.55); }

/* preloader script wordmark */
.pl-top {
    display: inline-flex; align-items: center; gap: 9px; justify-content: center;
    color: var(--gold-light); letter-spacing: 4px; text-transform: uppercase; font-size: 0.72rem;
    font-weight: 800; margin-top: 24px; opacity: 0; animation: fadeUp 0.6s ease 0.35s forwards;
}
.pl-top::before, .pl-top::after { content: ''; height: 1.5px; width: 22px; background: currentColor; opacity: 0.6; }
.pl-script {
    font-family: 'Kaushan Script', cursive; font-size: 2.8rem; line-height: 1; margin: 4px 0 2px;
    background: linear-gradient(120deg, #f6d873, #e0a92e 55%, #b9820f);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards;
}
.pl-sub { color: rgba(255,255,255,0.6); letter-spacing: 4px; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; opacity: 0; animation: fadeUp 0.6s ease 0.65s forwards; }

/* nav brand spacing tweak for the 3-line mark */
.brand { align-items: center; }
@media (max-width: 480px) {
    .bm-name { font-size: 1.55rem; }
    .brand .mark { width: 44px; height: 44px; }
}

/* =====================================================================
   REAL PHOTO LAYERS (with graceful fallback to gradient)
   ===================================================================== */
.hero-photo, .ph-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
    opacity: 0.28; mix-blend-mode: luminosity;
}
.hero > .container, .page-header > .container { position: relative; z-index: 2; }
.about-photo-wrap { position: relative; }
.about-real { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.exp-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 0; overflow: hidden;
    border-radius: 0;
}

/* =====================================================================
   CLEAN TEXT WORDMARK LOGO (emblem removed)
   ===================================================================== */
.brand { gap: 0; }
.brand .mark { display: none !important; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; position: relative; padding-left: 15px; }
.wordmark::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 3px; background: var(--grad-gold); }
.wm-main { font-family: var(--font-display); font-size: 1.7rem; color: var(--indigo); letter-spacing: 0.2px; line-height: 1; white-space: nowrap; }
.wm-main .amp { color: var(--gold); font-style: italic; padding: 0 1px; }
.wm-sub { font-size: 0.6rem; letter-spacing: 2.3px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-top: 6px; white-space: nowrap; }
.brand:hover .wm-main { color: var(--blue); transition: color 0.25s; }
.nav.scrolled .wm-main { font-size: 1.5rem; }

/* footer + preloader on dark */
.footer-wordmark .wm-main { color: #fff; }
.footer-wordmark .wm-main .amp { color: var(--gold-light); }
.footer-wordmark .wm-sub { color: var(--gold-light); }

/* preloader wordmark (no emblem) */
.preloader .pl-logo, .preloader .pl-script, .preloader .pl-top, .preloader .pl-name { display: none !important; }
.pl-ring { position: static; margin: 0 auto 26px; width: 66px; height: 66px; border: 3px solid rgba(246,216,115,0.18); border-top-color: var(--gold-light); border-radius: 50%; animation: spin 1s linear infinite; }
.pl-wm { font-family: var(--font-display); font-size: 2.7rem; color: #fff; line-height: 1; opacity: 0; animation: fadeUp 0.6s ease 0.25s forwards; }
.pl-wm span { color: var(--gold-light); font-style: italic; }
.preloader .pl-sub { color: rgba(255,255,255,0.6); letter-spacing: 3px; text-transform: uppercase; font-size: 0.7rem; font-weight: 700; margin-top: 10px; opacity: 0; animation: fadeUp 0.6s ease 0.45s forwards; }

@media (max-width: 480px) { .wm-main { font-size: 1.5rem; } }

/* =====================================================================
   LOGO FONT — Cinzel (engraved Roman capitals) for the wordmark
   ===================================================================== */
.wm-main { font-family: 'Cinzel', serif !important; font-size: 1.4rem; letter-spacing: 0.6px; font-weight: 700; }
.wm-main .amp { font-style: normal; }
.nav.scrolled .wm-main { font-size: 1.24rem; }
.wm-sub { letter-spacing: 2px; }
.pl-wm { font-family: 'Cinzel', serif !important; font-size: 2.2rem; letter-spacing: 1px; }
.pl-wm span { font-style: normal; }
@media (max-width: 480px){ .wm-main { font-size: 1.2rem; } }

/* =====================================================================
   ACHIEVEMENTS COUNTER BAND
   ===================================================================== */
.achievements { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; padding: 70px 0; }
.achievements::before { content:''; position:absolute; width:460px; height:460px; border-radius:50%; filter:blur(90px); background: radial-gradient(circle,#6b46ff,transparent 70%); top:-160px; right:-80px; opacity:0.45; }
.achievements::after { content:''; position:absolute; width:380px; height:380px; border-radius:50%; filter:blur(80px); background: radial-gradient(circle,var(--gold),transparent 70%); bottom:-160px; left:-80px; opacity:0.3; }
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.ach-item { text-align: center; padding: 22px 14px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); transition: transform .3s, background .3s; }
.ach-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.ach-item .ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; }
.ach-item:nth-child(1) .ic { background: var(--grad-gold); color: var(--indigo-deep); }
.ach-item:nth-child(2) .ic { background: var(--grad-cyan); }
.ach-item:nth-child(3) .ic { background: var(--grad-emerald); }
.ach-item:nth-child(4) .ic { background: var(--grad-rose); }
.ach-item .num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold-light); }
.ach-item .lbl { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin-top: 6px; letter-spacing: 0.3px; }

/* =====================================================================
   TEAM
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; border: 1px solid var(--line); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { height: 280px; position: relative; overflow: hidden; background: var(--grad-hero); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-light); font-family: var(--font-display); font-size: 3.4rem; }
.team-social { position: absolute; bottom: -50px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; padding: 14px; background: linear-gradient(transparent, rgba(14,19,56,0.85)); transition: bottom .35s; }
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.15); color: #fff; display: grid; place-items: center; transition: all .2s; backdrop-filter: blur(4px); }
.team-social a:hover { background: var(--gold); color: var(--indigo-deep); }
.team-body { padding: 22px 24px; text-align: center; }
.team-body h3 { font-size: 1.2rem; margin-bottom: 3px; }
.team-body .role { color: var(--blue); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.5px; text-transform: uppercase; }
.team-body p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* =====================================================================
   FAQ ACCORDION
   ===================================================================== */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(224,169,46,0.4); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--indigo); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .3s, color .3s; font-size: 0.85rem; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--grad-gold); color: var(--indigo-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; }

/* =====================================================================
   BAR COUNCIL DISCLAIMER MODAL
   ===================================================================== */
.disclaimer-overlay { position: fixed; inset: 0; z-index: 9997; background: rgba(6,10,40,0.78); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.disclaimer-overlay.show { display: flex; }
.disclaimer-box { background: #fff; max-width: 560px; border-radius: 20px; padding: 40px 38px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,0.4); animation: popIn .4s ease both; }
.disclaimer-box .dic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: var(--grad-hero); color: var(--gold-light); display: grid; place-items: center; font-size: 1.6rem; }
.disclaimer-box h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 14px; }
.disclaimer-box p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; text-align: left; }
.disclaimer-actions { display: flex; gap: 12px; justify-content: center; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 30px; padding: 22px 0 4px; font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.6; text-align: center; }

@media (max-width: 980px){ .ach-grid { grid-template-columns: repeat(2,1fr); } .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .ach-grid { grid-template-columns: 1fr 1fr; } .team-grid { grid-template-columns: 1fr; } .ach-item .num { font-size: 2.1rem; } }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-cell { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); display: block; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-cell:hover img { transform: scale(1.08); }
.gallery-cell .gallery-zoom { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: linear-gradient(135deg, rgba(23,29,78,0.55), rgba(59,91,253,0.45)); opacity: 0; transition: opacity .3s; }
.gallery-cell:hover .gallery-zoom { opacity: 1; }
.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-page-grid .gallery-cell { aspect-ratio: 4/3; }
@media (max-width: 900px){ .gallery-grid { grid-template-columns: repeat(3,1fr); } .gallery-page-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } .gallery-page-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   SINGLE ADVOCATE — featured layout
   ===================================================================== */
.attorney-feature { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 55px; align-items: center; max-width: 1040px; margin: 0 auto; }
.af-photo { position: relative; }
.af-photo::before { content: ''; position: absolute; inset: -16px -16px 26px 26px; border-radius: 26px; background: var(--grad-gold); opacity: 0.16; z-index: 1; }
.af-photo img, .af-photo .ph { position: relative; z-index: 2; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.af-photo .ph { background: var(--grad-hero); display: grid; place-items: center; color: var(--gold-light); font-family: var(--font-display); font-size: 4.5rem; }
.af-photo .exp-badge { position: absolute; bottom: -20px; right: -16px; z-index: 3; background: var(--grad-gold); color: var(--indigo-deep); border-radius: 16px; padding: 16px 22px; text-align: center; box-shadow: var(--shadow); }
.af-photo .exp-badge strong { font-size: 2rem; display: block; line-height: 1; font-weight: 800; }
.af-photo .exp-badge span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.af-role { display: inline-block; padding: 6px 16px; border-radius: 50px; background: linear-gradient(135deg, rgba(59,91,253,0.12), rgba(124,58,237,0.12)); color: var(--blue); font-weight: 700; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.af-name { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.af-bio { color: var(--muted); font-size: 1.02rem; margin-bottom: 22px; }
.af-highlights { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.af-highlights .chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--indigo); box-shadow: var(--shadow-sm); }
.af-highlights .chip i { color: var(--gold-deep); }
.af-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.af-actions .af-social { display: flex; gap: 8px; }
.af-actions .af-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--indigo); transition: all .2s; }
.af-actions .af-social a:hover { background: var(--grad-blue); color: #fff; transform: translateY(-3px); }
@media (max-width: 860px){
    .attorney-feature { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
    .af-photo { max-width: 340px; margin: 0 auto; }
    .af-info { text-align: center; }
    .af-role, .af-highlights, .af-actions { justify-content: center; }
    .af-highlights { justify-content: center; }
}

/* =====================================================================
   NAV — desktop keeps text-only; mobile gets a premium drawer
   ===================================================================== */
.menu-brand, .menu-contact { display: none; }
.menu > li > a > i { display: none; }          /* hide link icons on desktop */
.nav-cta .btn i { display: inline-block; }      /* keep CTA button icon */

.menu-backdrop { position: fixed; inset: 0; background: rgba(6,10,40,0.62); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: 995; }
.menu-backdrop.show { opacity: 1; visibility: visible; }

@media (max-width: 720px) {
    .menu {
        position: fixed; top: 0; right: 0; height: 100vh; width: 86%; max-width: 355px; z-index: 1000;
        background: linear-gradient(165deg, #0c1030 0%, #171d4e 55%, #23276e 100%);
        flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 30px; overflow-y: auto;
        box-shadow: none; visibility: hidden;
        transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1), visibility .4s;
        will-change: transform;
    }
    .menu.open { transform: translateX(0); visibility: visible; box-shadow: -24px 0 60px rgba(0,0,0,0.45); }

    .menu-brand { display: flex; flex-direction: column; padding: 30px 26px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }
    .mb-logo { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; letter-spacing: .5px; line-height: 1; }
    .mb-logo .amp { color: var(--gold-light); }
    .mb-sub { font-size: .58rem; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-top: 8px; }

    .menu > li { width: 100%; opacity: 0; transform: translateX(24px); }
    .menu.open > li { animation: menuItemIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
    .menu.open > li:nth-child(1){animation-delay:.04s}
    .menu.open > li:nth-child(2){animation-delay:.08s}
    .menu.open > li:nth-child(3){animation-delay:.12s}
    .menu.open > li:nth-child(4){animation-delay:.16s}
    .menu.open > li:nth-child(5){animation-delay:.20s}
    .menu.open > li:nth-child(6){animation-delay:.24s}
    .menu.open > li:nth-child(7){animation-delay:.28s}
    .menu.open > li:nth-child(8){animation-delay:.32s}
    .menu.open > li:nth-child(9){animation-delay:.36s}
    .menu.open > li:nth-child(10){animation-delay:.40s}

    .menu > li > a {
        display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.86);
        padding: 15px 26px; font-size: 1.02rem; font-weight: 500; border-left: 3px solid transparent; border-radius: 0;
    }
    .menu > li > a > i { display: inline-block; width: 22px; text-align: center; color: var(--gold); font-size: .98rem; transition: transform .2s; }
    .menu > li > a:hover, .menu > li > a.active { color: #fff; background: rgba(255,255,255,0.06); border-left-color: var(--gold); }
    .menu > li > a:hover i { transform: translateX(2px); }
    .menu > li > a.active { background: linear-gradient(90deg, rgba(224,169,46,0.14), transparent); }
    .menu > li > a.active i { color: var(--gold-light); }
    .menu > li > a.active::after { display: none; }

    .nav-cta { padding: 18px 26px 6px; }
    .nav-cta .btn { width: 100%; justify-content: center; }

    .menu-contact { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px 0; margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
    .menu-contact > a { color: rgba(255,255,255,0.75); font-size: .9rem; display: flex; align-items: center; gap: 12px; padding: 5px 0; word-break: break-word; overflow-wrap: anywhere; }
    .menu-contact > a i { color: var(--gold); width: 18px; text-align: center; }
    .menu-contact > a:hover { color: var(--gold-light); }
    .menu-social { display: flex; gap: 10px; margin-top: 12px; }
    .menu-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; transition: all .25s; }
    .menu-social a:hover { background: var(--grad-gold); color: var(--indigo-deep); transform: translateY(-3px); }
}
@keyframes menuItemIn { to { opacity: 1; transform: none; } }

/* Mobile: prevent ancestor backdrop-filter from hazing the drawer */
@media (max-width: 720px) {
    .nav, .nav.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #ffffff !important; }
    .menu, .menu * { filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* Fix: when the mobile drawer is open, lift the whole nav (which contains the
   drawer) above the backdrop so the menu content is fully visible & crisp. */
@media (max-width: 720px) {
    .nav.menu-active { z-index: 1001; }
    .menu { background: linear-gradient(165deg, #0c1030 0%, #171d4e 55%, #23276e 100%); }
    .menu > li > a { color: #ffffff; }
    .menu > li > a i { color: var(--gold-light); }
}
