/* --- Hero Section: Clean & Direct --- */
.hero-design {
    width: 100%;
    min-height: 100vh; /* Ocupa toda la pantalla */
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
}

/* --- Estados de Entrada (jQuery Ready) --- */
.badge, h1 {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Tipografía --- */
.badge {
    display: inline-block;
    color: #00f2ff; /* Tu cyan de marca */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 5.5vw, 4.2rem); /* Tamaño balanceado, no exagerado */
    color: #fff;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0;
}

h1 span {
    display: block;
    font-size: clamp(1.1rem, 2.8vw, 2.2rem); /* El subtítulo del h1 */
    color: #777; /* Gris para dar profundidad visual */
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 15px;
}

/* --- Clase de Activación --- */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Sección Experiencia Digital (Fondo Blanco) --- */
.experience-split {
    width: 100%;
    min-height: 90vh;
    background-color: #ffffff; /* FONDO BLANCO */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    box-sizing: border-box;
    overflow: hidden;
}

.container-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}

/* --- ESTADO INICIAL PARA LA ANIMACIÓN --- */
.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(12px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity, filter;
}

/* Clase de activación que pondrás con jQuery */
.js-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

/* --- Columna de Texto --- */
.experience-text {
    flex: 1;
    min-width: 320px;
}

.experience-text .badge {
    color: #00bfff;
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: inline-block;
    text-transform: uppercase;
}

.experience-text h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: #111111;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 30px;
}

.experience-text h2 span {
    display: block;
    color: #999999;
    font-size: 0.65em;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 10px;
}

.experience-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555555;
    max-width: 580px;
    margin: 0;
}

.experience-text p strong {
    color: #000;
    font-weight: 700;
}

/* --- Columna de Imagen --- */
.experience-image {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
}

/* Retraso para que la imagen entre después que el texto */
.experience-image.is-visible {
    transition-delay: 0.2s;
}

.experience-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


/* --- Sección Estrategia SEO (Fondo Negro) --- */
.seo-strategy {
    width: 100%;
    min-height: 80vh; /* Ocupa buena parte de la pantalla */
    padding: 120px 5%;
    background-color: #000000; /* FONDO NEGRO */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.container-seo {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* =========================================
   ESTADO INICIAL PARA LA ANIMACIÓN (Invisible)
   ========================================= */
.seo-content.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(15px);
    /* Preparamos la transición suave para cuando se active */
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity, filter;
}

/* Nota: No incluyo la clase .is-visible aquí, 
   solo el estado inicial como pediste. */

/* --- Títulos --- */
.seo-content .badge {
    color: #00f2ff; /* Tu cyan de marca vibrante sobre negro */
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: inline-block;
    text-transform: uppercase;
}

.seo-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #ffffff; /* Texto blanco puro */
    font-weight: 900;
    margin-bottom: 50px;
    line-height: 1;
    letter-spacing: -2px;
}

.seo-content h2 span {
    display: block;
    color: #666666; /* Gris oscuro para contraste sutil en el sub-título */
    font-weight: 400;
    font-size: 0.6em;
    letter-spacing: 0;
    margin-top: 15px;
}

/* --- Grid y Párrafo --- */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 70px;
    align-items: start;
}

.seo-text-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #aaaaaa; /* Gris medio para lectura cómoda */
    margin: 0;
}

.seo-text-block p strong {
    color: #ffffff; /* Strong en blanco para resaltar */
    font-weight: 700;
}

/* --- Lista de Features --- */
.seo-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-features li {
    margin-bottom: 25px;
    padding-left: 35px;
    position: relative;
    color: #cccccc; /* Gris claro */
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Icono/Flecha de la lista */
.seo-features li::before {
    content: '→'; /* O puedes usar un icono font-awesome si prefieres */
    position: absolute;
    left: 0;
    top: 0;
    color: #00f2ff; /* Flecha cyan */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Título de cada feature */
.seo-features li strong {
    display: block;
    color: #ffffff; /* Título en blanco */
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* --- Sección Core Features --- */
.core-features {
    padding: 120px 5%;
    background-color: #ffffff; /* FONDO BLANCO */
    color: #111;
}

.container-features {
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

/* --- Grid de 4 Columnas --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* --- Estado Inicial (Para el jQuery) --- */
.feature-item.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

/* Delays para cascada visual */
.feature-item:nth-child(2) { transition-delay: 0.1s; }
.feature-item:nth-child(3) { transition-delay: 0.2s; }
.feature-item:nth-child(4) { transition-delay: 0.3s; }

/* --- Detalles de cada Item --- */
.feature-item {
    padding: 40px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #ffffff;
    border-color: #00bfff;
}

.feature-icon {
    font-size: 0.8rem;
    font-weight: 900;
    color: #00bfff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* --- Sección Paquetes (Fondo Negro) --- */
.pricing-section {
    padding: 120px 5%;
    background-color: #000000; /* FONDO NEGRO */
    color: #ffffff;
    overflow: hidden;
}

.container-pricing {
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: #fff;
}

.pricing-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

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

/* --- ESTADO INICIAL (Para el jQuery) --- */
.pricing-card.js-reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(15px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pricing-card.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

/* Delays para entrada secuencial */
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.4s; }

/* --- Cards de Precios Estilo Glitch --- */
.pricing-card {
    padding: 60px 45px;
    background: #0a0a0a; /* Negro ligeramente más claro para contraste */
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: #00f2ff; /* Tu cyan de marca */
    background: #0d0d0d;
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.05);
}

/* Paquete Destacado (WordPress) */
.pricing-card.featured {
    border-color: #333;
    background: #111;
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00f2ff;
    color: #000;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.card-tier {
    font-size: 0.75rem;
    font-weight: 800;
    color: #00f2ff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
}

.price {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #fff;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #555;
    margin-left: 5px;
}

.pricing-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #888;
    margin-bottom: 35px;
    flex-grow: 1;
}

/* --- Lista de Beneficios --- */
.pricing-card ul {
    list-style: none;
    padding: 25px 0 0 0;
    margin: 0;
    border-top: 1px solid #1a1a1a;
}

.pricing-card li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.pricing-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00f2ff;
    font-weight: bold;
}

/* --- Sección Portafolio (Fondo Blanco) --- */
.portfolio-section {
    padding: 120px 5%;
    background-color: #ffffff; /* FONDO BLANCO */
    color: #111;
}

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

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* --- Grid de Portafolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Ajustado minmax */
    gap: 50px; /* Más espacio entre items */
}

/* --- Estado Inicial (Invisible para el jQuery) --- */
.portfolio-item.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity, filter;
}

.portfolio-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

/* --- Estilos de las Tarjetas (Ajustados) --- */
.portfolio-item {
    display: flex;
    flex-direction: column;
}

.portfolio-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 25px; /* Más espacio para la info */
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay sutil al Hover */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Invisible por defecto */
    transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.03);
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.3); /* Ligeramente oscuro */
}

/* --- Info del Proyecto --- */
.portfolio-info {
    flex-grow: 1; /* Para empujar el botón al fondo si los textos son largos */
    display: flex;
    flex-direction: column;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 25px; /* Espacio antes del botón */
}

/* --- ESTILO DEL BOTÓN PREMIUM --- */
.btn-view-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Botón a todo lo ancho de la card */
    padding: 15px;
    background-color: #111111; /* Negro por defecto */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-site:hover {
    background-color: #00f2ff; /* Cyan en Hover */
    color: #000000;
}