/* --- Estructura Base del Hero --- */
.hero-glitch {
    min-height: 80vh; /* Altura suficiente para destacar */
    display: flex;
    align-items: center; /* Centrado vertical del contenido */
    justify-content: center;
    background-color: #050505;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.container-hero {
    width: 100%;
    max-width: 1100px; /* Ancho controlado para legibilidad */
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineación a la izquierda */
    gap: 20px; /* Espaciado uniforme entre elementos */
}

/* --- Tipografía y Estilos --- */
.hero-tag {
    color: var(--glow);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    opacity: 0; /* Para el jQuery */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive sin media queries */
    line-height: 1.05;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    opacity: 0; /* Para el jQuery */
}

.hero-title span {
    color: var(--glow);
    display: block; /* La keyword principal en su propia línea */
}

.hero-subtitle-creative {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #e0e0e0;
    max-width: 750px;
    line-height: 1.5;
    font-weight: 400;
    margin: 10px 0 30px 0;
    border-left: 2px solid var(--glow);
    padding-left: 20px;
    opacity: 0; /* Para el jQuery */
}

/* --- Botón de Contacto --- */
.hero-actions {
    opacity: 0; /* Para el jQuery */
}

.btn-contacto {
    display: inline-block;
    padding: 20px 50px;
    background: transparent;
    border: 1px solid var(--glow);
    color: var(--glow);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.btn-contacto:hover {
    background: var(--glow);
    color: #050505;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
    transform: translateY(-5px);
}

/* --- Ajuste para Móviles --- */
@media (max-width: 768px) {
    .hero-glitch {
        padding: 60px 20px;
        text-align: left;
    }
    
    .hero-subtitle-creative {
        border-left: none;
        padding-left: 0;
    }
}

/***********************************************************************/
/* 1. Reset y Contenedor Principal */
.pain-point-section {
    background-color: #ffffff;
    padding: 80px 20px;
    width: 100%;
    display: block;
}

.container-split {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Columna izquierda y derecha exactamente iguales */
    gap: 60px;
    align-items: center; /* Alinea texto e imagen al centro verticalmente */
    max-width: 1100px;
    margin: 0 auto;
}

/* 2. Columna de Texto */
.pain-text {
    width: 100%;
}

.step-number {
    display: block;
    color: var(--glow);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pain-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 800;
}

.big-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
}

/* 3. Checklist Estilizado */
.pain-checklist {
    margin: 30px 0;
}

.check-item {
    padding: 15px;
    background: #f7f7f7;
    margin-bottom: 10px;
    border-left: 4px solid var(--glow);
    color: #222;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-item span {
    color: #ff4444; /* La X roja */
    font-weight: 900;
}

.pain-footer {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* 4. Columna de Imagen (Visual) */
.pain-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px; /* Evita que la imagen sea gigante */
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 5. Responsivo (Para celulares) */
@media (max-width: 900px) {
    .container-split {
        grid-template-columns: 1fr; /* Colapsa a 1 sola columna en móviles */
        gap: 40px;
    }
}

.pain-point-section .step-number, 
.pain-point-section .pain-title, 
.pain-point-section .big-text, 
.pain-point-section .check-item, 
.pain-point-section .pain-visual {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/*************************************************************************/

.truth-section {
    background-color: #050505; /* Fondo negro profundo */
    color: #ffffff;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    border-top: 1px solid #1a1a1a;
}

.container-truth {
    max-width: 900px;
    margin: 0 auto;
}

.truth-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.truth-text span {
    color: var(--glow); /* Tu verde neón para enfatizar la solución */
    display: block;
    margin-top: 10px;
}

.truth-sub {
    font-size: 1.5rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Responsivo */
@media (max-width: 768px) {
    .truth-section {
        padding: 80px 20px;
    }
}

/********************************************************/

/* --- 1. Contenedor Principal (Estado Inicial y Estructura) --- */
.how-we-do-it {
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden; /* Evita scrolls accidentales durante la animación */
}

.container-process {
    max-width: 1100px;
    margin: 0 auto;
}

.process-intro {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    color: #000;
    margin-bottom: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.intro-text {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 2. Grid de Pilares --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* --- 3. Estado Inicial de las Tarjetas (Animación) --- */
.pillar-card {
    padding: 40px;
    background: #fcfcfc;
    border: 1px solid #eee;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Estado Oculto */
    opacity: 0;
    transform: translateY(40px);
}

/* --- 4. Estado Activo (Se aplica vía jQuery) --- */
.pillar-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 5. Hover Efectos (El toque Pro) --- */
.pillar-card:hover {
    border-color: var(--glow);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: 800;
}

.pillar-card p {
    color: #666;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .pillars-grid { grid-template-columns: 1fr; }
}


/******************************************/
/* --- Contenedor Principal (Fondo Negro) --- */
.educational-section {
    padding: 100px 20px;
    background-color: #050505;
    color: #ffffff;
    overflow: hidden;
}

/* --- Alineación de las 2 columnas --- */
.educational-section .container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Estados Iniciales (Oculto) --- */
.educational-text, .educational-visual {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.educational-text { transform: translateX(-50px); }
.educational-visual { transform: translateX(50px); }

/* --- Estado Final (Activo) --- */
.educational-section.is-active .educational-text,
.educational-section.is-active .educational-visual {
    opacity: 1;
    transform: translateX(0);
}

/* --- Estilo de Textos (Color explícito) --- */
.educational-section .section-title {
    color: var(--glow);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.educational-section .intro-text {
    color: #cccccc; /* Gris legible */
    font-size: 1.15rem;
    line-height: 1.6;
}

/* --- education-highlight (El recuadro) --- */

/* --- Contenedor Principal: Fondo profundo --- */
.educational-section {
    padding: 120px 20px;
    background-color: #050505;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* --- Grid de 2 columnas --- */
.educational-section .container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Animación de entrada: Suavizado tipo 'Pro' --- */
.educational-text, .educational-visual {
    opacity: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.educational-text { transform: translateX(-40px); }
.educational-visual { transform: translateX(40px); }

.educational-section.is-active .educational-text,
.educational-section.is-active .educational-visual {
    opacity: 1;
    transform: translateX(0);
}

/* --- Tipografía y Contenido --- */
.educational-section .section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.educational-section .intro-text {
    color: #a0a0a0;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* --- Highlight con efecto de "Panel Tecnológico" --- */
.educational-section .education-highlight {
    padding: 40px;
    background: linear-gradient(135deg, #0d0d0d 0%, #151515 100%);
    border-left: 4px solid var(--glow);
    border-radius: 4px;
    position: relative;
}

.educational-section .education-highlight p {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.educational-section .education-highlight strong {
    color: #ffffff;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* --- Imagen y Efectos Visuales --- */
.educational-section .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.educational-section .image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.educational-section .image-wrapper:hover img {
    transform: scale(1.05);
}

/* --- Glow Overlay: El toque GLITCH --- */
.educational-section .glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 204, 0.15), transparent 70%);
    pointer-events: none;
}

/* --- Responsivo --- */
@media (max-width: 900px) {
    .educational-section .container-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .educational-section .section-title {
        text-align: center;
    }
}

/*************** PAQUETES *******************/
/* --- Contenedor Principal (Fondo Claro) --- */
.seo-packages-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Cambio a blanco */
    color: #1a1a1a;
}

.container-packages {
    max-width: 1200px;
    margin: 0 auto;
}

.packages-header {
    text-align: center;
    margin-bottom: 70px;
}

.packages-header .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.packages-header .section-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Grid de Paquetes --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- Tarjeta Base (Limpia y Técnica) --- */
.package-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* --- Badge / Etiqueta --- */
.package-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f4f4f4;
    color: #333;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

/* --- Contenido Interno --- */
.package-card h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #000;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.package-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* --- Lista de Features --- */
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
}

.package-features li {
    padding: 10px 0;
    color: #444;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.package-features li::before {
    content: '→'; /* Flecha técnica */
    color: var(--glow); /* Tu color de marca para el acento */
    margin-right: 12px;
    font-weight: 900;
}

/* --- Precio --- */
.package-footer {
    margin-top: auto;
}

.package-footer .price {
    font-size: 2rem;
    font-weight: 900;
    color: #000;
}

.package-footer .price small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    margin-top: 5px;
}

/* Estado inicial: Invisible y 30px abajo */
.packages-header, .package-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none; /* Evita interacciones antes de aparecer */
}

/* Clase que activa el jQuery para el header */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Clase que activa el jQuery para las tarjetas */
.card-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Bonus: Un ligero brillo extra cuando la tarjeta "Full SEO" aparece */
.package-card.featured.card-visible {
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}




/* --- Tarjeta Destacada (Full SEO) --- */
.package-card.featured {
    background: #fafafa;
    border: 2px solid #000;
}

.package-card.featured .package-tag {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .packages-header .section-title { font-size: 2.2rem; }
    .packages-grid { grid-template-columns: 1fr; }
}

/*portafolio de trabajo*/
/* --- Contenedor Principal (Dark Mode) --- */
.portfolio-section {
    padding: 120px 20px;
    background-color: #050505; /* Negro puro */
    color: #ffffff;
}

.container-portfolio {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Intro de Autoridad --- */
.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-header .pre-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--glow); /* Tu color de marca (Cian/Verde) */
    text-transform: uppercase;
    margin-bottom: 15px;
}

.portfolio-header .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Tipografía responsiva y masiva */
    font-weight: 950;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
	color: var(--glow);
}

.portfolio-intro-text {
    max-width: 850px;
    margin: 0 auto;
}

.portfolio-intro-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #a0a0a0; /* Gris suave para no cansar la vista */
}

.portfolio-intro-text strong {
    color: #ffffff; /* Resaltar lo importante en blanco puro */
    font-weight: 700;
}

/* --- Grid de Tarjetas --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* --- Tarjeta Individual --- */
.portfolio-card {
    background: #0d0d0d;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #1a1a1a;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    border-color: #333;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* --- Imagen y Efecto Overlay --- */
.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%); /* Un toque de desaturación para el look tech */
    transition: transform 0.8s ease;
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); /* Fondo oscuro al hacer hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .card-overlay { opacity: 1; }
.portfolio-card:hover .card-image img { transform: scale(1.1) rotate(1deg); }

.btn-visit {
    color: #ffffff;
    border: 2px solid var(--glow);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-visit:hover {
    background: var(--glow);
    color: #000;
}

/* --- Contenido de la Tarjeta --- */
.card-content {
    padding: 35px;
}

.case-tag {
    display: inline-block;
    color: var(--glow);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.card-content p {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
}

.card-content p strong {
    color: #ccc;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .portfolio-header .section-title { font-size: 2.8rem; }
    .portfolio-intro-text p { font-size: 1.1rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
}

/* Estado inicial: oculto, un poco más abajo y ligeramente más pequeño */
.portfolio-header, 
.portfolio-card {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

/* Clase que activa el jQuery */
.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Efecto extra para la tarjeta de conversión (la última) */
.portfolio-card.conversion-card.reveal-visible {
    border-color: var(--glow);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
}