:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #c8a96b;
    --light: #f8fafc;
    --text: #334155;
    --white: #ffffff;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.law-navbar {
    background: rgba(15, 23, 42, 0.96);
    padding: 14px 0;
}

.law-navbar .navbar-brand,
.law-navbar .nav-link {
    color: #fff !important;
}

.law-navbar .nav-link:hover {
    color: var(--accent) !important;
}

.btn-gold {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 0;
}

.btn-gold:hover {
    background-color: #b59255;
    color: #fff;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 500;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--primary);
}

.hero {
    min-height: 90vh;
    background:
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)),
        url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80') center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

.page-banner {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80') center center / cover no-repeat;
    padding: 110px 0 90px;
    color: #fff;
}

.page-banner h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-banner p {
    color: rgba(255,255,255,0.88);
    margin-bottom: 0;
}

.section-padding {
    padding: 90px 0;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.law-subtitle-light {
    color: #e7d3a7 !important;
}

.top-badge {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.mini-line {
    width: 70px;
    height: 2px;
    background-color: var(--accent);
    margin: 18px 0 25px;
}

.bg-light-custom {
    background-color: var(--light);
}

.about-box,
.practice-card,
.team-card,
.feature-box,
.contact-box {
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.about-box:hover,
.practice-card:hover,
.team-card:hover,
.feature-box:hover,
.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.feature-box {
    padding: 30px 25px;
    text-align: center;
    height: 100%;
}

.feature-box i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.practice-card {
    padding: 30px;
    height: 100%;
}

.practice-card .icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.team-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.team-content {
    padding: 24px;
}

.team-role {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
}

.footer h5 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent);
}

.section-narrow {
    max-width: 700px;
}

.section-wide {
    max-width: 750px;
}

.law-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.law-link:hover {
    color: var(--accent);
}

.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid #dbe2ea;
    padding: 14px 16px;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
}

.law-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.law-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.law-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent);
    font-size: 1rem;
}

.accordion-item {
    border-radius: 0 !important;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.accordion-button {
    box-shadow: none !important;
    font-weight: 600;
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--primary);
}

.result-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 28px 20px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.08);
}

.result-box-empty {
    background: #f8fafc;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 28px 20px;
    border: 1px dashed #cbd5e1;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.text-danger.small {
    display: block;
    margin-top: 6px;
}

@media (max-width: 991px) {
    .law-navbar .nav-item {
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}