/* ── new-home.css design tokens ──
   All brand colors are mapped from the project's global variables
   defined in style.css (:root). Change --primary-color there and
   every rcf-* component will update automatically.
*/
:root {
    /* Brand — aliased from project root in style.css */
    --rcf-green: var(--primary-color);
    /* #D54447 */
    --rcf-green-mid: color-mix(in srgb, var(--primary-color) 80%, #000);
    --rcf-green-light: color-mix(in srgb, var(--primary-color) 10%, #fff);

    /* Accent */
    --rcf-amber: #c87a1a;
    --rcf-amber-light: #fef6ec;

    /* Text */
    --rcf-text: var(--textcolor);
    /* #212121 */
    --rcf-text-2: #4a4a4a;
    --rcf-text-3: var(--textcolorlight);
    /* #969696 */

    /* Surfaces */
    --rcf-bg: var(--white);
    /* #FFF */
    --rcf-bg-2: #f7f9f8;
    --rcf-border: rgba(0, 0, 0, 0.08);

    /* Shape */
    --rcf-radius: 12px;
    --rcf-radius-sm: 8px;
    --max-w: 1100px;
}

/* ── page-level layout ── */
.rcf-section {
    max-width: var(--max-w);
    margin: 0 auto 64px;
    padding: 0 16px;
}

/* ── COUNTER ROW ── */
.rcf-counter-row {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-evenly;
    gap: 0;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--rcf-border);
    margin-bottom: 25px;
}

.rcf-counter-item {
    flex: 1 1 140px;
    text-align: center;
    padding: 16px 8px;
    border-right: 1px solid var(--rcf-green);
    background-color: var(--rcf-green-light);
}

.rcf-counter-item:last-child {
    border-right: none;
}

.rcf-counter-num {
    font-size: 50px !important;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1 !important;
    letter-spacing: -0.5px;
    word-break: break-word;
    font-family: var(--lightfont);
}

.rcf-counter-label {
    font-size: 15px;
    color: var(--rcf-text-3);
    margin-top: 6px;
    line-height: 30px;
}

@media(max-width:640px) {
    .rcf-counter-item {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid var(--rcf-border);
    }

    .rcf-counter-item:nth-child(odd) {
        border-right: 1px solid var(--rcf-border);
    }

    .rcf-counter-item:last-child {
        border-bottom: none;
    }
}


/* ── GLOBAL TYPOGRAPHY SCALE (aligned to style.css) ── */
.rcf-eyebrow {
    display: inline-block;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rcf-green);
    background: var(--rcf-green-light);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

.rcf-section-heading {
    font-size: 50px !important;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    line-height: 1.2 !important;
    margin-bottom: 12px;
    text-align: center;
}

.rcf-section-heading em {
    font-style: italic;
    color: var(--rcf-green);
}

.rcf-section-sub {
    font-size: 18px !important;
    color: var(--rcf-text-2);
    /* max-width: 700px; */
    margin-bottom: 32px;
    line-height: 30px !important;
    text-align: center;
}

.container>.rcf-eyebrow {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

/* doctor section gap fix */
.doctor-profile-section {
    padding-top: 32px;
    margin-top: 0;
    margin-bottom: 30px;
}

.rcf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rcf-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.rcf-btn:hover {
    background: var(--rcf-green-mid);
    transform: translateY(-1px);
}

.rcf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--rcf-green);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1.5px solid var(--rcf-green);
    cursor: pointer;
    transition: background .2s;
}


.rcf-btn-outline:hover {
    background-color: var(--primary-color) !important;
}

a:hover {
    color: var(--white);
}

/* ── VIDEO BANNER — clean, no overlay ── */
.rcf-video-banner {
    width: 100%;
    line-height: 0;
}

.rcf-video-banner video {
    width: 100%;
    display: block;
}

/* below-video trust strip */
.rcf-below-video {
    background: var(--rcf-bg);
    border-bottom: 1px solid var(--rcf-border);
    padding: 24px 32px;
}

.rcf-below-video-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rcf-below-video-text {
    font-size: 15px;
    color: var(--rcf-text-2);
}

.rcf-below-video-text strong {
    color: var(--rcf-text);
}

/* mobile video hero */
@media(max-width:768px) {
    .rcf-hero-ctas {
        flex-direction: column;
    }
    .about-section{
        padding-top: 0 !important;
    }

    .rcf-hero-ctas .rcf-btn,
    .rcf-btn-white,
    .rcf-btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .rcf-video-banner video {
        object-fit: cover;
    }
}

/* NEW HOME HERO SPECIFICS */
.new-home-about .d-grid {
    gap: 12px;
    margin-bottom: 24px;
}

.new-home-star {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.new-home-star .span1 {
    color: #f5a623;
    letter-spacing: 2px;
}

.new-home-star strong {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--rcf-text);
}

.new-home-star .span2 {
    font-size: 14px !important;
    color: var(--rcf-text-2);
}

.new-home-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

@media(max-width:640px) {

    .new-home-btn .rcf-btn,
    .new-home-btn .rcf-btn-outline,
    .new-home-btn a {
        width: 100%;
        justify-content: center;
    }
}

/* WHO SHOULD COME */
.rcf-who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

@media(max-width:720px) {
    .rcf-who-grid {
        grid-template-columns: 1fr;
    }
}

.rcf-who-card {
    border: 1px solid var(--primary-color);
    border-radius: var(--rcf-radius);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rcf-who-card1 {
    background-color: var(--bg-color) !important;
}

.rcf-who-card.active {
    border-color: var(--rcf-green);
    border-width: 1.5px;
    background: var(--rcf-green-light);
}

.rcf-who-q {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--rcf-text-3);
}

.rcf-who-card.active .rcf-who-q {
    color: var(--rcf-green);
}

.rcf-who-card h3 {
    font-size: 24px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    line-height: 1.35;
}

.rcf-who-card p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
}

.rcf-who-card a {
    font-size: 16px;
    font-weight: 600;
    color: var(--rcf-green);
    text-decoration: none;
    margin-top: auto;
}

.rcf-who-card a:hover {
    text-decoration: underline;
}

/* SPECIALIST CARDS */
.rcf-specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.rcf-specialty-card {
    background: var(--rcf-bg);
    border: 1px solid var(--primary-color);
    border-radius: var(--rcf-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.rcf-specialty-card:hover {
    box-shadow: 0 8px 32px rgba(213, 68, 71, .10);
    transform: translateY(-2px);
}

.rcf-specialty-card.featured {
    border-color: var(--rcf-green);
    border-width: 1.5px;
    background: var(--rcf-green-light);
}

.rcf-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--rcf-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.rcf-specialty-card.featured .rcf-card-icon {
    background: rgba(213, 68, 71, .15);
}

.rcf-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--rcf-green);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rcf-card-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rcf-green);
    margin-bottom: 6px;
}

.rcf-specialty-card h3 {
    font-size: 24px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    line-height: 1.3;
    margin-bottom: 12px;
}

.rcf-specialty-card p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
    flex: 1;
}

.rcf-card-bullets {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
}

.rcf-card-bullets li {
    font-size: 18px;
    color: var(--rcf-text-2);
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 30px;
}

.rcf-card-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rcf-green);
}

.rcf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rcf-green);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 8px;
}

.rcf-card-link:hover {
    text-decoration: underline;
}

.rcf-card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* DR GOPI FEATURE */
.rcf-doctor-feature {
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius);
    overflow: hidden;
}

.rcf-doctor-feature-inner {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
}

@media(max-width:900px) {
    .rcf-doctor-feature-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:720px) {
    .rcf-doctor-feature-inner {
        grid-template-columns: 1fr;
    }
}

.rcf-doctor-content {
    padding: 40px;
}

.rcf-doctor-content h2 {
    font-size: 30px;
    font-family: var(--lightfont);
    color: var(--rcf-text);
    line-height: 1.3;
    margin-bottom: 8px;
}

.rcf-doctor-content li span {
    font-style: italic;
}

.rcf-doctor-content h2 em {
    font-style: italic;
    color: var(--rcf-green);
}

.rcf-doctor-qual {
    font-size: 16px;
    font-weight: 600;
    color: var(--rcf-green);
    margin-bottom: 16px;
}

.rcf-doctor-content p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
    margin-bottom: 16px;
}

.rcf-doctor-bio-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.rcf-doctor-bio-bullets li {
    font-size: 18px;
    color: var(--rcf-text-2);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 30px;
    border-bottom: 1px solid var(--rcf-border);
}

.rcf-doctor-bio-bullets li:last-child {
    border-bottom: none;
}

.rcf-doctor-bio-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rcf-green);
}

.rcf-doctor-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--rcf-text-2);
    padding: 16px 20px;
    background: var(--rcf-bg-2);
    border-left: 3px solid var(--rcf-green);
    border-radius: 0 var(--rcf-radius-sm) var(--rcf-radius-sm) 0;
    margin-bottom: 20px;
    line-height: 30px;
}

.rcf-doctor-sidebar {
    background: var(--rcf-green);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.rcf-doctor-stat-num {
    font-size: 50px !important;
    font-family: var(--lightfont);
    font-weight: 400;
    color: #fff;
    line-height: 1 !important;
}

.rcf-doctor-stat-label {
    font-size: 15px !important;
    color: rgba(255, 255, 255, .85);
    margin-top: 4px;
    line-height: 24px !important;
}

.rcf-specialist-explainer {
    background: var(--rcf-green-light);
    border-top: 1px solid var(--rcf-border);
    padding: 20px 40px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rcf-specialist-explainer svg {
    width: 20px;
    height: 20px;
    stroke: var(--rcf-green);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.rcf-specialist-explainer p {
    font-size: 14px;
    color: var(--rcf-text-2);
    line-height: 1.65;
}

.rcf-specialist-explainer strong {
    color: var(--rcf-text);
}

/* RETREATMENT */
.rcf-retreatment {
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius);
    overflow: hidden;
}

.rcf-retreatment-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media(max-width:720px) {
    .rcf-retreatment-inner {
        grid-template-columns: 1fr;
    }
}

.rcf-retreatment-content {
    padding: 40px;
}

.rcf-retreatment-content h2 {
    font-size: 30px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.rcf-retreatment-content h2 em {
    font-style: italic;
    color: var(--rcf-green);
}

.rcf-retreatment-content p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
    margin-bottom: 20px;
}

.rcf-failure-reasons {
    background: var(--rcf-bg-2);
    border-radius: var(--rcf-radius-sm);
    padding: 20px 24px;
    margin: 20px 0;
}

.rcf-failure-reasons h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rcf-text-3);
    margin-bottom: 12px;
}

.rcf-failure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rcf-failure-tag {
    font-size: 15px;
    color: var(--rcf-text-2);
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: 6px;
    padding: 6px 10px;
    line-height: 1.4;
}

.rcf-retreatment-stats {
    background: var(--rcf-green);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.rcf-stat-num {
    font-size: 50px !important;
    font-family: var(--lightfont);
    font-weight: 400;
    color: #fff;
    line-height: 1 !important;
}

.rcf-stat-label {
    font-size: 15px !important;
    color: rgba(255, 255, 255, .85);
    margin-top: 4px;
    line-height: 24px !important;
}

.rcf-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}

.rcf-tech-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--rcf-green);
    background: var(--rcf-green-light);
    border-radius: 20px;
    padding: 4px 12px;
}

/* TECH SECTION */
.rcf-tech-section {
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius);
    padding: 40px;
}

.rcf-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.rcf-tech-card {
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius-sm);
    padding: 24px;
    background: var(--rcf-bg-2);
}

.rcf-tech-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--rcf-radius-sm);
    margin-bottom: 16px;
    background: #e0e0e0;
}

.rcf-tech-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    background: var(--rcf-amber-light);
    color: var(--rcf-amber);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 12px;
}

.rcf-tech-card h3 {
    font-size: 24px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.rcf-tech-card p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
}

.rcf-tech-spec {
    font-size: 15px;
    color: var(--rcf-text-3);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--rcf-border);
}

/* IMPLANT SECTION */
.rcf-implant-section {
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius);
    overflow: hidden;
}

.rcf-implant-header {
    background: var(--rcf-bg-2);
    padding: 40px;
    border-bottom: 1px solid var(--rcf-border);
}

.rcf-implant-header h2 {
    font-size: 50px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    line-height: 1.3;
    margin-bottom: 12px;
}

.rcf-implant-header h2 em {
    font-style: italic;
    color: var(--rcf-green);
}

.rcf-implant-header p {
    font-size: 18px;
    color: var(--rcf-text-2);
    max-width: 680px;
    line-height: 30px;
}

.rcf-implant-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media(max-width:720px) {
    .rcf-implant-body {
        grid-template-columns: 1fr;
    }
}

.rcf-implant-treatments {
    padding: 32px 40px;
    border-right: 1px solid var(--rcf-border);
}

@media(max-width:720px) {
    .rcf-implant-treatments {
        border-right: none;
        border-bottom: 1px solid var(--rcf-border);
    }
}

.rcf-implant-treatments h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rcf-text-3);
    margin-bottom: 16px;
}

.rcf-treatment-list {
    list-style: none;
    padding: 0;
}

.rcf-treatment-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--rcf-border);
    font-size: 18px;
    color: var(--rcf-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 30px;
}

.rcf-treatment-list li:last-child {
    border-bottom: none;
}

.rcf-treatment-list li svg {
    width: 18px;
    height: 18px;
    stroke: var(--rcf-green);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 1px;
}

.rcf-implant-footer {
    padding: 24px 40px;
    border-top: 1px solid var(--rcf-border);
    background: var(--rcf-green-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rcf-implant-footer p {
    font-size: 15px;
    color: var(--rcf-text-2);
    max-width: 480px;
}

.rcf-implant-footer strong {
    color: var(--rcf-text);
}

.rcf-implant-cost {
    padding: 20px 40px;
    border-top: 1px solid var(--rcf-border);
    background: var(--rcf-amber-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rcf-implant-cost svg {
    width: 20px;
    height: 20px;
    stroke: var(--rcf-amber);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.rcf-implant-cost p {
    font-size: 14px;
    color: #5a3a00;
    line-height: 1.65;
}

/* TEAM SECTION */
.rcf-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.rcf-team-card {
    background: var(--rcf-bg);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius);
    padding: 28px;
}

.rcf-team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rcf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.rcf-team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    flex-shrink: 0;
    background: var(--rcf-green-light);
}

.rcf-team-photo-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--rcf-green);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.rcf-team-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--rcf-text);
    line-height: 1.3;
    margin-bottom: 2px;
}

.rcf-team-qual {
    font-size: 13px;
    color: var(--rcf-green);
    font-weight: 600;
    margin-bottom: 4px;
}

.rcf-team-role {
    font-size: 13px;
    color: var(--rcf-text-3);
    margin-bottom: 12px;
    font-style: italic;
}

.rcf-team-bio {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rcf-team-bio li {
    font-size: 14px;
    color: var(--rcf-text-2);
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.5;
}

.rcf-team-bio li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rcf-green);
}

/* COMMITMENT */
.rcf-commit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.rcf-commit-card {
    background: var(--rcf-bg);
    border: 1px solid var(--primary-color);
    border-radius: var(--rcf-radius);
    padding: 24px;
    text-align: center;
}

.rcf-commit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rcf-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rcf-commit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--rcf-green);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rcf-commit-card h3 {
    font-size: 24px;
    font-family: var(--lightfont);
    font-weight: 400;
    color: var(--rcf-text);
    margin-bottom: 8px;
}

.rcf-commit-card p {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
}

/* REVIEWS */
.rcf-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rcf-review-card {
    background: var(--rcf-bg);
    border: 1px solid var(--primary-color);
    border-radius: var(--rcf-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.rcf-review-card.featured {
    border-color: var(--rcf-green);
    border-width: 1.5px;
    grid-column: span 2;
}

@media(max-width:640px) {
    .rcf-review-card.featured {
        grid-column: span 1;
    }
}

.rcf-review-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.rcf-review-text {
    font-size: 18px;
    color: var(--rcf-text-2);
    line-height: 30px;
    flex: 1;
}

.rcf-review-author {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--rcf-border);
}

.rcf-review-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--rcf-text);
}

.rcf-review-location {
    font-size: 15px;
    color: var(--rcf-text-3);
}

/* EFS */
.rcf-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 32px;
}

.rcf-course-card {
    background: var(--rcf-bg-2);
    border: 1px solid var(--rcf-border);
    border-radius: var(--rcf-radius-sm);
    padding: 24px;
}

.rcf-course-module {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rcf-amber);
    background: var(--rcf-amber-light);
    border-radius: 4px;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 12px;
}

.rcf-course-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--rcf-text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.rcf-course-by {
    font-size: 13px;
    color: var(--rcf-text-3);
    margin-bottom: 12px;
}

.rcf-course-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.rcf-course-bullets li {
    font-size: 13px;
    color: var(--rcf-text-2);
    padding: 3px 0 3px 16px;
    position: relative;
    line-height: 1.5;
}

.rcf-course-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rcf-green);
}

.rcf-course-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rcf-green);
    text-decoration: none;
}

.rcf-course-link:hover {
    text-decoration: underline;
}

/* ALT TABLE */
.rcf-alt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 24px;
}

.rcf-alt-table th {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 2px solid var(--rcf-border);
    color: var(--rcf-text-3);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    background: var(--rcf-bg-2);
}

.rcf-alt-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--rcf-border);
    vertical-align: top;
}

.rcf-alt-table tr:nth-child(even) td {
    background: var(--rcf-bg-2);
}

.rcf-alt-table td:first-child {
    font-family: monospace;
    font-size: 13px;
    color: var(--rcf-text-2);
}

.rcf-alt-table td:nth-child(2) {
    color: var(--rcf-text);
}

.rcf-alt-table td:nth-child(3) {
    color: var(--rcf-text-3);
    font-style: italic;
    font-size: 13px;
}

.rcf-note-box {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--rcf-amber-light);
    border-radius: var(--rcf-radius-sm);
    border: 1px solid rgba(200, 122, 26, .2);
    font-size: 14px;
    color: #5a3a00;
    line-height: 1.7;
}

@media(max-width:600px) {
    .rcf-hero-sub {
        flex-direction: column;
        gap: 4px;
    }

    .rcf-failure-grid {
        grid-template-columns: 1fr;
    }

    .rcf-trust-bar {
        gap: 16px;
    }
}

/* ── COMPREHENSIVE MOBILE STYLES ── */
@media(max-width:768px) {
    /* removed body mobile override */

    /* Hero */
    .rcf-hero {
        padding: 32px 20px;
    }

    .rcf-hero h1 {
        font-size: clamp(24px, 5vw, 32px) !important;
    }

    .rcf-hero-rating {
        flex-wrap: wrap;
        gap: 6px;
    }

    .rcf-hero-ctas {
        flex-direction: column;
    }

    .rcf-hero-ctas .rcf-btn,
    .rcf-hero-ctas .rcf-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .rcf-trust-bar {
        gap: 16px;
    }

    .rcf-trust-num {
        font-size: 24px !important;
    }

    /* Who should come — 2x2 → 1 col */
    .rcf-who-grid {
        grid-template-columns: 1fr;
    }

    /* Specialty cards — auto-fit handles this fine */

    /* Doctor feature */
    .rcf-doctor-feature-inner {
        grid-template-columns: 1fr;
    }

    .rcf-doctor-content {
        padding: 24px;
    }

    .rcf-doctor-sidebar {
        padding: 24px;
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rcf-doctor-stat-num {
        font-size: 29px !important;
    }

    .rcf-specialist-explainer {
        padding: 20px;
    }

    /* Retreatment */
    .rcf-retreatment-inner {
        grid-template-columns: 1fr;
    }

    .rcf-retreatment-content {
        padding: 24px;
    }

    .rcf-retreatment-stats {
        padding: 24px;
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rcf-stat-num {
        font-size: 29px !important;
    }

    .rcf-failure-grid {
        grid-template-columns: 1fr;
    }

    /* Tech section */
    .rcf-tech-section {
        padding: 24px;
    }

    /* Implant section */
    .rcf-implant-header {
        padding: 24px;
    }

    .rcf-implant-body {
        grid-template-columns: 1fr;
    }

    .rcf-implant-treatments {
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid var(--rcf-border);
    }

    .rcf-implant-footer {
        flex-direction: column;
    }

    .rcf-implant-cost {
        padding: 20px 24px;
    }

    /* Team — span 2 → span 1 */
    .rcf-team-span-full {
        grid-column: span 1 !important;
    }

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

    /* Commitment */
    .rcf-commit-grid {
        grid-template-columns: 1fr;
    }

    /* Reviews — featured span 2 → span 1 */
    .rcf-review-card.featured {
        grid-column: span 1;
    }

    .rcf-reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Course grid */
    .rcf-course-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    /* Contact form */
    .rcf-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .rcf-contact-left {
        border-right: none !important;
        border-bottom: 1px solid var(--rcf-border);
    }

    .rcf-contact-left,
    .rcf-contact-right {
        padding: 24px !important;
    }

    .rcf-contact-ctas {
        flex-direction: column;
    }

    /* Section spacing */
    .rcf-section {
        margin-bottom: 40px;
    }

    .rcf-section-heading, .rcf-implant-header h2 {
        font-size: 30px !important;
    }

    .rcf-section-sub {
        margin-bottom: 24px;
        font-size: 16px !important;
    }

    .rcf-counter-num {
        font-size: 36px !important;
    }

    .rcf-efs-text{
        flex: 0 !important;
    }
}


.new-home-about .d-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: 30px;
    padding-left: 5%;
}

.new-home-about .d-grid ul,
.new-home-about .d-grid li,
.new-home-about .d-grid p {
    text-align: center;
    width: fit-content;
}

@media screen and(max-width:1024px) {
    .new-home-about .d-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .counter-value {
        font-size: 32px !important;
    }

    .about-section ul {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media screen and(max-width:640px) {
    .new-home-about .d-grid {
        grid-template-columns: 1fr !important;
    }

    .counter-value {
        font-size: 26px !important;
    }
}

.counter-value {
    font-size: 40px;
}

.promise-section {
    margin-top: 30px;
}

/* ── EFS (Endo Finishing School) BANNER ── */
.rcf-efs-banner {
    background: var(--rcf-green);
    width: 100%;
}

.rcf-efs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.rcf-efs-text {
    flex: 1 1 400px;
}

.rcf-efs-label {
    display: inline-block;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 8px;
}

.rcf-efs-heading {
    font-size: 30px !important;
    font-family: var(--lightfont);
    font-weight: 400;
    color: #fff;
    line-height: 1.25 !important;
    margin-bottom: 8px;
}

.rcf-efs-desc {
    font-size: 16px !important;
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    line-height: 28px !important;
}

.rcf-efs-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.rcf-efs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--rcf-green);
    font-size: 15px !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity .2s;
}

.rcf-efs-btn:hover {
    opacity: .9;
    color: var(--rcf-green);
}

.rcf-efs-phone {
    color: rgba(255, 255, 255, .9);
    font-size: 15px !important;
    text-decoration: none;
    text-align: center;
}

.rcf-efs-phone:hover {
    color: #fff;
}

@media(max-width:768px) {
    .rcf-efs-inner {
        flex-direction: column;
        padding: 28px 20px;
        align-items: flex-start;
    }

    .rcf-efs-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .rcf-efs-btn {
        width: 100%;
        justify-content: center;
    }

    .about-section ul {
        grid-template-columns: 1fr !important;
        width: 94% !important;
    }
}

.team-section {
    padding: 50px 0;
}

/* Infra styling */
.sliding-box-item,
.infra-hights .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sliding-box-content,
.infra-hights .item,
.sliding-box-content h3,
.sliding-box-content p,
.sliding-box-content span,
.infra-hights .item h3,
.infra-hights .item p,
.infra-hights .item span {
    color: #ffffff !important;
}

.read-more-popup-btn {
    border: none;
    background-color: transparent;
    padding: 0;
    text-decoration: underline;
    color: #ffffff !important;
    cursor: pointer;
}

.sliding-box-content.bg-white {
    background-color: var(--primary-color) !important;
}

.infra-hights .item {
    background-color: var(--primary-color) !important;
    padding: 15px;
    border-radius: 8px;
}

.infra-hights .item img {
    margin-bottom: 15px;
    border-radius: 4px;
}

.sliding-box-content {
    overflow-y: scroll;
}

.about-section li p {
    width: 100%;
    text-align: left;
}

.about-section li {
    width: fit-content;
    /* width: 300px; */
    /* margin: 10px auto; */
    text-align: left;
}

.about-section ul {
    width: 993px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--rcf-green);
    background-color: var(--rcf-green-light);
    margin: 10px auto;
    padding-left: 45px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 50px;
    justify-content: center;
}

.connect-bg {
    width: auto;
    height: auto;
}


@media(max-width:468px) {
    .counter-value {
        font-size: 22px !important;
    }
    .rcf-counter-num{
        font-size: 18px !important;
    }
    .connect-bg{
        width: 100% !important;
        height: 200px !important;
    }
    .about-section li{
        margin: 0 auto !important;
    }
    p, li, ul, a{font-size: 16px !important;}
}

@media(max-width:992px) {
    .infra-hights .item {
    background-color: var(--rcf-green-light) !important;
    border: 1px solid var(--primary-color);
}
.infra-hights .owl-stage-outer{
    background-color: transparent !important;
}
.infra-hights .owl-item h3{
    color: var(--primary-color) !important;
}
.infra-hights .owl-item p{
    color: var(--rcf-text-3) !important;
}
.infra-hights .owl-item span{
    color: var(--rcf-text-3) !important;
}
.infra-hights .item{
    border-radius: 0;
}
}