/* ============================================
   SERVICE DETAIL PAGE (ssd-*)
   ============================================ */

/* --- Hero Section --- */
.ssd-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: url('/images/hero.jpeg') center center/cover no-repeat;
    padding: 7rem 0 3rem;
}
.ssd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23,37,42,0.82) 0%, rgba(43,122,120,0.65) 100%);
}
.ssd-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

/* Breadcrumb */
.ssd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}
.ssd-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.ssd-breadcrumb a:hover {
    color: #fff;
}
.ssd-breadcrumb span {
    color: rgba(255,255,255,0.4);
}
.ssd-breadcrumb-current {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
}

/* Hero Typography */
.ssd-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.ssd-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin: 0 0 2rem;
}

/* Hero Actions */
.ssd-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.ssd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.ssd-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal, #2B7A78) 0%, #236865 100%);
    box-shadow: 0 4px 15px rgba(43,122,120,0.3);
}
.ssd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43,122,120,0.35);
}
.ssd-btn-primary svg {
    transition: transform 0.2s;
}
.ssd-btn-primary:hover svg {
    transform: translateX(3px);
}
.ssd-btn-outline {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
}
.ssd-btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}
.ssd-btn-dark {
    color: #fff;
    background: linear-gradient(135deg, var(--teal, #2B7A78) 0%, #236865 100%);
    box-shadow: 0 4px 15px rgba(43,122,120,0.3);
}
.ssd-btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43,122,120,0.35);
}
.ssd-btn-dark svg {
    transition: transform 0.2s;
}
.ssd-btn-dark:hover svg {
    transform: translateX(3px);
}
.ssd-btn-glass {
    color: #2d4a47;
    background: rgba(255,255,255,0.6);
    border: 1.5px solid rgba(45,74,71,0.15);
    backdrop-filter: blur(10px);
    font-weight: 500;
}
.ssd-btn-glass:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(45,74,71,0.25);
}
.ssd-btn-full {
    width: 100%;
}

/* --- Main Content Grid --- */
.ssd-content {
    padding: 4rem 0;
    background: var(--cream, #f8f5f0);
}
.ssd-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

/* Main Column */
.ssd-main {
    min-width: 0;
}
.ssd-featured-image {
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
}
.ssd-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Description Card */
.ssd-description-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.ssd-description {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
}
.ssd-description p {
    margin: 0 0 1.25rem;
}
.ssd-description p:last-child {
    margin-bottom: 0;
}
.ssd-description h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark, #17252A);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}
.ssd-description h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark, #17252A);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.35;
}
.ssd-description strong {
    font-weight: 700;
    color: var(--dark, #17252A);
}
.ssd-description ul,
.ssd-description ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}
.ssd-description li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.ssd-description ul li {
    list-style-type: disc;
}
.ssd-description ol li {
    list-style-type: decimal;
}
.ssd-description blockquote {
    border-left: 4px solid var(--teal, #2B7A78);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(43,122,120,0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.ssd-description a {
    color: var(--teal, #2B7A78);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}
.ssd-description a:hover {
    opacity: 0.8;
}

/* Features */
.ssd-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.ssd-features-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark, #17252A);
    margin: 0 0 1.25rem;
}
.ssd-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ssd-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #555;
}
.ssd-features-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--teal, #2B7A78);
}

/* --- What to Expect --- */
.ssd-expect {
    margin-bottom: 1rem;
}
.ssd-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    color: var(--dark, #17252A);
    margin: 0 0 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.ssd-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal, #2B7A78), #d4a959);
    border-radius: 2px;
}
.ssd-expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ssd-expect-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.35s ease;
    text-align: center;
}
.ssd-expect-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(43,122,120,0.08);
    border-color: rgba(43,122,120,0.15);
}
.ssd-expect-icon {
    width: 56px;
    height: 56px;
    background: rgba(43,122,120,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--teal, #2B7A78);
    transition: all 0.3s ease;
}
.ssd-expect-card:hover .ssd-expect-icon {
    background: var(--teal, #2B7A78);
    color: #fff;
    transform: scale(1.08);
}
.ssd-expect-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark, #17252A);
    margin: 0 0 0.6rem;
}
.ssd-expect-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* --- Sidebar --- */
.ssd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sidebar CTA */
.ssd-sidebar-cta {
    background: linear-gradient(135deg, rgba(232,245,243,0.8) 0%, rgba(248,245,240,0.9) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(43,122,120,0.1);
}
.ssd-sidebar-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark, #17252A);
    margin: 0 0 0.6rem;
}
.ssd-sidebar-cta p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

/* Sidebar Cards */
.ssd-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.ssd-sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--dark, #17252A);
    margin: 0 0 1rem;
}

/* Contact Links */
.ssd-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.ssd-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--teal, #2B7A78);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}
.ssd-contact-link:hover {
    opacity: 0.75;
}
.ssd-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(43,122,120,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal, #2B7A78);
}

/* Insurance Card */
.ssd-sidebar-insurance {
    text-align: center;
    background: linear-gradient(135deg, #f0f9f7 0%, #fff 100%);
}
.ssd-insurance-icon {
    width: 48px;
    height: 48px;
    background: rgba(43,122,120,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--teal, #2B7A78);
}
.ssd-sidebar-insurance p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}
.ssd-insurance-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--teal, #2B7A78);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.ssd-insurance-link:hover {
    gap: 0.65rem;
}

/* Related Services */
.ssd-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ssd-related-list li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ssd-related-list li:last-child {
    border-bottom: none;
}
.ssd-related-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    color: #555;
    text-decoration: none;
    font-size: 0.93rem;
    transition: color 0.2s;
}
.ssd-related-list a:hover {
    color: var(--teal, #2B7A78);
}
.ssd-related-list svg {
    color: var(--teal, #2B7A78);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
    flex-shrink: 0;
}
.ssd-related-list a:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* --- Shared Section Header --- */
.ssd-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.ssd-label {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background: rgba(43,122,120,0.1);
    color: var(--teal, #2B7A78);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 1rem;
}
.ssd-section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--dark, #17252A);
    margin: 0;
    line-height: 1.25;
    position: relative;
}
.ssd-section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal, #2B7A78), #d4a959);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* --- Testimonials Section --- */
.ssd-testimonials {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f0ebe4 0%, var(--cream, #f8f5f0) 100%);
    position: relative;
    overflow: hidden;
}
.ssd-testimonials::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43,122,120,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.ssd-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.ssd-testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.ssd-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.ssd-testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 1rem;
}
.ssd-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 1.5rem;
    flex: 1;
    font-style: italic;
}
.ssd-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.ssd-testimonial-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--teal, #2B7A78), #2d4a47);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.ssd-testimonial-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.ssd-testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark, #17252A);
}
.ssd-testimonial-role {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 2px;
}

/* --- FAQ Section --- */
.ssd-faq {
    padding: 5rem 0;
    background: var(--cream, #f8f5f0);
}
.ssd-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ssd-faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.ssd-faq-item[open] {
    box-shadow: 0 4px 20px rgba(43,122,120,0.08);
    border-color: rgba(43,122,120,0.12);
}
.ssd-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark, #17252A);
    transition: color 0.2s;
}
.ssd-faq-item summary::-webkit-details-marker {
    display: none;
}
.ssd-faq-item summary:hover {
    color: var(--teal, #2B7A78);
}
.ssd-faq-item summary svg {
    flex-shrink: 0;
    color: var(--teal, #2B7A78);
    transition: transform 0.3s ease;
}
.ssd-faq-item[open] summary svg {
    transform: rotate(180deg);
}
.ssd-faq-answer {
    padding: 0 1.75rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #666;
}

/* --- Final CTA Section --- */
.ssd-cta {
    padding: 2rem 0 5rem;
    background: var(--cream, #f8f5f0);
}
.ssd-cta-wrapper {
    position: relative;
    background: linear-gradient(135deg, #e8f0ed 0%, #d4e5e0 25%, #c9ddd6 50%, #dde4df 75%, #f0ece6 100%);
    border-radius: 28px;
    padding: 4.5rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45,74,71,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}
.ssd-cta-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.ssd-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: ssd-orb-float 20s ease-in-out infinite;
}
.ssd-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43,122,120,0.25) 0%, transparent 70%);
    top: -100px;
    right: -50px;
}
.ssd-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(200,180,160,0.3) 0%, transparent 70%);
    bottom: -80px;
    left: -30px;
    animation-delay: -7s;
}
.ssd-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(120,160,150,0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}
@keyframes ssd-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}
.ssd-cta-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
}
.ssd-cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #2d4a47;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}
.ssd-cta-content p {
    font-size: 1rem;
    color: #4a635f;
    line-height: 1.7;
    margin: 0 0 2rem;
}
.ssd-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ssd-grid {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }
    .ssd-expect-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .ssd-grid {
        grid-template-columns: 1fr;
    }
    .ssd-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .ssd-sidebar-cta {
        grid-column: 1 / -1;
    }
    .ssd-hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }
    .ssd-hero-title {
        font-size: 2rem;
    }
    .ssd-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .ssd-content {
        padding: 3rem 0;
    }
    .ssd-expect-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ssd-expect-card {
        text-align: left;
        display: flex;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    .ssd-expect-icon {
        margin: 0;
        flex-shrink: 0;
    }
    .ssd-sidebar {
        grid-template-columns: 1fr;
    }
    .ssd-testimonials,
    .ssd-faq {
        padding: 3.5rem 0;
    }
    .ssd-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .ssd-cta {
        padding: 1.5rem 0 4rem;
    }
    .ssd-cta-wrapper {
        padding: 3.5rem 1.5rem;
        border-radius: 24px;
    }
    .ssd-cta-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .ssd-cta-actions .ssd-btn {
        width: 100%;
        justify-content: center;
    }
    .ssd-faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    .ssd-faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    .ssd-description-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .ssd-hero {
        padding: 4rem 0 2.5rem;
    }
    .ssd-hero-title {
        font-size: 1.75rem;
    }
    .ssd-expect-card {
        flex-direction: column;
        text-align: center;
    }
    .ssd-expect-icon {
        margin: 0 auto;
    }
}
