* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a1628 0%, #2a3a6e 100%);
    font-family: 'Poppins', sans-serif;
    padding: 40px;
    overflow-x: hidden;
    color: #cccccc;
    line-height: 1.6;

    padding-top: 80px;
}
.contenedor {
    background: #16213e;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);

    /*background: #16213e;  /* Volvemos al color original sólido, seguro */
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
    border-radius: 15px;
    box-sizing: border-box;
    margin-top: 20px;
    text-align: justify;
    overflow: visible;

    margin-top: 80px;
}


h1 { color: #f7f6f5; }
h2 { color: #fc6f03; }

p {
    font-size: 18px;
    color: #cccccc;
}

.contenedor p {
    text-align: justify;
    color: #cccccc;
    line-height: 1.8;
}

ul {
    background-color: #16213e;
    padding: 20px;
    border-radius: 10px;
    list-style: none;
}

li {
    color: #fc6f03;
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

li i {
    color: #fc6f03;
    margin-right: 10px;
}

.contenedor ul li {
    color: #cccccc;
    text-align: left;
}

/* Hero */
.hero {
    text-align: center;
    background-color: #16213e;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 800px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.foto-contenedor {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px;
}

.foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #fc6f03;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s, border-color 0.3s;
}

.foto:hover {
    transform: scale(1.05);
    border-color: #ffffff;
}

.titulo-principal {
    text-align: center;
    font-size: 36px;
    border-bottom: 3px solid #fc6f03;
    padding-bottom: 15px;
    display: inline-block;
    margin-bottom: 15px;
}

.nombre-hero { color: #fc6f03; }

.subtitulo-hero {
    font-size: 20px;
    color: #cccccc;
    margin-top: 10px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    display: block;
    letter-spacing: 1px;
}

.texto-animado {
    color: #fc6f03;
    font-size: 21px;
    display: inline;
    font-weight: 600;
}

/* Botones hero */
.hero-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-hero {
    background: linear-gradient(135deg, #fc6f03, #e05e00);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(252, 111, 3, 0.4);
}

.btn-hero-outline {
    border: 2px solid #fc6f03;
    color: #fc6f03;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    background: transparent;
}

.btn-hero-outline:hover {
    background-color: #fc6f03;
    color: white;
}

/* Separador */
.separador {
    border: none;
    border-top: 1px solid #0f3460;
    margin: 60px 0;
}

/* Subtítulos */
.subtitulo {
    text-align: center;
    color: #fc6f03;
    margin-top: 40px;
    font-size: 32px;
    position: relative;
    padding-bottom: 10px;
}

.subtitulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fc6f03, #e05e00);
    border-radius: 3px;
}

/* Tarjetas */
.tarjetas {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.tarjeta {
    flex: 1 1 calc(30% - 20px);
    max-width: calc(30% - 20px);
    background-color: #0f3460;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 3px solid #fc6f03;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

.tarjeta {
    position: relative;
    overflow: hidden;
}

.tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fc6f03, transparent);
    transition: left 0.5s ease;
}

.tarjeta:hover::before {
    left: 100%;
}

.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(252, 111, 3, 0.25);
}

.tarjeta h3 {
    color: #fc6f03;
    font-size: 18px;
    margin-bottom: 10px;
}

.tarjeta p {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
}

.icono-tarjeta {
    font-size: 45px;
    color: #fc6f03;
    margin-bottom: 15px;
    transition: transform 0.3s;
    display: inline-block;
}

.tarjeta:hover .icono-tarjeta { transform: scale(1.1); }

/* Testimonios */
.testimonios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    }

.testimonio {
    background: #0f3460;
    padding: 25px;
    border-radius: 20px;
    max-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    border-bottom: 2px solid transparent;
}

.testimonio:hover {
    transform: translateY(-5px);
    border-bottom: 2px solid #fc6f03;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.testimonio i.fa-user-circle {
    font-size: 60px;
    color: #fc6f03;
}

.testimonio h4 {
    color: #fc6f03;
    margin: 15px 0 5px;
    font-size: 18px;
}

.testimonio .cliente-rol {
    color: #aaaaaa;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
}

.testimonio .estrellas {
    color: #fc6f03;
    margin: 10px 0;
    font-size: 14px;
}

.testimonio .testimonio-texto {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

/* Redes */
.redes {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.red:hover { transform: translateY(-3px); filter: brightness(1.1); }
.red-facebook { background-color: #1877f2; }
.red-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.red-linkedin { background-color: #0077b5; }

/* Formulario */
.formulario {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.campo {
    background-color: #0f3460;
    border: 2px solid #fc6f03;
    border-radius: 15px;
    padding: 15px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.campo:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(252, 111, 3, 0.2);
}

textarea.campo {
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

.error {
    color: #ff4444;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 5px;
    display: none;
}

.boton {
    background-color: #fc6f03;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.boton:hover {
    background-color: #e05e00;
    transform: scale(1.02);
}

.boton-contenedor {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.boton-whatsapp { background-color: #25d366 !important; }
.boton-whatsapp:hover { background-color: #1da851 !important; }

/* Menú */
.menu {
    background: rgba(15, 52, 96, 0.75);
    backdrop-filter: blur(12px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(252, 111, 3, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.menu {
    background: linear-gradient(135deg, #0a1628, #0f3460);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #0f3460);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}





.menu:hover {
    border-bottom: 2px solid #fc6f03;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f3460;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    box-sizing: border-box;
    flex-wrap: wrap;
}


.menu:hover {
    box-shadow: 0 15px 35px rgba(252, 111, 3, 0.2);
    transform: translateY(-2px);
}
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #0f3460);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}


.menu {
    background: linear-gradient(135deg, #0a1628, #0f3460, #1a4a7a);
    background-size: 200% 200%;
    animation: gradienteMovil 8s ease infinite;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes gradienteMovil {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.menu-logo {
    display: flex;
    align-items: center;
}


.menu-logo .logo {
    height: 50px;
    display: block;
}

.logo {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(252, 111, 3, 0));
}

.logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(252, 111, 3, 0.6));
}

/* Botón hamburguesa: visible solo en móvil */
.menu-hamburguesa {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Enlaces escritorio */
.menu-links {
    display: flex;
    gap: 25px;
}


.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}


.menu-link {
    position: relative;
    overflow: hidden;
}

.menu-link:hover {
    color: #fc6f03;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 111, 3, 0.3), transparent);
    transition: left 0.4s ease;
    z-index: -1;
}

.menu-link:hover::before {
    left: 100%;
}


.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fc6f03;
    transition: width 0.3s ease;
}

.menu-link:hover { color: #fc6f03; }
.menu-link:hover::after { width: 100%; }

/* Footer */
.footer {
    background-color: #0f3460;
    color: #cccccc;
    margin-top: 40px;
    padding: 40px 40px 20px 40px;
    text-align: center;
}

.footer-contenido {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border: 2px solid #1a5276;
    border-radius: 15px;
    overflow: hidden;
}

.footer-columna {
    flex: 1;
    padding: 30px 25px;
    border-right: 2px solid #1a5276;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0a1628;
}

.footer-columna:last-child { border-right: none; align-items: flex-start; }

.footer-columna h3 {
    color: #fc6f03;
    margin-bottom: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fc6f03;
    width: 100%;
    text-align: center;
}

.footer-columna p { font-size: 13px; line-height: 1.8; text-align: center; }
.footer-columna:first-child { align-items: center; text-align: center; }
.footer-columna:last-child p { text-align: left; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-columna i { color: #fc6f03; margin-right: 8px; }

.footer-logo { height: 70px; width: auto; margin: 0 auto 15px auto; display: block; }

.footer-links {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.footer-links li {
    padding: 8px 0;
    border-bottom: 1px solid #1a5276;
    text-align: center;
    display: flex;
    justify-content: center;
    background-color: transparent;
}

.footer-links li:last-child { border-bottom: none; }

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 20px;
    border-radius: 20px;
}

.footer-links a:hover { color: #fc6f03; background-color: #0f3460; }

.footer-email {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover { color: #fc6f03; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid #1a5276;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #cccccc;
    width: 100%;
}

/* Anclajes */
#inicio, #servicios, #portafolio, #precios, #blog, #contacto { scroll-margin-top: 80px; }

/* Contador */
.contador-item { min-width: 150px; padding: 20px; }
.contador-numero {
    font-size: 48px;
    font-weight: 800;
    color: #fc6f03;
    margin-bottom: 10px;
}

.contador-numero {
    transition: all 0.3s ease;
    display: inline-block;
}

.contador-item:hover .contador-numero {
    animation: vibracion 0.3s ease;
}

@keyframes vibracion {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.contador-label {
    font-size: 16px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    body { padding: 20px; }
    .menu-hamburguesa { display: block; }
    .menu-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        gap: 15px;
        background-color: #0f3460;

    }
    .menu-links.activo { display: flex; }
    .menu { flex-wrap: wrap; position: relative; }
    .tarjetas { flex-direction: column; }
    .tarjeta { flex: 1 1 100%; max-width: 100%; }
    .redes { flex-direction: column; align-items: center; }
    .contenedor { padding: 20px; }
    .titulo-principal { font-size: 28px; }
    .footer-contenido { flex-direction: column; }
    .footer-columna { border-right: none; border-bottom: 1px solid #1a5276; }
    .hero-botones { flex-direction: column; align-items: center; }
    .contador-numero { font-size: 36px; }
    .contador-label { font-size: 12px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .tarjetas { flex-wrap: wrap; }
    .tarjeta { flex: 1 1 calc(50% - 20px); }
    .contenedor { padding: 30px; }
}

/* Fotos de testimonios */
.testimonio-foto {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fc6f03;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonio-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio:hover .testimonio-foto {
  transform: scale(1.05);
  border-color: #ffffff;
}

/* Menú con efecto vidrio */

@keyframes latido {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { transform: scale(1.08); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); }
}

/* Cursor personalizado elegante */
body {
    cursor: default;
}

a, button, .boton, .btn-hero, .tarjeta, .red {
    cursor: pointer;
}

/* Efecto de halo en botones al pasar */
.boton, .btn-hero, .btn-hero-outline, .red {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* ========================================== */
/* PORTAFOLIO - ESTILO PROFESIONAL            */
/* ========================================== */

.portafolio {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.proyecto {
    background: #0f3460;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.proyecto:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid #fc6f03;
    box-shadow: 0 15px 30px rgba(252, 111, 3, 0.2);
}

.proyecto-imagen {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.proyecto:hover .proyecto-imagen img {
    transform: scale(1.05);
}

.proyecto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto:hover .proyecto-overlay {
    opacity: 1;
}

.proyecto-boton {
    background: linear-gradient(135deg, #fc6f03, #e05e00);
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.proyecto-boton:hover {
    transform: scale(1.05);
}

.proyecto-info {
    padding: 20px;
    text-align: center;
}

.proyecto-info h3 {
    color: #fc6f03;
    font-size: 18px;
    margin-bottom: 8px;
}

.proyecto-categoria {
    font-size: 12px;
    color: #aaaaaa;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.proyecto-info p {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 768px) {
    .proyecto {
        max-width: 100%;
    }
}

#portafolio {
    scroll-margin-top: 100px;
}

/* ========================================== */
/* SECCIÓN DE PRECIOS (PAQUETES)              */
/* ========================================== */

.contenedor-precios {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.tarjeta-precio {
    background: linear-gradient(145deg, #0f3460, #0a1628);
    border-radius: 24px;
    padding: 0 0 30px 0;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(252, 111, 3, 0.2);
    position: relative;
    overflow: hidden;
}

.tarjeta-precio:hover {
    transform: translateY(-10px);
    border-color: #fc6f03;
    box-shadow: 0 20px 35px rgba(252, 111, 3, 0.25);
}

.tarjeta-precio.destacado {
    transform: scale(1.02);
    border: 2px solid #fc6f03;
    box-shadow: 0 10px 30px rgba(252, 111, 3, 0.3);
}

.tarjeta-precio.destacado:hover {
    transform: scale(1.03) translateY(-5px);
}

.etiqueta-destacado {
    background: #fc6f03;
    color: white;
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.precio-cabecera {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(252, 111, 3, 0.3);
}

.precio-cabecera h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.precio-numero {
    font-size: 48px;
    font-weight: 800;
    color: #fc6f03;
    margin: 15px 0;
}

.precio-numero span {
    font-size: 16px;
    font-weight: normal;
    color: #cccccc;
}

.precio-cabecera p {
    font-size: 13px;
    color: #aaaaaa;
}

.precio-caracteristicas {
    list-style: none;
    padding: 20px;
    margin: 0;
    background: transparent;
    text-align: left;
}

.precio-caracteristicas li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.precio-caracteristicas li i {
    width: 20px;
    text-align: center;
}

.precio-caracteristicas .fa-check-circle {
    color: #00c853;
}

.precio-caracteristicas .fa-times-circle {
    color: #ff4444;
}

.boton-precio {
    display: inline-block;
    background: linear-gradient(135deg, #fc6f03, #e05e00);
    color: white;
    padding: 12px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
}

.boton-precio:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(252, 111, 3, 0.4);
}

/* ========================================== */
/* BLOG PROFESIONAL                           */
/* ========================================== */

.contenedor-blog {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.entrada-blog {
    background: #0f3460;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.entrada-blog:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid #fc6f03;
    box-shadow: 0 15px 30px rgba(252, 111, 3, 0.2);
}

.entrada-blog img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.entrada-blog:hover img {
    transform: scale(1.03);
}

.blog-contenido {
    padding: 25px;
}

.blog-categoria {
    font-size: 12px;
    color: #fc6f03;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.entrada-blog h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
    line-height: 1.4;
}

.entrada-blog p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-leer-mas {
    color: #fc6f03;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.blog-leer-mas:hover {
    transform: translateX(5px);
    color: #e05e00;
}

/* ========================================== */
/* NARANJA MEJORADO - GRADIENTE + BRILLO      */
/* ========================================== */

/* Botones principales */
.boton, .btn-hero, .boton-precio, .proyecto-boton {
    background: linear-gradient(135deg, #fc6f03, #e05e00) !important;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(252, 111, 3, 0.2);
}

.boton:hover, .btn-hero:hover, .boton-precio:hover, .proyecto-boton:hover {
    background: linear-gradient(135deg, #e05e00, #c04d00) !important;
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(252, 111, 3, 0.5);
}

/* Textos naranja con brillo */
.nombre-hero, .subtitulo, .precio-numero, .tarjeta h3, .testimonio h4 {
    color: #fc6f03;
    text-shadow: 0 0 4px rgba(252, 111, 3, 0.4);
    transition: text-shadow 0.3s;
}

.nombre-hero:hover, .precio-numero:hover {
    text-shadow: 0 0 10px rgba(252, 111, 3, 0.8);
}

/* Bordes y decoraciones */
.tarjeta, .tarjeta-precio, .entrada-blog, .testimonio {
    border-bottom: 3px solid #fc6f03;
    transition: all 0.3s ease;
}

.tarjeta:hover, .tarjeta-precio:hover, .entrada-blog:hover, .testimonio:hover {
    border-bottom-color: #ff9a4a;
    box-shadow: 0 10px 25px rgba(252, 111, 3, 0.2);
}

/* Iconos con glow */
.icono-tarjeta, .testimonio i.fa-user-circle, .precio-caracteristicas .fa-check-circle {
    filter: drop-shadow(0 0 4px rgba(252, 111, 3, 0.5));
    transition: filter 0.3s;
}

.icono-tarjeta:hover {
    filter: drop-shadow(0 0 10px #fc6f03);
}

/* Línea decorativa del menú */
.menu-link::after {
    background-color: #fc6f03;
    box-shadow: 0 0 5px #fc6f03;
}

/* Precio destacado */
.precio-numero {
    font-size: 48px;
    font-weight: 800;
    color: #fc6f03;
    text-shadow: 0 0 6px rgba(252, 111, 3, 0.5);
}

.boton, .btn-hero, .boton-precio, .proyecto-boton {
    background-color: #fc6f03;  /* Color sólido, sin gradiente ni !important */
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.boton:hover, .btn-hero:hover, .boton-precio:hover, .proyecto-boton:hover {
    background-color: #e05e00;
    transform: scale(1.02);
}

/* Para el botón flotante de WhatsApp (NO se modifica) */
.boton-whatsapp {
    background-color: #25d366 !important;
}

/* Grises y blancos para buena legibilidad */
body, p, li, .testimonio-texto, .blog-contenido p {
    color: #cccccc;
}

h1, h2, h3, .titulo-principal, .subtitulo {
    color: #f7f6f5;
}

.nombre-hero, .subtitulo, .precio-numero {
    color: #fc6f03;
}

.blog-completo {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: left;
}

.blog-completo p {
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-leer-mas {
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
}

/* Blog: contenido completo (oculto por defecto) */
.blog-completo {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: left;
    display: none; /* Oculto por defecto */
    transition: all 0.3s ease;
}

/* Cuando está visible */
.blog-completo.activo {
    display: block;
}

.blog-completo {
    display: none; /* Asegura que arranque oculto */
    margin: 0;
    padding: 0;
    border: none;
}

.blog-completo.activo {
    display: block;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid #fc6f03;
}

/* Estilo normal de la tarjeta (cuando está cerrada) */
.entrada-blog {
    background: #0f3460;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    border-bottom: 2px solid #fc6f03;  /* Borde que siempre se ve */
    margin-bottom: 20px;
}

#inicio, #servicios, #portafolio, #precios, #blog, #contacto {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    #inicio, #servicios, #portafolio, #precios, #blog, #contacto {
        scroll-margin-top: 110px;
    }
}


/* Menú fijo real */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #0f3460);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Que el contenido no quede tapado por el menú */
body {
    padding-top: 80px;
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* Scroll-margin-top para que los títulos no queden tapados */
#inicio, #servicios, #portafolio, #precios, #blog, #contacto {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    #inicio, #servicios, #portafolio, #precios, #blog, #contacto {
        scroll-margin-top: 120px;
    }
}

/* === MENÚ FIJO === */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #0f3460);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* === ESPACIO PARA QUE EL CONTENIDO NO QUEDE OCULTO === */
body {
    padding-top: 80px;
}

/* === PARA QUE LOS TÍTULOS NO QUEDEN TAPADOS === */
#inicio, #servicios, #portafolio, #precios, #blog, #contacto {
    scroll-margin-top: 100px;
}

/* === AJUSTE PARA MÓVIL === */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    #inicio, #servicios, #portafolio, #precios, #blog, #contacto {
        scroll-margin-top: 150px;
    }
}

/* === MENÚ FIJO CORREGIDO === */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f3460;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* Botón hamburguesa a la derecha */
.menu-hamburguesa {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Logo a la izquierda */
.menu-logo .logo {
    height: 50px;
}

/* Enlaces del menú */
.menu-links {
    display: flex;
    gap: 20px;
}

/* === ESPACIO PARA QUE EL CONTENIDO NO QUEDE OCULTO === */
body {
    padding-top: 70px;
}

/* === TÍTULOS TAPADOS: SOLUCIÓN === */
section[id], div[id] {
    scroll-margin-top: 100px;
}

/* Ajuste extra para móvil */

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    section[id], div[id] {
        scroll-margin-top: 130px;
    }
}

/* === MENÚ HAMBURGUESA SÓLO EN MÓVIL === */
.menu-hamburguesa {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Móvil */
@m/* === MÓVIL === */
@media (max-width: 768px) {
    .menu-hamburguesa {
        display: block;
    }

    .menu-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #0f3460;
        text-align: center;
        padding: 20px 0;
        margin-top: 15px;
        gap: 15px;
        border-radius: 20px;
    }

    .menu-links.activo {
        display: flex;
    }

    .menu-link {
        font-size: 18px;
        padding: 8px 0;
    }
}


@media (max-width: 768px) {
    .menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    .menu {
    align-items: center;
    }

    .menu-logo {
        display: flex;
        align-items: center;
    }

    .menu-hamburguesa {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .menu-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0f3460;
        text-align: center;
        padding: 20px 0;
        margin-top: 15px;
        border-radius: 15px;
        gap: 15px;
    }

    .menu-links.activo {
        display: flex;
    }

    .menu-link {
        padding: 10px;
        font-size: 18px;
    }
}

/* === HERO CON FONDO DINÁMICO === */
.hero {
    background: linear-gradient(135deg, #0a1628, #0f3460, #1a4a7a);
    background-size: 200% 200%;
    animation: gradienteMovil 8s ease infinite;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes gradienteMovil {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === FOTO CON GLOW (brillo sagrado xD) === */
.foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fc6f03;
    box-shadow: 0 0 20px rgba(252, 111, 3, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.foto:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(252, 111, 3, 0.9);
}

/* === TEXTO CON ANIMACIÓN === */
.titulo-principal, .subtitulo-hero {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BOTONES CON EFECTO VIDRIO === */
.btn-hero, .btn-hero-outline {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: scale(1.05);
    background: #e05e00;
}

.btn-hero-outline:hover {
    background: rgba(252, 111, 3, 0.2);
    border-color: #fc6f03;
    color: #fc6f03;
}

/* === HERO MODO EXTREMO === */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a0f1a, #0f172a, #020617);
    background-size: 200% 200%;
    animation: gradienteExtremo 12s ease infinite;
    border-radius: 40px;
    padding: 80px 20px;
    text-align: center;
    margin: 30px auto;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(252, 111, 3, 0.3);
}

@keyframes gradienteExtremo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === LÍNEAS DE CÓDIGO FLOTANTES === */
.hero::before {
    content: "'<html>' '<body>' '<h1>' '</h1>' '<footer>' '<script>' 'function' 'const' 'let' '=>' '{ }' '</script>' '@media' '{' '}'";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(252, 111, 3, 0.08);
    font-family: monospace;
    font-size: 14px;
    white-space: pre-wrap;
    pointer-events: none;
    z-index: 0;
    animation: moverCodigo 20s linear infinite;
}

@keyframes moverCodigo {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* === FOTO CON EFECTO NEÓN + ESCÁNER === */
.foto {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fc6f03;
    box-shadow: 0 0 15px #fc6f03, 0 0 30px rgba(252, 111, 3, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.foto:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 30px #fc6f03, 0 0 60px rgba(252, 111, 3, 0.8);
    filter: brightness(1.1);
}

/* === TEXTO CON EFECTO MÁQUINA === */
.titulo-principal {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #fc6f03);
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.8s ease;
}

.subtitulo-hero {
    font-size: 22px;
    margin: 20px 0;
    color: #cbd5e1;
    animation: fadeInUp 1s ease;
}

.texto-animado {
    color: #fc6f03;
    font-weight: 600;
    border-right: 2px solid #fc6f03;
    padding-right: 5px;
    animation: parpadeo 0.7s step-end infinite;
}

@keyframes parpadeo {
    from, to { border-color: transparent; }
    50% { border-color: #fc6f03; }
}

/* === BOTONES MODO EXTREMO === */
.btn-hero, .btn-hero-outline {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-hero {
    background: linear-gradient(135deg, #fc6f03, #b04a00);
    color: white;
    box-shadow: 0 0 10px #fc6f03;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #fc6f03;
}

.btn-hero-outline {
    border: 2px solid #fc6f03;
    color: #fc6f03;
    background: rgba(0,0,0,0.4);
}

.btn-hero-outline:hover {
    background: #fc6f03;
    color: #0a0a0a;
    box-shadow: 0 0 15px #fc6f03;
}

/* === ANIMACIONES DE ENTRADA === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "'<html>' '<body>' '<head>' '<title>' '<meta>' 'viewport' 'padding' 'margin' 'display' 'flex' 'grid' '@media' '{' '}' 'function' 'const' 'let' '=>' 'class' 'import' 'export' 'return' 'if' 'else' 'try' 'catch'";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    color: rgba(252, 111, 3, 0.05);
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
    pointer-events: none;
    z-index: 0;
    animation: moverCodigoSuave 30s linear infinite;
}

@keyframes moverCodigoSuave {
    from { transform: translate(0, 0); }
    to { transform: translate(-10%, -10%); }
}

.hero .foto,
.hero .titulo-principal,
.hero .subtitulo-hero,
.hero .hero-botones {
    position: relative;
    z-index: 2;
}

/* === FONDO FUTURISTA CON CÓDIGO FLOTANTE === */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1a, #0f172a, #020617);
    background-size: 200% 200%;
    animation: gradienteFuturista 12s ease infinite;
}

@keyframes gradienteFuturista {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: "'<html>' '<head>' '<title>' '<meta>' '<body>' '<div>' '<section>' '<h1>' '</h1>' '<p>' '<footer>' '<script>' 'function' 'const' 'let' '=>' 'if' 'else' 'return' 'import' 'export' 'class' 'extends' 'super' 'constructor' '{' '}' '()' '[]' '.map' '.filter' '.reduce' '@media' 'flex' 'grid' 'position' 'absolute' 'relative' 'fixed' 'sticky'";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    color: rgba(252, 111, 3, 0.06);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    pointer-events: none;
    z-index: 0;
    animation: moverCodigoExtremo 40s linear infinite;
}

@keyframes moverCodigoExtremo {
    from { transform: translate(0, 0); }
    to { transform: translate(-15%, -15%); }
}

/* Asegura que el contenido del hero esté por encima del fondo flotante */
.hero .foto,
.hero .titulo-principal,
.hero .subtitulo-hero,
.hero .hero-botones {
    position: relative;
    z-index: 2;
}

/* FONDO CON LOGOS DE LENGUAJE */

.hero {
    position: relative;
    overflow: hidden;
}

.hero .logo-html,
.hero .logo-css,
.hero .logo-js {
    position: absolute;
    opacity: 0.25;
    animation: brilloSuave 3s infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.hero .logo-html {
    top: 15%;
    left: 5%;
    width: 80px;
    animation-delay: 0s;
}

.hero .logo-css {
    bottom: 10%;
    right: 5%;
    width: 90px;
    animation-delay: 0.8s;
}

.hero .logo-js {
    top: 40%;
    right: 20%;
    width: 85px;
    animation-delay: 1.5s;
}

@keyframes brilloSuave {
    0% { opacity: 0.15; filter: drop-shadow(0 0 0px #fc6f03); }
    100% { opacity: 0.4; filter: drop-shadow(0 0 15px #fc6f03); }
}


/* Enlaces dentro del contenido del blog */
.blog-completo a {
    color: #fc6f03;
    text-decoration: underline;
    font-weight: bold;
    transition: 0.3s;
}

.blog-completo a:hover {
    color: #ffaa33;
    text-decoration: none;
}

/* Asegura que los enlaces no tengan fondo extraño */
.blog-completo a:focus,
.blog-completo a:visited {
    color: #fc6f03;
}

   .blog-completo {
    display: none !important;
}

.blog-completo[style*="display: block"] {
    display: block !important;
}

/* Fuerza a que el contenido del blog sea visible cuando el script lo activa */
.blog-completo {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: left;
    color: #cccccc;
    border-left: 3px solid #fc6f03;
}

/* Cuando el script le pone display: block, se fuerza el estilo */
.blog-completo[style*="display: block"] {
    display: block !important;
}

/* Enlaces dentro del contenido */
.blog-completo a {
    color: #fc6f03;
    text-decoration: underline;
    font-weight: bold;
}

.blog-completo a:hover {
    color: #ffaa33;
}

/* Fuerza a que el contenido del blog se vea cuando el script lo activa */
.blog-completo {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: left;
    color: #cccccc;
    border-left: 3px solid #fc6f03;
}

.blog-completo[style*="display: block"] {
    display: block !important;
}

.blog-completo a {
    color: #fc6f03;
    text-decoration: underline;
    font-weight: bold;
}

.blog-completo a:hover {
    color: #ffaa33;
}

button.blog-boton-nuevo {
    background: none;
    border: none;
    color: #fc6f03;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    transition: 0.3s;
}

button.blog-boton-nuevo:hover {
    color: #ffaa33;
    text-decoration: underline;
}

/* Enlaces dentro del contenido del blog */
.blog-completo a {
    color: #fc6f03 !important;
    text-decoration: underline;
    font-weight: bold;
}

.blog-completo a:hover {
    color: #ffaa33 !important;
    text-decoration: none;
}

.blog-completo a,
.blog-completo a:link,
.blog-completo a:visited,
.blog-completo a:hover,
.blog-completo a:active {
    color: #fc6f03 !important;
    text-decoration: underline;
    font-weight: bold;
}

.blog-completo a:hover {
    color: #ffaa33 !important;
    text-decoration: none;
}

/* Fuerza a que todos los enlaces dentro del contenido sean naranja */
.blog-completo a,
.blog-completo a:link,
.blog-completo a:visited {
    color: #fc6f03 !important;
    text-decoration: underline;
}

.blog-completo a:hover {
    color: #ffaa33 !important;
    text-decoration: none;
}

.blog-completo a {
    color: #fc6f03 !important;
    text-decoration: underline;
}

.blog-completo a:hover {
    color: #ffaa33 !important;
    text-decoration: none;
}
