
:root {
    --bg: #0b111d;
    --bg-soft: #101827;
    --card: rgba(255, 255, 255, 0.075);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #f6f2e9;
    --muted: #b7bdc9;
    --gold: #d8ad5f;
    --gold-dark: #a77932;
    --white: #ffffff;
    --danger: #7a1f2a;
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 10%, rgba(216, 173, 95, 0.16), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(122, 31, 42, 0.18), transparent 28%),
    linear-gradient(180deg, #070b13 0%, #0b111d 42%, #0f1624 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.top-line {
    background: rgba(216, 173, 95, 0.1);
    border-bottom: 1px solid rgba(216, 173, 95, 0.16);
    color: #f1d39a;
    font-size: 14px;
}

.top-line .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 11, 19, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #17100a;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(216, 173, 95, 0.25);
}

.logo small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #d8dce5;
    font-size: 15px;
}

.nav-links a {
    transition: 0.25s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary {
    color: #1b1208;
    background: linear-gradient(135deg, #f1cf89, var(--gold));
    box-shadow: 0 18px 40px rgba(216, 173, 95, 0.24);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(216, 173, 95, 0.34);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: rgba(216, 173, 95, 0.48);
    color: var(--gold);
}

.hero {
    position: relative;
    padding: 92px 0 76px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 76%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(216, 173, 95, 0.12);
    color: #f1d39a;
    border: 1px solid rgba(216, 173, 95, 0.22);
    font-size: 14px;
    margin-bottom: 24px;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(216, 173, 95, 0.15);
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}

h1 strong {
    color: var(--gold);
    font-weight: 700;
}

.hero-text {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 34px;
}

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

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 660px;
}

.trust-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item b {
    display: block;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 2px;
}

.trust-item span {
    color: var(--muted);
    font-size: 13px;
}

.law-card {
    position: relative;
    border-radius: 34px;
    padding: 28px;
    min-height: 580px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(216, 173, 95, 0.16), rgba(122, 31, 42, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.law-card::before {
    content: "§";
    position: absolute;
    right: 24px;
    top: -34px;
    font-family: "Playfair Display", serif;
    font-size: 190px;
    color: rgba(216, 173, 95, 0.12);
    line-height: 1;
}

.law-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 524px;
    border-radius: 26px;
    padding: 32px;
    background: linear-gradient(rgba(11, 17, 29, 0.7), rgba(11, 17, 29, 0.88)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1100&q=80") center/cover;
    overflow: hidden;
}

.case-badge {
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f7e4bc;
    font-weight: 700;
    font-size: 14px;
}

.consult-box {
    padding: 24px;
    border-radius: 24px;
    background: rgba(7, 11, 19, 0.78);
    border: 1px solid rgba(216, 173, 95, 0.24);
    backdrop-filter: blur(10px);
}

.consult-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.consult-box p {
    color: var(--muted);
    margin-bottom: 18px;
}

section {
    padding: 86px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-label {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}

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

.service-card, .feature-card, .step-card, .contact-card {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 28px;
    transition: 0.25s ease;
}

.service-card:hover, .feature-card:hover, .step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 173, 95, 0.36);
    background: rgba(255, 255, 255, 0.095);
}

.icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(216, 173, 95, 0.14);
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 22px;
}

.service-card h3, .feature-card h3, .step-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.service-card p, .feature-card p, .step-card p {
    color: var(--muted);
    font-size: 15px;
}

.about {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

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

.portrait {
    border-radius: 34px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(216, 173, 95, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
}

.portrait-placeholder {
    min-height: 470px;
    border-radius: 26px;
    background: linear-gradient(rgba(8, 12, 20, 0.38), rgba(8, 12, 20, 0.78)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=900&q=80") center/cover;
    display: flex;
    align-items: end;
    padding: 28px;
}

.portrait-caption {
    width: 100%;
    padding: 22px;
    border-radius: 22px;
    background: rgba(7, 11, 19, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.portrait-caption b {
    display: block;
    font-size: 21px;
    margin-bottom: 3px;
}

.portrait-caption span {
    color: var(--muted);
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 17px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1b1208;
    background: var(--gold);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta {
    padding: 42px 0 96px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 52px;
    background: linear-gradient(135deg, rgba(216, 173, 95, 0.22), rgba(122, 31, 42, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(216, 173, 95, 0.22);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-box::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(216, 173, 95, 0.14);
}

.cta-box h2 {
    margin-bottom: 10px;
}

.cta-box p {
    color: var(--muted);
    max-width: 680px;
}

.contact {
    background: #070b13;
    padding-bottom: 42px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

.contact-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-list {
    display: grid;
    gap: 14px;
    color: var(--muted);
}

.contact-list a, .contact-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list b {
    color: var(--text);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

input, textarea, select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-radius: 16px;
    padding: 16px 18px;
    font: inherit;
    outline: none;
    transition: 0.2s ease;
}

select option {
    color: #111827;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(216, 173, 95, 0.55);
    box-shadow: 0 0 0 4px rgba(216, 173, 95, 0.08);
}

textarea {
    min-height: 132px;
    resize: vertical;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #07110b;
    font-size: 27px;
    box-shadow: 0 18px 44px rgba(37, 211, 102, 0.34);
    font-weight: 900;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .law-card {
        min-height: auto;
    }

    .law-card-inner {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    .top-line .container {
        flex-direction: column;
        gap: 4px;
    }

    .hero {
        padding: 56px 0 52px;
    }

    .hero-actions,
    .cta-box,
    .footer .container {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-row,
    .services-grid,
    .features-grid,
    .steps-grid,
    .input-row {
        grid-template-columns: 1fr;
    }

    section {
        padding: 62px 0;
    }

    .law-card,
    .portrait,
    .cta-box {
        border-radius: 26px;
        padding: 18px;
    }

    .law-card-inner,
    .portrait-placeholder {
        min-height: 420px;
        padding: 20px;
    }

    .cta-box {
        padding: 32px 22px;
    }

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