/* Expert Quote — centered H2 headline + boxed white card on muted grey section */
.expert-quote {
    padding: var(--section-padding-mobile);
    background: var(--color-bg-muted);
    width: 100%;
    position: relative;
}
@media (min-width: 992px) {
    .expert-quote { padding: var(--section-padding); }
}

/* Section headline — sits above the card */
.expert-quote__headline {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    line-height: var(--line-height-heading);
    text-align: center;
    margin: 0 auto 40px;
    max-width: 820px;
}

/* The card */
.expert-quote__card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 24px 60px rgba(15,31,61,0.08);
    max-width: 1040px;
    margin: 0 auto;
}
/* Teal accent bar on the left edge */
.expert-quote__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--color-secondary);
}
@media (min-width: 992px) {
    .expert-quote__card { padding: 56px 64px; }
}

/* Two-col grid inside the card */
.expert-quote__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) {
    .expert-quote__inner {
        grid-template-columns: 1fr 200px;
        gap: 48px;
    }
}

/* Quote content */
.expert-quote__mark {
    display: block;
    font-size: 96px;
    line-height: 0.6;
    color: var(--color-secondary);
    opacity: 0.25;
    font-family: Georgia, serif;
    margin: -8px 0 16px;
    user-select: none;
}

.expert-quote__text {
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.65;
    margin: 0 0 28px;
}

.expert-quote__attribution {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.expert-quote__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
}
.expert-quote__role {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    margin: 0;
}

/* Portrait */
.expert-quote__photo-wrap {
    display: flex;
    justify-content: center;
}
.expert-quote__photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-dark);
    flex-shrink: 0;
    box-shadow: 0 16px 40px rgba(15,31,61,0.18);
    border: 6px solid var(--color-bg);
}
.expert-quote__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.expert-quote__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .expert-quote__card { padding: 40px 24px; }
    .expert-quote__inner { text-align: center; }
    .expert-quote__mark { text-align: left; }
    .expert-quote__attribution {
        align-items: center;
        text-align: center;
    }
    .expert-quote__photo { width: 140px; height: 140px; }
}

/* ============================================================
   SERVICE-TEMPLATE VARIANT  (expert-quote--svc)
   Dark teal-tinted background, no card wrapper, quote directly
   on the section. Completely different feel from the default.
   ============================================================ */
.expert-quote--svc {
    background: #071e2e;
    position: relative;
    overflow: hidden;
}

/* Teal glow top-right, orange glow bottom-left */
.expert-quote--svc::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(46,196,182,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.expert-quote--svc::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(232,75,26,0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* Section headline — white on dark */
.expert-quote--svc .expert-quote__headline {
    color: #fff;
}

/* Card — raised dark rectangle that pops off the section */
.expert-quote--svc .expert-quote__card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(46,196,182,0.22);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 40px rgba(46,196,182,0.07);
    max-width: 960px;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px) {
    .expert-quote--svc .expert-quote__card { padding: 56px 64px; }
}
/* Restore teal left-edge bar */
.expert-quote--svc .expert-quote__card::before {
    display: block;
    background: var(--color-secondary);
}

/* Quote mark — large teal, full opacity */
.expert-quote--svc .expert-quote__mark {
    color: var(--color-secondary);
    opacity: 1;
    font-size: 120px;
}

/* Quote text — white, slightly larger */
.expert-quote--svc .expert-quote__text {
    color: rgba(255,255,255,0.92);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 400;
    font-style: italic;
}

/* Attribution — teal name, muted role */
.expert-quote--svc .expert-quote__attribution {
    border-top-color: rgba(255,255,255,0.12);
    padding-top: 24px;
}
.expert-quote--svc .expert-quote__name {
    color: var(--color-secondary);
}
.expert-quote--svc .expert-quote__role {
    color: rgba(255,255,255,0.55);
}

/* Portrait — teal ring instead of white border */
.expert-quote--svc .expert-quote__photo {
    border-color: var(--color-secondary);
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(46,196,182,0.15), 0 16px 40px rgba(0,0,0,0.4);
}

/* Mobile */
@media (max-width: 767px) {
    .expert-quote--svc .expert-quote__card { padding: 0; }
}
