/* ============================================================
   SAP for Utilities 2026 - Book a demo page
   Used by page-sap-demo.php
   ============================================================ */

/* --- Shared bits --- */

.sd-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sd-section-sub {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 60px;
}

.sd-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(22, 30, 53, 0.08);
    border: 1px solid #e5e9f0;
    overflow: hidden;
}

.sd-card-head {
    padding: 28px 36px 22px;
    border-bottom: 1px solid #eef1f5;
}

.sd-card-title {
    font-size: 22px;
    margin-bottom: 6px;
}

.sd-card-sub {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.sd-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(36, 201, 221, 0.25);
    border-top-color: #24c9dd;
    border-radius: 50%;
    animation: sdSpin 0.8s linear infinite;
}

@keyframes sdSpin {
    to { transform: rotate(360deg); }
}

/* --- Hero --- */

#sd-hero-sec {
    padding: 180px 0 100px;
    overflow: hidden;
}

#sd-hero-sec::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -220px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 201, 221, 0.14) 0%, rgba(36, 201, 221, 0) 70%);
    pointer-events: none;
}

#sd-hero-cnt {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

#sd-hero-text {
    width: 42%;
    padding-top: 16px;
}

#sd-hero-text h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 22px;
}

#sd-hero-sub {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 36px;
}

#sd-hero-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

#sd-hero-facts li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: #4b5563;
}

#sd-hero-facts strong {
    color: #161e35;
    font-weight: 600;
}

#sd-hero-facts a {
    font-size: 16px;
}

.sd-fact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.sd-fact-icon svg {
    width: 20px;
    height: 20px;
}

#sd-hero-panel {
    width: 54%;
}

/* --- Calendly card --- */

#sd-calendly {
    position: relative;
    box-sizing: border-box;
    height: 760px;
    min-height: 760px;
    padding: 20px 28px 28px;
    background: #ffffff;
}

#sd-calendly-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px;
}

#sd-calendly-loading p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Calendly injects its iframe (and sometimes a wrapper); make them fill the card. */
#sd-calendly .calendly-inline-widget {
    height: 100% !important;
    min-width: 0 !important;
}

#sd-calendly iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* --- What you'll see --- */

#sd-show-sec .margin-cnt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sd-show-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.sd-show-card {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sd-show-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 30, 53, 0.10);
}

.sd-card-num {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.sd-show-card h4 {
    font-size: 22px;
    margin-bottom: 12px;
}

.sd-show-card p {
    font-size: 16px;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sd-card-link {
    font-size: 15px;
}

/* --- How it works --- */

#sd-how-cnt {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

#sd-how-cnt > div:first-child {
    width: 40%;
}

#sd-how-cnt > div:first-child p:last-child {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
}

#sd-steps {
    width: 60%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

#sd-steps li {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

#sd-steps li p {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.6;
}

#sd-steps li p:last-child {
    color: #4b5563;
    margin-bottom: 0;
}

.sd-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

/* --- Closing CTA --- */

#sd-cta-cnt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px 64px;
    border-radius: 20px;
}

#sd-cta-cnt > div:first-child {
    width: 60%;
}

#sd-cta-cnt h4 {
    margin-bottom: 12px;
}

#sd-cta-cnt p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

#sd-cta-cnt > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

#sd-cta-cnt .consultation-btn {
    cursor: pointer;
}

/* --- Tablet --- */

@media only screen and (max-width: 1100px) {
    #sd-hero-text h1 {
        font-size: 38px;
    }

    #sd-hero-cnt {
        gap: 40px;
    }

    #sd-hero-text {
        width: 40%;
    }

    #sd-hero-panel {
        width: 58%;
    }
}

/* --- Mobile --- */

@media only screen and (max-width: 767px) {
    #sd-hero-sec {
        padding: 130px 0 70px;
    }

    #sd-hero-cnt {
        flex-direction: column;
        gap: 40px;
    }

    #sd-hero-text,
    #sd-hero-panel {
        width: 100%;
        padding-top: 0;
    }

    #sd-hero-text h1 {
        font-size: 34px;
    }

    .sd-card-head {
        padding-left: 22px;
        padding-right: 22px;
    }

    #sd-calendly {
        height: 900px;
        min-height: 900px;
        padding: 12px 10px 16px;
    }

    #sd-show-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sd-show-card {
        padding: 28px;
    }

    #sd-how-cnt {
        flex-direction: column;
        gap: 36px;
    }

    #sd-how-cnt > div:first-child,
    #sd-steps {
        width: 100%;
    }

    #sd-cta-cnt {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 28px;
    }

    #sd-cta-cnt > div:first-child {
        width: 100%;
    }

    #sd-cta-cnt > div:last-child {
        justify-content: flex-start;
    }
}
