/*
 * MaxPowerMeter - Hoja de Estilos Principal
 * Archivo: css/style.css
 * Versión: 1.0
 * Cubre: Sitio público + Panel Administrativo
 */

/* ===========================
   VARIABLES & RESET
=========================== */
:root {
    --negro:        #050508;
    --negro2:       #0a0a10;
    --gris-oscuro:  #111118;
    --cyan:         #00d4ff;
    --cyan2:        #00a8cc;
    --cyan-glow:    rgba(0, 212, 255, 0.15);
    --verde-neon:   #39ff14;
    --blanco:       #ffffff;
    --gris-claro:   #b0b8c8;
    --gris-medio:   #6b7280;
    --borde:        rgba(0, 212, 255, 0.2);
    --rojo:         rgba(220, 38, 38, 0.1);
    --rojo-borde:   rgba(220, 38, 38, 0.3);
    --rojo-texto:   #f87171;
    --amarillo:     rgba(234, 179, 8, 0.1);
    --amarillo-borde: rgba(234, 179, 8, 0.3);
    --amarillo-texto: #fbbf24;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;
    --transition:   all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--negro);
    color: var(--blanco);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: default;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--borde);
    height: 62px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__logo img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.navbar__logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

.navbar__logo-text span:first-child { color: var(--blanco); }
.navbar__logo-text span:last-child  { color: var(--cyan); }

.navbar__logo-sub {
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gris-claro);
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--gris-claro);
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--cyan);
    transition: width 0.3s;
}

.navbar__links a:hover           { color: var(--blanco); }
.navbar__links a:hover::after    { width: 100%; }

.navbar__cta {
    background: transparent !important;
    border: 1.5px solid var(--cyan) !important;
    color: var(--cyan) !important;
    padding: 7px 20px;
    border-radius: 30px;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}
.navbar__cta:hover {
    background: var(--cyan) !important;
    color: var(--negro) !important;
}
.navbar__cta::after { display: none !important; }

.navbar__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar__social a {
    width: 32px; height: 32px;
    border-radius: 6px;
    border: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 0.8rem;
    transition: var(--transition);
}
.navbar__social a:hover {
    background: var(--cyan);
    color: var(--negro);
    border-color: var(--cyan);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.navbar__hamburger span {
    display: block;
    width: 25px; height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    border-radius: 2px;
}
.navbar__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.navbar__mobile {
    display: none;
    position: fixed;
    top: 62px; left: 0;
    width: 100%;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--borde);
    padding: 20px 5%;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gris-claro);
    padding: 8px 0;
    border-bottom: 1px solid var(--borde);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.navbar__mobile a:last-child { border-bottom: none; }

/* ===========================
   HERO
=========================== */
#inicio {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.80) 45%, rgba(5,5,8,0.2) 100%);
}

.hero__lightning {
    position: absolute;
    right: 5%; bottom: 0;
    width: 42%; max-width: 600px;
    z-index: 2;
    animation: lightning-pulse 3s ease-in-out infinite;
}

.hero__person {
    position: absolute;
    right: 5%; bottom: 0;
    width: 40%; max-width: 540px;
    z-index: 3;
    animation: hero-float 6s ease-in-out infinite;
    object-fit: contain;
    object-position: bottom center;
}

.hero__logo-icon { display: none; }

@keyframes lightning-pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); filter: drop-shadow(0 0 15px rgba(0,212,255,0.4)); }
    50%       { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 30px rgba(0,212,255,0.7)); }
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.hero__content {
    position: relative;
    z-index: 4;
    padding: 0 5%;
    max-width: 650px;
}

.hero__tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease both;
}

.hero__tag .tag__inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--borde);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.hero__tag::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--cyan), var(--verde-neon), transparent);
    border-radius: 2px;
    min-width: 200px;
}
.hero__tag .dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.9s ease 0.2s both;
}
.hero__title .highlight { color: var(--cyan); display: block; }
.hero__title .normal    { color: var(--blanco); display: block; }

.hero__sub {
    font-size: 1rem;
    color: var(--gris-claro);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.9s ease 0.4s both;
}
.hero__sub strong { color: var(--blanco); font-weight: 600; }

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.6s both;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: fadeIn 1s ease 1.2s both;
}
.hero__scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gris-medio);
}
.hero__scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%,100% { opacity: 1; transform: scaleY(1); }
    50%      { opacity: 0.3; transform: scaleY(0.5); }
}

/* ===========================
   BOTONES GLOBALES
=========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cyan);
    color: var(--negro);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    background: var(--cyan2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--blanco);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover {
    border-color: var(--blanco);
    transform: translateY(-2px);
}

/* ===========================
   STRIP - Estadísticas
=========================== */
.strip {
    background: var(--negro2);
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
    padding: 28px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.strip__item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.strip__num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}
.strip__label {
    font-size: 0.8rem;
    color: var(--gris-claro);
    font-weight: 400;
    line-height: 1.4;
    max-width: 100px;
}
.strip__divider {
    width: 1px; height: 40px;
    background: var(--borde);
}

/* ===========================
   SECCIONES - Comunes
=========================== */
section { padding: 90px 5%; }

.section__header { margin-bottom: 60px; }

.section__tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
}
.section__title span { color: var(--cyan); }

.section__line {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--cyan), var(--verde-neon), transparent);
    margin-top: 16px;
    border-radius: 2px;
    display: block;
}

/* Sección clientes: centrada → degradado simétrico de borde a borde */
.clientes__header .section__line {
    background: linear-gradient(to right, transparent, var(--cyan), var(--verde-neon), var(--cyan), transparent);
}

/* ===========================
   SERVICIOS - CARRUSEL
=========================== */
#servicios {
    background: var(--negro2);
    position: relative;
    overflow: hidden;
}
#servicios::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.servicios__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.carousel {
    position: relative;
    height: 400px;
}
.carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.carousel__slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.carousel__slide.exit {
    opacity: 0;
    transform: translateX(-40px);
}

.slide__inner {
    height: 100%;
    background: linear-gradient(135deg, rgba(15,15,25,0.9) 0%, rgba(10,10,18,0.95) 100%);
    border: 1px solid var(--borde);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.slide__inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, var(--cyan), var(--verde-neon), transparent);
}
.slide__num {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.06);
    position: absolute;
    top: 20px; right: 30px;
    line-height: 1;
}
.slide__icon {
    width: 56px; height: 56px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--borde);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--cyan);
    margin-bottom: 24px;
}
.slide__tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 10px;
}
.slide__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
}
.slide__desc {
    color: var(--gris-claro);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
    flex: 1;
}
.slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 24px;
    transition: gap 0.3s;
}
.slide__cta:hover { gap: 14px; }

.carousel__dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}
.carousel__dot {
    width: 6px; height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    transition: all 0.4s;
    cursor: pointer;
}
.carousel__dot.active {
    width: 24px;
    background: var(--cyan);
}

.carousel__progress {
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 14px;
    overflow: hidden;
}
.carousel__bar {
    height: 100%;
    background: var(--cyan);
    width: 0%;
    transition: width linear;
    border-radius: 2px;
}

.servicios__visual { position: relative; }
.servicios__img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--borde);
}
.servicios__img-wrap img {
    width: 100%; height: 460px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.6s ease;
}
.servicios__img-wrap:hover img { transform: scale(1.03); }
.servicios__img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(5,5,8,0.95) 0%, transparent 100%);
}
.servicios__img-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
}
.servicios__img-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ===========================
   QUIÉNES SOMOS
=========================== */
#somos { background: var(--negro); position: relative; }

.somos__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.somos__img-wrap { position: relative; }
.somos__img-main {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--borde);
}
.somos__img-main img {
    width: 100%; height: 500px;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.85);
}
.somos__badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--cyan);
    color: var(--negro);
    padding: 20px 24px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,212,255,0.3);
}
.somos__badge-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.somos__badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.somos__text {
    color: var(--gris-claro);
    font-size: 0.97rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
}
.somos__text strong { color: var(--blanco); font-weight: 600; }
.somos__benefits { margin-top: 36px; }
.somos__benefit-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 20px;
}
.somos__benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--borde);
    border-radius: 8px;
    background: rgba(0,212,255,0.02);
    transition: var(--transition);
}
.somos__benefit-item:hover {
    border-color: rgba(0,212,255,0.4);
    background: rgba(0,212,255,0.05);
}
.somos__benefit-icon {
    color: var(--cyan);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.somos__benefit-text {
    font-size: 0.88rem;
    color: var(--gris-claro);
    line-height: 1.6;
}

/* ===========================
   CLIENTES
=========================== */
#clientes {
    background: var(--negro2);
    padding: 60px 0;
    overflow: hidden;
}
.clientes__header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 5%;
}
.slider__track-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider__track-wrap::before,
.slider__track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.slider__track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--negro2), transparent);
}
.slider__track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--negro2), transparent);
}
.slider__track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: slider-move 30s linear infinite;
}
.slider__track:hover { animation-play-state: paused; }
@keyframes slider-move {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cliente__logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px; height: 90px;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cliente__logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.cliente__logo img {
    max-width: 100%; max-height: 55px;
    width: auto; height: auto;
    object-fit: contain;
}
.cliente__placeholder {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gris-medio);
    text-transform: uppercase;
}

/* ===========================
   BLOG
=========================== */
#blog { background: var(--negro); }

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog__card {
    background: var(--negro2);
    border: 1px solid var(--borde);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog__card:hover {
    border-color: rgba(0,212,255,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.blog__img { height: 200px; overflow: hidden; }
.blog__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog__card:hover .blog__img img { transform: scale(1.05); }
.blog__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog__tag-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 10px;
}
.blog__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
}
.blog__excerpt {
    font-size: 0.85rem;
    color: var(--gris-claro);
    line-height: 1.6;
    font-weight: 300;
    flex: 1;
}
.blog__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 20px;
    transition: gap 0.3s;
}
.blog__link:hover { gap: 14px; }

/* ===========================
   CONTACTO
=========================== */
#contacto {
    background: var(--negro2);
    position: relative;
    overflow: hidden;
}
#contacto::before {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.contacto__layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.contacto__desc {
    color: var(--gris-claro);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 36px;
}
.contacto__item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.contacto__item-icon {
    width: 44px; height: 44px;
    background: rgba(0,212,255,0.08);
    border: 1px solid var(--borde);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1rem;
    flex-shrink: 0;
}
.contacto__item-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-medio);
    font-weight: 500;
}
.contacto__item-value {
    font-size: 0.95rem;
    color: var(--blanco);
    font-weight: 500;
}
.contacto__form-wrap {
    background: rgba(15,15,25,0.6);
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}
.contacto__form-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, var(--cyan), var(--verde-neon), transparent);
}

/* Formulario */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form__group { margin-bottom: 16px; }
.form__label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-claro);
    font-weight: 500;
    margin-bottom: 8px;
}
.form__label span { color: var(--cyan); }
.form__input,
.form__select,
.form__textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--gris-medio); }
.form__select option {
    background: var(--negro2);
    color: var(--blanco);
}
.form__textarea {
    resize: vertical;
    min-height: 110px;
}
.form__submit { width: 100%; margin-top: 8px; }

/* Campo celular */
.form__label-hint {
    font-size: 0.65rem;
    color: var(--gris-medio);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    margin-left: 4px;
}
.form__phone-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}
.form__phone-prefix {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 13px 12px;
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}
.form__input--phone {
    border-radius: 0 8px 8px 0 !important;
    flex: 1;
}
.form__phone-hint {
    font-size: 0.75rem;
    margin-top: 5px;
    min-height: 18px;
    transition: color 0.3s;
}
.form__phone-hint.hint--ok    { color: #39ff14; }
.form__phone-hint.hint--error { color: var(--rojo-texto); }
.form__success {
    display: none;
    text-align: center;
    padding: 20px;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: var(--negro);
    border-top: 1px solid var(--borde);
    padding: 50px 5% 30px;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--borde);
}
.footer__brand-desc {
    font-size: 0.88rem;
    color: var(--gris-claro);
    line-height: 1.7;
    margin-top: 16px;
    font-weight: 300;
}
.footer__col-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    font-size: 0.88rem;
    color: var(--gris-claro);
    transition: color 0.3s;
}
.footer__links a:hover { color: var(--cyan); }
.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--gris-claro);
}
.footer__contact-item i { color: var(--cyan); font-size: 0.85rem; }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__copy {
    font-size: 0.8rem;
    color: var(--gris-medio);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris-claro);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer__social a:hover {
    background: var(--cyan);
    color: var(--negro);
    border-color: var(--cyan);
}

/* ===========================
   ANIMACIONES AL SCROLL
=========================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Keyframes generales */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===========================
   PANEL ADMIN - LOGIN
=========================== */
body.admin-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: default;
}

body.admin-body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(57, 255, 20, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.login-wrapper {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--negro2);
    border: 1px solid var(--borde);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--verde-neon), transparent);
}
.login-card::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}
.logo-container img {
    max-width: 160px;
    height: auto;
    margin: 0 auto 16px;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
}
.logo-text {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 4px;
}
.logo-subtitle {
    font-size: 12px;
    color: var(--gris-medio);
    letter-spacing: 0.1em;
}

.welcome-text {
    text-align: center;
    margin-bottom: 35px;
}
.welcome-text h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--blanco);
    margin-bottom: 8px;
}
.welcome-text p {
    font-size: 14px;
    color: var(--gris-claro);
}

/* Alertas del admin */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s;
}
.alert-error   { background: var(--rojo);    border: 1px solid var(--rojo-borde);    color: var(--rojo-texto); }
.alert-warning { background: var(--amarillo); border: 1px solid var(--amarillo-borde); color: var(--amarillo-texto); }
.alert-info    { background: var(--cyan-glow); border: 1px solid var(--borde);        color: var(--cyan); }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-8px); }
    75%       { transform: translateX(8px); }
}

/* Campos del formulario admin */
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-claro);
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--gris-oscuro);
    border: 1px solid var(--borde);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--blanco);
    transition: var(--transition);
}
.form-group input::placeholder { color: var(--gris-medio); }
.form-group input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form-group input:disabled { opacity: 0.5; cursor: not-allowed; }

.password-wrapper { position: relative; }
.toggle-password {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gris-medio);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.3s;
}
.toggle-password:hover { color: var(--cyan); }

.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1.5px solid var(--cyan);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-login::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--cyan);
    transition: left 0.3s ease;
    z-index: -1;
}
.btn-login:hover:not(:disabled) {
    color: var(--negro);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.btn-login:hover:not(:disabled)::before { left: 0; }
.btn-login:disabled {
    border-color: var(--gris-medio);
    color: var(--gris-medio);
    cursor: not-allowed;
}

.extra-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--borde);
}
.extra-links a {
    font-size: 13px;
    color: var(--gris-claro);
    transition: color 0.3s;
}
.extra-links a:hover { color: var(--cyan); }

.back-home { text-align: center; margin-top: 20px; }
.back-home a {
    font-size: 13px;
    color: var(--gris-medio);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.back-home a:hover { color: var(--cyan); }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .servicios__layout  { grid-template-columns: 1fr; gap: 40px; }
    .somos__layout      { grid-template-columns: 1fr; gap: 40px; }
    .blog__grid         { grid-template-columns: repeat(2, 1fr); }
    .contacto__layout   { grid-template-columns: 1fr; gap: 40px; }
    .footer__top        { grid-template-columns: 1fr 1fr; }
    .hero__person       { width: 45%; right: 2%; }
    .hero__lightning    { width: 50%; right: 0; }
}

@media (max-width: 768px) {
    .navbar__links, .navbar__social { display: none; }
    .navbar__hamburger { display: flex; }

    #inicio {
        min-height: 100svh;
        padding-top: 70px;
        align-items: flex-start;
    }
    .hero__person    { width: 55%; right: 0; opacity: 0.7; }
    .hero__lightning { width: 60%; right: 0; opacity: 0.5; }
    .hero__title     { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .strip           { gap: 24px; }
    .strip__divider  { display: none; }
    .blog__grid      { grid-template-columns: 1fr; }
    .form__row       { grid-template-columns: 1fr; }
    .footer__top     { grid-template-columns: 1fr; }
    .footer__bottom  { flex-direction: column; text-align: center; }
    .contacto__form-wrap { padding: 28px 20px; }
    section          { padding: 70px 5%; }
    .somos__badge    { right: 10px; bottom: -10px; }
    .carousel        { height: auto; min-height: 380px; }

    /* Admin responsive */
    .login-card      { padding: 40px 30px; }
    .logo-container img { max-width: 140px; }
}

@media (max-width: 480px) {
    #inicio          { padding-top: 62px; }
    .hero__content   { padding-top: 0; }
    .hero__person    { width: 70%; opacity: 0.5; }
    .hero__actions   { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .strip           { flex-direction: column; gap: 20px; text-align: center; }

    /* Admin responsive */
    body.admin-body  { align-items: flex-start; padding-top: 20px; }
    .login-card      { padding: 30px 20px; border-radius: 15px; }
    .logo-container img { max-width: 120px; }
    .welcome-text h2 { font-size: 22px; }
    .form-group input { padding: 12px 14px; font-size: 14px; }
    .btn-login       { padding: 13px; font-size: 15px; }
    .turnstile-container { transform: scale(0.9); transform-origin: center; }
}

@media (max-width: 360px) {
    .login-card      { padding: 25px 15px; }
    .welcome-text h2 { font-size: 20px; }
}


/* ===========================
   WHATSAPP FLOTANTE
=========================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    animation: waEntrance 0.6s ease 1.5s both;
}
@keyframes waEntrance {
    from { opacity: 0; transform: translateY(30px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0)   scale(1);   }
}

.whatsapp-float__icon {
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.5s infinite 2.2s;
    color: #fff;
}
.whatsapp-float__icon svg {
    width: 30px;
    height: 30px;
}
@keyframes waPulse {
    0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0   rgba(37,211,102,0.4); }
    70%  { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0);   }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0   rgba(37,211,102,0);   }
}

.whatsapp-float__label {
    background: rgba(5,5,8,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37,211,102,0.3);
    color: #25D366;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-float__icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.whatsapp-float:hover .whatsapp-float__label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
    }
    .whatsapp-float__icon {
        width: 50px;
        height: 50px;
    }
    .whatsapp-float__icon svg {
        width: 26px;
        height: 26px;
    }
}
