/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: #231f20;
    background: #fff;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

/* =========================
   COMMON
========================= */

/* =========================
   HERO SECTION
========================= */
.advisory-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            to right,
            rgba(248, 245, 243, 0.95),
            rgba(248, 245, 243, 0.78)
        ),
        url("https://divorce-hub-3d.preview.static.emergentagent.com/images/advisory-bg.jpg")
            center/cover no-repeat;
            border-bottom:1px solid #d3d3d3;
}
.advisory-hero-container{
    width:1200px;
    margin:0 auto;
}
.advisory-overlay {
    position: absolute;
    inset: 0;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.45), #f2f7f2 87%);
}

.advisory-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-top:50px;
}

.advisory-content h1 {
    margin-top:80px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 0.95;
}

.advisory-content h1 span {
    color: #00a99d;
}

.advisory-content p {
    margin-top: 30px;
    max-width: 550px;
    color: #5b5b5b;
    font-size: 1.3rem;
    line-height: 1.8;
}

.cta-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    background-color:transparent;
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid white;
    font-size:16px;
    transition: all 0.3s ease;
    border:1px solid black;
}
.phone:hover{
    background-color: black;
    color: #FFF;
    border: 1px solid black;
}

.advisory-watermark {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-family: "Cormorant Garamond", serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    user-select: none;
}

/* =========================
   PHILOSOPHY
========================= */
.philosophy-section {
    padding: 120px 100px;
    background: #f7f5f2;
}

.philosophy-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
}

.philosophy-title h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.05;
}

.philosophy-title em {
    font-style: normal;
    font-weight: 700;
}

.philosophy-copy {
    max-width: 650px;
}

.philosophy-copy p {
    margin-bottom: 24px;
    color: rgba(35, 31, 32, 0.75);
    font-size: 1.1rem;
    line-height: 1.9;
}

.philosophy-copy p:last-child {
    margin-bottom: 0;
}

.philosophy-copy strong {
    color: #231f20;
    font-weight: 600;
}

/* Advisor Section */

/* =========================================================
   ADVISOR SECTION
========================================================= */

.advisor-section {
    padding: 100px 20px;
    background: #fff;
}

.advisor-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Header */

.advisor-header {
    margin-bottom: 50px;
}

.advisor-header h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}

.advisor-header em {
    color: #00a499;
    font-style: italic;
}


/* =========================================================
   ADVISOR GRID
========================================================= */

.grid-card-personal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

/* =========================================================
   ADVISOR CARD
========================================================= */

.advisor-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 35px;
    align-items: center;

    padding: 30px;
    background: #DCEDEB;
    border: 1px solid #00A297;
    border-radius: 16px;
    margin-top: 20px;

    min-width: 0;
}

/* =========================================================
   LEFT - IMAGE
========================================================= */

.advisor-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.advisor-left img {
    display: block;
    width: 170px;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

/* =========================================================
   CENTER - INFORMATION
========================================================= */

.advisor-center {
    min-width: 0;
}

.advisor-center h3 {
    margin: 0 0 12px;
    color: #00A499;
    font-size: 20px;
    line-height: 1.3;
}

/* Company / Firm Name */

.advisor-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.review-count {
    color: #00A499;
    font-size: 14px;
}

/* =========================================================
   MAIL & CALL LINKS
========================================================= */

.mail-link, .call-link  {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}



.mail-link:hover {
    color: #008B81;
    text-decoration: underline;
}

.call-link:hover {
    color: #008B81;
    text-decoration: underline;
}

/* =========================================================
   ADDRESS
========================================================= */

.advisor-description {
    max-width: 650px;
    margin: 4px 0 8px;

    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   WEBSITE
========================================================= */

.advisor-website {
    display: inline-block;

    color: #00A499;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
    transition: color 0.2s ease;
}

.advisor-website:hover {
    color: #008B81;
    text-decoration: underline;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .grid-card-personal {
        grid-template-columns: 1fr;
        gap:0;
    }

    .advisor-card {
        grid-template-columns: 160px minmax(0, 1fr);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .grid-card-personal {
        grid-template-columns: 1fr;
     
    }

    .advisor-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
        text-align: center;
    }

    .advisor-left img {
        width: 220px;
        height: 290px;
    }

    .advisor-center h3 {
        font-size: 18px;
    }

    .advisor-rating {
        justify-content: center;
    }

    .mail-link,
    .call-link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .advisor-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .advisor-website {
        display: block;
        text-align: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .advisor-card {
        padding: 20px 15px;
    }

    .advisor-left img {
        width: 190px;
        height: 250px;
    }
}



.list {
    max-width: 1000px;
    margin: 0 0 0 19px;
    color: #555;
}

.list li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;
    list-style-type: disc;
}

.list li::marker {
    color: #00A499;
}

/* =========================
   RESOURCES
========================= */
.resources-section {
    padding: 120px 100px;
    background: #f7f5f2;
}

.resources-container {
    max-width: 1400px;
    margin: auto;
}

.resources-header {
    display: grid;
    grid-template-columns: 1fr 570px;
    gap: 80px;
    align-items: end;
}

.resources-title h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.05;
}

.resources-title em {
    font-style: normal;
    font-weight: 700;
}

.resources-description {
    color: rgba(35, 31, 32, 0.75);
    font-size: 1.1rem;
    line-height: 1.9;
}

.resource-grid {
    margin-top: 70px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(35, 31, 32, 0.08);
}

.resource-card {
    min-height: 220px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    background: #efefed;
    border-right: 1px solid rgba(35, 31, 32, 0.08);
    border-bottom: 1px solid rgba(35, 31, 32, 0.08);
    transition: 0.3s ease;
}

.resource-card:hover {
    background: #fff;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status,
.number {
    color: #9aa0a6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.resource-card h3 {
    margin-top: 35px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #231f20;
    transition: 0.3s ease;
}

.resource-card:hover h3 {
    color: #00a99d;
}

.line {
    width: 60px;
    height: 1px;
    margin-top: 35px;
    background: #00a99d;
    transition: width 0.3s ease;
}

.resource-card:hover .line {
    width: 100px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .philosophy-section,
    .advisor-section,
    .resources-section {
        padding-inline: 60px;
    }

    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .advisory-hero{
        padding:135px 0 60px;
    }
    .advisory-content {
        margin: 0 40px;
    }

    .advisory-content h1 {
        font-size: 1.8rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .advisor-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .advisor-item {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .advisor-photo {
        max-width: 320px;
    }

    .advisory-watermark {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .philosophy-section,
    .advisor-section,
    .resources-section {
        padding: 70px 20px;
    }

    .advisory-content {
        margin: 0 20px;
    }

    .advisory-content h1{
        font-size:1.5rem;
    }
    .philosophy-title h2,
    .advisor-header h2,
    .resources-title h2 {
        font-size: 2.2rem;
    }

    .advisory-content p,
    .resources-description,
    .philosophy-copy p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .cta-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .consult-btn {
        justify-content: center;
    }

    .advisor-item {
        padding: 25px;
    }

    .advisor-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        min-height: 180px;
        padding: 25px;
    }

    .advisory-watermark {
        font-size: 4rem;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .advisory-content h1 {
        font-size: 1.1rem;
        margin-top:40px;
    }

    .philosophy-title h2,
    .advisor-header h2,
    .resources-title h2 {
        font-size: 1.7rem;
    }

    .resource-card h3 {
        font-size: 1.25rem;
    }

    .advisor-details h3 {
        font-size: 1.7rem;
    }
}