/* ════════════════════════════════════════════════════════
   THE CAMPOREALE LAW GROUP  —  site.css
   ════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
    --navy:         #0e1825;
    --navy-mid:     #1a2737;
    --blue:         #2b5ea7;
    --blue-bright:  #3b7fd4;
    --blue-accent:  #4a90d9;
    --blue-light:   #7db8f0;
    --white:        #ffffff;
    --off-white:    #f4f7fc;
    --text-light:   #a8bcd4;
    --text-muted:   #6b8199;
    --text-dark:    #2d3e52;
    --gold:         #c9a850;

    --sec-dark:     rgba(10, 16, 28, 0.93);
    --sec-light:    rgba(243, 247, 255, 0.95);

    --radius:       4px;
    --radius-lg:    10px;
    --max-w:        1200px;

    --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--white);
    background: #030b18;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ── 3-D Canvas ─────────────────────────────────────── */
#city-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* ── Page Wrapper ────────────────────────────────────── */
.page-wrapper {
    position: relative;
    z-index: 1;
}

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.18;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { line-height: 1.75; text-align: justify; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.22s var(--ease), background 0.22s, box-shadow 0.22s, border-color 0.22s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(43, 94, 167, 0.4);
}
.btn-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 127, 212, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
}
.btn-outline:hover {
    border-color: var(--blue-light);
    color: var(--blue-light);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ──────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 10px 0;
    transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
    overflow: visible;
}

.site-nav.scrolled {
    background: rgba(8, 14, 24, 0.96);
    padding: 6px 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.55);
}

.nav-inner {
    width: 100%;
    padding: 0 36px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    width: 380px;
    max-width: none !important;
    height: auto;
    margin-left: -14px;
    transition: opacity 0.2s, filter 0.2s;
    filter: brightness(2.5);
}
.nav-logo:hover img {
    opacity: 0.9;
    filter: brightness(3);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0;
    pointer-events: auto;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
    padding: 2px 22px 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--blue-accent);
    transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    background: var(--blue);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.22s, transform 0.22s;
    white-space: nowrap;
    display: inline-block;
}
.btn-nav:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(8, 14, 24, 0.98);
    padding: 20px 36px 28px;
    gap: 4px;
    border-top: 1px solid rgba(74, 144, 217, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.mobile-menu.open { display: flex; }
.mobile-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s;
}
.mobile-link:hover { color: var(--blue-light); }
.mobile-cta { margin-top: 16px; text-align: center; }

/* ── Hero Logo ───────────────────────────────────────── */
.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-logo {
    height: 180px;
    width: auto;
    animation: logoPop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
    filter: drop-shadow(0 6px 32px rgba(74, 144, 217, 0.55));
}

@keyframes logoPop {
    0%   { opacity: 0; transform: scale(0.2) translateY(20px); }
    100% { opacity: 1; transform: scale(1)   translateY(0); }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 300px 36px 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(3, 11, 24, 0.25) 0%,
        rgba(3, 11, 24, 0.55) 50%,
        rgba(3, 11, 24, 0.82) 100%
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
    animation: heroFadeIn 1s var(--ease) 0.2s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(43, 94, 167, 0.22);
    border: 1px solid rgba(74, 144, 217, 0.45);
    color: var(--blue-light);
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content h1 {
    color: var(--white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
    margin-bottom: 26px;
    letter-spacing: -0.01em;
}

.hero-highlight {
    color: var(--blue-accent);
}

.hero-sub {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.85;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.38);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.38);
    transform: rotate(45deg);
}

/* ── Section Shared ──────────────────────────────────── */
.section {
    position: relative;
    padding: 96px 36px;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header p {
    margin-top: 14px;
    font-size: 1.05rem;
    opacity: 0.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--blue-accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-dark { background: var(--sec-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p   { color: var(--text-light); }

.section-light { background: var(--sec-light); }
.section-light .section-label { color: var(--blue); }
.section-light h2, .section-light h3 { color: var(--navy); }
.section-light p   { color: var(--text-dark); }

/* ── About ────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; font-size: 1.02rem; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.stat-card {
    background: rgba(43, 94, 167, 0.1);
    border: 1px solid rgba(74, 144, 217, 0.18);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.28s, border-color 0.28s, transform 0.28s;
}

.stat-card:hover {
    background: rgba(43, 94, 167, 0.2);
    border-color: rgba(74, 144, 217, 0.38);
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span { font-size: 1.6rem; color: var(--blue-light); }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* ── Practice Areas ──────────────────────────────────── */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.practice-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px 30px;
    border: 1px solid #dde7f4;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-accent));
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
    transform-origin: left center;
}

.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover {
    box-shadow: 0 12px 40px rgba(43, 94, 167, 0.14);
    transform: translateY(-5px);
}

.practice-icon {
    width: 50px; height: 50px;
    background: rgba(43, 94, 167, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--blue);
    transition: background 0.2s, color 0.2s;
}
.practice-card:hover .practice-icon { background: var(--blue); color: var(--white); }

.practice-card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.15rem; }
.practice-card p  { color: #546d88; font-size: 0.91rem; line-height: 1.72; margin-bottom: 18px; }

.practice-link {
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 7px;
    transition: gap 0.2s, color 0.2s;
}
.practice-link:hover { color: var(--blue-bright); gap: 11px; }

/* ── Why Choose Us ───────────────────────────────────── */
.section-why { overflow: hidden; }
.section-why::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(43, 94, 167, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.why-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(74, 144, 217, 0.13);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: background 0.28s, border-color 0.28s, transform 0.28s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    background: rgba(43, 94, 167, 0.1);
    border-color: rgba(74, 144, 217, 0.3);
    transform: translateY(-4px);
}

.why-number {
    position: absolute; top: 24px; right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; font-weight: 700;
    color: rgba(74, 144, 217, 0.09);
    line-height: 1; pointer-events: none;
    transition: color 0.28s;
}
.why-card:hover .why-number { color: rgba(74, 144, 217, 0.16); }

.why-icon {
    width: 46px; height: 46px;
    background: rgba(43, 94, 167, 0.18);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--blue-accent);
    margin-bottom: 20px;
    transition: background 0.2s, color 0.2s;
}
.why-card:hover .why-icon { background: var(--blue); color: var(--white); }

.why-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.2rem; }
.why-card p  { color: var(--text-light); font-size: 0.93rem; line-height: 1.76; }

/* ── Team ────────────────────────────────────────────── */
.team-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(43, 94, 167, 0.1);
}

.team-photo {
    background: linear-gradient(145deg, var(--navy-mid) 0%, var(--blue) 100%);
    min-height: 460px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

.team-photo-bg {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.18);
    position: absolute; inset: 0;
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-info { padding: 48px 48px 48px 48px; }

.team-name { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--navy); margin-bottom: 6px; }
.team-title { color: var(--blue); font-size: 0.95rem; font-weight: 500; margin-bottom: 24px; }

.team-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--blue-accent), transparent);
    margin-bottom: 24px; border-radius: 2px;
}

.team-info p { color: var(--text-dark); }

.team-credentials {
    display: flex; flex-direction: column; gap: 12px; margin-top: 24px;
}

.credential {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-dark); font-size: 0.88rem; font-weight: 500;
}
.credential i { color: var(--blue); width: 18px; text-align: center; }

/* ── Contact ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--text-light); margin-bottom: 40px; font-size: 1.02rem; }

.contact-items { display: flex; flex-direction: column; gap: 22px; }

.contact-item {
    display: flex; gap: 16px; align-items: flex-start;
}

.contact-icon {
    width: 44px; height: 44px;
    background: rgba(43, 94, 167, 0.18);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; flex-shrink: 0;
    color: var(--blue-accent);
    transition: background 0.2s, color 0.2s;
}
.contact-item:hover .contact-icon { background: var(--blue); color: var(--white); }

.contact-item-text strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-item-text span { color: var(--text-light); font-size: 0.94rem; line-height: 1.55; }

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(74, 144, 217, 0.14);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form h3 { color: var(--white); margin-bottom: 6px; font-size: 1.4rem; }
.form-sub { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.76rem; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(74, 144, 217, 0.18);
    border-radius: var(--radius);
    padding: 11px 15px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-accent);
    background: rgba(255, 255, 255, 0.09);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.22); }

.form-group select { color: rgba(255, 255, 255, 0.5); cursor: pointer; }
.form-group select option { background: #0e1825; color: var(--white); }
.form-group textarea { min-height: 110px; resize: vertical; }

.form-status {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 16px; border-radius: var(--radius);
    font-size: 0.9rem; line-height: 1.55;
    margin-bottom: 20px;
    text-align: left;
}
.form-status-ok  { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac; }
.form-status-err { background: rgba(239, 68, 68, 0.12);  border: 1px solid rgba(239, 68, 68, 0.35);  color: #fca5a5; }

.form-disclaimer {
    margin-top: 14px;
    color: var(--text-muted); font-size: 0.76rem;
    text-align: center; line-height: 1.55;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
    background: rgba(3, 8, 16, 0.98);
    padding: 24px 36px 16px;
    border-top: 1px solid rgba(74, 144, 217, 0.08);
    position: relative; z-index: 2;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px; margin-bottom: 16px;
}

.footer-logo-img {
    height: 270px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(2.5);
}

.footer-tagline { color: var(--text-muted); font-size: 0.87rem; line-height: 1.65; max-width: 240px; }

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9); margin-bottom: 18px;
}

.footer-col a {
    display: block; color: var(--text-muted);
    font-size: 0.86rem; margin-bottom: 10px;
    transition: color 0.2s; line-height: 1.55;
}
.footer-col a:hover { color: var(--blue-light); }

.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.055); margin-bottom: 26px; }

.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 20px; flex-wrap: wrap;
}

.footer-copy { color: var(--text-muted); font-size: 0.82rem; }
.footer-disclaimer {
    color: var(--text-muted); font-size: 0.74rem;
    max-width: 560px; text-align: right; line-height: 1.55;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-44px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(44px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }

/* ── Keyframes ───────────────────────────────────────── */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.8; transform: translateX(-50%) translateY(7px); }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr; gap: 52px; }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 52px; }
    .team-card { grid-template-columns: 260px 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 20px; }
    .nav-inner { padding: 0 20px; }
    .nav-links, .btn-nav { display: none; }
    .nav-hamburger { display: flex; }
    .nav-logo img { width: 190px; margin-left: -7px; }
    .hero-section { padding: 90px 20px 70px; }
    .practice-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 1fr; }
    .team-photo { min-height: 200px; }
    .team-info { padding: 32px 24px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .footer-disclaimer { text-align: left; max-width: 100%; }
    .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.65rem; }
    .hero-badge { font-size: 0.68rem; padding: 7px 16px; }
    .stat-number { font-size: 2rem; }
}

._mw {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(3,8,20,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center; justify-content: center; padding: 1rem;
}
._mb {
    background: #0d1726;
    border: 1px solid rgba(74,144,217,0.2);
    border-radius: 12px;
    padding: 40px 36px 36px;
    width: 100%; max-width: 360px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
._mx {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.35); font-size: 1.4rem;
    line-height: 1; transition: color 0.2s;
}
._mx:hover { color: rgba(255,255,255,0.8); }
._ml {
    height: 70px; width: auto;
    display: block; margin: 0 auto 28px;
    filter: brightness(2.2);
}
._mf { margin-bottom: 14px; }
._mf input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(74,144,217,0.2);
    border-radius: 5px;
    padding: 11px 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s;
}
._mf input:focus { border-color: #4a90d9; }
._mf input::placeholder { color: rgba(255,255,255,0.22); }
._ms {
    width: 100%; margin-top: 8px;
    background: #2b5ea7; color: #fff;
    border: none; border-radius: 5px;
    padding: 12px; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: background 0.2s;
}
._ms:hover { background: #3b7fd4; }


/* ── Logout toast ──────────────────────────────── */
#logout-toast {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1a2a1a;
    color: #7ec87e;
    border: 1px solid #3a6b3a;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 9999;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    opacity: 1;
    transition: opacity 0.6s ease;
}
#logout-toast.fade-out { opacity: 0; }
