/* ============================================
   PAGES CSS - Professional Law Firm Design
   Consistent with main site purple/gold palette
   ============================================ */

/* Page Banner */
.page-banner {
    position: relative;
    padding: calc(var(--header-height) + 70px) 0 70px;
    background: linear-gradient(135deg, #792696 0%, #4a1066 40%, #1a0d2e 100%);
    color: #ffffff;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 25%, rgba(196, 154, 69, 0.12), transparent 50%),
        radial-gradient(ellipse at 85% 75%, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
}

.page-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-banner h1,
.page-banner .page-banner-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.page-banner .breadcrumb a:hover {
    color: var(--gold-500);
}

.page-banner .breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
}

/* Page Content */
.page-content {
    padding: 90px 0;
}

.page-content.alt-bg {
    background: var(--bg-soft);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy-900);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 20px;
}

.services-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #792696, transparent);
}

.services-section-desc {
    color: var(--text-body);
    font-size: 1.02rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Service Tabs */
.service-tabs-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.06);
}

.service-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}

.service-tab:hover {
    color: #792696;
    background: rgba(121, 38, 150, 0.06);
}

.service-tab.active {
    background: linear-gradient(135deg, #792696, #84379e);
    color: #ffffff;
    box-shadow: 0 6px 18px -8px rgba(121, 38, 150, 0.4);
}

.service-tab i {
    font-size: 0.85rem;
}

/* ============================================
   TEAM PAGE
   ============================================ */
.team-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.85;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.team-member-card {
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 60px -30px rgba(6, 18, 36, 0.25);
}

.team-member-img {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: linear-gradient(180deg, #f6f8fb 0%, #eef1f5 100%);
}

.team-member-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent);
    pointer-events: none;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.6s ease;
}

.team-member-card:hover .team-member-img img {
    transform: scale(1.06);
}

.team-member-info {
    padding: 26px;
}

.team-member-info h3 {
    font-size: 1.3rem;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.team-member-info .role {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #792696, #84379e);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.team-member-info .bio {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.72;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 34px 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 30px -16px rgba(6, 18, 36, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #792696, var(--gold-500));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -24px rgba(6, 18, 36, 0.2);
    border-color: rgba(121, 38, 150, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px -12px rgba(121, 38, 150, 0.45);
    transition: transform 0.35s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--navy-900);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #792696;
    font-size: 0.86rem;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

.service-card:hover .learn-more {
    gap: 12px;
    color: #9b3dbd;
}

/* Criminal Services Grid */
.criminal-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.criminal-service-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 6px 20px -12px rgba(6, 18, 36, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.criminal-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -18px rgba(6, 18, 36, 0.18);
    border-color: rgba(121, 38, 150, 0.15);
}

.criminal-service-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(121, 38, 150, 0.08), rgba(121, 38, 150, 0.04));
    color: #792696;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.criminal-service-content h3,
.criminal-service-content h4 {
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 6px;
    line-height: 1.3;
}

.criminal-service-content p {
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Services CTA */
.services-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #792696 0%, #4a1066 50%, #1a0d2e 100%);
}

.services-cta {
    text-align: center;
    color: #ffffff;
}

.services-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn-primary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.services-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 44px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-detail-main h2 {
    font-size: 1.5rem;
    color: var(--navy-900);
    margin-bottom: 14px;
    margin-top: 36px;
    font-weight: 700;
}

.service-detail-main h2:first-child {
    margin-top: 0;
}

.service-detail-main p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.service-detail-main ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.service-detail-main ul li {
    position: relative;
    padding: 13px 16px 13px 38px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--text-body);
    font-size: 0.94rem;
    line-height: 1.6;
    transition: background-color var(--transition);
}

.service-detail-main ul li:hover {
    background: rgba(121, 38, 150, 0.04);
}

.service-detail-main ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 15px;
    color: #792696;
    font-size: 0.78rem;
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 80px);
}

.sidebar-card {
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 28px -14px rgba(6, 18, 36, 0.12);
    margin-bottom: 22px;
}

.sidebar-card h3,
.sidebar-card h4 {
    font-size: 1.05rem;
    color: var(--navy-900);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(121, 38, 150, 0.12);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text-body);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(121, 38, 150, 0.06);
    color: #792696;
    font-weight: 600;
}

.sidebar-cta {
    text-align: center;
}

.sidebar-cta p {
    color: var(--text-body);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 28px -14px rgba(121, 38, 150, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -16px rgba(121, 38, 150, 0.55);
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.news-card {
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 28px -14px rgba(6, 18, 36, 0.1);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    display: block;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -28px rgba(6, 18, 36, 0.22);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

.news-card-body {
    padding: 24px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-card-date {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.news-card-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(121, 38, 150, 0.07);
    color: #792696;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.news-card-body h3 {
    font-size: 1.08rem;
    color: var(--navy-900);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.news-card:hover .news-card-body h3 {
    color: #792696;
}

.news-card-body p {
    color: var(--text-body);
    font-size: 0.86rem;
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Detail */
.news-detail-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    max-width: 1140px;
    margin: 0 auto;
}

.news-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
}

.sidebar-news-list {
    list-style: none;
    padding: 0;
}

.sidebar-news-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.sidebar-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-news-list a {
    display: block;
    color: var(--text-body);
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color var(--transition);
}

.sidebar-news-list a:hover {
    color: #792696;
}

.sidebar-form-card h4 {
    margin-bottom: 14px;
}

.sidebar-form input,
.sidebar-form textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.6);
    font-size: 0.85rem;
    color: var(--text-strong);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.sidebar-form input:focus,
.sidebar-form textarea:focus {
    outline: none;
    border-color: rgba(121, 38, 150, 0.4);
    box-shadow: 0 0 0 3px rgba(121, 38, 150, 0.08);
}

.sidebar-form textarea {
    resize: vertical;
    min-height: 70px;
}

.sidebar-form .btn-primary {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.84rem;
    border: none;
    cursor: pointer;
}

.news-detail-content {
    max-width: none;
    margin: 0;
}

.news-detail-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.news-detail-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 16px;
    font-weight: 800;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.news-detail-meta i {
    margin-right: 5px;
    color: #792696;
    opacity: 0.6;
}

.news-detail-body {
    color: var(--text-body);
    font-size: 1.02rem;
    line-height: 1.95;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body h2 {
    font-size: 1.35rem;
    color: var(--navy-900);
    margin: 36px 0 14px;
    font-weight: 700;
}

.news-detail-body blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 4px solid #792696;
    background: rgba(121, 38, 150, 0.03);
    border-radius: 0 16px 16px 0;
    color: var(--text-strong);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.8;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.news-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #792696;
    font-size: 0.88rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.news-nav a:hover {
    gap: 12px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 6px 20px -12px rgba(6, 18, 36, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -18px rgba(6, 18, 36, 0.16);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px -10px rgba(121, 38, 150, 0.45);
}

.contact-info-text h3,
.contact-info-text h4 {
    font-size: 0.98rem;
    color: var(--navy-900);
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.6;
}

.contact-map {
    margin-top: 24px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 20px -12px rgba(6, 18, 36, 0.1);
    height: 240px;
    background: linear-gradient(135deg, #f3f0f5, #eae5ed);
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 55px;
}

.pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination li {
    list-style: none;
    border-radius: 12px;
    overflow: hidden;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}

.pagination a {
    color: var(--text-body);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.pagination a:hover {
    border-color: rgba(121, 38, 150, 0.25);
    color: #792696;
    background: rgba(121, 38, 150, 0.03);
}

.pagination .active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 16px -8px rgba(121, 38, 150, 0.4);
}

.pagination .active a,
.pagination .active span,
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    border: none;
    box-shadow: 0 6px 16px -8px rgba(121, 38, 150, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .team-page-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .criminal-services-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: calc(var(--header-height) + 36px) 0 36px;
    }

    .page-banner h1 {
        font-size: 1.7rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .page-content {
        padding: 55px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .services-section-title {
        font-size: 1.5rem;
    }

    .team-page-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-member-img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .team-member-img img {
        object-position: center 20%;
    }

    .service-card {
        padding: 26px 20px;
    }

    .service-tabs {
        justify-content: flex-start;
        gap: 4px;
        padding: 10px 0;
    }

    .service-tab {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .criminal-services-grid {
        gap: 12px;
    }

    .criminal-service-item {
        padding: 18px;
        gap: 14px;
    }

    .criminal-service-number {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    .criminal-service-content h4 {
        font-size: 0.92rem;
    }

    .criminal-service-content p {
        font-size: 0.82rem;
    }

    .services-cta-section {
        padding: 55px 0;
    }

    .services-cta h2 {
        font-size: 1.5rem;
    }

    .news-detail-content {
        padding: 0 4px;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-page-grid {
        gap: 30px;
    }
}


/* ============================================
   INDEX PAGE - About Section Override
   ============================================ */
.about-section .container::before {
    display: none;
}

.about-top--no-media {
    max-width: 820px;
    margin: 0 auto 44px;
}

.about-top--no-media .about-text {
    text-align: center;
    padding: 32px 36px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 36px -18px rgba(6, 18, 36, 0.12);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.feature-item {
    padding: 28px 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px -16px rgba(6, 18, 36, 0.14);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px -20px rgba(6, 18, 36, 0.2);
}

@media (max-width: 1100px) {
    .about-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-top--no-media .about-text {
        padding: 22px 18px;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ============================================
   INDEX PAGE - Interactive Enhancements
   ============================================ */
.contact-form .form-group {
    position: relative;
    transition: transform 0.2s ease;
}

.contact-form .form-group.field-focused {
    transform: translateY(-1px);
}

.contact-form .form-group.field-focused label {
    color: #792696;
}


/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero-block {
    max-width: none;
    margin: 0 auto;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 50px;
    align-items: center;
    padding: 50px 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fdfbff 0%, #f8f4fb 100%);
    border: 1px solid rgba(121, 38, 150, 0.06);
    box-shadow: 0 20px 60px -24px rgba(6, 18, 36, 0.1);
}

.about-hero-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy-900);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.about-hero-left p {
    color: var(--text-body);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-hero-stat {
    padding: 26px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 22px -12px rgba(6, 18, 36, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-hero-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -14px rgba(6, 18, 36, 0.16);
}

.about-hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #792696;
    line-height: 1.1;
    margin-bottom: 4px;
    font-family: Georgia, "Times New Roman", serif;
}

.about-hero-stat-text {
    display: block;
    font-size: 0.74rem;
    color: var(--text-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Values Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 auto;
}

.about-value-card {
    padding: 30px 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 8px 24px -12px rgba(6, 18, 36, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px -20px rgba(6, 18, 36, 0.18);
}

.about-value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 10px 22px -12px rgba(121, 38, 150, 0.45);
}

.about-value-card h3 {
    font-size: 1.05rem;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.about-value-card p {
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Practice Areas */
.about-practice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.about-practice-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 6px 18px -10px rgba(6, 18, 36, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-practice-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -16px rgba(6, 18, 36, 0.15);
}

.about-practice-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(121, 38, 150, 0.08);
    color: #792696;
    font-size: 1.1rem;
}

.about-practice-text h3,
.about-practice-text h4 {
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.about-practice-text p {
    color: var(--text-body);
    font-size: 0.86rem;
    line-height: 1.6;
}

/* Office Section */
.about-office-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 36px;
    margin: 0 auto;
}

.about-office-info {
    display: grid;
    gap: 18px;
}

.about-office-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 4px 14px -8px rgba(6, 18, 36, 0.08);
}

.about-office-detail > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(121, 38, 150, 0.08);
    color: #792696;
    font-size: 0.9rem;
}

.about-office-detail h4 {
    font-size: 0.92rem;
    color: var(--navy-900);
    margin-bottom: 3px;
}

.about-office-detail p {
    color: var(--text-body);
    font-size: 0.85rem;
    line-height: 1.55;
}

.about-cta-card {
    padding: 32px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #792696, #4a1066);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 16px 36px -18px rgba(121, 38, 150, 0.4);
}

.about-cta-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.about-cta-card .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-cta-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* About Page Responsive */
@media (max-width: 1100px) {
    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 28px;
    }

    .about-hero-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-office-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero-inner {
        padding: 24px 18px;
    }

    .about-hero-left h2 {
        font-size: 1.5rem;
    }

    .about-hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-hero-stat {
        padding: 18px 12px;
    }

    .about-hero-stat-num {
        font-size: 1.5rem;
    }

    .about-page-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .about-stat {
        padding: 16px 10px;
    }

    .about-stat-number {
        font-size: 1.4rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-practice-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* About Page - Team Showcase */
.about-team-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-team-member {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #f6f8fb, #eef1f5);
    box-shadow: 0 8px 24px -12px rgba(6, 18, 36, 0.12);
    cursor: pointer;
}

.about-team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.about-team-member:hover img {
    transform: scale(1.06);
}

.about-team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(30, 0, 50, 0.85), transparent);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.about-team-member:hover .about-team-overlay {
    transform: translateY(0);
}

.about-team-overlay h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.about-team-overlay p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1100px) {
    .about-team-showcase {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .about-team-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .about-team-overlay {
        transform: translateY(0);
        padding: 10px 12px;
    }

    .about-team-overlay h4 {
        font-size: 0.88rem;
    }
}


/* ============================================
   LAWYER DETAIL PAGE
   ============================================ */
.lawyer-detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    margin-bottom: 60px;
}

.lawyer-detail-img {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px -18px rgba(6, 18, 36, 0.2);
}

.lawyer-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.lawyer-detail-quick {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.lawyer-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 12px -6px rgba(6, 18, 36, 0.08);
    font-size: 0.88rem;
    color: var(--text-body);
}

.lawyer-quick-item i {
    color: #792696;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.lawyer-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(121, 38, 150, 0.1);
}

.lawyer-detail-header h2,
.lawyer-detail-header h3 {
    font-size: 2rem;
    color: var(--navy-900);
    font-weight: 800;
    margin-bottom: 8px;
}

.lawyer-detail-role {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #792696, #9b3dbd);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

.lawyer-detail-section {
    margin-bottom: 28px;
}

.lawyer-detail-section h3 {
    font-size: 1.1rem;
    color: var(--navy-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lawyer-detail-section h3 i {
    color: #792696;
    font-size: 0.95rem;
}

.lawyer-detail-section p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 12px;
}

.lawyer-detail-list {
    list-style: none;
    padding: 0;
}

.lawyer-detail-list li {
    position: relative;
    padding: 10px 14px 10px 32px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
}

.lawyer-detail-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 12px;
    color: #792696;
    font-size: 0.7rem;
}

/* Other Team Members */
.lawyer-detail-others {
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.lawyer-others-title {
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-bottom: 20px;
    text-align: center;
}

.lawyer-others-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.lawyer-others-card {
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.lawyer-others-card:hover {
    transform: translateY(-4px);
}

.lawyer-others-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 16px -8px rgba(6, 18, 36, 0.15);
    margin-bottom: 8px;
}

.lawyer-others-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-body);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
    .lawyer-others-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lawyer-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lawyer-detail-img {
        width: 100%;
        border-radius: 18px;
    }

    .lawyer-detail-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .lawyer-detail-header h2 {
        font-size: 1.5rem;
    }

    .lawyer-others-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}


/* Team card as link */
a.team-member-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
