.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 12%, rgba(199, 164, 90, .32), transparent 30%),
        linear-gradient(135deg, #0f2238 0%, #152f4e 58%, #0f2238 100%);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -34% -10%;
    height: 260px;
    background: #fbfbf9;
    transform: rotate(-3deg);
    transform-origin: left top;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
    min-height: 660px;
    padding: 80px 0 120px;
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.hero p {
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 620px;
}

.stat {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}

.stat strong {
    display: block;
    font-size: 22px;
    color: #fff;
}

.stat span {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.hero-card {
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    border-radius: 34px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 18px 18px auto auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(199, 164, 90, .18);
}

.portrait {
    height: 360px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8dcc4, #fff 45%, #d6e0ea);
    display: grid;
    place-items: center;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-symbol {
    font-size: 160px;
    color: rgba(15, 34, 56, .12);
    font-weight: 800;
}

.badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 18px 40px rgba(15, 34, 56, .18);
    max-width: 270px;
    z-index: 2;
}

.badge strong {
    display: block;
    color: var(--navy);
}

.badge span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.consult-box {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.consult-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.consult-row:last-child {
    border-bottom: 0;
}

.consult-row b {
    color: var(--navy);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.practice-card,
.article-card,
.profile-card,
.contact-card {
    background: #fff;
    border: 1px solid rgba(15, 34, 56, .08);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(15, 34, 56, .06);
}

.practice-card {
    padding: 26px;
    min-height: 220px;
    transition: .2s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--cream);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.practice-card h3,
.article-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.25;
}

.practice-card p,
.article-card p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.about-band {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 26px;
    align-items: stretch;
}

.profile-card {
    padding: 24px;
}

.profile-photo {
    height: 340px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f2238, #152f4e);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo span {
    color: var(--gold);
    font-size: 150px;
    opacity: .55;
}

.profile-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 26px;
}

.profile-card p {
    color: var(--muted);
    margin: 8px 0 0;
}

.about-content {
    padding: 42px;
    border-radius: var(--radius);
    background: var(--navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.about-content p {
    color: rgba(255, 255, 255, .76);
    margin: 0 0 24px;
}

.checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.check {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, .86);
    font-weight: 700;
}

.check span {
    color: var(--gold);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.article-card {
    overflow: hidden;
}

.article-image {
    height: 185px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    position: relative;
}

.article-image::after {
    content: attr(data-label);
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
}

.article-body {
    padding: 24px;
}

.article-meta {
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
}

.contact-section {
    padding-top: 20px;
}

.contact-card {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    overflow: hidden;
}

.contact-info {
    background: var(--navy);
    color: #fff;
    padding: 42px;
}

.contact-info h2 {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.04em;
}

.contact-info p {
    color: rgba(255, 255, 255, .72);
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-list div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
}

.contact-list b {
    display: block;
    color: var(--gold);
    margin-bottom: 3px;
}

/* hero compact professional refinement START */
.hero-inner {
    min-height: 560px;
    padding: 58px 0 78px;
    gap: 42px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 4.3vw, 60px);
}

.hero p {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.72;
    margin-bottom: 24px;
}

.hero-actions {
    margin-bottom: 26px;
}

.hero-card {
    align-self: center;
}

.hero + section {
    padding-top: 68px;
}
/* hero compact professional refinement END */

/* hero top gap final refinement START */
.hero::after {
    display: none;
}

.hero-inner {
    min-height: auto;
    padding: 34px 0 58px;
    align-items: start;
    gap: 36px;
}

.hero h1 {
    margin: 12px 0 18px;
}

.hero p {
    margin-bottom: 22px;
}

.hero-card {
    align-self: start;
    margin-top: 18px;
}

.hero-stats {
    margin-top: 0;
}

@media (max-width: 960px) {
    .hero-inner {
        padding: 32px 0 56px;
        gap: 30px;
    }

    .hero-card {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .hero-inner {
        padding: 26px 0 46px;
    }

    .hero h1 {
        margin-top: 10px;
    }
}
/* hero top gap final refinement END */

/* hero more up refinement START */
.hero::after {
    content: none;
    display: none;
}

.hero-inner {
    padding-top: 18px;
    padding-bottom: 52px;
}

.hero-card {
    margin-top: 6px;
}

.hero h1 {
    margin-top: 8px;
}

@media (max-width: 960px) {
    .hero-inner {
        padding-top: 22px;
        padding-bottom: 48px;
    }
}

@media (max-width: 640px) {
    .hero-inner {
        padding-top: 18px;
        padding-bottom: 42px;
    }
}
/* hero more up refinement END */

/* hero even more up refinement START */
.hero-inner {
    padding-top: 4px;
    padding-bottom: 46px;
}

.hero-card {
    margin-top: 0;
}

.hero h1 {
    margin-top: 4px;
}

@media (max-width: 960px) {
    .hero-inner {
        padding-top: 14px;
        padding-bottom: 44px;
    }
}

@media (max-width: 640px) {
    .hero-inner {
        padding-top: 12px;
        padding-bottom: 38px;
    }
}
/* hero even more up refinement END */

/* lawyer image fit refinement START */
.portrait {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 34, 56, .05), rgba(15, 34, 56, .12));
}

.portrait::before,
.portrait::after {
    content: none !important;
    display: none !important;
}

.portrait img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

.portrait .badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    margin: 0;
    backdrop-filter: blur(14px);
}

.profile-card {
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 34, 56, .05), rgba(15, 34, 56, .12));
}

.profile-photo::before,
.profile-photo::after {
    content: none !important;
    display: none !important;
}

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

.profile-photo span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

@media (max-width: 960px) {
    .portrait,
    .portrait img {
        min-height: 390px;
    }

    .profile-photo {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .portrait,
    .portrait img {
        min-height: 340px;
    }

    .portrait .badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
/* lawyer image fit refinement END */

/* remove hero image background residue START */
.hero-card::before,
.hero-card::after {
    content: none !important;
    display: none !important;
}

.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card .portrait {
    position: relative;
    z-index: 1;
    background: #fff;
}

.hero-card .portrait img {
    position: relative;
    z-index: 1;
}
/* remove hero image background residue END */

/* practice icon image refinement START */
.icon {
    overflow: hidden;
}

.icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}
/* practice icon image refinement END */

/* article image render clean START */
.article-image.has-image {
    background: #f7f2e9;
}

.article-image.has-image::after {
    content: none !important;
    display: none !important;
}

.article-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* article image render clean END */
