/* ==========================================================================
   PhotonCode · Agendar llamada: video en el panel y sección "tu llamada"
   Se carga después de style.css y light.css.
   ========================================================================== */

/* ---------- Video de videollamada en el panel izquierdo ---------- */
.call-video {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #1d1d1f;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.call-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.7) 100%);
}

.call-video-top {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1d1d1f;
    font-size: 0.8rem;
    font-weight: 600;
}

.call-video-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.call-video .booking-details-list {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
}

.call-video .detail-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.call-video .detail-badge i {
    color: #fff;
}

/* ---------- Sección inferior ---------- */
.call-more {
    position: relative;
    z-index: 10;
    padding: clamp(70px, 10vw, 130px) 0;
    background: #fff;
}

.call-wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.call-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}

.call-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6c47ff;
}

.call-head h2,
.call-showcase h3 {
    margin-top: 14px;
    font-family: 'Inter Tight', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: #1d1d1f;
}

.call-grad {
    background: linear-gradient(115deg, #00a6ff 0%, #6c47ff 55%, #c03cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.call-head p {
    margin-top: 16px;
    font-size: 1.1rem;
    color: #6e6e73;
}

.call-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.call-card {
    padding: 14px 14px 30px;
    border-radius: 32px;
    background: #f5f5f7;
}

.call-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: #1d1d1f;
    margin-bottom: 22px;
}

.call-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-media-light {
    display: grid;
    place-items: center;
    padding: 18px;
    background: linear-gradient(150deg, #eef0ff 0%, #f7ecff 100%);
}

.call-media-light img {
    width: 112%;
    max-width: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
}

.call-num {
    display: block;
    padding: 0 14px;
    font-family: 'Inter Tight', 'Inter', sans-serif;
    font-weight: 800;
    color: #6c47ff;
}

.call-card h3 {
    padding: 0 14px;
    margin: 6px 0 8px;
    font-family: 'Inter Tight', 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
}

.call-card p {
    padding: 0 14px;
    color: #6e6e73;
}

.call-showcase {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 40px;
    background: #1d1d1f;
    overflow: hidden;
}

.call-showcase h3 {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3rem);
}

.call-showcase p {
    margin-top: 14px;
    color: #a1a1a6;
}

.call-showcase .call-kicker {
    color: #a78bfa;
}

.call-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #fff;
    color: #1d1d1f;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.call-link:hover {
    gap: 14px;
}

.call-phones {
    display: flex;
    justify-content: center;
    gap: 2%;
}

.call-phones img {
    width: 24%;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.call-phones img:nth-child(odd) {
    transform: translateY(24px);
}

.call-showcase:hover .call-phones img {
    transform: translateY(-6px);
}

.call-tech {
    margin-top: clamp(50px, 7vw, 80px);
    text-align: center;
}

.call-tech > span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #86868b;
}

/* Marquesina de logos (misma que la portada) */
.logo-marquee {
    display: flex;
    margin-top: 26px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: clamp(30px, 4vw, 56px);
    padding-right: clamp(30px, 4vw, 56px);
    animation: callMarquee 60s linear infinite;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #86868b;
    white-space: nowrap;
}

.brand-mark {
    display: inline-block;
    width: 26px;
    height: 26px;
    background: currentColor;
    -webkit-mask: var(--logo) center / contain no-repeat;
    mask: var(--logo) center / contain no-repeat;
}

.logo-item:hover {
    color: #1d1d1f;
}

.logo-item:hover .brand-mark {
    background: rgb(var(--bc));
}

@keyframes callMarquee {
    to { transform: translateX(-100%); }
}

/* Revelado con scroll (llamada no carga home.js) */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .call-cards,
    .call-showcase {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .logo-track {
        animation: none;
    }
}

.call-more img {
    height: auto;
}
