.pd-site {
    --pd-bg: #070b12;
    --pd-bg-soft: #0f1623;
    --pd-surface: rgba(15, 22, 35, 0.72);
    --pd-surface-solid: #121a28;
    --pd-border: rgba(0, 212, 255, 0.22);
    --pd-border-soft: rgba(148, 163, 184, 0.14);
    --pd-accent: #00d4ff;
    --pd-accent-2: #7c3aed;
    --pd-accent-warm: #f59e0b;
    --pd-text: #e5eef7;
    --pd-text-muted: #94a3b8;
    --pd-white: #ffffff;
    --pd-glow: 0 0 24px rgba(0, 212, 255, 0.18);
    color: var(--pd-text);
    background: var(--pd-bg);
}

.pd-site .pd-section {
    padding: 5rem clamp(1.35rem, 4vw, 2.75rem);
    position: relative;
}

.pd-site .pd-section:nth-child(even) {
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.04), transparent 40%),
        var(--pd-bg-soft);
}

.pd-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: clamp(0.35rem, 1.5vw, 1rem);
    position: relative;
    z-index: 1;
}

.pd-title {
    font-size: clamp(1.85rem, 2.6vw, 2.8rem);
    margin: 0 0 0.75rem;
    color: var(--pd-white);
    letter-spacing: -0.02em;
}

.pd-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pd-accent), var(--pd-accent-2));
    box-shadow: var(--pd-glow);
}

.pd-subtitle {
    max-width: 760px;
    color: var(--pd-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pd-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, 0.82) 0%, rgba(7, 11, 18, 0.45) 38%, rgba(7, 11, 18, 0.9) 100%),
        radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.12), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.14), transparent 30%);
}

.pd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        url("https://produccionesdiscovery.com/wp-content/uploads/2026/03/IMG6-scaled.webp") center 22% / cover no-repeat;
}

.pd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
    pointer-events: none;
}

.pd-hero .pd-container {
    animation: pd-fade-up 0.8s ease both;
    padding-inline: clamp(1rem, 3.5vw, 2.25rem);
}

.pd-hero .pd-subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.pd-hero p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--pd-border);
    border-radius: 999px;
    background: rgba(7, 11, 18, 0.55);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pd-accent);
}

.pd-hero h1 {
    color: var(--pd-white);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin: 1rem 0;
    line-height: 1.08;
    max-width: 14ch;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.72);
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.pd-btn {
    border-radius: 10px;
    padding: 0.9rem 1.45rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
}

.pd-btn:hover {
    transform: translateY(-2px);
}

.pd-btn-primary {
    background: var(--pd-accent);
    color: #041018;
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.28);
}

.pd-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.38);
}

.pd-btn-secondary {
    background: transparent;
    color: var(--pd-white);
    border-color: var(--pd-border);
    backdrop-filter: blur(6px);
}

.pd-btn-secondary:hover {
    border-color: var(--pd-accent);
    color: var(--pd-accent);
}

.pd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.pd-card {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border-soft);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-card:hover {
    transform: translateY(-4px);
    border-color: var(--pd-border);
    box-shadow: var(--pd-glow);
}

.pd-card-body {
    padding: 1.25rem;
}

.pd-service-icon {
    height: 150px;
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12)),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 8px
        );
    display: grid;
    place-items: center;
    color: var(--pd-accent);
    font-size: 2.6rem;
    border-bottom: 1px solid var(--pd-border-soft);
}

.pd-card h3 {
    color: var(--pd-white);
    margin: 0 0 0.5rem;
}

.pd-list {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
    color: var(--pd-text-muted);
}

.pd-gallery {
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08), transparent 45%),
        var(--pd-bg);
}

.pd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.pd-gallery-actions {
    margin-top: 1.75rem;
}

.pd-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--pd-border-soft);
}

.pd-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 18, 0.75));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pd-gallery-item:hover::after {
    opacity: 1;
}

.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    aspect-ratio: 4/3;
    transition: transform 0.35s ease;
}

.pd-gallery-item:hover img {
    transform: scale(1.04);
}

.pd-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pd-video-wrap iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 14px;
}

.pd-youtube-channel-card {
    min-height: 320px;
}

.pd-youtube-channel-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.pd-youtube-channel-inner {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    background:
        radial-gradient(circle at top, rgba(0, 212, 255, 0.14), transparent 55%),
        var(--pd-surface-solid);
    border: 1px solid var(--pd-border);
    text-align: center;
}

.pd-youtube-channel-inner h4 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--pd-white);
}

.pd-youtube-channel-inner p {
    margin: 0;
    max-width: 280px;
    color: var(--pd-text-muted);
}

.pd-youtube-icon {
    font-size: 3rem;
    line-height: 1;
    color: var(--pd-accent);
}

.pd-events-section {
    background:
        linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.03)),
        var(--pd-bg-soft);
}

.pd-events-timeline {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.pd-events-timeline li {
    display: flex;
    align-items: center;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    border: 1px solid var(--pd-border-soft);
    background: var(--pd-surface);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-events-timeline li:hover {
    border-color: var(--pd-border);
    box-shadow: var(--pd-glow);
}

.pd-events-timeline time {
    font-size: 1rem;
    color: var(--pd-white);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.pd-events-timeline time::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.65rem;
    border-radius: 50%;
    background: var(--pd-accent-warm);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.65);
    vertical-align: middle;
}

.pd-events-empty {
    padding: 1.2rem 1.1rem;
    border-radius: 14px;
    border: 1px dashed var(--pd-border-soft);
    color: var(--pd-text-muted);
    background: rgba(7, 11, 18, 0.35);
}

.pd-events-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--pd-text-muted);
}

.pd-feed-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pd-feed-item {
    border: 1px solid var(--pd-border-soft);
    border-radius: 14px;
    padding: 1.1rem;
    background: var(--pd-surface);
    backdrop-filter: blur(8px);
}

.pd-feed-item h3 {
    margin: 0 0 0.45rem;
}

.pd-feed-item h3 a {
    color: var(--pd-white);
    text-decoration: none;
}

.pd-feed-item h3 a:hover {
    color: var(--pd-accent);
}

.pd-event-meta {
    color: var(--pd-text-muted);
    font-size: 0.92rem;
}

.pd-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pd-reveal.pd-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pd-fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .pd-grid-3,
    .pd-gallery-grid,
    .pd-feed-list,
    .pd-video-grid {
        grid-template-columns: 1fr;
    }

    .pd-hero h1 {
        max-width: none;
    }
}

body.pd-inicio-sitio .site-header .ast-container,
body.pd-page-template .site-header .ast-container,
body.pd-inicio-sitio .ast-mobile-header-wrap .ast-container,
body.pd-page-template .ast-mobile-header-wrap .ast-container {
    padding-left: clamp(1rem, 3vw, 2.25rem);
    padding-right: clamp(1rem, 3vw, 2.25rem);
}

/* Cabecera legible sobre el hero (logo, menú y título de página). */
body.pd-inicio-sitio.ast-theme-transparent-header #masthead,
body.pd-page-template.ast-theme-transparent-header #masthead {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 50;
}

body.pd-inicio-sitio.ast-theme-transparent-header #ast-desktop-header > .ast-main-header-wrap > .main-header-bar,
body.pd-page-template.ast-theme-transparent-header #ast-desktop-header > .ast-main-header-wrap > .main-header-bar,
body.pd-inicio-sitio.ast-theme-transparent-header #ast-mobile-header > .ast-main-header-wrap > .main-header-bar,
body.pd-page-template.ast-theme-transparent-header #ast-mobile-header > .ast-main-header-wrap > .main-header-bar {
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.88), rgba(7, 11, 18, 0.35));
    backdrop-filter: blur(6px);
}

body.pd-inicio-sitio.ast-theme-transparent-header .site-title a,
body.pd-inicio-sitio.ast-theme-transparent-header .site-title a:hover,
body.pd-inicio-sitio.ast-theme-transparent-header .site-title a:focus,
body.pd-inicio-sitio.ast-theme-transparent-header .site-title a:visited,
body.pd-page-template.ast-theme-transparent-header .site-title a,
body.pd-page-template.ast-theme-transparent-header .site-title a:hover,
body.pd-page-template.ast-theme-transparent-header .site-title a:focus,
body.pd-page-template.ast-theme-transparent-header .site-title a:visited {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

body.pd-inicio-sitio.ast-theme-transparent-header .ast-builder-menu-1 .menu-item > .menu-link,
body.pd-inicio-sitio.ast-theme-transparent-header .ast-builder-menu-1 .menu-item > .ast-menu-toggle,
body.pd-inicio-sitio.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button,
body.pd-page-template.ast-theme-transparent-header .ast-builder-menu-1 .menu-item > .menu-link,
body.pd-page-template.ast-theme-transparent-header .ast-builder-menu-1 .menu-item > .ast-menu-toggle,
body.pd-page-template.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

body.pd-inicio-sitio.ast-theme-transparent-header .ast-builder-menu-1 .menu-item:hover > .menu-link,
body.pd-inicio-sitio.ast-theme-transparent-header .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
body.pd-page-template.ast-theme-transparent-header .ast-builder-menu-1 .menu-item:hover > .menu-link,
body.pd-page-template.ast-theme-transparent-header .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
    color: var(--pd-accent) !important;
}

body.pd-inicio-sitio.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button,
body.pd-page-template.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button {
    border-color: rgba(255, 255, 255, 0.85) !important;
    background: rgba(7, 11, 18, 0.35) !important;
}

body.pd-inicio-sitio.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button:hover,
body.pd-page-template.ast-theme-transparent-header .ast-header-button-1 .ast-custom-button:hover {
    color: #041018 !important;
    background: var(--pd-accent) !important;
    border-color: var(--pd-accent) !important;
    text-shadow: none;
}

body.pd-inicio-sitio.ast-theme-transparent-header .site-logo-img img,
body.pd-inicio-sitio.ast-theme-transparent-header .custom-logo-link img,
body.pd-inicio-sitio.ast-theme-transparent-header .transparent-custom-logo img,
body.pd-page-template.ast-theme-transparent-header .site-logo-img img,
body.pd-page-template.ast-theme-transparent-header .custom-logo-link img,
body.pd-page-template.ast-theme-transparent-header .transparent-custom-logo img {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75)) brightness(1.08) contrast(1.05);
}

body.pd-inicio-sitio.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-mobile-menu-trigger-fill,
body.pd-page-template.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-mobile-menu-trigger-fill {
    background: rgba(7, 11, 18, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

body.pd-inicio-sitio header.entry-header .entry-title,
body.pd-page-template header.entry-header .entry-title {
    display: none;
}

.pd-site .pd-form-group {
    margin-bottom: 1.2rem;
}

.pd-site .pd-form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--pd-white);
}

.pd-site .pd-form-group input,
.pd-site .pd-form-group textarea,
.pd-site .pd-form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--pd-border-soft);
    border-radius: 10px;
    background: rgba(7, 11, 18, 0.65);
    color: var(--pd-white);
    font-family: inherit;
    font-size: 1rem;
}

.pd-site .pd-form-group input:focus,
.pd-site .pd-form-group textarea:focus,
.pd-site .pd-form-group select:focus {
    outline: none;
    border-color: var(--pd-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.pd-site .pd-submit-btn {
    background: var(--pd-accent);
    color: #041018;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-site .pd-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.28);
}
