/* ==========================================================================
   Procedures section (loads on /procedures/ and all procedure sub-pages)
   The shared `svc-` hero / split / intro / related patterns live in main.css.
   This file holds the procedure-page sections: steps, point lists, benefits,
   team, FAQ, story and quote. (The page CTA is global — it lives in the footer.)
   ========================================================================== */

/* ---- Steps (How a dental implant works) ---------------------------------- */
.svc-steps {
    background-color: var(--color-white);
}

.svc-steps__intro {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 56px;
    text-align: center;
}

.svc-steps__title {
    margin: 0 0 0.5em;
    color: var(--color-navy);
}

.svc-steps__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.svc-step {
    position: relative;
    padding-top: 24px;
    border-top: 3px solid var(--color-gold);
}

.svc-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    background-color: var(--color-navy);
    border-radius: 50%;
}

.svc-step__title {
    margin: 0 0 0.5em;
    font-size: clamp(20px, 1.8vw, 24px);
    color: var(--color-navy);
}

@media (max-width: 900px) {
    .svc-steps__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
}

@media (max-width: 520px) {
    .svc-steps__list {
        grid-template-columns: 1fr;
    }
}

/* Text-only hero (e.g. Cost page): centre the CTA buttons under the centred
   page-hero copy. The dark navy background suits the secondary + outline pair. */
.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 32px;
}

/* Video hero: center the 16:9 frame vertically instead of stretching it to the
   full column height (which pins the video to the top). The svc-split grid's
   align-items: center then centres the frame. */
.svc-hero__media:has(.video-frame) {
    height: auto;
}

/* ---- Figure grid (illustrated process diagrams) ------------------------- */
.svc-figures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.svc-figure {
    margin: 0;
    text-align: center;
}

.svc-figure__image {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.svc-figure__caption {
    margin: 0.6em 0 0;
    font-weight: 700;
    color: var(--color-navy);
}

@media (max-width: 640px) {
    .svc-figures {
        grid-template-columns: 1fr;
    }
}

/* ---- Video card grid (tooth replacement options) ------------------------ */
.svc-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(32px, 4vw, 48px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.svc-video-card__title {
    margin: 0 0 0.6em;
    font-size: clamp(20px, 1.8vw, 24px);
    color: var(--color-navy);
}

/* Image stand-in for options without a video — matches the 16:9 video frame. */
.svc-video-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.svc-video-card__text {
    margin: 0.9em 0 0;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .svc-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Team effort callout ------------------------------------------------- */
.svc-team {
    background-color: var(--color-cream);
}

.svc-team__card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background-color: var(--color-white);
    border-top: 4px solid var(--color-gold);
    box-shadow: var(--shadow-card);
}

/* No image supplied — let the content span the full card width. */
.svc-team__card--full {
    grid-template-columns: 1fr;
}

.svc-team__media {
    position: relative;
    min-height: 100%;
}

.svc-team__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-team__content {
    padding: clamp(32px, 4vw, 48px);
}

.svc-team__title {
    margin: 0 0 0.6em;
    color: var(--color-navy);
}

.svc-team__text {
    margin: 0 0 1.6em;
    color: var(--color-text);
}

.svc-team__text a {
    font-weight: 600;
    color: var(--color-gold-dark);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base) ease;
}

.svc-team__text a:hover,
.svc-team__text a:focus-visible {
    border-bottom-color: var(--color-gold-dark);
}

@media (max-width: 768px) {
    .svc-team__card {
        grid-template-columns: 1fr;
    }
}

/* ---- Patient story (video + quote) --------------------------------------- */
.svc-story {
    overflow: clip;
    background-color: var(--color-white);
}

.svc-story__media {
    align-self: stretch;
}

.svc-story__content {
    align-self: center;
}

.svc-story__content .eyebrow {
    margin-bottom: 0.7em;
}

.svc-story__title {
    margin: 0 0 0.6em;
    color: var(--color-navy);
}

.svc-quote {
    margin: 0;
}

.svc-quote__text {
    margin: 0 0 0.8em;
    font-family: var(--font-secondary);
    font-size: clamp(18px, 1.8vw, 22px);
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
}

@media (max-width: 900px) {
    .svc-story__content {
        padding-block: var(--section-padding-block);
        padding-inline: 0;
    }
}

.svc-points h2,
.svc-benefits__content h2 {
    margin: 0 0 0.8em;
    color: var(--color-navy);
}

/* Benefits: image beside the checklist (reuses the global svc-split grid). */
.svc-benefits__inner {
    gap: 30px clamp(40px, 6vw, 72px);
    align-items: center;
}

.svc-benefits__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.svc-checklist {
    display: grid;
    gap: 0.7em;
    padding: 0;
    margin: 0;
    list-style: none;
}

.svc-checklist li {
    position: relative;
    padding-left: 1.9em;
    color: var(--color-text);
}

/* Gold check marker. */
.svc-checklist li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-gold-dark);
    content: "\2713";
}

/* The why-choose card reuses the checklist between its text and button. */
.svc-team__content .svc-checklist {
    margin: 0 0 1.6em;
}

/* Plain bulleted list for instruction / post-op content (diet examples, warning
   signs) where a checkmark would read as a "do this" step. Gold marker keeps it
   on-brand. */
.svc-list {
    display: grid;
    gap: 0.55em;
    padding-left: 1.3em;
    margin: 0;
    color: var(--color-text);
}

.svc-list li::marker {
    color: var(--color-gold-dark);
}

/* ---- FAQ ---------------------------------------------------------------- */
.svc-faq__intro {
    margin-bottom: clamp(28px, 3.5vw, 44px);
    text-align: center;
}

.svc-faq__intro h2 {
    margin: 0;
    color: var(--color-navy);
}

.svc-faq__item {
    padding-block: clamp(20px, 2.4vw, 28px);
    border-top: 1px solid var(--color-cream);
}

.svc-faq__item:last-child {
    border-bottom: 1px solid var(--color-cream);
}

.svc-faq__item h3 {
    margin: 0 0 0.4em;
    font-size: clamp(20px, 1.8vw, 24px);
    color: var(--color-navy);
}
