/* ============================================================
   Modern Procedure Page Styles
   Shared across all /dentistry/ service pages
   ============================================================ */

/* ---------- Variables ---------- */
.proc-page {
    --proc-primary: #2D4A4A;
    --proc-primary-dark: #1B3A3A;
    --proc-primary-light: #3A5F5F;
    --proc-accent: #C8956C;
    --proc-accent-hover: #B8845B;
    --proc-accent-light: #F8F0E8;
    --proc-bg: #FAFBFC;
    --proc-bg-warm: #FDF9F5;
    --proc-text: #2A2F35;
    --proc-text-light: #5A6670;
    --proc-border: #E8ECEF;
    --proc-white: #FFFFFF;
    --proc-radius: 16px;
    --proc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --proc-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --proc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --proc-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

.proc-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--proc-text);
    line-height: 1.7;
    background: var(--proc-bg);
    overflow-x: hidden;
}

/* ---------- Breadcrumbs ---------- */
.proc-breadcrumb {
    padding: 1rem 3rem;
    font-size: 0.85rem;
    color: var(--proc-text-light);
    max-width: 1280px;
    margin: 0 auto;
}
.proc-breadcrumb a {
    color: var(--proc-text-light);
    text-decoration: none;
    transition: color 0.2s var(--proc-transition);
}
.proc-breadcrumb a:hover {
    color: var(--proc-accent);
}
.proc-breadcrumb .separator {
    margin: 0 0.5rem;
    color: #CBD5E0;
}
.proc-breadcrumb .current {
    color: var(--proc-accent);
    font-weight: 600;
}

/* ---------- Hero Section ---------- */
.proc-hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
    max-height: 520px;
    background: var(--proc-white);
    position: relative;
}
.proc-hero-text {
    padding: 3rem 3rem 5rem;
    padding-left: max(3rem, calc((100vw - 1280px) / 2 + 3rem));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.proc-hero-text h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--proc-primary);
    line-height: 1.1;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}
.proc-hero-text .proc-divider {
    width: 50px;
    height: 3px;
    background: var(--proc-primary);
    margin: 1.25rem 0;
    border-radius: 4px;
}
.proc-hero-text .proc-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--proc-accent);
    margin-bottom: 0.75rem;
}
.proc-hero-text .proc-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--proc-text-light);
    margin-bottom: 1.75rem;
    max-width: 440px;
}

/* Hero CTA Button - Dark teal rounded */
.proc-hero-text .proc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    background: var(--proc-primary);
    color: var(--proc-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.3s var(--proc-transition);
    width: fit-content;
}
.proc-hero-text .proc-cta-btn:hover {
    background: var(--proc-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 74, 0.3);
}
.proc-hero-text .proc-cta-btn i {
    font-size: 0.85rem;
}

/* Hero Image Area */
.proc-hero-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border-radius: 50% 0 0 50% / 10% 0 0 10%;
}
.proc-hero-image img.proc-hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}
.proc-hero-image .proc-doctor-inset {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid var(--proc-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: var(--proc-white);
    z-index: 2;
}

/* Procedure Badge Overlay */
.proc-badge {
    position: absolute;
    bottom: 60px;
    right: 24px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--proc-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(200, 149, 108, 0.35);
}
.proc-badge i {
    font-size: 1.5rem;
    color: var(--proc-accent);
    margin-bottom: 0.4rem;
    opacity: 0.9;
}
.proc-badge .proc-badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--proc-white);
    text-align: center;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Badge as image */
.proc-badge-img {
    position: absolute;
    bottom: 60px;
    right: 24px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Badge row - multiple badges stacked */
.proc-badge-row {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    z-index: 2;
}
.proc-badge-row .proc-badge {
    position: static;
    width: 135px;
    height: 135px;
    min-width: 135px;
    min-height: 135px;
    max-width: 135px;
    max-height: 135px;
    box-sizing: border-box;
}
.proc-badge-row .proc-badge i {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}
.proc-badge-row .proc-badge .proc-badge-text {
    font-size: 0.55rem;
    padding: 0 0.7rem;
}
.proc-badge-row .proc-badge-img {
    position: static;
    width: 155px;
    height: 155px;
    min-width: 155px;
    min-height: 155px;
    max-width: 155px;
    max-height: 155px;
    box-sizing: border-box;
}

/* ---------- Feature Strip (overlapping hero) ---------- */
.proc-features {
    max-width: 1280px;
    margin: -45px auto 0;
    padding: 0 3rem;
    position: relative;
    z-index: 3;
}
.proc-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--proc-white);
    border-radius: var(--proc-radius);
    box-shadow: var(--proc-shadow-md);
    overflow: hidden;
    border: 1px solid var(--proc-border);
}
.proc-feature-item {
    padding: 1.5rem 1.25rem;
    text-align: left;
    border-right: 1px solid var(--proc-border);
    transition: background 0.3s var(--proc-transition);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.proc-feature-item:last-child {
    border-right: none;
}
.proc-feature-item:hover {
    background: rgba(45, 74, 74, 0.03);
}
.proc-feature-item .proc-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: transparent;
    border: 2.5px solid #3A6B6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A6B6B;
    font-size: 1.15rem;
    transition: all 0.3s var(--proc-transition);
    -webkit-text-stroke: 0.5px #3A6B6B;
}
.proc-feature-item:hover .proc-feature-icon {
    background: rgba(45, 74, 74, 0.06);
    transform: scale(1.05);
}
.proc-feature-item h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--proc-primary);
    margin: 0 0 0.3rem;
}
.proc-feature-item p {
    font-size: 0.78rem;
    color: var(--proc-text-light);
    margin: 0;
    line-height: 1.45;
}
.proc-feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ---------- Content Section ---------- */
.proc-content {
    max-width: 1280px;
    margin: 3.5rem auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: flex-start;
}
.proc-main h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--proc-primary);
    margin: 0 0 1.25rem;
    line-height: 1.25;
}
.proc-main h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--proc-primary);
    margin: 2.5rem 0 0.75rem;
}
.proc-main p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--proc-text-light);
    margin-bottom: 1rem;
}
.proc-main ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}
.proc-main ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--proc-text-light);
    line-height: 1.65;
}
.proc-main ul li i {
    color: var(--proc-accent);
    margin-top: 0.3rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.proc-main ul li strong {
    color: var(--proc-text);
}

/* Info/Tip Box */
.proc-info-box {
    background: var(--proc-bg-warm);
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--proc-accent);
    margin: 2rem 0;
}
.proc-info-box h4 {
    color: var(--proc-primary);
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.proc-info-box h4 i {
    color: var(--proc-accent);
    margin-right: 0.5rem;
}
.proc-info-box ul {
    margin-bottom: 0;
}

/* ---------- Sidebar CTA Card ---------- */
.proc-sidebar {
    position: sticky;
    top: 100px;
}
.proc-cta-card {
    background: linear-gradient(165deg, var(--proc-primary) 0%, var(--proc-primary-dark) 100%);
    border-radius: var(--proc-radius);
    padding: 2.25rem 1.75rem;
    color: var(--proc-white);
    text-align: center;
    box-shadow: var(--proc-shadow-md);
    position: relative;
    overflow: hidden;
}
.proc-cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(200, 149, 108, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.proc-cta-card .proc-cta-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.proc-cta-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--proc-white);
    line-height: 1.3;
}
.proc-cta-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}
.proc-cta-card .proc-cta-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--proc-accent);
    color: var(--proc-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--proc-transition);
    box-shadow: 0 4px 12px rgba(200, 149, 108, 0.25);
}
.proc-cta-card .proc-cta-link:hover {
    background: var(--proc-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 149, 108, 0.35);
}

/* ---------- Bottom CTA Banner (Full-width) ---------- */
.proc-bottom-cta-wrapper {
    width: 100%;
    padding: 0 3rem 3rem;
    box-sizing: border-box;
}
.proc-bottom-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--proc-bg-warm) 0%, #F5F0EB 100%);
    border-radius: var(--proc-radius);
    border: 1px solid rgba(200, 149, 108, 0.12);
    max-width: 1220px;
    margin: 0 auto;
}
.proc-bottom-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--proc-primary);
    margin: 0 0 0.75rem;
}
.proc-bottom-cta p {
    color: var(--proc-text-light);
    max-width: 560px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}
.proc-bottom-cta .proc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--proc-primary);
    color: var(--proc-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--proc-transition);
    box-shadow: 0 4px 12px rgba(45, 74, 74, 0.2);
}
.proc-bottom-cta .proc-cta-btn:hover {
    background: var(--proc-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 74, 0.3);
}

/* ---------- General CTA Button (outside hero) ---------- */
.proc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--proc-primary);
    color: var(--proc-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--proc-transition);
    box-shadow: 0 4px 12px rgba(45, 74, 74, 0.2);
}
.proc-cta-btn:hover {
    background: var(--proc-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 74, 0.3);
}
.proc-cta-btn i {
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .proc-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .proc-hero-text {
        padding: 2.5rem 2rem 2rem;
        order: 1;
    }
    .proc-hero-image {
        order: 2;
        min-height: 300px;
        border-radius: 0;
    }
    .proc-hero-image img.proc-hero-main-img {
        border-radius: 0;
    }
    .proc-hero-text h1 {
        font-size: 2.5rem;
    }
    .proc-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .proc-sidebar {
        position: static;
    }
    .proc-features {
        margin-top: -15px;
    }
    .proc-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proc-feature-item:nth-child(2) {
        border-right: none;
    }
    .proc-feature-item:nth-child(1),
    .proc-feature-item:nth-child(2) {
        border-bottom: 1px solid var(--proc-border);
    }
}

@media (max-width: 768px) {
    .proc-hero-text h1 {
        font-size: 2.25rem;
    }
    .proc-hero-text {
        padding: 2rem 1.5rem 1.5rem;
    }
    .proc-hero-text .proc-intro {
        font-size: 0.95rem;
    }
    .proc-hero-image {
        min-height: 260px;
    }
    .proc-hero-image img.proc-hero-main-img {
        min-height: 260px;
    }
    .proc-hero-image .proc-doctor-inset {
        width: 100px;
        height: 100px;
        bottom: 15px;
        right: 15px;
        border-width: 4px;
    }
    .proc-badge {
        width: 95px;
        height: 95px;
        bottom: 45px;
        right: 12px;
    }
    .proc-badge i {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    .proc-badge .proc-badge-text {
        font-size: 0.45rem;
        padding: 0 0.5rem;
    }
    .proc-features {
        padding: 0 1rem;
        margin-top: 1rem;
    }
    .proc-feature-item {
        padding: 1.25rem 1rem;
        gap: 0.7rem;
    }
    .proc-feature-item .proc-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.95rem;
    }
    .proc-feature-item h4 {
        font-size: 0.68rem;
    }
    .proc-feature-item p {
        font-size: 0.75rem;
    }
    .proc-breadcrumb {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .proc-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        margin-top: 2.5rem;
    }
    .proc-main h2 {
        font-size: 1.6rem;
    }
    .proc-main h3 {
        font-size: 1.15rem;
    }
    .proc-cta-card {
        padding: 2rem 1.5rem;
    }
    .proc-bottom-cta-wrapper {
        padding: 0 1.25rem 2.5rem;
    }
    .proc-bottom-cta {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .proc-hero-text h1 {
        font-size: 1.85rem;
    }
    .proc-hero-text {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .proc-hero-text .proc-tagline {
        font-size: 0.7rem;
    }
    .proc-hero-text .proc-intro {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    .proc-hero-text .proc-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    .proc-hero-image {
        min-height: 220px;
    }
    .proc-hero-image img.proc-hero-main-img {
        min-height: 220px;
    }
    .proc-hero-image .proc-doctor-inset {
        width: 80px;
        height: 80px;
        bottom: 10px;
        right: 10px;
        border-width: 3px;
    }
    .proc-features {
        padding: 0 0.75rem;
        margin-top: -20px;
    }
    .proc-features-grid {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    .proc-feature-item {
        border-right: none;
        border-bottom: 1px solid var(--proc-border);
        padding: 1rem;
    }
    .proc-feature-item:last-child {
        border-bottom: none;
    }
    .proc-feature-item:nth-child(1),
    .proc-feature-item:nth-child(2) {
        border-bottom: 1px solid var(--proc-border);
    }
    .proc-breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    .proc-content {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 2rem;
        gap: 2rem;
    }
    .proc-main h2 {
        font-size: 1.4rem;
    }
    .proc-main h3 {
        font-size: 1.1rem;
        margin-top: 2rem;
    }
    .proc-main p {
        font-size: 0.95rem;
    }
    .proc-main ul li {
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    .proc-info-box {
        padding: 1.25rem 1.25rem;
    }
    .proc-cta-card {
        padding: 1.75rem 1.25rem;
    }
    .proc-cta-card h3 {
        font-size: 1.2rem;
    }
    .proc-bottom-cta-wrapper {
        padding: 0 1rem 2rem;
    }
    .proc-bottom-cta {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }
    .proc-bottom-cta h3 {
        font-size: 1.3rem;
    }
    .proc-bottom-cta p {
        font-size: 0.9rem;
    }
}
