/* ─── Reset & Tokens ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --pink: #e91e8c; --pink-dark: #c2185b; --pink-light: #f8bbd0; --pink-pale: #fce4ec;
    --white: #ffffff; --gray-50: #fafafa; --gray-100: #f5f5f5; --gray-200: #e5e0e4;
    --gray-400: #9e8d96; --gray-600: #5a4d55; --gray-800: #2d2429;
    --navy: #1a3a6b; --navy-light: #2a4f8f; --navy-pale: #e8edf5; --navy-wash: #f3f5f9;
    --navy-dark: #0e1b2f;
    --shadow-sm: 0 6px 20px rgba(0,0,0,0.05); --shadow-md: 0 14px 36px rgba(0,0,0,0.08);
    --shadow-lg: 0 22px 52px rgba(0,0,0,0.12);
    --radius-sm: 10px; --radius-md: 16px; --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", Arial, sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.serif { font-family: "Playfair Display", Georgia, serif; }
/* Plain ampersand — overrides Playfair Display's decorative & glyph */
.plain-amp { font-family: "Inter", Arial, sans-serif; font-style: normal; font-weight: inherit; font-size: inherit; }


/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 0 28px; height: 50px; border-radius: var(--radius-full);
    font-size: 0.88rem; font-weight: 700; border: 2px solid transparent;
    cursor: pointer; transition: all var(--transition); white-space: nowrap;
    letter-spacing: 0.02em; text-transform: uppercase; font-family: inherit;
}
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 6px 20px rgba(233,30,140,0.25); }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(233,30,140,0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: 10px; justify-content: center; }

/* ─── Header ───────────────────────────────────────────────────── */
.site-header {
    background: var(--white); box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(26,58,107,0.05);
    position: sticky; top: 0; z-index: 200; height: 90px;
}
.nav { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 160px; height: 52px; object-fit: contain; transition: transform var(--transition); }
.brand:hover img { transform: scale(1.04); }
.nav-links { display: flex; list-style: none; gap: 6px; }
.nav-links a {
    display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
    border-radius: var(--radius-full); color: var(--gray-600);
    font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--navy-pale); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.menu-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    width: 26px; height: 20px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 110;
}
.menu-toggle .bar { width: 100%; height: 2px; background-color: var(--navy); transition: all var(--transition); transform-origin: center; }
.menu-toggle.active .bar:nth-child(1) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle.active .bar:nth-child(4) { opacity: 0; transform: scaleX(0); }
.mobile-only-item { display: none; }

/* ─── Practice Areas Dropdown ──────────────────────────────────── */
.has-dropdown { position: relative; }
.dropdown-toggle { gap: 6px; }
.dropdown-icon { font-size: 0.65rem !important; transition: transform var(--transition); }
@media (min-width: 1025px) {
    .has-dropdown:hover .dropdown-icon { transform: rotate(180deg); }
}
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--white); border: 1px solid var(--navy-pale);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 10px 0; min-width: 240px; z-index: 300;
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    list-style: none;
}
@media (min-width: 1025px) {
    .has-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
    }
}
.dropdown-menu li a {
    display: block; padding: 10px 20px; font-size: 0.86rem; font-weight: 600;
    color: var(--gray-600); border-radius: 0; height: auto;
    transition: all var(--transition); border-left: 3px solid transparent;
}
.dropdown-menu li a:hover { color: var(--pink); background: var(--pink-pale); border-left-color: var(--pink); }
.dropdown-menu li a.current { color: var(--navy); background: var(--navy-wash); border-left-color: var(--navy); font-weight: 700; }


/* ─── Page Banner ──────────────────────────────────────────────── */
.page-banner {
    position: relative; height: 380px; display: flex; align-items: center;
    overflow: hidden; background: var(--navy-dark);
}
.banner-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center 30%;
    background-repeat: no-repeat; opacity: 0.3;
}
.banner-overlay {
    position: relative; z-index: 2; width: 100%;
    background: linear-gradient(90deg, rgba(14,27,47,0.9) 0%, rgba(14,27,47,0.6) 100%);
    padding: 60px 0;
}
.breadcrumb {
    display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
    font-size: 0.82rem; color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--pink-light); }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: var(--pink-light); font-weight: 600; }
.banner-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 14px; }
.banner-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 560px; }

/* ─── Practice Content ─────────────────────────────────────────── */
.practice-content { padding: 80px 0 100px; }
.content-grid { display: block; max-width: 860px; margin: 0 auto; }
.content-main h2.section-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.content-main h3.serif { font-size: 1.3rem; color: var(--navy); margin: 36px 0 14px; }
.content-main p { color: var(--gray-600); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; }
.service-list { list-style: none; margin: 0 0 24px; display: grid; gap: 12px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--gray-600); }
.service-list li i { color: var(--pink); font-size: 0.85rem; margin-top: 4px; flex-shrink: 0; }
.cta-box {
    margin-top: 48px; background: var(--navy-wash); border-radius: var(--radius-md);
    padding: 50px; text-align: center; border: 1px solid var(--navy-pale);
}
.cta-box h4.serif { font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.cta-box p { color: var(--gray-600); margin-bottom: 28px; font-size: 0.95rem; line-height: 1.7; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-box-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
    .cta-box { padding: 36px 24px; }
    .cta-box-btns .btn { width: 100%; justify-content: center; }
}


/* ─── Sidebar ──────────────────────────────────────────────────── */
.content-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
    background: var(--white); border: 1px solid var(--navy-pale);
    border-radius: var(--radius-md); padding: 28px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h4.serif { font-size: 1.1rem; color: var(--navy); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--navy-pale); }
.sidebar-nav-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav-list li a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 0.88rem; font-weight: 600; color: var(--gray-600);
    transition: all var(--transition); border-left: 3px solid transparent;
}
.sidebar-nav-list li a:hover { color: var(--navy); background: var(--navy-wash); border-left-color: var(--navy); }
.sidebar-nav-list li.active a { color: var(--pink); background: var(--pink-pale); border-left-color: var(--pink); }
.sidebar-contact { background: var(--navy-dark); border-color: transparent; }
.sidebar-contact h4.serif { color: var(--white); border-bottom-color: rgba(255,255,255,0.1); }
.sidebar-contact p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 4px; }
.sidebar-contact .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.sidebar-contact .btn-outline:hover { background: var(--white); color: var(--navy-dark); }

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    border-top: 2px solid var(--pink);
}
.footer-grid-abdavid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
}
.footer-brand-name {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    display: block;
}
.footer-tagline {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink-light);
    margin-top: 2px;
}
.footer-description {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 360px;
}
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--pink);
}
.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--pink-light);
}
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--pink);
    transform: translateY(-2px);
}
.footer-bottom {
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}
.footer-bottom a:hover {
    color: var(--pink-light);
}

/* ─── Back to Top ──────────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 500;
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
    background: var(--navy); color: var(--white); border: none;
    border-radius: var(--radius-full); font-family: "Inter", sans-serif;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
    cursor: pointer; box-shadow: 0 8px 28px rgba(26,58,107,0.30);
    transition: all var(--transition); opacity: 0; visibility: hidden; transform: translateY(12px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--pink); box-shadow: 0 12px 32px rgba(233,30,140,0.35); transform: translateY(-3px); }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .site-header { height: 80px; }
    .nav { height: 80px; }
    .menu-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    .nav-links {
        display: flex; flex-direction: column; position: absolute;
        top: 80px; left: 0; width: 100%; background: var(--white);
        border-bottom: 2px solid var(--pink); box-shadow: var(--shadow-lg);
        padding: 20px 0; gap: 0;
        transform: translateY(-120%); opacity: 0; visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 99;
        max-height: calc(100vh - 80px); overflow-y: auto;
    }
    .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-links li { width: 100%; }
    .nav-links a { display: flex; width: 100%; height: 50px; padding: 0 30px; border-radius: 0; font-size: 0.95rem; }
    .mobile-only-item { display: block; padding: 16px 30px; }
    .nav-mobile-actions { display: flex; flex-direction: column; gap: 10px; }
    .nav-mobile-actions .btn { width: 100%; height: 44px; }
    /* Mobile dropdown accordion */
    .has-dropdown .dropdown-toggle { justify-content: space-between; }
    .dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: none; border-radius: 0; padding: 0;
        background: var(--navy-wash); min-width: auto;
        max-height: 0; overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .has-dropdown.open .dropdown-menu { max-height: 600px; }
    .has-dropdown.open .dropdown-icon { transform: rotate(180deg); }
    .dropdown-menu li a { padding: 11px 44px; height: auto; font-size: 0.9rem; border-left: none; border-bottom: 1px solid rgba(26,58,107,0.06); }
    .dropdown-menu li:last-child a { border-bottom: none; }

    .content-grid { max-width: 100%; }
    .footer-grid-abdavid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .page-banner { height: 300px; }
    .banner-title { font-size: 1.8rem; }
    .practice-content { padding: 50px 0 70px; }
    .sidebar-nav-list { grid-template-columns: 1fr; }
    .footer-grid-abdavid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand {
        justify-content: center;
        grid-column: auto;
    }
    .footer-description {
        margin: 0 auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .sidebar-card:not(.sidebar-contact) { display: none; }
    .back-to-top { bottom: 20px; right: 16px; padding: 9px 16px; font-size: 0.78rem; }
}
