select.select-custom {
    display: block;
    width: 100%;
    height: auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #495057;
    background-color: #fff;
}

select.select-custom:focus {
    outline: none;
    border-color: #a500ff;
}

/* Ajuste de Hero para textos largos de pSEO */
.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.hero-section {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    position: relative;
}

.header-hero {
    height: auto !important;
    min-height: 100vh !important;
    padding-bottom: 80px !important;
    overflow: visible !important;
}

.landing-hero {
    display: flex !important;
    /* Eliminamos align-items: center y el padding enorme para que el título no baje tanto */
    padding-top: 100px !important;
    padding-bottom: 72px !important;
}

.header-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-top: 0;
}

.video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
    overflow: hidden;
    pointer-events: none;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.header-hero-content {
    padding-top: 0;
    max-width: 900px;
}

.header-hero-content .hero-title {
    margin-top: 0;
    line-height: 1.15;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .header-hero {
        padding-top: 0 !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
    }

    .landing-hero {
        padding-top: 125px !important;
        padding-bottom: 56px !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-section {
        min-height: auto !important;
    }

    .header-hero {
        padding-top: 0 !important;
        padding-bottom: 48px !important;
        min-height: auto !important;
    }

    .landing-hero {
        padding-top: 108px !important;
        padding-bottom: 44px !important;
    }
}

.seo-unique-content {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #fcfdfe);
    border-bottom: 1px solid #f0f3f9;
}

.service-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-info-text h2 {
    font-size: 2.2rem;
    color: #1a1e2e;
    line-height: 1.3;
    margin-bottom: 24px;
    font-weight: 800;
}

.service-info-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    position: relative;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #f0f3ff;
    color: #2e3192;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.feature-content h4 {
    font-size: 1.05rem;
    color: #1a1e2e;
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-content p {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 0;
    line-height: 1.5;
}

.service-info-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f3f9;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .service-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .seo-unique-content {
        padding: 60px 0;
    }

    .service-info-text h2 {
        font-size: 1.8rem;
    }

    .service-features-card {
        padding: 25px;
    }
}

.info-links a {
    color: #2e3192;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .seo-unique-content p {
        font-size: 16px;
        line-height: 1.7;
        text-align: left !important;
    }

    .seo-unique-content {
        padding: 54px 0;
    }

    .info-block {
        padding: 18px 16px 14px;
    }
}

/* ---------- Global Section Gradient Backgrounds ---------- */
.header-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f6f8fd 50%, #eef3fb 100%) !important;
    background-image:
        radial-gradient(ellipse 900px 600px at 15% 20%, rgba(165, 0, 255, 0.05), transparent 60%),
        radial-gradient(ellipse 900px 600px at 85% 70%, rgba(6, 200, 215, 0.06), transparent 60%) !important;
}

.brand-area, .client-logo-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.services-area, .service-area {
    background: #0e0d21 !important;
    background-image: none !important;
}

.analysis-area {
    background: #0e0d21 !important;
    background-image: none !important;
}

.analysis-title .title {
    color: #ffffff !important;
}

.tech-section, .our-tech {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

.workflow-area, .step-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.footer-area {
    background: #060512 !important;
    background-image: none !important;
}

.pseo-cluster-section {
    background: #080816 !important;
    background-image: none !important;
    padding: 110px 0 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cluster-card {
    background: transparent !important;
    padding: 0;
    border: none;
    box-shadow: none;
    height: auto;
}

.cluster-card h3 {
    font-size: 1.15rem;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
}

.cluster-card h3 i {
    color: #a500ff;
    font-size: 1rem;
}

.cluster-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cluster-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    background: #A500FF;
    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #A500FF;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.cluster-pill:hover {
    background: #ffffff;
    color: #A500FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 0, 255, 0.4);
}

/* --- SEO INTRO SECTION (SUBTLE) --- */
.seo-intro-section {
    background: #08071a;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.seo-intro-section h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.seo-intro-section h2 span {
    color: #a500ff;
}

.seo-intro-section p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 1050px;
    margin: 0 auto;
    text-align: justify;
}

.seo-intro-section strong {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 767px) {
    .seo-intro-section h2 {
        font-size: 1.8rem;
    }

    .seo-intro-section p {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .pseo-cluster-section {
        padding: 40px 0;
    }

    .cluster-card {
        padding: 30px 20px;
    }

    .cluster-pill {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .slider-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
    }

    .header-hero-content .header-play {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .header-hero-content .header-play a {
        text-align: center;
        width: 100%;
    }

    .cluster-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.back-to-top {
    z-index: 99999 !important;
}

.back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.p-seo-variable {
    color: #a500ff;
    font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: #080816 !important;
    background-image: none !important;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.testimonials-title {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 16px;
}

.testimonials-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonials-carousel {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

.testimonial-nav-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #a500ff;
    color: #ffffff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    box-shadow: 0 4px 15px rgba(165, 0, 255, 0.35);
}

.testimonial-nav-btn:hover {
    background: #8e00dc;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(165, 0, 255, 0.5);
}

.testimonial-viewport {
    flex: 1;
    overflow: hidden;
    padding: 10px 4px;
}

.testimonial-track {
    position: relative;
}

.testimonial-slide {
    display: flex;
    align-items: stretch;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.testimonial-slide:hover {
    border-color: rgba(6, 200, 215, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(6, 200, 215, 0.12);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-visual {
    position: relative;
    flex: 0 0 260px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(165, 0, 255, 0.06) 0%, rgba(6, 200, 215, 0.04) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    background: #a500ff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.testimonial-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1e1b4b;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 48px;
    position: relative;
}

.testimonial-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stars-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffb800;
    font-size: 1.05rem;
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(165, 0, 255, 0.12);
    border: 1px solid rgba(165, 0, 255, 0.3);
    color: #d8b4fe;
    font-size: 0.82rem;
    font-weight: 600;
}

.testimonial-quote-icon-decor {
    position: absolute;
    top: 28px;
    right: 36px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(165, 0, 255, 0.15);
    pointer-events: none;
}

.testimonial-slide blockquote {
    margin: 0 0 14px;
    color: #f1f5f9;
    font-size: 1.1rem;
    line-height: 1.75;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    flex-wrap: wrap;
}

.testimonial-author strong {
    display: block;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    display: block;
    color: #94a3b8;
    font-size: 0.86rem;
}

.testimonial-author a {
    color: #94a3b8;
    text-decoration: none;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.6);
    transition: color 0.2s ease;
}

.testimonial-author a:hover {
    color: #06c8d7;
    border-bottom-color: #06c8d7;
}

.company-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 32px;
    border-radius: 10px;
    background: #a500ff;
    box-shadow: 0 0 12px rgba(165, 0, 255, 0.5);
}

@media (max-width: 850px) {
    .testimonials-section { padding: 70px 0; }
    .testimonials-carousel { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .testimonial-viewport { flex: 0 0 100%; order: 1; width: 100%; }
    .testimonial-prev { order: 2; }
    .testimonial-next { order: 3; }
    .testimonial-nav-btn { width: 44px; height: 44px; font-size: 1rem; }

    .testimonial-slide { flex-direction: column; }
    .testimonial-visual {
        flex: 0 0 auto;
        width: 100%;
        min-height: auto;
        padding: 28px 20px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .testimonial-avatar-wrapper { width: 120px; height: 120px; }
    .testimonial-content { padding: 28px 24px; }
    .testimonial-slide blockquote { font-size: 0.9rem; margin-bottom: 20px; }
    .testimonial-quote-icon-decor { top: 16px; right: 20px; font-size: 2.2rem; }
}

/* ---------- FAQ Accordion ---------- */
.faq-section {
    background-color: #ffffff;
    background-image:
        radial-gradient(ellipse 80% 50% at 80% 80%, rgba(6, 200, 215, 0.06), transparent 60%);
    padding: 95px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.faq-title {
    color: #222222;
    font-weight: 600;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 14px;
}

.faq-subtitle {
    color: #666666;
    font-size: 1.02rem;
    line-height: 1.6;
    font-weight: 400;
}

.faq-accordion-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(20, 10, 40, 0.05);
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: rgba(6, 200, 215, 0.35);
    box-shadow: 0 6px 20px rgba(20, 10, 40, 0.08);
}

.faq-accordion-item.active {
    border-color: rgba(165, 0, 255, 0.35);
    box-shadow: 0 10px 30px rgba(20, 10, 40, 0.1);
}

.faq-accordion-header {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}

.faq-accordion-question {
    color: #222222;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question-icon {
    color: #06c8d7;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-accordion-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
    background: #a500ff !important;
    border-color: #a500ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(165, 0, 255, 0.3);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 28px;
}

.faq-accordion-item.active .faq-accordion-body {
    max-height: 500px;
    padding: 0 28px 24px 52px;
    transition: max-height 0.4s cubic-bezier(0.5, 0, 0.1, 1);
}

.faq-accordion-answer {
    color: #666666;
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
}

@media (max-width: 767px) {
    .faq-section { padding: 65px 0; }
    .faq-accordion-header { padding: 18px 20px; }
    .faq-accordion-question { font-size: 0.98rem; }
    .faq-accordion-item.active .faq-accordion-body { padding: 0 20px 20px 20px; }
}
