/* ============================================================
   LAWYER TEMPLATE — THEME STYLES
   ============================================================ */

/* ---- NAVIGATION ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.35s ease;
}

.nav--scrolled {
    background: rgba(26, 39, 68, 0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav__brand-icon {
    font-size: 1.5rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav__links a:hover {
    color: #ffffff;
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav__cta:hover {
    color: #fff;
}

.nav__cta-icon {
    font-size: 1.1rem;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--brand-color) 0%, #0d1a30 50%, #0a1628 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative geometric accent */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s forwards;
}

.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s 1s forwards;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.hero__stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---- PRACTICE AREAS ---- */
.practice__header {
    text-align: center;
    margin-bottom: 56px;
}

.practice__header .section-subtitle {
    margin: 0 auto;
}

.practice__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.practice__card {
    background: #ffffff;
    border: 1px solid #eaeaf0;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.practice__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.practice__card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.practice__card:hover::before {
    transform: scaleX(1);
}

.practice__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.06), rgba(26, 39, 68, 0.02));
    border-radius: 12px;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.practice__card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 10px;
}

.practice__card-desc {
    font-size: 0.92rem;
    color: #5a5a7a;
    line-height: 1.7;
    margin-bottom: 16px;
}

.practice__card-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: gap 0.2s ease;
}

.practice__card-link:hover {
    color: var(--brand-color);
}


/* ---- ABOUT ---- */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
}

.about__text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.about__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--brand-color);
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.about__visual {
    display: flex;
    justify-content: center;
}

.about__visual-card {
    width: 320px;
    height: 380px;
    border-radius: 16px;
    background:
        linear-gradient(160deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.02) 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about__visual-card::before {
    content: '⚖️';
    font-size: 6rem;
    opacity: 0.15;
    position: absolute;
    top: 40px;
}

.about__visual-badge {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about__visual-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.about__visual-badge-text {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}


/* ---- TESTIMONIALS ---- */
.testimonials__header {
    text-align: center;
    margin-bottom: 56px;
}

.testimonials__header .section-subtitle {
    margin: 0 auto;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonials__card {
    background: #ffffff;
    border: 1px solid #eaeaf0;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.35s ease;
}

.testimonials__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.testimonials__card-stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonials__card-quote {
    font-size: 0.95rem;
    color: #3a3a5a;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonials__card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials__card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonials__card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
}

.testimonials__card-title {
    font-size: 0.82rem;
    color: #8a8aa0;
}


/* ---- CONTACT ---- */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__detail a {
    color: var(--accent-color);
    transition: opacity 0.2s ease;
}

.contact__detail a:hover {
    opacity: 0.8;
}

.contact__form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(8px);
}

.contact__form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.contact__form-group {
    margin-bottom: 16px;
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact__input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

select.contact__input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.contact__input option {
    background: var(--brand-color);
    color: #fff;
}

textarea.contact__input {
    resize: vertical;
    min-height: 100px;
}

.contact__submit {
    width: 100%;
    margin-top: 8px;
    font-size: 1.05rem;
    padding: 16px;
}

.contact__form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
}


/* ---- FOOTER ---- */
.footer {
    background: #0d1322;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

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

.footer__brand-icon {
    font-size: 1.8rem;
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer__brand-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer__links a,
.footer__contact a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--accent-color);
}

.footer__contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer__social-links {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--accent-color);
    color: var(--brand-color);
    border-color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__disclaimer {
    line-height: 1.6;
    max-width: 800px;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__visual {
        display: none;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {

    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__links--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 39, 68, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero__content {
        padding-top: 120px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
    }

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

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

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

    .contact__form-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}