:root {
    --maroon: #681c2b;
    --maroon-dark: #48121d;
    --maroon-light: #8b3043;
    --charcoal: #252525;
    --grey: #696969;
    --light-grey: #f4f4f4;
    --border: #dedede;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

/* TOP BAR */

.topbar {
    background: var(--maroon-dark);
    color: white;
    font-size: 14px;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* NAVIGATION */

.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    color: var(--maroon);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-sub {
    margin-top: 5px;
    color: var(--grey);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
}

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

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
}

/* HERO */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(48, 11, 20, 0.97) 0%,
            rgba(72, 18, 29, 0.91) 46%,
            rgba(25, 25, 25, 0.58) 100%
        ),
        url('/assets/img/legal-hero.svg') center right / cover no-repeat;
}

.hero-content {
    max-width: 760px;
    padding: 90px 0;
    position: relative;
}

.hero-content::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 95px;
    width: 5px;
    height: 110px;
    background: #b88a94;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 20px;
    color: #e2c3ca;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero p {
    max-width: 650px;
    font-size: 19px;
    color: #efefef;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 2px;
    transition: 0.2s ease;
}

.btn-primary {
    background: white;
    color: var(--maroon);
}

.btn-primary:hover {
    background: #eeeeee;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .8);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--maroon);
}

/* SECTIONS */

section {
    padding: 90px 0;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 12px;
}

.section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.section-intro {
    max-width: 720px;
    color: var(--grey);
    font-size: 17px;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.about-panel {
    background: var(--light-grey);
    border-left: 6px solid var(--maroon);
    padding: 45px;
}

.about-panel h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    margin-bottom: 18px;
}

.about-panel p {
    color: var(--grey);
}

/* PRACTICE AREAS */

.practice {
    background: var(--light-grey);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #d6d6d6;
    margin-top: 50px;
}

.practice-card {
    background: white;
    padding: 38px 32px;
    min-height: 250px;
    transition: .25s ease;
    border-top: 4px solid transparent;
}

.practice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
    border-top-color: var(--maroon);
    position: relative;
    z-index: 1;
}

.practice-number {
    color: var(--maroon);
    font-family: Georgia, serif;
    font-size: 16px;
    margin-bottom: 25px;
}

.practice-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.practice-card p {
    color: var(--grey);
    font-size: 15px;
}

/* VALUES */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.value {
    border-top: 3px solid var(--maroon);
    padding-top: 24px;
}

.value h3 {
    font-family: Georgia, serif;
    margin-bottom: 10px;
    font-size: 22px;
}

.value p {
    color: var(--grey);
    font-size: 15px;
}

/* CALL TO ACTION */

.cta {
    background: var(--maroon);
    color: white;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-details {
    margin-top: 35px;
}

.contact-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item strong {
    display: block;
    color: var(--maroon);
    margin-bottom: 4px;
}

.map-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--maroon);
    font-weight: 700;
    border-bottom: 1px solid var(--maroon);
}

/* CONTACT FORM */

.contact-form {
    background: var(--light-grey);
    padding: 40px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cccccc;
    font: inherit;
    background: white;
}

.form-row textarea {
    min-height: 130px;
    resize: vertical;
}

.form-button {
    width: 100%;
    border: 0;
    background: var(--maroon);
    color: white;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
}

.form-button:hover {
    background: var(--maroon-dark);
}

/* FOOTER */

footer {
    background: #1d1d1d;
    color: #bdbdbd;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 50px;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 18px;
}

.footer-brand {
    font-family: Georgia, serif;
    font-size: 26px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #333333;
    margin-top: 45px;
    padding-top: 22px;
    font-size: 13px;
}

.footer-legal {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.6;
    color: #8f8f8f;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
    z-index: 1500;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 5%;
        background: white;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar {
        display: none;
    }

    .brand-main {
        font-size: 22px;
    }

    .hero {
        min-height: 610px;
    }

    .hero-content::before {
        display: none;
    }

    section {
        padding: 65px 0;
    }

    .practice-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .about-panel {
        padding: 28px 22px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

/* BRAND LOGO */

.brand-with-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

@media (max-width: 560px) {
    .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    display: block;
}

/* PRACTICE AREA ICONS */

.practice-icon {
    width: 46px;
    height: 46px;
    display: block;
    margin-bottom: 18px;
    transition: transform .2s ease;
}

.practice-card:hover .practice-icon {
    transform: translateY(-2px) scale(1.04);
}

.practice-card h3 {
    margin-top: 2px;
}
