/* ─── CSS Variables (exact match from index.css) ─── */
:root {
    --primary-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --primary-background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    --box-background-image: linear-gradient(174.2deg, rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4%);
    --header-background: linear-gradient(135deg, #c1c3c5 0%, #e1ecff 100%);
    --text-color: #000;
    --box-shadow-color: rgba(0,0,0,0.967);
    --text-secondary-color: rgb(255,255,255);
    --hover-color: #4f4f4880;
    --nav-hover-color: linear-gradient(to left, #8e9eab, #eef2f3);
    --header-font: 'Arial Black', sans-serif;
    --heading-font: "Cinzel", serif;
    --body-font: 'Verdana', sans-serif;
    --primary-main-font: "DM Mono", monospace;
    --secondary-main-font: "Baskervville SC", serif;
    --nav-head-font: "Lexend Zetta", sans-serif;
    --head-font: "Bungee Shade", sans-serif;
    --head-font-size: 1.1rem;
    --para-font-size: 1.14rem;
    --title-size-font: 1rem;
}

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

html, body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ─── Body ─── */
.home-body {
    width: 100%;
    height: 100%;
    color: var(--text-color);
    background-image: var(--primary-background);
}

/* ─── Header / Nav ─── */
.header {
    display: flex;
    position: fixed;
    top: 0;
    border-radius: 62.4375rem;
    margin-top: 2px;
    align-items: center;
    flex-flow: row nowrap;
    justify-content: center;
    background: var(--header-background);
    width: 100%;
    height: 3.75rem;
    z-index: 100;
}

.logoWrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    inset: 0;
    flex-wrap: wrap;
    width: 10rem;
    position: relative;
    left: 0;
    margin-right: auto;
    margin-left: 1rem;
    height: 3.75rem;
}

.logoWrap img {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    position: absolute;
    height: 3.75rem;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    border-radius: 30rem;
}

.lawyerName {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.lawyerName h2:nth-child(1) {
    font-size: small;
    font-family: var(--heading-font);
    font-optical-sizing: auto;
    font-weight: 400;
    height: auto;
    position: absolute;
    margin-left: 0.4rem;
    left: 0;
}

.lawyerName h2:nth-child(2) {
    font-size: small;
    font-family: var(--heading-font);
    font-optical-sizing: auto;
    font-weight: 400;
    height: auto;
    position: absolute;
    right: 0;
}

.navBarRow {
    display: inline-flex;
    position: absolute;
    height: 3.75rem;
    right: 0;
    top: 0;
    margin-left: 0;
}

@media (max-width: 54.75rem) {
    #nav-bar {
        display: none;
    }
}

.nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 3.75rem;
    justify-content: space-evenly;
    align-items: center;
    gap: 7rem;
    margin: 0;
    padding-right: 2rem;
    list-style: none;
    text-align: center;
}

.nav-link {
    padding: 8px;
    border-radius: 99px;
    transition: background 0.3s ease;
}

.nav-links li a:hover {
    background: var(--nav-hover-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--nav-head-font);
    font-size: small;
    font-weight: 250;
}

/* ─── Hamburger Button ─── */
.btnWrap {
    display: none;
}

@media (max-width: 54.75rem) {
    .btnWrap {
        display: flex;
        margin-right: 0.75rem;
        background-color: transparent;
        flex-direction: column;
        margin-left: auto;
        justify-items: center;
        align-items: center;
    }
}

.menuBtn {
    display: flex;
    cursor: pointer;
    width: 2.5rem;
    height: 2.2rem;
    background-color: transparent;
    border: 0.125rem solid transparent;
    outline: none;
    border-radius: 0.375rem;
}

.menuBtn:hover {
    background-color: rgba(128, 152, 192, 0.397);
    color: #ffffff;
}

.bars {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 1.9rem;
    width: 2.45rem;
    gap: 0.27rem;
    overflow: hidden;
}

.bars span {
    display: flex;
    background: var(--text-color);
    height: 0.16rem;
    width: 1.65rem;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Cross state */
.bars.active span:nth-child(1) {
    transform: translateY(0.43rem) rotate(-45deg);
}

.bars.active span:nth-child(2) {
    opacity: 0;
}

.bars.active span:nth-child(3) {
    transform: translateY(-0.43rem) rotate(45deg);
}

/* ─── Compact / Mobile Menu ─── */
.compactMenu {
    display: none;
}

#dwarfMenu {
    display: none;
}

@media (max-width: 54.75rem) {
    #dwarfMenu {
        display: flex;
    }
}

.compactMenu.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 4rem;
    position: fixed;
    top: 3.95rem;
    left: 0;
    right: 0;
    height: 30dvh;
    width: 100%;
    border: 4px solid rgba(92, 148, 245, 0.645);
    background: var(--primary-background);
    z-index: 99;
}

.compactLinks {
    display: flex;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    background-color: transparent;
    width: 100%;
    align-items: center;
    gap: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.compactLinks li {
    display: flex;
    align-items: center;
    list-style: none;
    text-decoration: none;
}

a.navCompact {
    padding: 1rem;
    border-radius: 1.5rem;
    text-decoration: none;
    list-style: none;
    font-family: var(--nav-head-font);
    font-size: small;
    font-weight: 300;
    color: var(--text-color);
    transition: background 0.3s ease-in-out;
}

a.navCompact:hover {
    background: var(--nav-hover-color);
}

/* ─── Main content wrapper ─── */
.main-content {
    font-family: var(--primary-main-font);
    font-size: var(--para-font-size);
    text-align: center;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
    padding: 0;
    border-radius: 2rem;
    width: 100%;
}

.main-content h1 {
    display: flex;
    width: 100%;
    height: auto;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--heading-font);
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    padding-top: 3rem;
    margin-bottom: 0.5rem;
}

/* ─── Intro section ─── */
.main-section-introduction {
    display: flex;
    background: var(--primary-gradient);
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.5rem;
    margin: 1rem;
    border-radius: 2rem;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    max-width: 62rem;
    width: calc(100% - 2rem);
    text-align: center;
}

.main-section-introduction:hover {
    box-shadow: 0 0 0.75rem var(--box-shadow-color);
    margin: 10px;
}

.main-section-introduction p {
    font-family: var(--primary-main-font);
    font-size: var(--para-font-size);
    line-height: 1.75;
    text-align: center;
    margin: 0.5rem 0;
    text-wrap: balance;
    overflow-wrap: break-word;
}

/* ─── Experience highlight bar ─── */
.exp-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 1rem 0.5rem;
    padding: 1.2rem 2rem;
    border-radius: 2rem;
    background: var(--header-background);
    border: 4px solid rgba(92, 148, 245, 0.35);
    width: calc(100% - 2rem);
    max-width: 62rem;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.exp-stat .number {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a3a6b;
}

.exp-stat .label {
    font-family: var(--nav-head-font);
    font-size: 0.6rem;
    font-weight: 300;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.exp-divider {
    width: 1px;
    height: 2.8rem;
    background: rgba(92, 148, 245, 0.45);
}

@media (max-width: 36rem) {
    .exp-divider { display: none; }
    .exp-highlight { gap: 1.2rem; padding: 1rem; }
}

/* ─── Bullet experience list ─── */
.experience-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 2rem);
    max-width: 62rem;
    margin: 1.5rem 1rem;
    border-radius: 2rem;
    background-color: var(--text-secondary-color);
    border: solid rgb(88, 85, 78, 0.99);
    padding: 1.5rem 1.5rem 2rem;
    transition: box-shadow 0.3s ease-in-out;
    text-align: left;
}

.experience-section:hover {
    box-shadow: 0.5rem 0.75rem 1.875rem var(--box-shadow-color);
}

.experience-section h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 0;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--primary-main-font);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 4px solid #2b8ffac9;
    background: var(--primary-gradient);
    transition: box-shadow 0.3s ease-in-out;
}

.exp-list li:hover {
    box-shadow: 0.1875rem 0.1875rem 1.5rem var(--box-shadow-color);
}

.exp-bullet {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #2b8ffa;
    margin-top: 0.05rem;
}

/* ─── Closing paragraph ─── */
.closing-section {
    display: flex;
    background: var(--primary-gradient);
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    margin: 0.5rem 1rem 1rem;
    border-radius: 2rem;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    max-width: 62rem;
    width: calc(100% - 2rem);
    font-style: italic;
    text-align: center;
}

.closing-section:hover {
    box-shadow: 0 0 0.75rem var(--box-shadow-color);
}

.closing-section p {
    font-family: var(--primary-main-font);
    font-size: var(--para-font-size);
    line-height: 1.75;
    margin: 0;
    text-wrap: balance;
}

/* ─── Working Hours ─── */
.working-hours {
    background-color: var(--text-secondary-color);
    font-family: var(--nav-head-font);
    font-size: var(--para-font-size);
    font-weight: 300;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    width: auto;
    padding-top: 1rem;
    margin: 1rem;
    margin-bottom: 7rem;
    border-radius: 1.3rem;
}

/* ─── WhatsApp fixed button ─── */
.waBook {
    position: fixed;
    right: 2%;
    bottom: 2%;
    z-index: 999;
}

.fixedWa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
}

.waLogo {
    display: block;
    width: 35px;
    height: auto;
}

.fixedWa span {
    background-color: #00da54;
    border: 2px solid #ffffff;
    font-size: 0.875rem;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 1rem;
    font-family: "Reem Kufi Fun", sans-serif;
    font-weight: 200;
    color: var(--text-secondary-color);
}

.wa-svg-wrap {
    width: 35px;
    height: 35px;
}

/* ─── Cookie consent banner ─── */
.tc-consent-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%) translateY(200%);
    width: 92%;
    max-width: 900px;
    background: rgba(225, 236, 255, 0.92);
    border: 1px solid rgba(92, 148, 245, 0.4);
    border-radius: 1rem;
    padding: 1rem;
    z-index: 9999;
    transition: transform 0.45s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tc-consent-banner.tc-visible {
    transform: translateX(-50%) translateY(0);
}

.tc-consent-content {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.tc-consent-content h3 {
    margin: 0;
    font-size: 1rem;
}

.tc-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tc-consent-link {
    font-weight: bold;
    color: #1565c0;
}

.tc-consent-agree-btn {
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: #2b8ffa;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.tc-consent-agree-btn:hover {
    opacity: 0.9;
}

@media (max-width: 700px) {
    .tc-consent-content { flex-direction: column; }
    .tc-consent-agree-btn { width: 100%; }
}

/* ─── Footer ─── */
.downFooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(161, 175, 222, 0.32);
    width: 100%;
    bottom: 0;
    height: auto;
    padding-top: 3rem;
}

.socialLink p {
    font-family: var(--nav-head-font);
    font-size: var(--para-font-size);
    font-weight: 300;
    margin: 0;
    padding-bottom: 2rem;
}

.socialLink {
    display: grid;
    width: auto;
    height: auto;
    place-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-logo {
    width: 28px;
    height: 28px;
}

.policy {
    padding-top: 1rem;
    font-size: smaller;
    text-decoration: none;
    color: var(--text-color);
}

.footerBottom p {
    font-size: smaller;
    padding-top: 0;
    padding-bottom: 0;
}

/* ─── Legal imagery ─── */
.legal-img-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    width: calc(100% - 2rem);
    max-width: 62rem;
    margin: 1rem 1rem 0.5rem;
}

.legal-img-wrap {
    flex: 1 1 calc(50% - 1rem);
    min-width: 14rem;
    max-width: 30rem;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 4px solid rgba(92, 148, 245, 0.35);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: #1a1a1a;
}

.legal-img-wrap:hover {
    box-shadow: 0.3rem 0.5rem 1.5rem var(--box-shadow-color);
    transform: translateY(-3px);
}

.legal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 14rem;
    max-height: 22rem;
}

.legal-img-single {
    width: calc(100% - 2rem);
    max-width: 62rem;
    margin: 0.5rem 1rem;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 4px solid rgba(92, 148, 245, 0.35);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: #000;
}

.legal-img-single:hover {
    box-shadow: 0.3rem 0.5rem 1.5rem var(--box-shadow-color);
    transform: translateY(-3px);
}

.legal-img-single img {
    display: block;
}

/* Gavel — dark warm backdrop so the image isn't lost, full frame coverage */
.legal-img-single.img-gavel {
    height: 22rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1210;
    border-color: rgba(92, 148, 245, 0.45);
}

.legal-img-single.img-gavel img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 36rem) {
    .legal-img-single.img-gavel,
    .legal-img-single.img-bands {
        height: 16rem;
    }
}

@media (max-width: 36rem) {
    .legal-img-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }
}