/* Technologycks — overrides marca, paleta y componentes */

:root {
    --tck-bg: #0d0d0d;
    --tck-pop: #ee05f2;
    --tck-violet-1: #af88bf;
    --tck-violet-2: #b989d9;
    --tck-violet-3: #ba81c8;
    --tck-text: #ffffff;
    --tck-text-soft: rgba(255, 255, 255, 0.78);
    --tck-radius: 10px;
    --tck-glow: 0 0 18px rgba(238, 5, 242, 0.45);
}

html,
body {
    background: var(--tck-bg) !important;
}

#page-loader {
    background: var(--tck-bg) !important;
}

#page-loader .spinner-container .css-spinner {
    border-top-color: var(--tck-pop) !important;
}

.hero .front-content .logo {
    max-width: min(280px, 72vw);
    height: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 24px rgba(238, 5, 242, 0.25));
}

.cycle-wrapper h1 {
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    line-height: 1.15 !important;
    color: var(--tck-text) !important;
}

/* Gana a .hero-1 .front-content h1 span { color: #1fb8b2 } del tema */
.hero-1 .front-content .cycle-wrapper h1 .amp-accent,
.hero-1 .front-content h1 .amp-accent {
    color: var(--tck-pop) !important;
    -webkit-text-fill-color: var(--tck-pop);
    text-shadow: var(--tck-glow);
    font-weight: 700;
    padding: 0 0.12em;
}

.cycle-services {
    font-family: "Open Sans", sans-serif;
    font-size: clamp(13px, 2.8vw, 15px);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tck-violet-2);
    max-width: 36rem;
    margin: 1rem auto 0;
    line-height: 1.5;
}

.hero .front-content .container-mid > p.hero-tagline {
    font-family: "Raleway", sans-serif;
    font-size: clamp(11px, 2.5vw, 13px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tck-text-soft);
    margin-top: 2rem;
}

/* Video + overlays */
.bg-video-container video {
    opacity: 0.35;
}

.hero .level-2 .bg-overlay-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
            160deg,
            rgba(13, 13, 13, 0.88) 0%,
            rgba(13, 13, 13, 0.55) 40%,
            rgba(175, 136, 191, 0.12) 100%
        ),
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(238, 5, 242, 0.08), transparent 55%);
}

/* Flechas navegación / botones */
.tck-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.15em;
    height: 1.15em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.arrow-wrap .open-overlay .tck-icon,
.up-button .tck-icon {
    width: 22px;
    height: 22px;
}

.hero-1 .front-content div.open-overlay {
    border-color: rgba(175, 136, 191, 0.55) !important;
    color: var(--tck-violet-2) !important;
}

.hero-1 .front-content div.open-overlay:hover {
    border-color: var(--tck-pop) !important;
    color: var(--tck-pop) !important;
}

/* Flecha hero: misma animación slide que el tema (antes con <i>) */
.hero-1 .front-content .down-button .tck-icon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    pointer-events: none;
    transition: none;
}

.hero-1 .front-content .down-button:hover .tck-icon {
    transition: all 150ms cubic-bezier(1, 0, 0, 1);
}

.hero-1 .front-content .down-button .tck-icon:first-of-type {
    top: -200%;
}

.hero-1 .front-content .down-button:hover .tck-icon:first-of-type {
    top: 0;
}

.hero-1 .front-content .down-button .tck-icon:last-of-type {
    top: 0;
}

.hero-1 .front-content .down-button:hover .tck-icon:last-of-type {
    top: 200%;
}

.up-button .tck-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    opacity: 0.85;
    transition: none;
}

.up-button:hover .tck-icon {
    transition: all 200ms cubic-bezier(1, 0, 0, 1);
}

.up-button .tck-icon:first-of-type {
    transform: translateY(200%);
}

.up-button:hover .tck-icon:first-of-type {
    transform: translateY(0);
}

.up-button .tck-icon:last-of-type {
    transform: translateY(0);
}

.up-button:hover .tck-icon:last-of-type {
    transform: translateY(-200%);
}

.arrow-wrap .open-overlay:hover .tck-icon,
.up-button:hover .tck-icon,
.tck-btn-arrow:hover .tck-icon {
    filter: drop-shadow(0 0 10px rgba(238, 5, 242, 0.85));
}

/* Overlay about */
#about .content h1 {
    font-size: clamp(22px, 4vw, 32px) !important;
    letter-spacing: 0.06em;
    margin-bottom: 1rem !important;
}

#about .lead-brand {
    color: var(--tck-pop);
    font-weight: 600;
}

#about .content p {
    color: var(--tck-text-soft);
    font-size: 15px !important;
    line-height: 1.75 !important;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-heading {
    font-family: "Raleway", sans-serif;
    font-size: clamp(14px, 2.8vw, 17px) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.45 !important;
    color: var(--tck-text) !important;
    max-width: 32rem;
    margin: 0 auto 1.25rem !important;
}

/* Suscripción */
.subscribe-form {
    max-width: 100% !important;
    width: min(520px, 100%);
}

.subscribe-form .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: var(--tck-radius);
    overflow: hidden;
    border: 1px solid var(--tck-violet-1);
    background: rgba(13, 13, 13, 0.5);
}

.subscribe-form input.email {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
    color: var(--tck-text) !important;
    background: transparent !important;
}

.subscribe-form input.email::placeholder {
    color: var(--tck-violet-3) !important;
    opacity: 0.95;
}

.subscribe-form input.email:focus {
    outline: none;
    background: rgba(238, 5, 242, 0.06) !important;
    box-shadow: inset 0 0 0 1px var(--tck-pop) !important;
}

.subscribe-form .input-group-btn {
    flex-shrink: 0;
}

.subscribe-form .input-group-btn .btn.btn-primary {
    position: relative;
    overflow: hidden !important;
    min-width: 56px;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    background: var(--tck-pop) !important;
    color: #0d0d0d !important;
    display: block;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-form .input-group-btn .btn.btn-primary:hover {
    background: #ff4aff !important;
    box-shadow: var(--tck-glow);
}

.subscribe-form .input-group-btn .btn .tck-icon {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 20px;
    margin-top: -10px;
    stroke: #0d0d0d;
    transition: none;
}

.subscribe-form .input-group-btn .btn:hover .tck-icon {
    transition: left 0.2s ease;
}

.subscribe-form .input-group-btn .btn .tck-icon:first-of-type {
    left: -200%;
}

.subscribe-form .input-group-btn .btn:hover .tck-icon:first-of-type {
    left: 0;
}

.subscribe-form .input-group-btn .btn .tck-icon:last-of-type {
    left: 0;
}

.subscribe-form .input-group-btn .btn:hover .tck-icon:last-of-type {
    left: 200%;
}

/* Honeypot */
.fhp-input {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Redes — favicons visibles (fondo claro + dock fijo) */
.tck-social-dock {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    pointer-events: none;
}

.tck-social-dock .social-icons--dock {
    pointer-events: auto;
    margin: 0;
    padding: 8px 12px;
    gap: 0.5rem 0.65rem;
    flex-wrap: nowrap;
    background: rgba(13, 13, 13, 0.82);
    border: 1px solid rgba(175, 136, 191, 0.45);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 1px rgba(238, 5, 242, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.social-icons li a.social-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(175, 136, 191, 0.45);
    background: rgba(13, 13, 13, 0.75);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease,
        background 0.25s ease;
}

.social-icons li a.social-pill:hover {
    border-color: var(--tck-pop);
    background: rgba(13, 13, 13, 0.92);
    box-shadow: 0 0 22px rgba(238, 5, 242, 0.4);
    transform: translateY(-2px);
}

.social-pill__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.social-pill__icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

/* Contacto */
#contact .content h1 {
    letter-spacing: 0.08em;
}

#contact .content p {
    color: var(--tck-text-soft);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

#contact-form .control-group label {
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tck-violet-2);
    margin-bottom: 0.45rem;
}

#contact-form .form-control {
    border-radius: var(--tck-radius) !important;
    border: 1px solid var(--tck-violet-1) !important;
    background: rgba(13, 13, 13, 0.45) !important;
    color: var(--tck-text) !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-form .form-control:focus {
    border-color: var(--tck-pop) !important;
    box-shadow: 0 0 0 1px rgba(238, 5, 242, 0.4) !important;
    outline: none !important;
}

#contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

#contact-form button.form-control {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 52px;
    line-height: normal !important;
    margin-top: 0.5rem;
    border-radius: var(--tck-radius) !important;
    border: none !important;
    background: var(--tck-pop) !important;
    color: #0d0d0d !important;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px !important;
    display: block;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

#contact-form button.form-control:hover {
    background: #ff4aff !important;
    box-shadow: var(--tck-glow);
}

#contact-form button.form-control .tck-icon {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 20px;
    margin-top: -10px;
    stroke: #0d0d0d;
    transition: none;
}

#contact-form button.form-control:hover .tck-icon {
    transition: left 0.2s ease;
}

#contact-form button.form-control .tck-icon:first-of-type {
    left: -200%;
}

#contact-form button.form-control:hover .tck-icon:first-of-type {
    left: 0;
}

#contact-form button.form-control .tck-icon:last-of-type {
    left: 0;
}

#contact-form button.form-control:hover .tck-icon:last-of-type {
    left: 200%;
}

/* Botón subir */
.up-button {
    color: var(--tck-violet-2) !important;
}

.up-button:hover {
    color: var(--tck-pop) !important;
}

.up-button i.first,
.up-button i.second {
    display: none !important;
}

/* Panel de opciones tema (si existiera en otra build) */
[id*="options-panel"],
.grcs-options-panel,
#grcs-options {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {
    .cycle-wrapper h1 {
        font-size: clamp(22px, 7vw, 34px) !important;
    }

    .subscribe-form .input-group {
        flex-direction: column;
        border-radius: var(--tck-radius);
    }

    .subscribe-form .input-group-btn .btn.btn-primary {
        width: 100%;
        min-height: 48px;
    }

    .tck-social-dock .social-icons--dock {
        flex-wrap: wrap;
        max-width: calc(100vw - 20px);
        justify-content: center;
    }

    .social-icons li a.social-pill {
        width: 46px;
        height: 46px;
    }

    .social-pill__icon {
        width: 32px;
        height: 32px;
    }

    .social-pill__icon img {
        width: 24px;
        height: 24px;
    }
}
