/**
 * Landing Page - Thank You
 * Slam Dunk Attorney
 * 
 * Extends landing-car-accidents.css
 */

/* Hide floating elements on thank you pages */
.page-template-single-page-ad-landing-thank-you #icw,
.page-template-single-page-ad-landing-thank-you #icw--call--content,
.page-template-single-page-ad-landing-thank-you #icw--alert,
.page-template-single-page-ad-landing-thank-you .trp-floating-switcher {
    display: none !important;
}

.page-template-single-page-ad-landing-thank-you .site-container .site-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure standard footer displays properly */
.page-template-single-page-ad-landing-thank-you .pre-footer,
.page-template-single-page-ad-landing-thank-you .footer,
.page-template-single-page-ad-landing-thank-you .copyright {
    width: 100%;
}

/* Thank You Hero Section */
.sd-thankyou-hero {
    text-align: center;
    padding: 80px 0;
}

.sd-thankyou-hero::before,
.sd-thankyou-hero::after {
    display: none;
}

.sd-thankyou-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Success Icon */
.sd-success-icon {
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sd-success-icon.sd-animate {
    opacity: 1;
    transform: scale(1);
}

.sd-success-icon svg {
    color: var(--sd-accent);
    stroke: var(--sd-accent);
}

/* Hero Typography */
.sd-thankyou-hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: none;
}

.sd-hero-subheadline {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Immediate CTA Block */
.sd-immediate-cta {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-cta-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.sd-cta-phone {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.sd-cta-phone a {
    color: var(--sd-accent);
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
}

.sd-cta-phone a:hover {
    text-decoration: underline;
}

.sd-immediate-cta .sd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Reassurance Text */
.sd-reassurance {
    font-size: 16px;
    font-style: italic;
    opacity: 0.8;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    max-width: 500px;
    margin: 0 auto;
}

/* =============================================
   SECTION 2: WHAT HAPPENS NEXT
   ============================================= */
.sd-next-steps-section {
    padding: 80px 0;
}

.sd-steps-list {
    max-width: 600px;
    margin: 0 auto 50px;
}

.sd-next-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.sd-next-step:last-child {
    border-bottom: none;
}

.sd-next-step.sd-animate {
    opacity: 1;
    transform: translateX(0);
}

.sd-step-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--sd-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-step-icon svg {
    color: #fff;
    stroke: #fff;
    width: 22px;
    height: 22px;
}

.sd-step-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.sd-steps-closer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--sd-blue);
    max-width: 400px;
    margin: 0 auto;
}

.sd-steps-closer p {
    font-size: 20px;
    font-weight: 900;
    color: var(--sd-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   SECTION 3: SPEED THINGS UP
   ============================================= */
.sd-speed-section {
    padding: 80px 0;
}

.sd-speed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.sd-speed-tile {
    background: var(--sd-dark);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.sd-speed-tile.sd-animate {
    opacity: 1;
    transform: translateY(0);
}

.sd-speed-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--sd-accent);
    color: #fff;
}

.sd-speed-icon {
    width: 70px;
    height: 70px;
    background: var(--sd-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.3s ease;
}

.sd-speed-tile:hover .sd-speed-icon {
    background: var(--sd-accent);
}

.sd-speed-icon svg {
    color: #fff;
    stroke: #fff;
}

.sd-speed-tile h4 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sd-speed-tile p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* Tablet */
@media (max-width: 991px) {
    .sd-thankyou-hero h1 {
        font-size: 36px;
    }
    
    .sd-hero-subheadline {
        font-size: 18px;
    }
    
    .sd-speed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .sd-speed-tile {
        padding: 30px 20px;
    }
    
    .sd-speed-icon {
        width: 60px;
        height: 60px;
    }
    
    .sd-speed-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sd-thankyou-hero {
        padding: 50px 0;
    }
    
    .sd-thankyou-hero h1 {
        font-size: 28px;
    }
    
    .sd-hero-subheadline {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .sd-success-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .sd-immediate-cta {
        padding: 25px 20px;
    }
    
    .sd-cta-phone a {
        font-size: 18px;
    }
    
    /* Next Steps Mobile */
    .sd-next-steps-section {
        padding: 50px 0;
    }
    
    .sd-next-step {
        padding: 15px 0;
    }
    
    .sd-step-icon {
        width: 40px;
        height: 40px;
    }
    
    .sd-step-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .sd-step-text {
        font-size: 16px;
    }
    
    .sd-steps-closer p {
        font-size: 16px;
    }
    
    /* Speed Section Mobile */
    .sd-speed-section {
        padding: 50px 0;
    }
    
    .sd-speed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 350px;
    }
    
    .sd-speed-tile {
        padding: 25px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .sd-speed-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        margin: 0;
    }
    
    .sd-speed-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .sd-speed-tile h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .sd-speed-tile p {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .sd-thankyou-hero h1 {
        font-size: 24px;
    }
    
    .sd-immediate-cta .sd-btn {
        width: 100%;
        justify-content: center;
    }
}
/* =============================================
   FOOTER OVERRIDE STYLES
   ============================================= */
.our-team__content p{
    color: #333333;
}
body:not(.home) .content-sidebar-wrap main{
    padding-bottom: 0
}
.page-template-single-page-ad-landing-thank-you .pre-footer{
    padding-top: 35px;
}