/* Extra layout + contraste oscuro — v1.3.1 */

html {
    background: #070b12 !important;
}

body.pd-dark-site,
body.pd-page-template,
body.pd-inicio-sitio,
body.home.page {
    background: #070b12 !important;
    color: #e5eef7;
}

body.pd-dark-site #page,
body.pd-dark-site #content,
body.pd-dark-site #primary,
body.pd-dark-site .site,
body.pd-dark-site .site-content,
body.pd-dark-site .ast-container,
body.pd-dark-site .entry-content,
body.pd-dark-site article,
body.pd-dark-site .site-main,
body.pd-dark-site .site-footer,
body.pd-dark-site .ast-footer-overlay,
body.pd-dark-site .ast-builder-grid-row-container,
body.pd-page-template #page,
body.pd-page-template #content,
body.pd-page-template #primary,
body.pd-page-template .site-content,
body.pd-page-template .ast-container,
body.pd-page-template .entry-content,
body.pd-page-template .site-footer,
body.home.page #page,
body.home.page #content,
body.home.page #primary,
body.home.page .site-content,
body.home.page .ast-container,
body.home.page .entry-content,
body.home.page .site-footer {
    background: #070b12 !important;
    color: #e5eef7 !important;
}

body.pd-dark-site .site-footer,
body.pd-page-template .site-footer,
body.home.page .site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

body.pd-dark-site .site-footer,
body.pd-dark-site .site-footer a,
body.pd-dark-site .site-footer p,
body.pd-dark-site .site-footer .widget,
body.pd-page-template .site-footer,
body.pd-page-template .site-footer a,
body.home.page .site-footer,
body.home.page .site-footer a {
    color: #94a3b8 !important;
}

.pd-site h1,
.pd-site h2,
.pd-site h3,
.pd-site h4,
.pd-site .pd-title,
.pd-site .pd-card h3,
.pd-site .pd-feed-item h3,
.pd-site .pd-faq h3,
.pd-site .pd-event-types h3 {
    color: #ffffff !important;
}

.pd-site p,
.pd-site li,
.pd-site .pd-subtitle,
.pd-site .pd-feed-item p,
.pd-site .pd-faq p,
.pd-site .pd-list,
.pd-site .pd-card-body p,
.pd-site .pd-feed-item,
.entry-content .pd-site p,
.entry-content .pd-site li {
    color: #e8eef5 !important;
}

.pd-site .pd-subtitle,
.pd-site .pd-feed-item p,
.pd-site .pd-faq p,
.pd-site .pd-list,
.pd-site .pd-card-body p {
    color: #d7e0ea !important;
}

.pd-site a {
    color: #00d4ff;
}

.pd-site .pd-hero .pd-subtitle {
    color: rgba(255, 255, 255, 0.92);
}

.pd-feed-item h3 {
    margin: 0 0 0.45rem;
    color: #ffffff !important;
}

body.pd-dark-site .pd-feed-item,
body.pd-page-template .pd-feed-item,
body.home .pd-feed-item {
    background: #151c2b !important;
}

body.pd-dark-site .pd-feed-item p,
body.pd-dark-site .pd-faq p,
body.pd-page-template .pd-feed-item p,
body.home .pd-feed-item p {
    color: #f1f5f9 !important;
}

.pd-site .pd-service-icon.pd-service-photo {
    background-size: cover;
    background-position: center;
    font-size: 0;
}

.pd-site .pd-page-hero {
    padding-top: 7rem;
}

.pd-site .pd-split,
.pd-site .pd-service-detail,
.pd-site .pd-contact-layout,
.pd-site .pd-grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.pd-site .pd-service-detail-flip {
    grid-template-columns: 0.9fr 1.1fr;
}

.pd-site .pd-service-detail-flip > div {
    order: -1;
}

.pd-site .pd-split p,
.pd-site .pd-service-detail p {
    color: var(--pd-text-muted);
    line-height: 1.75;
}

.pd-site .pd-split-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--pd-border-soft);
}

.pd-site .pd-split-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.pd-site .pd-event-types .pd-feed-item,
.pd-site .pd-faq .pd-feed-item {
    height: 100%;
}

.pd-site .pd-faq {
    display: grid;
    gap: 1rem;
}

.pd-site .pd-cta-band {
    text-align: left;
}

.pd-site .pd-cta-band .pd-actions {
    margin-top: 1.25rem;
}

.ast-header-button-1 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
    border-radius: 10px !important;
    font-weight: 700 !important;
}

@media (max-width: 900px) {
    .pd-site .pd-split,
    .pd-site .pd-service-detail,
    .pd-site .pd-service-detail-flip,
    .pd-site .pd-contact-layout,
    .pd-site .pd-grid-2 {
        grid-template-columns: 1fr;
    }

    .pd-site .pd-service-detail-flip > div {
        order: 0;
    }
}
