/*
    Tecno FreYub - Estilos Globales (Paleta Oficial del Logo)
    - Turquesa brillante: #00f5d4
    - Turquesa suave: #00d0a6
    - Negro base: #000000
    - Blanco: #ffffff
    - Gris claro: #f5f5f5
*/

/* Reset básico y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Barra de navegación */
nav {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 16px rgba(0,245,212,0.12);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 2em;
}

.nav-logo { flex: 0 0 auto; }

.logo-freyub {
    height: 200px;
    max-width: 200px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 2.5em;
    padding: 1.2em 0;
    margin-left: auto;
}

nav ul li a {
    color: #00f5d4;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15em;
    letter-spacing: 1px;
    padding: 0.5em 1em;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

nav ul li a:hover,
nav ul li a:focus {
    background: #00f5d4;
    color: #000000;
    box-shadow: 0 2px 8px #00f5d444;
}

/* Hero */
.hero {
    background: linear-gradient(120deg, #000000 60%, #00f5d410 100%);
    padding: 3em 2em 2em 2em;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,245,212,0.12);
    margin: 2em auto 1em auto;
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: 2.7em;
    font-weight: 800;
    color: #00f5d4;
    margin-bottom: 0.5em;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25em;
    color: #f5f5f5;
    margin-bottom: 1.5em;
}

.hero .cta {
    display: inline-block;
    background: linear-gradient(90deg, #00f5d4 60%, #00d0a6 100%);
    color: #000000;
    font-weight: bold;
    padding: 0.9em 2em;
    border-radius: 8px;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 2px 12px #00f5d444;
    margin-top: 1em;
    margin-bottom: 0.5em;
    transition: background 0.2s, box-shadow 0.2s;
}

.hero .cta:hover {
    background: linear-gradient(90deg, #00d0a6 60%, #00f5d4 100%);
    box-shadow: 0 4px 24px #00f5d444;
}

/* Contenedor principal */
main {
    max-width: 1100px;
    margin: 1em auto 2em auto;
    background: #111111ee;
    padding: 2em;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,245,212,0.12);
}

/* Títulos */
h1, h2 {
    color: #00f5d4;
    margin-bottom: 0.7em;
    text-align: center;
}

h1 { font-size: 2.2em; font-weight: 700; }
h2 { font-size: 1.5em; font-weight: 600; }

/* Listas */
ul { margin: 1em 0 2em 2em; font-size: 1.08em; }
li strong { color: #00d0a6; }

/* Secciones */
section {
    margin-bottom: 2em;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 2px 8px #00f5d422;
    padding: 1.5em 1em;
}

/* Cards */
.productos-lista, .servicios-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.card {
    background: linear-gradient(120deg, #111111 80%, #00f5d411 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px #00f5d422;
    padding: 2em 1.5em;
    text-align: left;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    box-shadow: 0 6px 24px #00f5d444;
    transform: translateY(-4px) scale(1.03);
}

.card h3 {
    color: #00f5d4;
    margin-bottom: 0.5em;
    font-size: 1.25em;
}

.card p {
    color: #f5f5f5;
    font-size: 1.08em;
    margin-bottom: 1em;
}

.card .cta {
    display: inline-block;
    margin-top: 0.5em;
    margin-right: 0.5em;
    background: linear-gradient(90deg, #00f5d4 60%, #00d0a6 100%);
    color: #000000;
    font-weight: bold;
    padding: 0.6em 1.5em;
    border-radius: 6px;
    font-size: 1em;
    text-decoration: none;
    box-shadow: 0 2px 8px #00f5d444;
    transition: background 0.2s, box-shadow 0.2s;
}

.card .cta:hover {
    background: linear-gradient(90deg, #00d0a6 60%, #00f5d4 100%);
    box-shadow: 0 4px 16px #00f5d444;
}

/* Formularios */
form { display: flex; flex-direction: column; gap: 1em; margin-top: 1em; }
label { font-weight: 600; color: #00f5d4; margin-bottom: 0.3em; }

input, textarea {
    padding: 0.7em;
    border: 1px solid #00f5d4;
    border-radius: 6px;
    font-size: 1em;
    background: #1a1a1a;
    color: #ffffff;
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    border-color: #00d0a6;
    outline: none;
}

button[type="submit"] {
    background: linear-gradient(90deg, #00f5d4 60%, #00d0a6 100%);
    color: #000000;
    border: none;
    padding: 0.9em;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: linear-gradient(90deg, #00d0a6 60%, #00f5d4 100%);
}

/* Footer */
footer {
    background: #000000;
    border-top: 1px solid #00f5d422;
    padding: 2em 0 1em 0;
    margin-top: 2em;
    color: #f5f5f5;
    font-size: 1em;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    text-align: center;
}
.footer-links a {
    color: #00f5d4;
    text-decoration: none;
    margin: 0 0.5em;
    font-weight: 600;
}
.footer-links a:hover {
    color: #00d0a6;
    text-decoration: underline;
}
.footer-copy {
    color: #888;
    font-size: 0.95em;
    margin-top: 1em;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00f5d4;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.footer-social a:hover {
    transform: scale(1.1);
    opacity: 0.85;
    background: #00d0a6;
}
.footer-social .footer-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Botón WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #00f5d4;
    border-radius: 50%;
    box-shadow: 0 2px 8px #00f5d444;
    padding: 8px;
    transition: box-shadow 0.2s;
}
.whatsapp-float:hover {
    box-shadow: 0 4px 16px #00d0a688;
}

/* Menú hamburguesa */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    color: #00f5d4;
    cursor: pointer;
    margin-right: 1em;
}
@media (max-width: 600px) {
    .burger-menu { display: block; }
    nav ul {
        display: none;
        flex-direction: column;
        gap: 1em;
        width: 100%;
        padding: 1em 0;
        background: #111111ee;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 16px #00f5d422;
        border-radius: 0 0 12px 12px;
    }
    nav ul.menu-open { display: flex; }
}

/* Responsive */
@media (max-width: 600px) {
    main, .hero { padding: 1em; }
    nav { flex-direction: column; align-items: flex-start; padding: 0 1em; }
    .productos-lista, .servicios-lista { grid-template-columns: 1fr; }
    .logo-freyub { height: 40px; }
    .card { min-height: 180px; padding: 1em; }
}

/* Animación */
.pulse { animation: pulse 0.4s; }
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
