/* ----------------------------------------------------------
   ABOUT PAGE — STATS
---------------------------------------------------------- */

.stats-section {
    background: #1a1a1a;
    color: #fff;
    padding: 5rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat-card {
    transition: transform 0.35s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card:hover .stat-number {
    color: #e5c491;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #d4af7a;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.stats-legend {
    text-align: center;
    max-width: 1100px;
    margin: 2.2rem auto 0;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.45);
}

/* ----------------------------------------------------------
   ABOUT PAGE — AGENT CAROUSEL
---------------------------------------------------------- */

.carousel-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.agent-carousel {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0.2rem 1.5rem 0.2rem;
    scrollbar-width: none;
}

.agent-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    z-index: 20;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-arrow:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-prev {
    left: 0;
}

.carousel-arrow-next {
    right: 0;
}

@media (max-width: 700px) {
    .carousel-wrapper {
        padding: 0;
    }

    .carousel-arrow {
        display: none;
    }

    .agent-carousel {
        scrollbar-width: thin;
    }

    .agent-carousel::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .agent-carousel::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.15);
        border-radius: 3px;
    }
}

.carousel-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
    opacity: 1;
}

.carousel-card-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eee;
}

.carousel-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
}

.carousel-card-info {
    padding: 0.9rem 1rem 1.1rem 1rem;
    text-align: center;
}

.carousel-card-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.carousel-card-info p {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b08d57;
    font-weight: 600;
}

.carousel-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   ABOUT PAGE — DUAL CTA
---------------------------------------------------------- */

.about-cta-section {
    text-align: center;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ----------------------------------------------------------
   AREAS OF EXPERTISE TILES
---------------------------------------------------------- */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.expertise-tile {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.expertise-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.14);
}

/* Golden-ratio framed image (source images are already ~1.618:1) */
.expertise-tile-image {
    aspect-ratio: 1.618 / 1;
    overflow: hidden;
}

.expertise-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-tile:hover .expertise-tile-image img {
    transform: scale(1.05);
}

.expertise-tile-info {
    padding: 2rem 2.2rem 2.4rem 2.2rem;
}

.expertise-tile-info h3 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
}

.expertise-tile-info p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

/* ----------------------------------------------------------
   GET MORE INFORMATION — embedded HAR lead form
---------------------------------------------------------- */

.har-embed-frame-form {
    height: 620px;
}

@media (max-width: 700px) {
    .har-embed-frame-form {
        height: 560px;
    }

    .stats-section {
        padding: 2.8rem 1.5rem;
    }

    .stats-grid {
        gap: 1.6rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .expertise-tile-info {
        padding: 1.6rem 1.6rem 2rem 1.6rem;
    }
}
