/* =========================================
   ESTILOS: SERVICIOS WEB (ONE PULSE GO)
   ========================================= */
   .headerav.scrolled {
    background-color: #1A1A2E; /* Cambia por el color que prefieras */
    transition: background-color 1s;
}
.header {
  background-color: #1A1A2E!important;
}

:root {
    --op-magenta: #FF2E63;
    --op-dark: #1A1A2E;
    --op-gray: #f4f6f8;
}

/* Wrapper principal para no afectar otros diseños */
.op-web-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: white;
    overflow-x: hidden;
}

/* --- 1. HERO SECTION --- */
.web-hero {
    padding: 120px 5% 80px 5%;
    background: linear-gradient(135deg, #fff 0%, #fdfbfb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    background: rgba(255, 46, 99, 0.1);
    color: var(--op-magenta);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    color: var(--op-dark);
    margin: 0 0 25px 0;
}

.bg-magenta {
    color: var(--op-magenta);
    position: relative;
}

/* Subrayado decorativo */
.bg-magenta::after {
    content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 10px;
    background: rgba(255, 46, 98, 0); z-index: -1;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-main {
    background: var(--op-magenta);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 46, 99, 0.3);
    transition: 0.3s;
}
.btn-main:hover { transform: translateY(-3px); }

.btn-sec {
    border: 2px solid var(--op-dark);
    color: var(--op-dark);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.btn-sec:hover { background: var(--op-dark); color: white; }

/* IMAGEN FLOTANTE (Mockup) */
.hero-visual {
    position: relative;
}
.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
}

/* --- 2. SECCIÓN EVOLUCIÓN (ANIMACIÓN) --- */
.evolution-section {
    padding: 100px 5%;
    background: var(--op-dark); /* Fondo oscuro */
    color: white;
    text-align: center;
}

.evo-title { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; }
.evo-subtitle { color: #aaa; margin-bottom: 60px; font-size: 1.1rem; }

.evolution-stage {
    max-width: 600px;
    height: 350px;
    margin: 0 auto;
    position: relative;
}

/* Tarjeta Animada */
.morphing-card {
    width: 100%; height: 100%;
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

/* Fases */
.phase {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; transition: 0.5s;
}

/* Fase 1: Código */
.phase-code { background: #111; color: #0f0; font-family: monospace; align-items: flex-start; padding: 40px; box-sizing: border-box; font-size: 1.2rem;}
/* Fase 2: Viejo */
.phase-old { background: #ddd; color: #555; border: 10px solid #999; font-family: Arial, sans-serif; }
.phase-old button { background: #ccc; border: 1px solid #999; padding: 10px; margin-top: 20px; cursor: pointer; color: black; }
/* Fase 3: Nuevo */
.phase-new { background: white; font-family: 'Montserrat', sans-serif; }
.phase-new h2 { color: var(--op-dark); font-size: 2.5rem; font-weight: 900; margin: 0 0 10px 0;}
.phase-new p { color: #666; margin: 0; }
.phase-new button { background: var(--op-magenta); color: white; padding: 15px 40px; border: none; border-radius: 50px; font-weight: 700; margin-top: 20px; box-shadow: 0 10px 20px rgba(255,46,99,0.3); }

/* Keyframes de Animación */
.phase-code { animation: show1 9s infinite; }
.phase-old { animation: show2 9s infinite; }
.phase-new { animation: show3 9s infinite; }

@keyframes show1 { 0%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes show2 { 0%, 30% { opacity: 0; } 33%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes show3 { 0%, 63% { opacity: 0; } 66%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- 3. SERVICIOS GRID --- */
.services-section { padding: 100px 5%; background: var(--op-gray); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--op-dark); font-weight: 900; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--op-magenta);
    box-shadow: 0 20px 50px rgba(255, 46, 99, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--op-magenta);
    margin-bottom: 25px;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--op-dark); font-weight: 800; }
.service-card p { color: #666; line-height: 1.6; font-size: 0.95rem; margin-bottom: 25px; }

.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 10px; color: #555; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.check-list i { color: var(--op-magenta); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-visual { order: -1; margin-bottom: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}
/* --- MEJORA: FASE 2010 (ESTILO WEB 2.0 REALISTA) --- */
.phase-old {
    background: #f0f0f0;
    color: #333;
    font-family: 'Verdana', sans-serif; /* Fuente clásica 2000s */
    border: 1px solid #999;
    box-shadow: inset 0 0 10px #ccc; /* Sombra interna vieja */
}

.phase-old-header {
    width: 100%; background: linear-gradient(to bottom, #555, #333); /* Gradiente duro */
    color: white; padding: 10px; margin-bottom: 20px; text-align: left;
}
.phase-old h1 { font-size: 1.2rem; margin: 0; letter-spacing: 0; }

.phase-old button {
    background: linear-gradient(to bottom, #6db3f2, #54a3ee); /* Botón Glossy Azul */
    border: 1px solid #004d99;
    padding: 5px 15px;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 3px; /* Bordes apenas redondeados */
    text-shadow: 1px 1px 0 #004d99;
}

/* --- NUEVO: SECCIÓN SEO & GEO (Bing/AI) --- */
.seo-power-section { padding: 100px 5%; background: white; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }

.search-engines-row { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.engine-badge {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
}
.bg-bing { background: #e6f7ff; color: #00897b; border: 1px solid #b2ebf2; }
.bg-ai { background: #f3e5f5; color: #8e24aa; border: 1px solid #e1bee7; }

/* --- NUEVO: SECCIÓN CORPORATIVA (DARK) --- */
.corporate-scale-section {
    padding: 100px 5%;
    background: var(--op-dark); /* Fondo oscuro */
    color: white;
    position: relative;
    overflow: hidden;
}
.scale-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; align-items: center; }

.scale-features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.scale-item h4 { color: #00E5FF; margin-bottom: 10px; font-size: 1.1rem; }
.scale-item p { color: #ccc; font-size: 0.9rem; line-height: 1.6; }
.scale-line { width: 40px; height: 3px; background: #FF2E63; margin-bottom: 15px; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .seo-grid, .scale-grid, .scale-features { grid-template-columns: 1fr; }
}


/* --- MEGA CTA FINAL --- */
.final-cta-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #FF2E63 0%, #FF307C 100%); /* Degradado One Pulse */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botón Blanco Solido */
.btn-cta-white {
    background: white;
    color: #FF2E63;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-cta-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Botón Borde (Outline) */
.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-cta-outline:hover {
    background: white;
    color: #FF2E63;
    border-color: white;
}

/* Elemento Decorativo Gigante "GO" */
.cta-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05); /* Muy sutil */
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-title { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-cta-white, .btn-cta-outline { justify-content: center; width: 100%; box-sizing: border-box; }
}