/**
 * Scorpio Towers - Plataformas Digitales Page Styles
 * Color Theme: Red (#ff0000, #b10303, #500000)
 */

:root {
    --red-primary: #e11d48;
    --red-medium: #9f1239;
    --red-dark: #4c0519;
    --red-glow: rgba(225, 29, 72, 0.35);
    --red-glass: rgba(24, 6, 10, 0.65);
    --red-border: rgba(225, 29, 72, 0.2);
}

/* Modificar localmente los blobs de fondo para tener halo rojo */
.blob-purple, .blob-cyan, .blob-blue {
    background: radial-gradient(circle, rgba(225, 29, 72, 0.22) 0%, rgba(76, 5, 25, 0.05) 70%) !important;
}

/* Corchetes Angular HUD en Tonos Rojos */
.hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 15;
    background: transparent !important;
}

.hud-corner.top-left {
    top: -8px;
    left: -8px;
    border-top: 2px solid var(--red-primary) !important;
    border-left: 2px solid var(--red-primary) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

.hud-corner.top-right {
    top: -8px;
    right: -8px;
    border-top: 2px solid var(--red-primary) !important;
    border-right: 2px solid var(--red-primary) !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
}

.hud-corner.bottom-left {
    bottom: -8px;
    left: -8px;
    border-bottom: 2px solid var(--red-primary) !important;
    border-left: 2px solid var(--red-primary) !important;
    border-top: 0 !important;
    border-right: 0 !important;
}

.hud-corner.bottom-right {
    bottom: -8px;
    right: -8px;
    border-bottom: 2px solid var(--red-primary) !important;
    border-right: 2px solid var(--red-primary) !important;
    border-top: 0 !important;
    border-left: 0 !important;
}

/* --- Hero Section --- */
.pd-hero {
    min-height: auto;
    padding: 130px 24px 60px;
    position: relative;
    overflow: hidden;
}

.pd-hero-body {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 5;
    position: relative;
}

/* Fila Superior Centrada: Título en Fila Única */
.pd-hero-top {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.pd-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.1vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 0;
    white-space: nowrap;
}

.pd-hero-title span.glow-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--red-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(225, 29, 72, 0.4));
}

.pd-hero-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 100%;
    margin: 0 0 0;
    line-height: 1.6;
}

/* Grilla Inferior de 2 Columnas */
.pd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 50px);
    align-items: center;
    width: 100%;
}

.pd-hero-left {
    text-align: left;
    display: flex;
    flex-direction: column;
}

/* Checklist Hero con Espaciado Simétrico */
.pd-hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.pd-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pd-checklist-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}

.pd-checklist-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.pd-checklist-text strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.pd-checklist-text span {
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Botones Hero */
/* Botones Hero en una misma línea */
.hero-buttons-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    margin-top: 26px;
    width: 100%;
}

.pd-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-medium) 100%);
    color: #ffffff;
    padding: 14px 22px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(225, 29, 72, 0.5),
        0 0 35px rgba(225, 29, 72, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.pd-btn-primary span {
    transition: transform 0.3s ease;
}

.pd-btn-primary:hover span {
    transform: translateX(4px);
}

.pd-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    padding: 14px 22px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-btn-secondary:hover {
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
}

.pd-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    width: 100%;
}

/* --- Columna Derecha: Consola UI de Arquitectura de Software --- */
.pd-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.pd-diag-container {
    width: 100%;
    max-width: 540px;
    background: rgba(18, 6, 10, 0.65);
    border: 1px solid var(--red-border);
    border-radius: 24px;
    padding: 32px 28px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    box-sizing: border-box;
}

.pd-arch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(225, 29, 72, 0.15);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.pd-arch-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.pd-live-dot {
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red-primary);
    position: relative;
}

.pd-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid var(--red-primary);
    border-radius: 50%;
    animation: radarBeacon 2s infinite ease-out;
}

.pd-arch-status {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: var(--red-primary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.08em;
}

.pd-arch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.pd-arch-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(225, 29, 72, 0.18);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.pd-arch-card:hover {
    background: rgba(225, 29, 72, 0.08);
    border-color: rgba(225, 29, 72, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.15);
}

.pd-arch-icon {
    width: 40px;
    height: 40px;
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    flex-shrink: 0;
}

.pd-arch-info {
    display: flex;
    flex-direction: column;
}

.pd-arch-info strong {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pd-arch-info small {
    color: #94a3b8;
    font-size: 0.72rem;
    margin-top: 2px;
}

.pd-arch-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    border-top: 1px solid rgba(225, 29, 72, 0.12);
    padding-top: 16px;
    flex-wrap: wrap;
}

.pd-footer-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.pd-footer-tag svg {
    color: var(--red-primary);
}

.pd-node-desc {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* Posición de los Nodos */
.node-frontend {
    top: 10%;
    left: 5%;
}

.node-backend {
    top: 40%;
    left: 45%;
    transform: translateX(-50%);
}

.node-db {
    bottom: 5%;
    left: 15%;
}

.node-api {
    top: 40%;
    right: 5%;
}

/* Conexiones SVG */
.pd-diag-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.pd-diag-line {
    stroke: rgba(255, 0, 0, 0.15);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 6 6;
    animation: diagDash 30s linear infinite;
    transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.pd-diag-line.highlight-line {
    stroke: var(--red-primary);
    stroke-width: 3;
    filter: drop-shadow(0 0 8px var(--red-primary));
}

@keyframes diagDash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Header de Sección 2 Centrado y Profesional */
.sw-section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.25);
    color: #f1f5f9;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.15);
    backdrop-filter: blur(8px);
}

.pd-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red-primary);
}

.sw-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 14px;
    text-align: center;
}

.glow-text-red {
    background: linear-gradient(135deg, #ffffff 30%, var(--red-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(225, 29, 72, 0.35));
}

.sw-section-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* --- SECCIÓN 2: Soluciones (Cuadrícula 2x2 Simétrica) --- */
.pd-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.pd-sol-card {
    background: rgba(18, 6, 10, 0.65);
    border: 1px solid var(--red-border);
    border-radius: 20px;
    padding: 28px 26px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.pd-sol-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 72, 0.5);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(225, 29, 72, 0.15);
}

.pd-sol-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
}

.pd-sol-badge {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.28);
    color: var(--red-primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pd-sol-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.pd-sol-card:hover .pd-sol-header {
    background: rgba(225, 29, 72, 0.06);
    border-color: rgba(225, 29, 72, 0.35);
}

.pd-sol-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.2);
    transition: all 0.3s ease;
}

.pd-sol-card:hover .pd-sol-icon-box {
    transform: scale(1.08);
    background: var(--red-primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.5);
}

.pd-sol-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: 99px;
}

.pd-metric-dot {
    width: 7px;
    height: 7px;
    background: var(--red-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red-primary);
    position: relative;
}

.pd-sol-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pd-sol-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pd-sol-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.pd-tag-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
}

/* --- SECCIÓN 3: Stack Tecnológico --- */
.pd-stack-container {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.pd-stack-left {
    display: flex;
    flex-direction: column;
}

.pd-stack-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 35px;
}

.pd-stack-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pd-stack-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
}

.pd-stack-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.pd-stack-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-stack-text h3 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
}

.pd-stack-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Grilla de Logos minimalistas (Lado Derecho) */
.pd-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-item {
    background: rgba(18, 6, 10, 0.65);
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-radius: 16px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: default;
    user-select: none;
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    pointer-events: auto;
}

/* Resplandor radial de color de marca */
.tech-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--brand-color, #e11d48) 0%, transparent 75%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.tech-item:hover::before {
    opacity: 0.22;
}

.tech-item:hover {
    border-color: var(--brand-color, #e11d48);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6),
        0 0 25px var(--brand-color, #e11d48),
        inset 0 0 15px var(--brand-color, #e11d48);
    transform: translateY(-5px) scale(1.04);
}

.tech-item span {
    transition: color 0.35s ease, text-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.tech-item:hover span {
    color: #ffffff;
    text-shadow: 0 0 10px var(--brand-color, #e11d48);
}

.tech-item img.tech-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: all 0.35s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
}

.tech-item:hover img.tech-icon-img {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 14px var(--brand-color, #e11d48)) drop-shadow(0 0 4px var(--brand-color, #e11d48));
}

/* --- SECCIÓN 4: Proceso de Trabajo (Timeline) --- */
section#proceso.sw-section {
    padding-top: 50px;
    padding-bottom: 40px;
}

section#contacto.pd-cta-section {
    padding-top: 30px;
    padding-bottom: 60px;
}

.pd-process-flow {
    position: relative;
    max-width: 1000px;
    margin: 24px auto 0;
    padding: 16px 0;
}

/* Línea roja horizontal perfectamente centrada en los nodos (1, 2, 3, 4) */
.pd-process-line {
    position: absolute;
    top: 39px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.3) 0%, var(--red-primary) 50%, rgba(225, 29, 72, 0.3) 100%);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
    z-index: 1;
}

.pd-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.pd-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pd-step-node {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #090303;
    border: 3px solid var(--red-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.pd-step-card:hover .pd-step-node {
    background: var(--red-primary);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

.pd-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.pd-step-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 10px;
}

/* --- SECCIÓN 5: CTA Final --- */
.pd-cta-section {
    padding: 120px 24px;
    background: radial-gradient(circle at center, rgba(177, 3, 3, 0.12) 0%, rgba(8, 10, 18, 0) 70%);
    text-align: center;
}

.pd-cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--red-glass);
    border: 1px solid var(--red-border);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.pd-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.pd-cta-desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Animaciones de Entrada (Scroll) --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsividad --- */

@media (max-width: 1024px) {
    .pd-hero-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .pd-hero-content {
        text-align: center;
        align-items: center;
    }
    
    .pd-btn-group {
        justify-content: center;
    }
    
    .pd-stack-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .pd-hero-title {
        white-space: normal;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .pd-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons-inline {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pd-solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-buttons-inline,
    .pd-btn-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 14px;
    }

    .hero-buttons-inline .pd-btn-primary,
    .hero-buttons-inline .pd-btn-secondary,
    .pd-btn-group .pd-btn-primary,
    .pd-btn-group .pd-btn-secondary {
        width: 100%;
        max-width: 340px;
        text-align: center;
        justify-content: center;
    }

    .pd-process-line {
        display: none;
    }
    
    .pd-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pd-step-node {
        margin-bottom: 12px;
    }
    
    .pd-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tech-item.hide-on-mobile {
        display: none !important;
    }
}
