/* Patine Law Offices — UI/UX refinement layer */
:root {
    --patine-ink: #13231f;
    --patine-green: #173c32;
    --patine-green-deep: #0d2b24;
    --patine-gold: #b4934e;
    --patine-gold-soft: #d6bd82;
    --patine-cream: #f6f3ec;
    --patine-paper: #fffdfa;
    --patine-text: #3f4a46;
    --patine-muted: #6d7773;
    --patine-line: rgba(23, 60, 50, 0.14);
    --patine-shadow: 0 20px 55px rgba(13, 43, 36, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--patine-text);
    background: var(--patine-paper);
    font-family: "Cardo", Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body::selection {
    color: #fff;
    background: var(--patine-gold);
}

p {
    color: var(--patine-text);
    font-size: 17px;
    line-height: 1.8;
}

a,
button {
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

a:focus,
button:focus,
.navbar-toggle:focus {
    outline: 3px solid rgba(214, 189, 130, .78);
    outline-offset: 4px;
}

img {
    max-width: 100%;
}

.container {
    width: min(1170px, calc(100% - 40px));
}

/* Header and navigation */
.header-area {
    position: relative;
    z-index: 99999;
}

#main-menu,
#main-menu.stick {
    background: linear-gradient(180deg, rgba(8, 25, 21, .96), rgba(8, 25, 21, .86));
    border-bottom: 1px solid rgba(214, 189, 130, .28);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
    padding: 17px 0;
}

#main-menu {
    position: absolute;
}

#main-menu.stick {
    position: fixed;
    backdrop-filter: blur(14px);
}

.navbar-brand,
.stick .navbar-brand {
    display: flex;
    width: 176px;
    height: auto;
    align-items: center;
}

.navbar-brand img,
.stick .navbar-brand img {
    width: 100%;
    max-width: 176px;
}

.stiky-logo {
    display: none;
}

.main-menu,
.stick .main-menu {
    padding-top: 9px !important;
}

.main-menu li {
    padding-right: 18px;
}

.main-menu li:last-child {
    padding-right: 0;
}

.main-menu li a {
    color: rgba(255, 255, 255, .88);
    font-family: "Cinzel", Georgia, serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .035em;
    white-space: nowrap;
}

.main-menu nav ul li a::before {
    bottom: -11px;
    height: 2px;
    width: 26px;
    background: var(--patine-gold-soft);
}

.main-menu nav ul li.active a,
.main-menu nav ul li a:hover {
    color: var(--patine-gold-soft);
}

/* Hero and inner banners */
.other-page-banner_home,
.other-page-banner,
.other-page-banner-connact,
.other-page-banner-awards,
.other-page-banner-expertise,
.core-team-banner {
    position: relative;
    isolation: isolate;
    background-position: center !important;
    background-size: cover !important;
}

.other-page-banner_home::before,
.other-page-banner::before,
.other-page-banner-connact::before,
.other-page-banner-awards::before,
.other-page-banner-expertise::before,
.core-team-banner::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(7, 24, 20, .88) 0%, rgba(7, 24, 20, .55) 47%, rgba(7, 24, 20, .22) 100%);
}

.other-page-banner_home {
    height: min(700px, 86vh);
    min-height: 560px;
}

.other-page-banner,
.other-page-banner-connact,
.other-page-banner-awards,
.other-page-banner-expertise,
.core-team-banner {
    height: 390px;
    min-height: 390px;
}

.other-page-banner-content,
.other-page-banner-content_home {
    position: relative;
    z-index: 1;
}

.other-page-banner-content_home {
    max-width: 680px;
    margin-top: 120px;
}

.other-page-banner-head_home {
    color: var(--patine-gold-soft);
    border-bottom-color: rgba(255, 255, 255, .42);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: .025em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .32);
}

.other-page-banner-detail_home p {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 2vw, 22px);
    letter-spacing: .08em;
}

.other-page-banner-head {
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: .045em;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}

.other-page-banner-detail {
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.5;
}

.other-page-banner-detail .c-1,
.c-1 {
    color: var(--patine-gold-soft) !important;
}

/* Type and section rhythm */
.section-title > h2,
.lp-border-bottom,
.about_text_head {
    color: var(--patine-ink);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    letter-spacing: .018em;
}

.sub-title {
    color: var(--patine-green);
    line-height: 1.5;
}

.horizontal-line div,
.about-details .horizontal-line div {
    background: var(--patine-gold);
}

.mainaboutsec,
.about-area,
.about-area-style,
.contact-section {
    background: var(--patine-paper);
}

.mainaboutsec,
.about-area {
    padding-top: 72px !important;
    padding-bottom: 90px;
}

.about-area-style {
    padding: 65px 0 85px;
}

.about-details {
    padding-top: 0;
}

.about-details .section-title > h2 {
    margin-top: 0;
}

.about-text p {
    margin: 0 0 20px;
}

.about-img {
    margin: 0;
}

.about-img img {
    width: 100%;
    border-radius: 6px;
    box-shadow: var(--patine-shadow);
}

/* Homepage practice overview */
.mainaboutsec .leftmapimage {
    margin-top: 0;
}

.mainaboutsec .leftmapimage .about-img {
    padding: 22px;
    border: 1px solid var(--patine-line);
    border-radius: 8px;
    background: var(--patine-cream);
}

.mainaboutsec .leftmapimage img {
    width: 100%;
    box-shadow: none;
}

#responsive_about_text {
    margin-top: 24px;
}

#responsive_about_text .right_prac_sec {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 0 12px;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid var(--patine-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(13, 43, 36, .05);
}

#responsive_about_text .right_prac_sec > [class*="col-"] {
    float: none;
    width: auto;
    min-height: 0;
    padding: 0;
}

#responsive_about_text .right_prac_sec .clearfix {
    display: none;
}

#responsive_about_text .right_prac_sec i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--patine-gold);
    border-radius: 50%;
    background: rgba(180, 147, 78, .10);
    font-size: 21px;
}

#responsive_about_text h4 {
    margin: 0;
    color: var(--patine-ink);
    font-size: 16px;
    line-height: 1.35;
}

/* Practice and award cards */
.mainservicearea {
    padding-top: 0 !important;
    padding-bottom: 0;
}

.inner_services_column {
    margin-bottom: 35px;
}

.services-all .mobile_device_column {
    display: flex;
    flex-wrap: wrap;
}

.services-all .service-border {
    padding: 10px;
    border: 0;
}

.services-all .single-service {
    display: flex;
    min-height: 190px;
    height: 100%;
    padding: 34px 24px 28px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--patine-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(13, 43, 36, .06);
}

.services-all .service-border:hover .single-service {
    padding: 34px 24px 28px;
    border-color: var(--patine-green);
    background: var(--patine-green);
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(13, 43, 36, .17);
}

.services-all .single-service h3 {
    color: var(--patine-ink);
    font-family: "Cinzel", Georgia, serif;
    font-size: 17px;
    line-height: 1.45;
}

.services-all .service-border:hover .single-service h3,
.services-all .service-border:hover .single-service p,
.services-all .service-border:hover .unicion {
    color: #fff;
}

.services-all .single-service img {
    width: 100%;
    max-height: 330px;
    margin-bottom: 25px;
    border-radius: 5px;
    object-fit: cover;
}

.services-all .single-service p {
    color: var(--patine-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Contact */
.contact-section {
    padding: 70px 0 85px;
}

.contact-section #left_ck_details,
.contact-section #right_side_form {
    margin-top: 0;
    padding: 0 18px;
}

.contact-section .address-box,
.contact-section .map iframe {
    border: 1px solid var(--patine-line) !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--patine-shadow);
}

.contact-section .address-box {
    min-height: 500px;
    padding: 28px 30px;
}

.contact-section .address-box p {
    margin-bottom: 18px;
    color: var(--patine-gold);
}

.contact-section .address-box p span {
    color: var(--patine-text);
}

.contact-section .map iframe {
    height: 500px;
}

/* Core team */
.core-team-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../images/about-bg.jpg") center / cover no-repeat;
}

.core-team-section {
    padding: 78px 0 95px;
    background: var(--patine-paper);
}

.core-team-intro {
    max-width: 770px;
    margin: 0 auto 48px;
    text-align: center;
}

.core-team-intro h2 {
    margin: 0 0 15px;
    color: var(--patine-ink);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(32px, 4vw, 44px);
    text-transform: uppercase;
}

.core-team-intro p {
    margin: 0;
    color: var(--patine-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
}

.team-card {
    grid-column: span 2;
    overflow: hidden;
    border: 1px solid var(--patine-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(13, 43, 36, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.team-card:nth-last-child(2) {
    grid-column: 2 / span 2;
}

.team-card:hover {
    border-color: rgba(180, 147, 78, .55);
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(13, 43, 36, .14);
}

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--patine-cream);
}

.team-photo::after {
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    content: "";
    background: linear-gradient(transparent, rgba(13, 43, 36, .24));
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.88) contrast(1.03);
    transition: transform .45s ease, filter .45s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.02);
}

.team-card-content {
    position: relative;
    min-height: 134px;
    padding: 24px 25px 26px;
}

.team-card-content::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: 54px;
    height: 3px;
    content: "";
    background: var(--patine-gold);
}

.team-card h3 {
    margin: 0 0 7px;
    color: var(--patine-ink);
    font-family: "Cinzel", Georgia, serif;
    font-size: 19px;
    line-height: 1.4;
}

.team-card p {
    margin: 0;
    color: var(--patine-gold);
    font-size: 15px;
    line-height: 1.45;
}

/* Footer */
#bottomfooter {
    position: relative;
    padding: 65px 0 55px;
    border-top: 1px solid rgba(214, 189, 130, .25);
    background: var(--patine-green-deep);
}

#bottomfooter h6 {
    margin-bottom: 18px;
    color: var(--patine-gold-soft);
    font-family: "Cinzel", Georgia, serif;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#bottomfooter p,
#bottomfooter a,
.officeaddress p,
.contatcdetails a {
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.8;
}

#bottomfooter a:hover {
    color: var(--patine-gold-soft) !important;
}

.footer-logo img {
    width: 170px;
}

.footer-social-icon li a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 189, 130, .35);
    border-radius: 50%;
}

.copyright p {
    margin-top: 14px;
    font-size: 13px !important;
}

#toTop {
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--patine-gold);
    box-shadow: 0 10px 25px rgba(13, 43, 36, .20);
    line-height: 44px;
}

/* Disclaimer */
.modal-dialog {
    width: min(590px, calc(100% - 30px));
}

.mymodelcontent {
    overflow: hidden;
    margin-top: 7vh;
    border: 1px solid rgba(214, 189, 130, .36);
    border-radius: 8px;
    background: var(--patine-green-deep);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .36);
}

.modal-header {
    padding: 16px 0 11px;
}

.modal-title {
    color: var(--patine-gold-soft);
    font-family: "Cinzel", Georgia, serif;
}

.modal-body {
    padding: 8px 30px 18px;
}

.modal-body p {
    color: rgba(255, 255, 255, .82);
    line-height: 1.75;
}

.modal-footer {
    padding: 14px 24px;
}

.agbutton,
.disbutton {
    border-radius: 4px;
}

.agbutton:hover,
.agbutton:focus {
    color: #fff;
    background: var(--patine-gold);
}

@media (max-width: 1199px) {
    .main-menu li {
        padding-right: 14px;
    }

    .main-menu li a {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    #main-menu,
    #main-menu.stick {
        padding: 15px 0;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-brand,
    .stick .navbar-brand {
        width: 160px;
    }

    .stick .navbar-brand img {
        width: 100%;
        max-width: 160px;
    }

    .navbar-toggle,
    .stick .navbar-toggle {
        margin: 7px 0 0 !important;
    }

    .main-menu > nav > ul {
        overflow: hidden;
        margin: 14px 0 0;
        padding: 8px;
        border: 1px solid rgba(214, 189, 130, .24);
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
    }

    .main-menu > nav > ul > li {
        padding: 0;
    }

    .main-menu nav ul li a {
        padding: 10px 12px;
        color: var(--patine-ink);
        font-size: 13px;
    }

    .main-menu nav ul li.active a,
    .main-menu nav ul li a:hover {
        color: var(--patine-green);
        background: var(--patine-cream);
    }

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

    .team-card,
    .team-card:nth-last-child(2) {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .other-page-banner_home {
        height: 600px;
        min-height: 600px;
        background-position: 60% center !important;
    }

    .other-page-banner_home::before {
        background: linear-gradient(90deg, rgba(7, 24, 20, .90), rgba(7, 24, 20, .52));
    }

    .other-page-banner,
    .other-page-banner-connact,
    .other-page-banner-awards,
    .other-page-banner-expertise,
    .core-team-banner {
        height: 330px;
        min-height: 330px;
    }

    .other-page-banner-content_home {
        margin-top: 100px;
    }

    .other-page-banner-head_home {
        font-size: 38px;
    }

    .other-page-banner-content {
        margin-top: 70px;
    }

    .mainaboutsec,
    .about-area,
    .about-area-style,
    .contact-section,
    .core-team-section {
        padding-top: 55px !important;
        padding-bottom: 65px;
    }

    .mainaboutsec .leftmapimage {
        margin-bottom: 42px;
    }

    #responsive_about_text .right_prac_sec {
        grid-template-columns: 40px minmax(0, 1fr);
        row-gap: 12px;
    }

    #responsive_about_text .right_prac_sec > [class*="col-"] {
        text-align: left;
    }

    .services-all .service-border {
        width: 100%;
    }

    .services-all .single-service {
        min-height: 0;
    }

    .contact-section #left_ck_details,
    .contact-section #right_side_form {
        padding: 0;
    }

    .contact-section .address-box {
        min-height: 0;
    }

    .contact-section .map {
        margin-top: 35px;
    }

    .contact-section .map iframe {
        height: 390px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .team-card {
        max-width: 430px;
        margin: 0 auto;
    }

    #bottomfooter {
        padding: 52px 0 40px;
        text-align: center;
    }

    #bottomfooter .officeaddress,
    #bottomfooter .middlefooter,
    #bottomfooter .contatcdetails {
        margin-bottom: 32px;
    }

    .modal-body {
        padding: 6px 20px 14px;
    }

    .modal-body p {
        font-size: 12px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
