/* ===================== ABOUT PAGE ===================== */
.about-page,
.about-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.about-page {
    --cream: #f6f1e7;
    --paper: #fbf8f2;
    --ink: #202733;
    --ink-soft: #465065;
    --brass: #a9822f;
    --brass-light: #cba757;
    --line: rgba(32, 39, 51, 0.14);
    --line-light: rgba(255, 255, 255, 0.14);

    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.about-page h1,
.about-page h2,
.about-page h3 {
    font-family: "Source Serif 4", Georgia, serif;
}

.about-page a {
    text-decoration: none;
    color: inherit;
}

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

.about-page .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===================== TOP BAR ===================== */
.about-page .top-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--brass) 0%, var(--brass-light) 50%, var(--brass) 100%);
    width: 100%;
}

/* ===================== HERO ===================== */
.about-page .hero-section {
    position: relative;
    background: url("/img/referral-services.jpeg") center 25% / cover no-repeat, var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 96px 0 0;
}

.about-page .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 24, 32, 0.94) 0%, rgba(20, 24, 32, 0.86) 45%, rgba(20, 24, 32, 0.55) 100%),
        radial-gradient(circle at 85% 20%, rgba(203, 167, 87, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(203, 167, 87, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-page .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: end;
    padding-bottom: 70px;
}

.about-page .hero-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
    margin-bottom: 26px;
}

.about-page .hero-crumb .crumb-current {
    color: var(--brass-light);
    font-weight: 600;
}

.about-page .hero-crumb .crumb-sep {
    color: rgba(255, 255, 255, 0.25);
}

.about-page .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brass-light);
    margin-bottom: 20px;
}

.about-page .hero-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brass-light);
}

.about-page .hero-heading {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.4px;
}

.about-page .hero-heading em {
    font-style: normal;
    color: var(--brass-light);
}

.about-page .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.about-page .hero-badge {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line-light);
    padding: 8px 16px;
    border-radius: 999px;
}

.about-page .hero-info-card {
    background: var(--paper);
    color: var(--ink);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.55);
}

.about-page .hero-info-card .rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.about-page .hero-info-card .stars {
    color: var(--brass);
    font-size: 1rem;
    letter-spacing: 2px;
}

.about-page .hero-info-card .rating-text {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.about-page .hero-info-card .rating-text strong {
    color: var(--ink);
}

.about-page .hero-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.about-page .hero-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-page .hero-info-list .icon {
    color: var(--brass);
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

.about-page .hero-info-list span {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ===================== VALUES STRIP ===================== */
.about-page .values-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.about-page .value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 32px;
    border-left: 1px solid var(--line);
}

.about-page .value-item:first-child {
    border-left: none;
    padding-left: 0;
}

.about-page .value-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-page .value-icon svg {
    width: 19px;
    height: 19px;
    color: var(--brass);
}

.about-page .value-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.about-page .value-item p {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

/* ===================== OVERVIEW ===================== */
.about-page .overview-section {
    padding: 30px 0;
}

.about-page .overview-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-page .overview-copy {
    position: relative;
}

.about-page .overview-index {
    font-family: "Source Serif 4", serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brass);
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.about-page .overview-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 16px;
}

.about-page .overview-heading {
    font-size: 2.15rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-page .overview-copy p.body-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 54ch;
    padding-left: 20px;
    border-left: 2px solid var(--brass);
}

.about-page .overview-photo-frame {
    position: relative;
}

.about-page .overview-photo {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    background: linear-gradient(135deg, #d8d0bd 0%, #b6ab94 55%, #948a75 100%);
    overflow: hidden;
    box-shadow: 0 24px 48px -20px rgba(32, 39, 51, 0.35);
}

.about-page .overview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* ===================== CONSULTATION (floating card) ===================== */
.about-page .consult-section {
    padding: 0 0 30px;
}

.about-page .consult-card {
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 40px 70px -30px rgba(32, 39, 51, 0.45);
    overflow: hidden;
    position: relative;
}

.about-page .consult-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(203, 167, 87, 0.14) 0%, transparent 60%);
    pointer-events: none;
}

.about-page .consult-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    padding: 40px;
}

.about-page .consult-intro .rule {
    width: 3px;
    height: 34px;
    background: var(--brass-light);
    margin-bottom: 16px;
}

.about-page .consult-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--brass-light);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.about-page .consult-heading {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-page .consult-icon {
    width: 52px;
    height: 52px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.about-page .consult-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brass-light);
}

.about-page .consult-intro p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 34ch;
}

.about-page .consult-status {
    grid-column: 1 / -1;
    color: #cfe8d8;
    background: rgba(56, 142, 90, 0.18);
    border: 1px solid rgba(56, 142, 90, 0.4);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.about-page .consult-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.about-page .consult-form-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-page .consult-form input,
.about-page .consult-form select,
.about-page .consult-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-bottom: 1px solid var(--line-light);
    padding: 12px 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    border-radius: 3px 3px 0 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.about-page .consult-form input:focus,
.about-page .consult-form select:focus,
.about-page .consult-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brass-light);
}

.about-page .consult-form input::placeholder,
.about-page .consult-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.about-page .consult-form select {
    appearance: none;
    color: rgba(255, 255, 255, 0.75);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a9822f' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.about-page .consult-form select option {
    color: #1a1a1a;
}

.about-page .consult-form textarea {
    height: 100%;
    min-height: 178px;
    resize: none;
    border: 1px solid var(--line-light);
    border-radius: 3px;
    padding: 14px;
}

.about-page .consult-submit-row {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.about-page .consult-error {
    display: block;
    color: #f3b6b6;
    font-size: 0.78rem;
    margin-top: 4px;
}

.about-page .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brass);
    color: #fff;
    border: none;
    padding: 15px 32px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.about-page .btn-submit:hover {
    background: #8f6a26;
    transform: translateY(-1px);
}

.about-page .btn-submit svg {
    width: 14px;
    height: 14px;
}

/* ===================== LEGAL TEAM ===================== */
.about-page .team-section {
    padding: 0 0 30px;
}

.about-page .section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.about-page .section-heading-row .overview-label {
    margin-bottom: 10px;
}

.about-page .team-heading,
.about-page .map-heading {
    font-size: 2.1rem;
    font-weight: 500;
}

.about-page .team-count {
    color: var(--ink-soft);
    font-size: 0.85rem;
    padding-bottom: 6px;
}

.about-page .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-page .team-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.about-page .team-card:hover {
    box-shadow: 0 30px 50px -26px rgba(32, 39, 51, 0.32);
    transform: translateY(-6px);
    border-color: var(--brass-light);
}

.about-page .team-avatar {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, #e2dccc 0%, #c2b89f 100%);
    overflow: hidden;
}

.about-page .team-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 39, 51, 0) 60%, rgba(32, 39, 51, 0.35) 100%);
    pointer-events: none;
}

.about-page .team-avatar .bust {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 62%;
    height: 82%;
    background: var(--ink);
    opacity: 0.78;
    border-radius: 50% 50% 0 0 / 28% 28% 0 0;
}

.about-page .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

.about-page .team-card:hover .team-avatar img {
    transform: scale(1.07);
}

.about-page .team-info {
    padding: 22px 26px 28px;
    border-top: 3px solid var(--brass);
}

.about-page .team-info .team-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.about-page .team-info .team-title {
    font-size: 0.85rem;
    color: var(--brass);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ===================== MAP ===================== */
.about-page .map-section {
    padding: 0 0 60px;
}

.about-page .office-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
}

.about-page .office-photo {
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.about-page .office-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.about-page .map-frame {
    position: relative;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.about-page .map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ===================== CTA BANNER ===================== */
.about-page .cta-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #14181f 100%);
    color: #fff;
}

.about-page .cta-inner {
    padding: 56px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.about-page .cta-inner h3 {
    font-size: 1.6rem;
    font-weight: 500;
}

.about-page .cta-inner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-top: 6px;
}

.about-page .cta-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brass);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 15px 28px;
    border-radius: 4px;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.about-page .cta-call:hover {
    transform: translateY(-2px);
}

.about-page .cta-call svg {
    width: 15px;
    height: 15px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .about-page .hero-inner {
        grid-template-columns: 1fr;
    }

    .about-page .values-grid {
        grid-template-columns: 1fr;
    }

    .about-page .value-item {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid var(--line);
        padding-top: 26px;
    }

    .about-page .value-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    .about-page .overview-grid {
        grid-template-columns: 1fr;
    }

    .about-page .overview-photo-frame {
        max-width: 520px;
    }

    .about-page .office-grid {
        grid-template-columns: 1fr;
    }

    .about-page .consult-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 44px;
    }

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

@media (max-width: 640px) {

    .about-page .hero-heading,
    .about-page .team-heading,
    .about-page .map-heading {
        font-size: 1.7rem;
    }

    .about-page .overview-heading {
        font-size: 1.6rem;
    }

    .about-page .consult-heading {
        font-size: 1.5rem;
    }

    .about-page .consult-grid {
        padding: 30px;
    }

    .about-page .consult-form {
        grid-template-columns: 1fr;
    }

    .about-page .team-grid {
        grid-template-columns: 1fr;
    }

    .about-page .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}