* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #ffff;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 25px 25px;
    color: #111;
    scroll-behavior: smooth;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title-main {
    font-size: 3rem;
    color: #222;
    text-shadow: 0 0 10px rgba(0,255,100,0.3);
}

.title-sub {
    font-size: 1.5rem;
    color: #00ff66;
    text-shadow: 0 0 10px #00ff66;
}

.stars {
    margin-top: 220px;
    font-size: 2rem;
    color: #00ff66;
    text-shadow: 0 0 15px #00ff66;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    background: #00ff66;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 0 15px #00ff66;
    transition: 0.3s;
}

.btn:hover {
    background: black;
    color: #00ff66;
}

.btn-outline {
    padding: 12px 25px;
    border: 2px solid #00ff66;
    color: #00ff66;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,255,100,0.4);
}

.btn-outline:hover {
    background: #00ff66;
    color: black;
}

/* INTRO */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.text-box {
    flex: 1;
    max-width: 500px;
}

.text-box h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-box p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* IMAGEN INTRO */
.intro-img-box {
    width: 420px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,255,100,0.25);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.intro-img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ARROWS */
.arrows {
    text-align: center;
    font-size: 2rem;
    color: #00ff66;
    margin: 50px 0;
    animation: bounce 1.5s infinite;
}

/* FEATURES */
.features {
    padding: 100px 10%;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 100px;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.small {
    width: 300px;
    height: 200px;
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 15px;
    box-shadow: 
        0 0 20px rgba(0,255,100,0.3),
        inset 0 0 15px rgba(0,255,100,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: 0.4s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.small:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 35px rgba(0,255,100,0.5),
        inset 0 0 20px rgba(0,255,100,0.25);
}

.small img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px #00ff66);
    opacity: 0.95;
}

/* LIGHTNING */
.lightning {
    text-align: center;
    font-size: 4rem;
    color: #00ff66;
    text-shadow: 0 0 20px #00ff66;
}

/* FORMULARIO CONTACTO */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 10%;
}

.contact h2 {
    margin-bottom: 50px;
    text-align: center;
}

.formulario-contacto {
    width: 100%;
    max-width: 700px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.campo label {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.campo input, .campo textarea {
    width: 100%;
    background: #000;
    border: 2px solid #00ff66;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    outline: none;
}

.campo-full { grid-column: span 2; }
.campo-privacidad { grid-column: span 2; color: #555; font-size: 0.9rem; }

.btn-enviar {
    grid-column: span 2;
    padding: 18px;
    background: #00ff66;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
    transition: 0.3s;
}

.btn-enviar:hover {
    background: #000;
    color: #00ff66;
    box-shadow: 0 0 25px #00ff66;
}

/* FOOTER */
footer {
    background: black;
    color: #00ff66;
    text-align: center;
    padding: 20px;
}

/* ANIMACIONES */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .intro {
        flex-direction: column;
        text-align: center;
    }

    .features .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature.reverse {
        flex-direction: column;
    }

    .intro-img-box {
        width: 100%;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .title-main { font-size: 2rem; }
    .title-sub { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .stars { margin-top: 150px; font-size: 1.5rem; }
    .small { width: 100%; max-width: 300px; }
    .text-box { padding: 0 15px; }
    .formulario-contacto { grid-template-columns: 1fr; }
    .formulario-contacto .campo-full,
    .formulario-contacto .campo-privacidad,
    .formulario-contacto .btn-enviar { grid-column: span 1; }
}

@media (max-width: 480px) {
    .title-main { font-size: 1.6rem; }
    .title-sub { font-size: 0.9rem; }
    .contact { padding: 60px 5%; }
}


/* ==== SECCIÓN BENEFICIOS WEB (copiada desde kiski) ==== */
.beneficios-web {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background: transparent; /* igual que el fondo de la página */
    color: #111; /* texto oscuro para legibilidad */
}

.beneficios-fila {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1100px;
}

.beneficios-fila.reverse {
    /* la clase reverse se usa para alternar la posición */
}

/* Forzar orden para conseguir zigzag sin tocar el HTML */
.beneficios-fila .beneficios-img-logo,
.beneficios-fila .beneficios-img-grande {
    order: 1; /* por defecto imagen primero (izquierda) */
}
.beneficios-fila .beneficios-texto {
    order: 2; /* texto a la derecha */
}

.beneficios-fila.reverse .beneficios-img-logo,
.beneficios-fila.reverse .beneficios-img-grande {
    order: 2; /* en filas con 'reverse' la imagen va a la derecha */
}
.beneficios-fila.reverse .beneficios-texto {
    order: 1; /* texto a la izquierda */
}

.beneficios-texto {
    flex: 1;
}

.beneficios-texto h2 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.2;
}

.beneficios-sub {
    color: #444;
    font-size: 1rem;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.beneficios-texto ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.beneficios-texto li {
    font-size: 1.1rem;
    color: #111;
    position: relative;
    padding-left: 35px;
    font-family: sans-serif;
}

.beneficios-texto li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #00ff66;
    font-size: 1.4rem;
}

.beneficios-texto li span {
    font-weight: bold;
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Estilo Logo */
.beneficios-img-logo {
    flex: 1;
    text-align: center;
}

.beneficios-img-logo img {
    max-width: 300px;
    height: auto;
}

.img-caption {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #111;
    font-weight: bold;
}

/* Estilo Imagen Grande (Kiki) */
.beneficios-img-grande {
    flex: 1;
    display: flex;
    justify-content: center;
}

.beneficios-img-grande img {
    width: 100%;
    max-width: 450px;
    border-radius: 40px;
    box-shadow: 0 0 40px rgba(0,255,102,0.2);
}

.beneficios-footer {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 40px;
    color: #111;
}

/* Responsive rules copied from kiski */
@media (max-width: 1024px) {
    .beneficios-fila, .beneficios-fila.reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .beneficios-texto li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .beneficios-texto h2 { font-size: 1.8rem; }
    .beneficios-footer { font-size: 1.8rem; }
}

/* ==== FIN SECCIÓN BENEFICIOS ==== */
/* ==== ESTRELLAS ISLAS CANARIAS ==== */
.islas-canarias {
    position: relative;
    width: 320px;
    height: 80px;
    margin-bottom: 30px;
}

.estrella {
    position: absolute;
    width: 10px;
    height: 10px;
    color: #00ff88;
    font-size: 14px;
    line-height: 1;
    text-shadow: 0 0 8px #00ff88, 0 0 16px #00ff88;
    animation: parpadeoEstrella 3s ease-in-out infinite alternate;
}

@keyframes parpadeoEstrella {
    from { opacity: 0.5; text-shadow: 0 0 6px #00ff88; }
    to   { opacity: 1;   text-shadow: 0 0 14px #00ff88, 0 0 28px #00ff88; }
}

/* Posiciones geogrÃ¡ficas aproximadas de las 8 islas */
.e-hierro       { bottom: 0px;  left: 0px;   animation-delay: 0.0s; }
.e-palma        { top: 0px;     left: 30px;  animation-delay: 0.3s; }
.e-gomera       { bottom: 10px; left: 65px;  animation-delay: 0.6s; }
.e-tenerife     { top: 5px;     left: 105px; animation-delay: 0.2s; font-size: 18px; }
.e-grancanaria  { bottom: 5px;  left: 160px; animation-delay: 0.7s; font-size: 16px; }
.e-fuerteventura{ bottom: 15px; left: 215px; animation-delay: 0.4s; }
.e-lanzarote    { top: 5px;     left: 265px; animation-delay: 0.8s; }
.e-graciosa     { top: 0px;     left: 290px; animation-delay: 0.1s; font-size: 10px; }
/* PARTICULAS */
.particulas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particula {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 102, 0.8);
    border-radius: 50%;
    animation: subir 6s linear infinite;
    opacity: 0;
}

@keyframes subir {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}
/* ========================= */
/* CHAT FUTURISTA TXJ v2 */
/* ========================= */

/* BOTÓN */
#chat-boton {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, #00ff66, #00cc52);
    color: #000;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3000;
    box-shadow: 0 0 25px rgba(0,255,102,0.6);
    transition: all 0.3s ease;
}

#chat-boton:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(0,255,102,0.9);
}

/* CONTENEDOR */
#chat-container {
    position: fixed;
    bottom: 120px;
    right: 35px;
    width: 400px;
    height: 560px;
    background: #ffffff;
    border-radius: 22px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 3000;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.15),
        0 0 25px rgba(0,255,102,0.25);
    border: 2px solid #00ff66;
    backdrop-filter: blur(8px);
      font-family: 'Inter', sans-serif !important;
}

/* HEADER */
#chat-header {
    background: #00ff66;
    color: #000;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

#cerrar-chat {
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
}

#cerrar-chat:hover {
    transform: scale(1.2);
}

/* MENSAJES */
#chat-mensajes {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9f9f9;
}

/* MENSAJE USUARIO */
.mensaje-user {
    align-self: flex-end;
    background: #00ff66;
    color: #000;
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    max-width: 75%;
    font-size: 0.85rem;
}

/* MENSAJE BOT */
.mensaje-bot {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #00ff66;
    color: #111;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    max-width: 75%;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(0,255,102,0.1);
}

/* INPUT */
#chat-input-area {
    display: flex;
    border-top: 1px solid #eaeaea;
    background: #fff;
}

#chat-input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    background: transparent;
    color: #111;
}

#enviar-chat {
    background: #00ff66;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

#enviar-chat:hover {
    background: #00cc52;
}
/* ========================= */
/* BOTÓN TEXTO ENCIMA CHAT */
/* ========================= */

#chat-label {
    position: fixed;
    bottom: 115px;
    right: 35px;
    background: #ffffff;
    color: #00ff66;
    border: 2px solid #00ff66;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 2999;
    box-shadow: 0 0 15px rgba(0,255,102,0.2);
    transition: all 0.3s ease;
    animation: aparecerLabel 0.6s ease forwards;
}

#chat-label:hover {
    background: #00ff66;
    color: #000;
    box-shadow: 0 0 25px rgba(0,255,102,0.6);
}

/* Animación suave */
@keyframes aparecerLabel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ========================= */
/* RESPONSIVE CHAT MOVIL */
/* ========================= */

@media (max-width: 768px) {

    #chat-container {
        width: 95vw;
        height: 80vh;
        right: 2.5vw;
        bottom: 90px;
        border-radius: 18px;
    }

    #chat-mensajes {
        padding: 12px;
        font-size: 0.9rem;
    }

    #chat-input-area {
        padding: 8px;
    }

    #chat-input {
        font-size: 0.9rem;
        padding: 10px;
    }

    #chat-boton {
        width: 55px;
        height: 55px;
        right: 20px;
        bottom: 20px;
    }

    #chat-label {
        right: 20px;
        bottom: 85px;
        font-size: 0.75rem;
        padding: 8px 14px;
    }

}