/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================================== */
/* NAVBAR BASE */
/* ==================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* Contenedor iconos */
.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icons img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-icons img:hover {
    transform: scale(1.1);
}

/* Hamburguesa */
.menu-toggle {
    font-size: 2rem;
    cursor: pointer;
    display: none; /* visible solo en móvil */
    color: #fff;
}

/* Links navegación */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links li a:hover {
    color: #FF6347;
    border-bottom: 2px solid #FF6347;
}

/* ==================================== */
/* RESPONSIVE: SOLO MÓVIL (≤768px) */
/* ==================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* mostrar hamburguesa */
    }

    .header-icons {
        display: flex; /* mostrar iconos */
    }

    .nav-links {
        display: none; /* ocultar links hasta abrir menú */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #000;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

/* ==================================== */
/* RESPONSIVE: TABLET & DESKTOP (≥769px) */
/* ==================================== */
@media (min-width: 769px) {
    .header-icons {
        display: none; /* ocultar iconos */
    }
}


/* ======= ESTILOS DEL HERO ======= */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    color: #333;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 30px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.1;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: #FF6347;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(255, 99, 71, 0.3);
}

.btn:hover {
    background: #E5533A;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 99, 71, 0.4);
}

/* ======= SECCIONES GENERALES ======= */
section {
    padding: 100px 20px;
    background-color: #fff;
}
h2 {
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.5rem;
    color: #000;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FF6347;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* GRID DE TARJETAS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card, .post {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .post:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 20px;
    color: #000;
    font-size: 1.6rem;
}

.card p, .post p {
    color: #555;
    margin-bottom: 20px;
}
.lista-beneficios {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    color: #555;
}
.lista-beneficios li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.lista-beneficios li::before {
    content: '✔';
    color: #FF6347;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-secondary {
    display: inline-block;
    margin-top: 25px;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #000;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-secondary:hover {
    background: #FF6347;
    border-color: #FF6347;
    color: white;
}
/* ======= SOBRE MÍ ======= */
.sobre-mi {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}
.sobre-mi h2 {
    margin-bottom: 60px;
}
.cuadro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    flex-direction: row; /* Imagen a la izquierda, texto a la derecha en escritorio */
}
.cuadro .imagen {
    flex: 1 1 350px;
    text-align: center;
}
.cuadro .imagen img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.cuadro .texto {
    flex: 2 1 450px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}
.cuadro .texto strong {
    color: #FF6347;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    /* Menú hamburguesa */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #000;
        text-align: center;
        padding: 1rem 0;
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0;
    }

    /* Sobre mí */
    .cuadro {
        flex-direction: column; /* Imagen arriba, texto abajo en móvil */
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    .cuadro .texto {
        font-size: 1rem;
    }
}



/* ======= CONTACTO (Sección en Index) ======= */
.seccion-destacada {
    padding: 100px 20px;
    background-color: #f8f8f8;
}
.contenido-principal {
    max-width: 800px;
    margin: auto;
    text-align: center;
}
.contenido-principal h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}
.borde-izquierdo {
    border-left: 4px solid #FF6347;
    padding-left: 25px;
    text-align: left;
    margin-bottom: 3rem;
    color: #333;
}
.borde-izquierdo p {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* ======= FOOTER ======= */
footer {
    padding: 50px 30px;
    background-color: #000;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    flex: 1;
}

.footer-right ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #a259ff; /* tono morado llamativo */
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-right ul {
        flex-direction: column;
        gap: 10px;
    }
}


/* ======= FORMULARIO (contact.html) ======= */
.form-container {
    max-width: 650px;
    margin: 4rem auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
.form-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}
.form-container p {
    margin-bottom: 40px;
    color: #555;
    font-size: 1.1rem;
}
.form-group {
    margin-bottom: 1.8rem;
}
label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    font-size: 1.05rem;
}
.input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.input:focus {
    border-color: #FF6347;
    box-shadow: 0 0 8px rgba(255, 99, 71, 0.4);
    outline: none;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 15px;
}
.radio-group label {
    font-weight: normal;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
}
.radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
}

/* ======= SERVICIOS DETALLADOS (services.html) ======= */
.services-detail .card {
    text-align: left;
}
.services-detail .card h3 {
    text-align: center;
    margin-bottom: 25px;
}
.services-detail .card p {
    margin-bottom: 15px;
}
.services-detail .lista-beneficios {
    margin-top: 15px;
    margin-bottom: 25px;
}
.services-detail .card .btn {
    width: 100%;
    box-sizing: border-box;
}

/* ======= SECCIÓN REDES SOCIALES ======= */
.redes-sociales {
    text-align: center;
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.redes-sociales h2 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #333;
}

.iconos-redes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botones circulares */
.icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 8px;
    background-color: #111; /* Negro para el estilo que mostraste */
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Hover */
.icono:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Colores específicos al pasar el mouse */
.icono.instagram:hover {
    background-color: #E1306C;
}

.icono.linkedin:hover {
    background-color: #0077B5;
}

.icono.whatsapp:hover {
    background-color: #25D366;
}

/* === RESPONSIVE DESIGN (Versión Móvil) === */
@media (max-width: 768px) {
    /* Navbar y Menú Hamburguesa */
    .navbar {
        padding: 1rem 1.5rem;
    }
    .logo {
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #000;
        z-index: 1000;
        text-align: center;
        gap: 0;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        border-top: 1px solid #222;
        width: 100%;
    }
    .nav-links li a {
        padding: 1rem;
    }
    .nav-links li a:hover {
        background: #333;
        border-bottom: none;
    }
    
    /* Hero */
    .hero {
        height: auto; /* Altura automática para que se ajuste al contenido */
        min-height: 70vh; /* Mínimo de 70vh para que no sea muy pequeño */
    }
    .hero-content {
        padding: 20px;
    }
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .hero p {
        font-size: 1rem;
        /* El padding en .hero-content y el tamaño de la fuente ya evitan que el texto se salga. */
    }
    .btn {
        padding: 1rem 2rem;
    }

    /* Secciones Generales */
    section {
        padding: 60px 15px;
    }
    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    h2::after {
        margin-top: 10px;
    }
    
    /* Grid y Tarjetas */
    .grid {
        gap: 2rem;
    }
    .card, .post {
        padding: 25px;
    }
    .card h3 {
        font-size: 1.4rem;
    }
    .card p, .post p {
        font-size: 0.9rem;
    }
    .lista-beneficios li {
        font-size: 0.9rem;
    }
    .btn-secondary {
        padding: 0.8rem 1.5rem;
    }
    /* Para asegurar que los botones no se salgan, los hacemos de ancho completo */
    .btn, .btn-secondary {
        width: 100%;
        margin: 15px 0;
        box-sizing: border-box;
    }

    /* Sobre mí */
    .sobre-mi {
        padding: 60px 15px;
    }
    .sobre-mi h2 {
        margin-bottom: 40px;
    }
    .cuadro {
        gap: 2rem;
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }
    .cuadro .imagen {
        flex: 1 1 auto;
    }
    .cuadro .texto {
        font-size: 1rem;
    }

    /* Contacto y Formulario */
    .seccion-destacada {
        padding: 60px 15px;
    }
    .contenido-principal h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    .borde-izquierdo {
        padding-left: 15px;
    }
    .borde-izquierdo p {
        font-size: 1rem;
    }

    .form-container {
        margin: 2rem 15px;
        padding: 2rem;
    }
    .form-container h1 {
        font-size: 2rem;
    }
    .form-container p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .form-group {
        margin-bottom: 1.5rem;
    }
    label {
        font-size: 1rem;
    }
    .input {
        padding: 12px;
    }
    .radio-group {
        gap: 15px;
    }
    .radio-group input[type="radio"] {
        transform: scale(1);
    }
    .services-detail .card .btn {
        width: 100%;
    }

    /* Redes Sociales */
    .redes-sociales {
        padding: 60px 15px;
    }
    .subtitulo-redes {
        font-size: 1rem;
    }
    .botones-redes {
        gap: 15px;
    }
    .btn-instagram, .btn-linkedin {
        min-width: 150px;
        padding: 0.8rem 1.2rem;
    }
}

/*
====================================
======= INFORMACIÓN LEGAL (Protección de Datos) =======
====================================
*/

.info-legal {
    /* Centrar en el ancho del formulario, añadir un poco de margen superior */
    max-width: 650px;
    margin: 2rem auto 4rem auto; 
    padding: 2rem;
    background-color: #f7f7f7; /* Un fondo suave para diferenciarlo */
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    color: #444;
}

.info-legal-titulo {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
    /* Eliminar el pseudo-elemento '::after' de h2 si se usa h3 */
}

.info-legal-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #e0e0e0; /* Separador sutil */
}

.info-legal-item:last-of-type {
    border-bottom: none; /* Elimina el borde del último elemento */
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-legal-item .etiqueta {
    /* La etiqueta (Responsable, Finalidad, etc.) */
    font-weight: bold;
    color: #FF6347; /* Color principal para resaltar la categoría */
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-legal-item .valor {
    /* El valor o contenido del dato */
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.info-adicional {
    margin-top: 1rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.link-privacidad {
    color: #007bff; /* Color de enlace estándar */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.link-privacidad:hover {
    color: #0056b3;
}

/* === Responsive para la tabla de info legal === */
@media (max-width: 480px) {
    .info-legal {
        padding: 1rem;
        margin: 1.5rem auto;
    }
    .info-legal-titulo {
        font-size: 1.2rem;
    }
    .info-legal-item {
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
    .info-legal-item .etiqueta {
        font-size: 0.95rem;
    }
    .info-legal-item .valor {
        font-size: 0.9rem;
    }
}

/* Estilos para el banner de cookies 'Valoramos tu privacidad' */

.cookie-banner {
    position: fixed; /* Fija la posición en la pantalla */
    bottom: 20px;    /* 20px desde la parte inferior */
    left: 20px;      /* 20px desde la izquierda */
    z-index: 1000;   /* Asegura que esté por encima de otros elementos */
    max-width: 380px; /* Ancho máximo para el formato de la imagen */
    
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 8px;
    
    display: none; /* Inicialmente oculto por CSS, el JS lo mostrará si es necesario */
    
    /* Resaltado del borde rojo como en la imagen */
    border-left: 5px solid #d93025; 
}

.cookie-banner h4 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #555;
}

.cookie-banner a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap; /* Para que los botones se adapten en pantallas pequeñas */
}

.btn-cookie {
    flex-grow: 1; /* Permite que los botones crezcan */
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cookie.personalizar {
    background-color: transparent;
    border: 1px solid #555;
    color: #555;
}

.btn-cookie.personalizar:hover {
    background-color: #f0f0f0;
}

.btn-cookie.rechazar {
    background-color: #d93025; /* Rojo de rechazo/peligro */
    color: white;
}

.btn-cookie.rechazar:hover {
    background-color: #b32a1f;
}

.btn-cookie.aceptar {
    background-color: #007bff; /* Azul primario para aceptar */
    color: white;
}

.btn-cookie.aceptar:hover {
    background-color: #0056b3;
}

/* Responsividad básica para móviles */
@media (max-width: 500px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}

/* ================================================= */
/* ======= ESTILOS PARA DOCUMENTOS LEGALES (Aviso Legal, Políticas) ======= */
/* ================================================= */

.documento-legal-container {
    max-width: 900px;
    margin: 4rem auto 5rem auto; /* Centrar y añadir espacio antes del footer */
    padding: 20px;
    background-color: #fff;
}

.documento-legal-header {
    margin-bottom: 40px;
    border-bottom: 3px solid #FF6347; /* Línea de color para el título */
    padding-bottom: 20px;
}

.documento-titulo {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0.5rem;
    text-align: left; 
}

/* Opcional: Si tus h2 globales tienen un separador, puedes desactivarlo aquí */
.documento-legal-container .documento-titulo::after {
    content: none;
}

.documento-fecha {
    font-style: italic;
    color: #777;
    font-size: 1rem;
    text-align: left;
}

/* Estilos para las secciones de contenido */
.seccion-legal {
    margin-bottom: 3rem;
}

.seccion-titulo {
    font-size: 1.8rem;
    color: #FF6347; /* Resaltar los títulos de sección */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid #000; /* Borde izquierdo sólido para destacar */
}

.subseccion-titulo {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.seccion-texto p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #444;
}

/* Estilos para listas */
.seccion-texto ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    list-style-type: disc; 
    padding-left: 0;
}

.seccion-texto ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Estilo para notas importantes (como la advertencia de menores) */
.nota-importante {
    background-color: #ffe0e0; /* Fondo rojo suave */
    border-left: 5px solid #d93025;
    padding: 15px;
    border-radius: 4px;
    font-style: italic;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Estilos para la tabla de Protección de Datos (Sección 8) */
.data-table {
    width: 100%;
    border-collapse: collapse; /* Para que las celdas se unan */
    margin-top: 15px;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.data-table thead tr {
    background-color: #f0f0f0; /* Fondo gris claro para el encabezado */
}

.data-table strong {
    font-weight: bold; /* Asegura que <strong> se vea fuerte */
}

/* Responsive para que se vea bien en móvil */
@media (max-width: 768px) {
    .documento-legal-container {
        margin: 2rem 15px;
        padding: 0;
    }
    .documento-titulo {
        font-size: 2rem;
    }
    .seccion-titulo {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    .data-table, .data-table thead, .data-table tbody, .data-table th, .data-table td, .data-table tr {
        display: block; /* Hace que la tabla se comporte como bloques en móvil */
    }
    .data-table thead {
        display: none; /* Oculta el encabezado en móvil */
    }
    .data-table tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }
    .data-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%; /* Espacio para el label simulado */
        text-align: right;
    }
    .data-table td:before {
        /* Simula la columna "Concepto" con el contenido del <strong> */
        content: attr(data-label); 
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }
    /* Para arreglar la simulación de label, tendremos que añadir data-label en el HTML si es necesario.
       Por ahora, usamos el estilo simple que empuja el texto. */
    .data-table td:first-child {
        background-color: #f9f9f9;
        font-weight: bold;
    }
}

/*
=================================================
======= ESTILOS PARA LA PÁGINA 404 (Not Found) =======
=================================================
*/

/* 1. Contenedor Principal */
.error-404-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Ocupa casi toda la altura visible */
    padding: 20px;
    text-align: center;
    background-color: #f8f8f8; /* Fondo muy claro */
    font-family: Arial, sans-serif; /* Puedes usar tu fuente principal aquí */
}

/* 2. Estilo del Título Grande (404) */
.error-404-title {
    font-size: 8rem; /* Tamaño grande y dramático */
    font-weight: 900;
    color: #FF6347; /* Color principal de tu marca */
    margin-bottom: 0.5rem;
    position: relative;
    /* Efecto de sombra sutil para profundidad */
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05); 
}

/* 3. Mensaje Secundario */
.error-404-message {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

/* 4. Estilo del Botón de Regreso (Call to Action) */
.error-44-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000; /* Botón en negro para alto contraste y formalidad */
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px; /* Botón redondeado */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* Aplica la animación de latido */
    animation: pulse 2s infinite ease-in-out;
}

.error-44-button:hover {
    background-color: #FF6347; /* Cambia a color de marca al pasar el mouse */
    transform: scale(1.05); /* Ligeramente más grande */
    animation: none; /* Detiene la animación al interactuar */
}


/* 5. Animación de Latido (Pulse) */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03); /* Ligeramente más grande */
        box-shadow: 0 0 10px rgba(255, 99, 71, 0.5); /* Resplandor sutil */
    }
    100% {
        transform: scale(1);
    }
}

/* 6. Adaptación Móvil */
@media (max-width: 600px) {
    .error-404-title {
        font-size: 6rem;
    }
    .error-404-message {
        font-size: 1.2rem;
        padding: 0 10px;
    }
}