/*
Theme Name: LPG Theme
Author: LPG Soluciones Digitales
Version: 1.0
*/

/* ================= VARIABLES ================= */

:root {
    --color-fondo: #020617;
    --color-secundario: #0f172a;
    --color-primario: #3b82f6;
    --color-primario-hover: #2563eb;
    --color-texto: #ffffff;
    --color-texto-secundario: #cbd5f5;
}

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-fondo);
    color: var(--color-texto);
    padding-top: 80px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
}

h1 {
    letter-spacing: -1px;
}

p {
    font-weight: 400;
}

/* ================= HEADER ================= */

.lpg-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(2,6,23,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo img {
    max-height: 40px;
}

/* MENU */

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--color-fondo);
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 20px;
}

.nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.nav a {
    color: var(--color-texto-secundario);
    text-decoration: none;
}

.nav.active {
    display: flex;
}

/* DESKTOP MENU */

@media (min-width: 768px) {

    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        display: block !important;
        background: transparent;
        width: auto;
        padding: 0;
    }

    .nav ul {
        flex-direction: row;
        gap: 20px;
    }
}

/* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #020617; /* 🔥 fuerza fondo único */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero {
    background: #020617;
}
.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    z-index: 0;
}
body {
    background: #020617;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2,6,23,0.3);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* 🔥 clave */
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-texto {
    max-width: 550px;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--color-texto-secundario);
}

/* BOTONES */

.hero-botones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    background: var(--color-primario);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.btn:hover {
    background: var(--color-primario-hover);
    transform: translateY(-2px);
}

.btn-secundario {
    background: transparent;
    border: 1px solid var(--color-primario);
}

/* IMAGEN */

.hero-imagen img {
    width: 100%;
    max-width: 450px;
    display: block; /* 🔥 evita espacios raros */
}
/* TABLET */

@media (min-width: 768px) {

    .hero h1 {
        font-size: 40px;
    }

    .hero-botones {
        flex-direction: row;
        justify-content: center;
    }

    .hero-imagen img {
        max-width: 420px;
    }
}

/* DESKTOP */

@media (min-width: 1024px) {

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-texto {
        text-align: left;
        flex: 1;
    }

    .hero-imagen {
        flex: 1;
        text-align: right;
    }

    .hero-imagen img {
        max-width: 520px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 18px;
    }
}

/* ================= SECCIONES ================= */

.servicios,
.confianza,
.testimonios {
    padding: 80px 0;
}

/* HEADERS */

.servicios-header,
.confianza-header,
.testimonios-header {
    text-align: center;
    margin-bottom: 50px;
}

.servicios-header p,
.confianza-header p,
.testimonios-header p {
    color: var(--color-texto-secundario);
}

/* GRID */

.servicios-grid,
.confianza-grid,
.testimonios-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .servicios-grid,
    .confianza-grid,
    .testimonios-grid {
        flex-direction: row;
    }
}

/* CARDS */

.servicio-card,
.confianza-item,
.testimonio {
    background: var(--color-secundario);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primario);
}

.servicio-card p,
.confianza-item p,
.testimonio p {
    color: var(--color-texto-secundario);
}

/* CTA SERVICIOS */

.servicios-cta {
    margin-top: 40px;
    text-align: center;
}

/* ================= CTA FINAL ================= */

.cta-final {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #020617);
}

.cta-final p {
    color: var(--color-texto-secundario);
}

/* ================= WHATSAPP ================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: 0.3s;
}

/* HOVER */
.whatsapp-float:hover {
    transform: translateY(-3px);
}


/* ================= ANIMACIONES ================= */

.animar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    width: auto;
    display: block;
}
.btn {
    display: inline-block;
    width: auto;
    text-align: center;
}
.hero-botones .btn {
    width: auto;
}.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.servicio-card,
.confianza-item,
.testimonio {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
} 
.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
h2 {
    font-size: 26px;
    margin-bottom: 10px;
}
.servicios,
.confianza,
.testimonios {
    padding: 100px 0;
}
section {
    border-top: 1px solid rgba(255,255,255,0.03);
}
.hero h1 {
    text-shadow: 0 10px 40px rgba(59,130,246,0.5);
}
.btn {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border: none;
}
.btn:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2);
}
.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.25), transparent);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}
.servicio-hero {
    padding: 100px 20px;
    text-align: center;
}

.servicio-incluye ul {
    margin-top: 20px;
    line-height: 2;
}

.servicio-incluye li {
    color: var(--color-texto-secundario);
}
/* ===== ESPACIADO LANDING DESARROLLO WEB ===== */

main.container {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* SECCIONES */
.servicio-hero,
.servicio-beneficios,
.servicio-incluye,
.servicio-proceso,
.cta-final {
    padding: 80px 20px;
}

/* TITULOS */
.servicio-hero h1,
.servicio-beneficios h2,
.servicio-incluye h2,
.servicio-proceso h2 {
    margin-bottom: 20px;
}

/* TEXTOS */
.servicio-hero p,
.servicio-beneficios p,
.servicio-proceso p {
    margin-bottom: 20px;
}

/* LISTA */
.servicio-incluye ul {
    margin-top: 20px;
    padding-left: 20px;
}

.servicio-incluye li {
    margin-bottom: 10px;
}

/* GRID */
.servicios-grid {
    margin-top: 30px;
    gap: 25px;
}
.testimonios {
    padding: 100px 20px;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonios-header p {
    color: var(--color-texto-secundario);
}

.testimonios-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonio {
    background: var(--color-secundario);
    padding: 25px;
    border-radius: 10px;
}

.testimonio p {
    color: var(--color-texto-secundario);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .testimonios-grid {
        flex-direction: row;
    }
}
.cta-final {
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #020617);
}

.cta-final h2 {
    margin-bottom: 15px;
}

.cta-final p {
    margin-bottom: 20px;
}
/* ===== PLANES (WEB + REDES) ===== */

.planes {
    padding: 80px 20px;
}

.planes h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID */
.servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CARD */
.servicio-card {
    background: #0f172a;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

/* HOVER */
.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* TITULOS */
.servicio-card h3 {
    margin-bottom: 10px;
}

/* PRECIO */
.servicio-card h2 {
    margin: 15px 0;
    font-size: 28px;
    color: #3b82f6;
}

/* LISTA */
.servicio-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.servicio-card li {
    margin-bottom: 10px;
    color: #cbd5f5;
}

/* BOTÓN */
.servicio-card .btn {
    display: inline-block;
    margin-top: 10px;
}

/* DESTACADO */
.servicio-card[style] {
    border: 2px solid #3b82f6;
}

/* RESPONSIVE TABLET */
@media (min-width: 768px) {
    .servicios-grid {
        flex-direction: row;
    }

    .servicio-card {
        flex: 1;
    }
}

/* RESPONSIVE DESKTOP */
@media (min-width: 1024px) {
    .servicios-grid {
        gap: 30px;
    }

    .servicio-card {
        padding: 30px;
    }
}
/* HOME SECCIONES */

.servicios, .beneficios {
    padding: 80px 20px;
    text-align: center;
}

.servicios h2, .beneficios h2 {
    margin-bottom: 40px;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
section {
    background: transparent !important;
}