header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #111111;
}

header img {
    width: 250px;
    height: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 17px;
}

header {
    border-bottom: 1px solid #e5e5e5;
}

nav a:hover {
    color: #c40000;
}
.hero {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero h1 {
    font-family: Arial, sans-serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 30px;
}

.boton-principal {
    background-color: #c40000;
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 18px;
    padding: 14px 28px;
    border-radius: 6px;
}
.servicios {
    padding: 60px 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.servicios h2 {
    font-family: Arial, sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.tarjetas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tarjeta {
    background-color: white;
    width: 260px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    font-family: Arial, sans-serif;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta h3 {
    font-size: 24px;
    color: #c40000;
    margin-top: 0;
}

.tarjeta p {
    font-size: 16px;
    line-height: 1.5;
}
.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
.icono {
    font-size: 42px;
    margin-bottom: 15px;
}
html {
    scroll-behavior: smooth;
}
.como-funciona {
    padding: 80px 40px;
    text-align: center;
    background-color: #f5f5f5;
}

.como-funciona h2 {
    font-family: Arial, sans-serif;
    font-size: 36px;
    margin-bottom: 50px;
}

.pasos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.paso {
    width: 260px;
    padding: 30px;
    font-family: Arial, sans-serif;
}

.paso span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #c40000;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.paso h3 {
    font-size: 22px;
    margin: 10px 0;
}

.paso p {
    font-size: 16px;
    line-height: 1.5;
}
.profesionales {
    padding: 80px 40px;
    text-align: center;
    background-color: white;
}

.profesionales h2 {
    font-family: Arial, sans-serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.intro-profesionales {
    font-family: Arial, sans-serif;
    font-size: 17px;
    margin-bottom: 45px;
}

.lista-profesionales {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profesional {
    width: 260px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profesional:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.icono-profesional {
    font-size: 42px;
    margin-bottom: 15px;
}

.profesional h3 {
    color: #c40000;
    font-size: 22px;
}

.profesional p {
    font-size: 16px;
    line-height: 1.5;
}
.sobre-nosotros {
    padding: 90px 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.contenido-sobre-nosotros {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.sobre-nosotros h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.sobre-nosotros p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.contacto {
    padding: 80px 40px;
    text-align: center;
    background-color: #ffffff;
}

.contacto h2 {
    font-family: Arial, sans-serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.intro-contacto {
    max-width: 700px;
    margin: 0 auto 45px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.datos-contacto {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.dato-contacto {
    width: 260px;
    padding: 30px;
    font-family: Arial, sans-serif;
}

.dato-contacto span {
    font-size: 42px;
}

.dato-contacto h3 {
    font-size: 22px;
    color: #c40000;
    margin: 15px 0 10px;
}

.dato-contacto p {
    font-size: 16px;
    line-height: 1.5;
}
.footer {
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    padding: 45px 30px;
    font-family: Arial, sans-serif;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-enlaces {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-enlaces a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

.footer-enlaces a:hover {
    color: #c40000;
}

.copyright {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
}
.pagina-legal {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 40px;
    font-family: Arial, sans-serif;
}

.pagina-legal h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #111111;
}

.pagina-legal h2 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #c40000;
}

.pagina-legal p {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}
.pagina-servicio {
    padding: 70px 40px 90px;
    text-align: center;
    background-color: #f5f5f5;
    min-height: 70vh;
}

.pagina-servicio h1 {
    font-family: Arial, sans-serif;
    font-size: 42px;
    margin-bottom: 15px;
}

.intro-servicio {
    max-width: 700px;
    margin: 0 auto 50px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.categorias-servicio {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.categoria-servicio {
    background-color: #ffffff;
    width: 240px;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categoria-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.categoria-servicio span {
    font-size: 45px;
}

.categoria-servicio h2 {
    font-size: 21px;
    color: #c40000;
    margin: 15px 0 0;
}
.enlace-tarjeta {
    text-decoration: none;
    color: inherit;
    display: block;
}
.pagina-categoria {
    padding: 60px 40px 90px;
    background-color: #f5f5f5;
    min-height: 70vh;
    font-family: Arial, sans-serif;
}

.volver {
    display: inline-block;
    color: #c40000;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 35px;
}

.volver:hover {
    text-decoration: underline;
}

.pagina-categoria h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
}

.intro-categoria {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.opciones-categoria {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.opcion-categoria {
    background-color: #ffffff;
    width: 270px;
    padding: 35px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opcion-categoria:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.opcion-categoria span {
    font-size: 45px;
}

.opcion-categoria h2 {
    color: #c40000;
    font-size: 22px;
    margin: 18px 0 12px;
}

.opcion-categoria p {
    font-size: 16px;
    line-height: 1.5;
}
.pagina-tutoriales {
    padding: 60px 40px 90px;
    background-color: #f5f5f5;
    min-height: 70vh;
    font-family: Arial, sans-serif;
}

.pagina-tutoriales h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-tutoriales {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.lista-tutoriales {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.tutorial {
    background-color: #ffffff;
    width: 250px;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.tutorial span {
    font-size: 42px;
}

.tutorial h2 {
    color: #c40000;
    font-size: 20px;
    margin: 15px 0 10px;
}

.tutorial p {
    font-size: 15px;
    line-height: 1.5;
}
.enlace-opcion {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ficha-solucion {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 90px;
    font-family: Arial, sans-serif;
}

.ficha-solucion h1 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.intro-solucion {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.aviso-seguridad {
    background-color: #fff3f3;
    border-left: 5px solid #c40000;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.aviso-seguridad h2 {
    color: #c40000;
    margin-top: 0;
}

.aviso-seguridad p {
    line-height: 1.6;
}

.bloque-solucion {
    background-color: #f5f5f5;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.bloque-solucion h2 {
    margin-top: 0;
    font-size: 23px;
}

.bloque-solucion p {
    font-size: 16px;
    line-height: 1.6;
}
.enlace-tutorial {
    text-decoration: none;
    color: inherit;
    display: block;
}
.pagina-profesionales {
    padding: 60px 40px 90px;
    background-color: #f5f5f5;
    min-height: 70vh;
    font-family: Arial, sans-serif;
}

.pagina-profesionales h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-profesionales-lista {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.lista-profesionales-electricidad {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.ficha-profesional {
    background-color: #ffffff;
    width: 300px;
    padding: 35px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.foto-profesional {
    font-size: 65px;
    margin-bottom: 15px;
}

.ficha-profesional h2 {
    font-size: 23px;
    color: #c40000;
    margin-bottom: 10px;
}

.especialidad {
    font-weight: bold;
    color: #555555;
}

.ficha-profesional p {
    font-size: 15px;
    line-height: 1.5;
}

.boton-contactar {
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
    padding: 12px 22px;
    background-color: #c40000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.boton-contactar:hover {
    background-color: #990000;
}
.pagina-problemas {
    padding: 60px 40px 90px;
    background-color: #f5f5f5;
    min-height: 70vh;
    font-family: Arial, sans-serif;
}

.pagina-problemas h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-problemas {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.lista-problemas {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.problema {
    background-color: #ffffff;
    width: 250px;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problema:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.problema span {
    font-size: 42px;
}

.problema h2 {
    color: #c40000;
    font-size: 20px;
    margin: 15px 0 10px;
}

.problema p {
    font-size: 15px;
    line-height: 1.5;
}
.enlace-problema {
    text-decoration: none;
    color: inherit;
    display: block;
}
.boton-profesional {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 24px;
    background-color: #c40000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-profesional:hover {
    background-color: #990000;
    transform: translateY(-2px);
}
.perfil-profesional {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 90px;
    font-family: Arial, sans-serif;
}

.cabecera-profesional {
    display: flex;
    align-items: center;
    gap: 35px;
    background-color: #f5f5f5;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.avatar-profesional {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    flex-shrink: 0;
}

.info-profesional h1 {
    font-size: 32px;
    margin: 0 0 10px;
}

.profesion {
    font-weight: bold;
    color: #555555;
}

.verificado {
    color: #16803a;
    font-weight: bold;
}

.seccion-perfil {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
}

.seccion-perfil h2 {
    color: #c40000;
    margin-top: 0;
    font-size: 23px;
}

.seccion-perfil p {
    font-size: 16px;
    line-height: 1.6;
}

.contacto-profesional {
    text-align: center;
}

.boton-contactar-profesional {
    background-color: #c40000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 13px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.boton-contactar-profesional:hover {
    background-color: #990000;
}
.opciones-contacto {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.boton-contacto {
    display: inline-block;
    padding: 13px 24px;
    background-color: #c40000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-contacto:hover {
    background-color: #990000;
    transform: translateY(-2px);
}
.alta-profesional {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 90px;
    font-family: Arial, sans-serif;
}

.alta-profesional h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-alta {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.nota-alta {
    background-color: #f5f5f5;
    border-left: 5px solid #c40000;
    padding: 18px 22px;
    margin: 30px 0;
    line-height: 1.5;
}

.formulario-profesional {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f5f5f5;
    padding: 35px;
    border-radius: 12px;
}

.formulario-profesional label {
    font-weight: bold;
    margin-top: 12px;
}

.formulario-profesional input,
.formulario-profesional textarea,
.formulario-profesional select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.formulario-profesional input:focus,
.formulario-profesional textarea:focus,
.formulario-profesional select:focus {
    outline: 2px solid #c40000;
    border-color: #c40000;
}

.aceptacion-profesional {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.aceptacion-profesional input {
    width: auto;
}

.aceptacion-profesional label {
    margin: 0;
    font-weight: normal;
}

.boton-enviar-alta {
    background-color: #c40000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 25px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.boton-enviar-alta:hover {
    background-color: #990000;
}
.unete-profesional {
    margin-top: 50px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.unete-profesional p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.boton-unete {
    display: inline-block;
    padding: 14px 28px;
    background-color: #c40000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-unete:hover {
    background-color: #990000;
    transform: translateY(-2px);
}
.solicitud-recibida {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

.confirmacion-solicitud {
    max-width: 650px;
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.icono-confirmacion {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: #c40000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: bold;
}

.confirmacion-solicitud h1 {
    font-size: 36px;
    margin-bottom: 25px;
}

.confirmacion-solicitud p {
    font-size: 17px;
    line-height: 1.6;
}

.boton-volver-inicio {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 26px;
    background-color: #c40000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.boton-volver-inicio:hover {
    background-color: #990000;
}
/* PANEL DE ADMINISTRACIÓN DE PROFESIONALES */

.admin-profesionales {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 90px;
    font-family: Arial, sans-serif;
}

.admin-profesionales h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-admin {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.lista-admin {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ficha-admin {
    background-color: #f5f5f5;
    border-left: 6px solid #c40000;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.ficha-admin h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
}

.ficha-admin p {
    line-height: 1.6;
    margin: 9px 0;
}

.estado-profesional {
    display: inline-block;
    background-color: #eeeeee;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}
.acciones-admin {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.acciones-admin form {
    margin: 0;
}

.boton-aprobar,
.boton-rechazar {
    border: none;
    border-radius: 6px;
    padding: 11px 22px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.boton-aprobar {
    background-color: #218838;
}

.boton-aprobar:hover {
    background-color: #176b2c;
}

.boton-rechazar {
    background-color: #c40000;
}

.boton-rechazar:hover {
    background-color: #990000;
}
/* LISTADO PÚBLICO DE PROFESIONALES */

.pagina-profesionales {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 90px;
    font-family: Arial, sans-serif;
}

.pagina-profesionales h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.intro-profesionales {
    text-align: center;
    font-size: 18px;
    margin-bottom: 45px;
}

.lista-profesionales-publica {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ficha-profesional-publica {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.avatar-profesional-publico {
    font-size: 45px;
    margin-bottom: 15px;
}

.ficha-profesional-publica h2 {
    margin: 0 0 10px;
}

.especialidad-publica {
    font-weight: bold;
    color: #c40000;
}

.ficha-profesional-publica p {
    line-height: 1.6;
}

.sin-profesionales {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    background-color: #f5f5f5;
    border-radius: 12px;
}
.ver-todos-profesionales {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 20px;
}

.boton-ver-profesionales {
    display: inline-block;
    padding: 14px 28px;
    background-color: #c40000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-ver-profesionales:hover {
    background-color: #990000;
    transform: translateY(-2px);
}
.filtros-profesionales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filtros-profesionales a {
    display: inline-block;
    padding: 10px 18px;
    background-color: #f0f0f0;
    color: #222222;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s ease;
}

.filtros-profesionales a:hover {
    background-color: #c40000;
    color: #ffffff;
}
.filtros-profesionales a.filtro-activo {
    background-color: #c40000;
    color: #ffffff;
}
.buscador-profesionales {
    display: flex;
    max-width: 700px;
    margin: 0 auto 45px;
    gap: 10px;
}

.buscador-profesionales input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.buscador-profesionales input:focus {
    outline: 2px solid #c40000;
    border-color: #c40000;
}

.buscador-profesionales button {
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    background-color: #c40000;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.buscador-profesionales button:hover {
    background-color: #990000;
}
.filtros-admin {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filtros-admin a {
    padding: 10px 20px;
    background-color: #eeeeee;
    color: #222222;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s ease;
}

.filtros-admin a:hover {
    background-color: #c40000;
    color: #ffffff;
}

.filtros-admin a.filtro-admin-activo {
    background-color: #c40000;
    color: #ffffff;
}
.formulario-contacto {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.formulario-contacto label {
    font-weight: bold;
    text-align: left;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: 2px solid #c40000;
    border-color: #c40000;
}

.formulario-contacto textarea {
    resize: vertical;
}

.aceptar-privacidad-contacto {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    font-weight: normal !important;
    line-height: 1.5;
}

.aceptar-privacidad-contacto input {
    width: auto;
    margin-top: 4px;
}

.aceptar-privacidad-contacto a {
    color: #c40000;
}

.formulario-contacto button {
    margin-top: 15px;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    background-color: #c40000;
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.formulario-contacto button:hover {
    background-color: #990000;
}
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .tarjeta {
        width: 100%;
        max-width: 320px;
    }
.cabecera-profesional {
    flex-direction: column;
    text-align: center;
}

.perfil-profesional {
    padding: 40px 20px 60px;
}

.opciones-contacto {
    flex-direction: column;
    align-items: center;
}

.boton-contacto {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}
    .buscador-profesionales {
    flex-direction: column;
}

.buscador-profesionales button {
    width: 100%;
}

.filtros-profesionales {
    gap: 8px;
}

.filtros-profesionales a {
    font-size: 14px;
    padding: 9px 14px;
}
}
/* ========================================
   CONTACTO - DISEÑO DEFINITIVO
   ======================================== */

section.contacto {
    background-color: #f4f4f4;
    padding: 80px 30px;
    text-align: center;
}

section.contacto h2 {
    font-size: 40px;
    margin: 0 0 15px;
    color: #222;
}

section.contacto .intro-contacto {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

section.contacto .formulario-contacto {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    text-align: left;
}

section.contacto .formulario-contacto label {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

section.contacto .formulario-contacto input[type="text"],
section.contacto .formulario-contacto input[type="email"],
section.contacto .formulario-contacto textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 15px 16px;
    margin: 0;

    border: 1px solid #cccccc;
    border-radius: 7px;

    background-color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

section.contacto .formulario-contacto textarea {
    min-height: 150px;
    resize: vertical;
}

section.contacto .formulario-contacto input:focus,
section.contacto .formulario-contacto textarea:focus {
    outline: none;
    border-color: #c40000;
    box-shadow: 0 0 0 2px rgba(196, 0, 0, 0.10);
}

section.contacto .aceptar-privacidad-contacto {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 15px 0 5px;

    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    color: #444;
}

section.contacto .aceptar-privacidad-contacto input[type="checkbox"] {
    width: auto;
    margin: 4px 0 0;
    flex-shrink: 0;
}

section.contacto .aceptar-privacidad-contacto a {
    color: #c40000;
    font-weight: bold;
}

section.contacto .formulario-contacto button {
    width: 100%;
    margin-top: 15px;
    padding: 16px;

    border: none;
    border-radius: 7px;

    background-color: #c40000;
    color: white;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.2s ease;
}

section.contacto .formulario-contacto button:hover {
    background-color: #990000;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 768px) {

    section.contacto {
        padding: 55px 20px;
    }

    section.contacto h2 {
        font-size: 32px;
    }

    section.contacto .formulario-contacto {
        padding: 25px 20px;
    }

}
/* ========================================
   ALTA DE PROFESIONALES - DISEÑO DEFINITIVO
   ======================================== */

.alta-profesional {
    background-color: #f4f4f4;
    padding: 70px 30px 90px;
}

.contenedor-alta-profesional {
    max-width: 950px;
    margin: 0 auto;
}

.cabecera-alta-profesional {
    text-align: center;
    margin-bottom: 35px;
}

.icono-alta-profesional {
    display: block;
    font-size: 48px;
    margin-bottom: 10px;
}

.cabecera-alta-profesional h1 {
    margin: 0 0 15px;
    font-size: 40px;
    color: #222;
}

.intro-alta {
    max-width: 700px;
    margin: 0 auto 12px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.nota-alta {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 15px;
}

.formulario-profesional {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

.bloque-formulario-profesional {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e4e4e4;
}

.bloque-formulario-profesional:last-of-type {
    border-bottom: none;
}

.bloque-formulario-profesional h2 {
    margin: 0 0 22px;
    font-size: 24px;
    color: #222;
}

.fila-formulario-profesional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.campo-profesional {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.campo-profesional label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.campo-profesional input,
.campo-profesional textarea,
.campo-profesional select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #cccccc;
    border-radius: 7px;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.campo-profesional textarea {
    resize: vertical;
}

.campo-profesional input:focus,
.campo-profesional textarea:focus,
.campo-profesional select:focus {
    outline: none;
    border-color: #c40000;
    box-shadow: 0 0 0 2px rgba(196, 0, 0, 0.10);
}

.ayuda-formulario-profesional {
    margin: -8px 0 22px;
    color: #666;
    font-size: 14px;
}

.aceptar-privacidad-profesional {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 10px;
    line-height: 1.5;
    color: #444;
}

.aceptar-privacidad-profesional input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.aceptar-privacidad-profesional a {
    color: #c40000;
    font-weight: bold;
}

.campos-obligatorios-profesional {
    font-size: 13px;
    color: #777;
    margin: 10px 0 20px;
}

.boton-enviar-alta {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 7px;
    background-color: #c40000;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.2s ease;
}

.boton-enviar-alta:hover {
    background-color: #990000;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 768px) {

    .alta-profesional {
        padding: 50px 20px 70px;
    }

    .cabecera-alta-profesional h1 {
        font-size: 32px;
    }

    .formulario-profesional {
        padding: 25px 20px;
    }

    .fila-formulario-profesional {
        grid-template-columns: 1fr;
        gap: 0;
    }

}
/* ========================================
   ESTILO GENERAL MÁS ELEGANTE Y CON ZONAS
   ======================================== */

body {
    background-color: #f7f7f7;
    color: #222222;
}

/* HEADER */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

header nav a {
    color: #333333;
    font-weight: 600;
}

header nav a:hover {
    color: #c40000;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
    padding: 90px 30px;
    text-align: center;
}

.hero h1 {
    color: #222222;
}

.hero p {
    color: #555555;
}

/* SERVICIOS */
.servicios {
    background-color: #f7f7f7;
    padding: 80px 30px;
}

.tarjeta {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.tarjeta h3 {
    color: #222222;
}

.tarjeta p {
    color: #555555;
}

/* CÓMO FUNCIONA */
.como-funciona {
    background-color: #eeeeee;
    padding: 80px 30px;
}

.paso {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.paso span {
    background-color: #c40000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 12px;
}

/* PROFESIONALES */
.profesionales {
    background-color: #ffffff;
    padding: 80px 30px;
}

.profesional {
    background-color: #fafafa;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #c40000;
}

.icono-profesional {
    font-size: 34px;
    margin-bottom: 10px;
}

/* SOBRE NOSOTROS */
.sobre-nosotros {
    background-color: #f5f1f1;
    padding: 80px 30px;
}

.contenido-sobre-nosotros {
    background-color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* BOTONES GENERALES */
.boton-principal,
.boton-ver-profesionales,
.boton-unete,
.boton-enviar-alta {
    background-color: #c40000;
    color: #ffffff;
    border-radius: 7px;
}

.boton-principal:hover,
.boton-ver-profesionales:hover,
.boton-unete:hover,
.boton-enviar-alta:hover {
    background-color: #990000;
}

/* FOOTER */
.footer {
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 40px 20px;
}

.footer-logo {
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-enlaces a {
    color: #dddddd;
}

.footer-enlaces a:hover {
    color: #ffffff;
}
/* ========================================
   IDENTIDAD VISUAL - MÁS CONTRASTE
   ======================================== */

/* CABECERA NEGRA */

header {
    background-color: #171717 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
}

header nav a {
    color: #ffffff !important;
}

header nav a:hover {
    color: #ff4b4b !important;
}


/* PORTADA PRINCIPAL */

.hero {
    background: linear-gradient(118deg, #6f7b8f 0%, #a4a8c2 60%, #eadede 100%) !important;

    padding: 100px 30px !important;
}

.hero h1 {
    color: #1d1d1d;
    font-size: 42px;
}

.hero p {
    color: #555555;
}


/* SERVICIOS */

.servicios {
    background-color: #e5e5e5 !important;
    padding: 85px 30px !important;
}

.servicios h2 {
    color: #222222;
}

.tarjeta {
    background-color: #ffffff !important;
    border-top: 5px solid #c40000;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}


/* CÓMO FUNCIONA - ZONA OSCURA */

.como-funciona {
    background-color: #252525 !important;
    padding: 85px 30px !important;
}

.como-funciona h2 {
    color: #ffffff !important;
}

.paso {
    background-color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
}

.paso h3 {
    color: #222222;
}

.paso p {
    color: #555555;
}


/* PROFESIONALES */

.profesionales {
    background-color: #f7f7f7 !important;
    padding: 85px 30px !important;
}

.profesionales h2 {
    color: #222222;
}

.profesional {
    background-color: #ffffff !important;
    border-top: 5px solid #c40000;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}


/* SOBRE NOSOTROS - ROJO OSCURO */

.sobre-nosotros {
   background-color: #252525 !important;
    padding: 90px 30px !important;
}

.contenido-sobre-nosotros {
    background-color: #ffffff !important;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.contenido-sobre-nosotros h2 {
    color: #681818;
}


/* CONTACTO */

section.contacto {
    background-color: #dedede !important;
    padding: 90px 30px !important;
}

section.contacto .formulario-contacto {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


/* FOOTER */

.footer {
    background-color: #151515 !important;
    color: #ffffff !important;
    border-top: 5px solid #c40000;
}

.footer-enlaces a {
    color: #dddddd !important;
}

.footer-enlaces a:hover {
    color: #ffffff !important;
}
/* ========================================
   HOGAR - IDENTIDAD VISUAL
   ======================================== */

.pagina-servicio {
   background-color: #c8c3da;
    padding: 80px 30px 95px;
    min-height: 70vh;
}

.pagina-servicio > h1 {
    text-align: center;
    font-size: 42px;
    margin: 0 0 15px;
    color: #222222;
}

.intro-servicio {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
}


/* CATEGORÍAS DE HOGAR */

.categorias-servicio {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.enlace-categoria {
    text-decoration: none;
    color: inherit;
}

.categoria-servicio {
    min-height: 150px;
    padding: 30px 20px;

    background-color: #ffffff;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.categoria-servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.17);
}

.categoria-servicio span {
    font-size: 42px;
    margin-bottom: 12px;
}

.categoria-servicio h2 {
    margin: 0;
    font-size: 21px;
    color: #222222;
}


/* ENLACE VOLVER */

.pagina-servicio .volver {
    display: inline-block;
    margin-bottom: 30px;

    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.pagina-servicio .volver:hover {
    text-decoration: underline;
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-servicio {
        padding: 55px 20px 70px;
    }

    .pagina-servicio > h1 {
        font-size: 34px;
    }

    .categorias-servicio {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   PÁGINAS DE CATEGORÍA
   ELECTRICIDAD / FONTANERÍA
   ======================================== */

.pagina-categoria {
    background-color: #b9b4cf;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.pagina-categoria h1 {
    text-align: center;
    font-size: 42px;
    color: #222222;
    margin: 0 0 15px;
}

.intro-categoria {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
}


/* BOTÓN VOLVER */

.pagina-categoria .volver {
    display: inline-block;
    margin-bottom: 30px;
    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.pagina-categoria .volver:hover {
    text-decoration: underline;
}


/* OPCIONES */

.opciones-categoria {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.enlace-opcion {
    text-decoration: none;
    color: inherit;
}

.opcion-categoria {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 35px 25px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.opcion-categoria:hover {
    transform: translateY(-6px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.20);
}

.opcion-categoria span {
    display: block;
    font-size: 44px;
    margin-bottom: 15px;
}

.opcion-categoria h2 {
    margin: 0 0 12px;
    color: #681818;
    font-size: 23px;
}

.opcion-categoria p {
    margin: 0;
    color: #555555;
    line-height: 1.6;
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-categoria {
        padding: 55px 20px 70px;
    }

    .pagina-categoria h1 {
        font-size: 34px;
    }

    .opciones-categoria {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   TUTORIALES Y PROBLEMAS FRECUENTES
   ======================================== */


/* ---------- TUTORIALES ---------- */

.pagina-tutoriales {
    background-color: #d8d4e6;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.pagina-tutoriales h1 {
    text-align: center;
    font-size: 40px;
    color: #222222;
    margin: 0 0 15px;
}

.intro-tutoriales {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #444444;
}

.lista-tutoriales {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tutorial {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 30px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tutorial:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.18);
}

.tutorial span {
    display: block;
    font-size: 42px;
    margin-bottom: 14px;
}

.tutorial h2 {
    color: #681818;
    margin: 0 0 12px;
    font-size: 21px;
}

.tutorial p {
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.enlace-tutorial {
    text-decoration: none;
    color: inherit;
}


/* ---------- PROBLEMAS FRECUENTES ---------- */

.pagina-problemas {
    background-color: #c8c3da;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.pagina-problemas h1 {
    text-align: center;
    font-size: 40px;
    color: #222222;
    margin: 0 0 15px;
}

.intro-problemas {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #3f3f3f;
}

.lista-problemas {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.problema {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 30px;

    border-radius: 14px;
    border-left: 5px solid #681818;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.problema:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.18);
}

.problema span {
    display: block;
    font-size: 42px;
    margin-bottom: 14px;
}

.problema h2 {
    color: #681818;
    margin: 0 0 12px;
    font-size: 21px;
}

.problema p {
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.enlace-problema {
    text-decoration: none;
    color: inherit;
}


/* VOLVER */

.pagina-tutoriales .volver,
.pagina-problemas .volver {
    display: inline-block;
    margin-bottom: 30px;
    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.pagina-tutoriales .volver:hover,
.pagina-problemas .volver:hover {
    text-decoration: underline;
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-tutoriales,
    .pagina-problemas {
        padding: 55px 20px 70px;
    }

    .pagina-tutoriales h1,
    .pagina-problemas h1 {
        font-size: 32px;
    }

    .lista-tutoriales,
    .lista-problemas {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   PROFESIONALES - DISEÑO VISUAL
   ======================================== */

.pagina-profesionales {
    background-color: #b9b4cf;
    padding: 80px 30px 95px;
    min-height: 70vh;
}

.pagina-profesionales h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #222222;
}

.intro-profesionales {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
}


/* FILTROS */

.filtros-profesionales {
    max-width: 1050px;
    margin: 0 auto 30px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filtros-profesionales a {
    background-color: #ffffff;
    color: #333333;

    padding: 10px 18px;
    border-radius: 25px;

    text-decoration: none;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.25s ease;
}

.filtros-profesionales a:hover {
    background-color: #681818;
    color: #ffffff;
}

.filtros-profesionales a.filtro-activo {
    background-color: #681818;
    color: #ffffff;
}


/* BUSCADOR */

.buscador-profesionales {
    max-width: 720px;
    margin: 0 auto 45px;

    display: flex;
    gap: 10px;

    background-color: #ffffff;
    padding: 12px;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.buscador-profesionales input {
    flex: 1;

    padding: 14px 16px;

    border: 1px solid #cccccc;
    border-radius: 7px;

    font-size: 16px;
}

.buscador-profesionales input:focus {
    outline: none;
    border-color: #681818;
    box-shadow: 0 0 0 2px rgba(104, 24, 24, 0.10);
}

.buscador-profesionales button {
    padding: 14px 26px;

    border: none;
    border-radius: 7px;

    background-color: #681818;
    color: #ffffff;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.buscador-profesionales button:hover {
    background-color: #4f1111;
}


/* FICHAS */

.lista-profesionales-publica {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ficha-profesional-publica {
    background-color: #ffffff;

    padding: 30px;

    border-radius: 14px;
    border-top: 5px solid #681818;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ficha-profesional-publica:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.20);
}

.avatar-profesional-publico {
    font-size: 46px;
    margin-bottom: 15px;
}

.ficha-profesional-publica h2 {
    margin: 0 0 10px;
    color: #222222;
}

.especialidad-publica {
    color: #681818;
    font-weight: bold;
}

.ficha-profesional-publica p {
    color: #555555;
    line-height: 1.6;
}


/* SIN RESULTADOS */

.sin-profesionales {
    grid-column: 1 / -1;

    background-color: #ffffff;
    padding: 45px;

    border-radius: 14px;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-profesionales {
        padding: 55px 20px 70px;
    }

    .pagina-profesionales h1 {
        font-size: 34px;
    }

    .buscador-profesionales {
        flex-direction: column;
    }

    .buscador-profesionales button {
        width: 100%;
    }

}
/* ========================================
   PANEL DE ADMINISTRACIÓN
   ======================================== */

.admin-profesionales {
    background-color: #c8c3da;
    max-width: none;
    margin: 0;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.admin-profesionales > h1 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 15px;
    color: #222222;
}

.intro-admin {
    max-width: 750px;
    margin: 0 auto 35px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
}


/* FILTROS DEL PANEL */

.filtros-admin {
    max-width: 900px;
    margin: 0 auto 40px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filtros-admin a {
    padding: 10px 20px;

    background-color: #ffffff;
    color: #333333;

    border-radius: 25px;

    text-decoration: none;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.25s ease;
}

.filtros-admin a:hover {
    background-color: #681818;
    color: #ffffff;
}

.filtros-admin a.filtro-admin-activo {
    background-color: #681818;
    color: #ffffff;
}


/* LISTA Y FICHAS */

.lista-admin {
    max-width: 1050px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ficha-admin {
    background-color: #ffffff;

    border: none;
    border-left: 6px solid #681818;
    border-radius: 14px;

    padding: 30px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
}

.ficha-admin h2 {
    margin: 0 0 20px;
    color: #222222;
    font-size: 25px;
}

.ficha-admin p {
    margin: 9px 0;
    line-height: 1.6;
    color: #444444;
}


/* ESTADO */

.estado-profesional {
    display: inline-block;

    padding: 6px 13px;

    background-color: #eeeeee;
    color: #333333;

    border-radius: 20px;

    font-size: 14px;
    font-weight: bold;
}


/* BOTONES DEL PANEL */

.acciones-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.acciones-admin form {
    margin: 0;
}

.boton-aprobar,
.boton-rechazar {
    border: none;
    border-radius: 7px;

    padding: 11px 22px;

    color: #ffffff;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.boton-aprobar {
    background-color: #287a3b;
}

.boton-rechazar {
    background-color: #681818;
}

.boton-aprobar:hover,
.boton-rechazar:hover {
    transform: translateY(-2px);
    opacity: 0.90;
}


/* CUANDO NO HAY DATOS */

.sin-profesionales {
    max-width: 800px;
    margin: 0 auto;

    padding: 45px;

    background-color: #ffffff;

    border-radius: 14px;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}


/* MÓVIL */

@media (max-width: 768px) {

    .admin-profesionales {
        padding: 55px 20px 70px;
    }

    .admin-profesionales > h1 {
        font-size: 32px;
    }

    .ficha-admin {
        padding: 22px;
    }

    .acciones-admin {
        flex-direction: column;
    }

    .acciones-admin form,
    .acciones-admin button {
        width: 100%;
    }

}
/* ========================================
   FICHA INDIVIDUAL DEL PROFESIONAL
   ======================================== */

.perfil-profesional {
    background-color: #c8c3da;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.contenedor-perfil-profesional {
    max-width: 950px;
    margin: 0 auto;
}

.volver-profesionales {
    display: inline-block;
    margin-bottom: 30px;
    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.volver-profesionales:hover {
    text-decoration: underline;
}


/* CABECERA */

.cabecera-profesional {
    display: flex;
    align-items: center;
    gap: 28px;

    background-color: #ffffff;

    padding: 35px;

    border-radius: 14px;
    border-top: 6px solid #681818;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);

    margin-bottom: 28px;
}

.avatar-profesional {
    width: 95px;
    height: 95px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ece9f3;

    border-radius: 50%;

    font-size: 48px;
}

.info-profesional h1 {
    margin: 5px 0 8px;

    font-size: 34px;

    color: #222222;
}

.categoria-perfil-profesional {
    display: inline-block;

    margin: 0;

    padding: 6px 13px;

    background-color: #681818;
    color: #ffffff;

    border-radius: 20px;

    font-size: 14px;
    font-weight: bold;
}

.profesion {
    margin: 0 0 10px;

    color: #681818;

    font-size: 18px;
    font-weight: bold;
}

.ubicacion-profesional {
    margin: 0;

    color: #555555;
    line-height: 1.5;
}


/* BLOQUES DE INFORMACIÓN */

.seccion-perfil {
    background-color: #ffffff;

    padding: 30px 35px;

    margin-bottom: 24px;

    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.seccion-perfil h2 {
    margin: 0 0 16px;

    color: #681818;

    font-size: 23px;
}

.seccion-perfil p {
    margin: 0;

    color: #444444;

    line-height: 1.7;
}


/* ENLACES PROFESIONALES */

.enlaces-perfil-profesional {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.boton-enlace-profesional {
    display: inline-block;

    padding: 12px 20px;

    background-color: #eeeeee;
    color: #222222;

    border-radius: 7px;

    text-decoration: none;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-enlace-profesional:hover {
    background-color: #ddd8e8;
    transform: translateY(-2px);
}


/* CONTACTO */

.contacto-profesional {
    background-color: #252525;

    padding: 35px;

    border-radius: 14px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);

    text-align: center;
}

.contacto-profesional h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 25px;
}

.texto-contacto-profesional {
    margin: 0 0 22px;

    color: #dddddd;
}

.opciones-contacto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.boton-contacto {
    display: inline-block;

    padding: 13px 24px;

    background-color: #681818;
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-contacto:hover {
    background-color: #4f1111;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 768px) {

    .perfil-profesional {
        padding: 55px 20px 70px;
    }

    .cabecera-profesional {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
    }

    .info-profesional h1 {
        font-size: 29px;
    }

    .seccion-perfil {
        padding: 25px 22px;
    }

    .contacto-profesional {
        padding: 28px 22px;
    }

    .opciones-contacto,
    .enlaces-perfil-profesional {
        flex-direction: column;
    }

    .boton-contacto,
    .boton-enlace-profesional {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}
/* ========================================
   PANEL DE ADMINISTRACIÓN - LOGIN
   ======================================== */

.pagina-login-admin {
    background-color: #c8c3da;
    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 25px;
}

.login-admin {
    width: 100%;
    max-width: 440px;

    background-color: #ffffff;

    padding: 40px;

    border-radius: 14px;
    border-top: 6px solid #681818;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);

    text-align: center;
}

.icono-login-admin {
    font-size: 48px;
    margin-bottom: 12px;
}

.login-admin h1 {
    margin: 0 0 10px;

    font-size: 34px;

    color: #222222;
}

.intro-login-admin {
    margin: 0 0 28px;

    color: #555555;
    line-height: 1.5;
}

.formulario-login-admin {
    display: flex;
    flex-direction: column;

    text-align: left;

    gap: 10px;
}

.formulario-login-admin label {
    margin-top: 8px;

    font-weight: bold;
    color: #333333;
}

.formulario-login-admin input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #cccccc;
    border-radius: 7px;

    background-color: #ffffff;

    font-size: 16px;
}

.formulario-login-admin input:focus {
    outline: none;

    border-color: #681818;

    box-shadow: 0 0 0 2px rgba(104, 24, 24, 0.10);
}

.formulario-login-admin button {
    width: 100%;

    margin-top: 18px;

    padding: 15px;

    border: none;
    border-radius: 7px;

    background-color: #681818;
    color: #ffffff;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.formulario-login-admin button:hover {
    background-color: #4f1111;
    transform: translateY(-2px);
}


/* ERROR */

.error-login {
    margin-bottom: 20px;

    padding: 12px 15px;

    background-color: #f8dddd;
    color: #7c1515;

    border-left: 4px solid #681818;
    border-radius: 7px;

    text-align: left;
    font-weight: bold;
}


/* VOLVER */

.volver-login-admin {
    display: inline-block;

    margin-top: 25px;

    color: #681818;

    text-decoration: none;
    font-weight: bold;
}

.volver-login-admin:hover {
    text-decoration: underline;
}


/* CABECERA DEL LOGIN */

.header-login-admin {
    background-color: #171717 !important;
    text-align: center;
}

.header-login-admin a {
    display: inline-block;
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-login-admin {
        padding: 50px 20px;
    }

    .login-admin {
        padding: 30px 22px;
    }

    .login-admin h1 {
        font-size: 29px;
    }

}
/* ========================================
   PÁGINAS LEGALES
   ======================================== */

.pagina-legal {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 45px 90px;

    background-color: #ffffff;

    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

main:has(.pagina-legal) {
    background-color: #c8c3da;
    padding: 60px 25px;
}

.pagina-legal h1 {
    margin-top: 0;
    margin-bottom: 35px;

    text-align: center;
    font-size: 40px;
    color: #681818;
}

.pagina-legal h2 {
    margin-top: 35px;
    margin-bottom: 12px;

    color: #681818;
    font-size: 23px;
}

.pagina-legal p,
.pagina-legal li {
    color: #444444;
    line-height: 1.75;
}

.pagina-legal a {
    color: #681818;
    font-weight: bold;
}


/* ========================================
   PÁGINAS DE CONFIRMACIÓN
   ======================================== */

.pagina-confirmacion {
    background-color: #c8c3da;

    min-height: 65vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 25px;
}

.confirmacion {
    width: 100%;
    max-width: 650px;

    background-color: #ffffff;

    padding: 50px 40px;

    border-radius: 14px;
    border-top: 6px solid #681818;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    text-align: center;
}

.icono-confirmacion {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #2e8b57;
    color: #ffffff;

    font-size: 40px;
    font-weight: bold;
}

.confirmacion h1 {
    margin: 0 0 18px;
    color: #222222;
    font-size: 34px;
}

.confirmacion p {
    color: #555555;
    line-height: 1.7;
}

.confirmacion .boton-principal {
    display: inline-block;
    margin-top: 20px;
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-legal {
        padding: 40px 22px 60px;
    }

    .pagina-legal h1 {
        font-size: 31px;
    }

    .confirmacion {
        padding: 35px 22px;
    }

    .confirmacion h1 {
        font-size: 29px;
    }

}
/* ========================================
   FICHA DE SOLUCIÓN
   ======================================== */

.pagina-solucion {
    background-color: #c8c3da;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.contenedor-solucion {
    max-width: 950px;
    margin: 0 auto;
}

.pagina-solucion .volver {
    display: inline-block;
    margin-bottom: 30px;

    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.pagina-solucion .volver:hover {
    text-decoration: underline;
}


/* CABECERA */

.cabecera-solucion {
    background-color: #ffffff;

    padding: 40px 35px;

    margin-bottom: 25px;

    border-radius: 14px;
    border-top: 6px solid #681818;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);

    text-align: center;
}

.icono-solucion {
    display: block;

    font-size: 52px;

    margin-bottom: 12px;
}

.cabecera-solucion h1 {
    margin: 0 0 15px;

    color: #222222;

    font-size: 38px;
}

.intro-solucion {
    max-width: 720px;

    margin: 0 auto;

    color: #555555;

    font-size: 18px;
    line-height: 1.7;
}


/* AVISO DE SEGURIDAD */

.aviso-seguridad {
    background-color: #fff4d6;

    padding: 30px 35px;

    margin-bottom: 25px;

    border-radius: 14px;
    border-left: 6px solid #d69e00;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.aviso-seguridad h2 {
    margin: 0 0 15px;

    color: #6a4a00;

    font-size: 23px;
}

.aviso-seguridad p {
    color: #4d4330;

    line-height: 1.7;
}


/* BLOQUES DE CONTENIDO */

.bloque-solucion {
    background-color: #ffffff;

    padding: 30px 35px;

    margin-bottom: 25px;

    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.titulo-bloque-solucion {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;
}

.titulo-bloque-solucion span {
    font-size: 28px;
}

.titulo-bloque-solucion h2 {
    margin: 0;

    color: #681818;

    font-size: 23px;
}

.bloque-solucion p {
    color: #444444;

    line-height: 1.7;
}


/* BLOQUE PROFESIONAL */

.bloque-cuando-profesional {
    background-color: #252525;
    color: #ffffff;
}

.bloque-cuando-profesional h2 {
    color: #ffffff;
}

.bloque-cuando-profesional p {
    color: #dddddd;
}

.boton-profesional {
    display: inline-block;

    margin-top: 15px;

    padding: 13px 24px;

    background-color: #681818;
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-profesional:hover {
    background-color: #4f1111;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-solucion {
        padding: 55px 20px 70px;
    }

    .cabecera-solucion,
    .aviso-seguridad,
    .bloque-solucion {
        padding: 25px 22px;
    }

    .cabecera-solucion h1 {
        font-size: 30px;
    }

    .boton-profesional {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}
/* ========================================
   PÁGINAS INTERIORES - ESTILO GENERAL
   ======================================== */

/* OPCIONES DE CADA CATEGORÍA */

.opciones-servicio {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.enlace-opcion {
    text-decoration: none;
    color: inherit;
}

.opcion-servicio {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 35px 25px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.opcion-servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.18);
}

.opcion-servicio span {
    display: block;
    font-size: 45px;
    margin-bottom: 15px;
}

.opcion-servicio h2 {
    color: #222222;
    font-size: 23px;
    margin: 0 0 12px;
}

.opcion-servicio p {
    color: #555555;
    line-height: 1.6;
}


/* ========================================
   TUTORIALES
   ======================================== */

.pagina-tutoriales {
    background-color: #e5e5e5;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.pagina-tutoriales > h1 {
    text-align: center;
    font-size: 40px;
    color: #222222;
    margin-bottom: 15px;
}

.intro-tutoriales {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
}

.lista-tutoriales {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tutorial {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 30px 25px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.tutorial span {
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
}

.tutorial h2 {
    font-size: 21px;
    color: #222222;
}

.tutorial p {
    color: #555555;
    line-height: 1.6;
}

.enlace-tutorial {
    text-decoration: none;
    color: inherit;
}


/* ========================================
   PROBLEMAS FRECUENTES
   ======================================== */

.pagina-problemas {
    background-color: #e5e5e5;
    padding: 75px 30px 95px;
    min-height: 70vh;
}

.pagina-problemas > h1 {
    text-align: center;
    font-size: 40px;
    color: #222222;
    margin-bottom: 15px;
}

.intro-problemas {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
}

.lista-problemas {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.problema {
    height: 100%;
    box-sizing: border-box;

    background-color: #ffffff;
    padding: 30px 25px;

    border-radius: 14px;
    border-top: 5px solid #681818;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.problema span {
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
}

.problema h2 {
    font-size: 21px;
    color: #222222;
}

.problema p {
    color: #555555;
    line-height: 1.6;
}

.enlace-problema {
    text-decoration: none;
    color: inherit;
}


/* VOLVER */

.pagina-tutoriales .volver,
.pagina-problemas .volver {
    display: inline-block;
    margin-bottom: 30px;

    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.pagina-tutoriales .volver:hover,
.pagina-problemas .volver:hover {
    text-decoration: underline;
}


/* ========================================
   MÓVIL
   ======================================== */

@media (max-width: 900px) {

    .opciones-servicio,
    .lista-tutoriales,
    .lista-problemas {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .opciones-servicio,
    .lista-tutoriales,
    .lista-problemas {
        grid-template-columns: 1fr;
    }

    .pagina-tutoriales,
    .pagina-problemas {
        padding: 55px 20px 70px;
    }

    .pagina-tutoriales > h1,
    .pagina-problemas > h1 {
        font-size: 32px;
    }

}
/* ========================================
   PROFESIONALES - DISEÑO DEFINITIVO
   ======================================== */

.pagina-profesionales {
    background-color: #e5e5e5;
    padding: 70px 30px 90px;
}

.cabecera-profesionales {
    max-width: 900px;
    margin: 0 auto 35px;
    text-align: center;
}

.icono-cabecera-profesionales {
    display: block;
    font-size: 48px;
    margin-bottom: 10px;
}

.cabecera-profesionales h1 {
    margin: 0 0 15px;
    font-size: 42px;
    color: #222222;
}

.cabecera-profesionales p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
}


/* ZONA DE BÚSQUEDA */

.zona-busqueda-profesionales {
    max-width: 1100px;
    margin: 0 auto 45px;
    padding: 30px;

    background-color: #ffffff;
    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}


/* FILTROS */

.filtros-profesionales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;

    margin-bottom: 30px;
}

.filtros-profesionales a {
    display: inline-block;

    padding: 10px 17px;

    background-color: #eeeeee;
    color: #222222;

    text-decoration: none;
    border-radius: 22px;

    font-size: 14px;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease;
}

.filtros-profesionales a:hover {
    background-color: #681818;
    color: #ffffff;
    transform: translateY(-2px);
}

.filtros-profesionales a.filtro-activo {
    background-color: #c40000;
    color: #ffffff;
}


/* BUSCADOR */

.buscador-profesionales {
    max-width: 750px;
    margin: 0 auto;

    display: flex;
    gap: 10px;
}

.buscador-profesionales input {
    flex: 1;

    padding: 15px 18px;

    border: 1px solid #cccccc;
    border-radius: 7px;

    font-size: 16px;

    box-sizing: border-box;
}

.buscador-profesionales input:focus {
    outline: none;
    border-color: #c40000;
    box-shadow: 0 0 0 2px rgba(196, 0, 0, 0.10);
}

.buscador-profesionales button {
    padding: 15px 28px;

    border: none;
    border-radius: 7px;

    background-color: #c40000;
    color: #ffffff;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.buscador-profesionales button:hover {
    background-color: #990000;
    transform: translateY(-2px);
}


/* RESULTADOS */

.resultados-profesionales {
    max-width: 1100px;
    margin: 0 auto;
}

.lista-profesionales-publica {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.ficha-profesional-publica {
    background-color: #ffffff;

    padding: 30px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.11);

    display: flex;
    flex-direction: column;
}

.avatar-profesional-publico {
    font-size: 45px;
    margin-bottom: 12px;
}

.ficha-profesional-publica h2 {
    margin: 0 0 8px;
    color: #222222;
    font-size: 25px;
}

.especialidad-publica {
    margin: 0 0 18px;
    color: #c40000;
    font-weight: bold;
}

.descripcion-profesional-publica {
    color: #555555;
    line-height: 1.6;
    flex-grow: 1;
}

.datos-profesional-publico {
    margin: 15px 0 20px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
}

.datos-profesional-publico p {
    margin: 7px 0;
    color: #444444;
}

.boton-contactar {
    display: inline-block;

    padding: 13px 22px;

    background-color: #c40000;
    color: #ffffff;

    text-decoration: none;
    text-align: center;

    border-radius: 7px;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-contactar:hover {
    background-color: #990000;
    transform: translateY(-2px);
}


/* SIN PROFESIONALES */

.sin-profesionales {
    grid-column: 1 / -1;

    background-color: #ffffff;

    padding: 55px 30px;

    border-radius: 14px;

    text-align: center;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.icono-sin-profesionales {
    display: block;
    font-size: 45px;
    margin-bottom: 10px;
}


/* CTA PROFESIONALES */

.cta-alta-profesionales {
    max-width: 1100px;
    margin: 55px auto 0;

    background-color: #681818;
    color: #ffffff;

    padding: 45px 30px;

    border-radius: 14px;

    text-align: center;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cta-alta-profesionales h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.cta-alta-profesionales p {
    margin: 0 0 25px;
    font-size: 17px;
}

.cta-alta-profesionales .boton-unete {
    display: inline-block;

    padding: 14px 28px;

    background-color: #ffffff;
    color: #681818;

    text-decoration: none;

    border-radius: 7px;

    font-weight: bold;

    transition:
        transform 0.2s ease,
        background-color 0.25s ease;
}

.cta-alta-profesionales .boton-unete:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 768px) {

    .pagina-profesionales {
        padding: 50px 20px 70px;
    }

    .cabecera-profesionales h1 {
        font-size: 34px;
    }

    .zona-busqueda-profesionales {
        padding: 22px 18px;
    }

    .buscador-profesionales {
        flex-direction: column;
    }

    .buscador-profesionales button {
        width: 100%;
    }

    .cta-alta-profesionales {
        padding: 35px 20px;
    }

}
/* ========================================
   FICHA INDIVIDUAL DE PROFESIONAL
   ======================================== */

.perfil-profesional {
    background-color: #e5e5e5;
    padding: 70px 30px 90px;
    min-height: 70vh;
}

.contenedor-perfil-profesional {
    max-width: 1100px;
    margin: 0 auto;
}

.volver-profesionales {
    display: inline-block;
    margin-bottom: 30px;
    color: #681818;
    font-weight: bold;
    text-decoration: none;
}

.volver-profesionales:hover {
    text-decoration: underline;
}


/* CABECERA */

.cabecera-profesional {
    display: flex;
    align-items: center;
    gap: 28px;

    background-color: #ffffff;
    padding: 35px;

    border-radius: 14px;
    border-top: 5px solid #c40000;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    margin-bottom: 30px;
}

.avatar-profesional {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f1f1f1;
    border-radius: 50%;

    font-size: 45px;
    flex-shrink: 0;
}

.info-profesional h1 {
    margin: 5px 0 8px;
    font-size: 34px;
    color: #222222;
}

.categoria-perfil-profesional {
    display: inline-block;

    margin: 0;

    padding: 6px 12px;

    background-color: #681818;
    color: #ffffff;

    border-radius: 20px;

    font-size: 13px;
    font-weight: bold;
}

.profesion {
    margin: 0 0 10px;
    color: #c40000;
    font-size: 18px;
    font-weight: bold;
}

.ubicacion-profesional {
    margin: 0;
    color: #555555;
}


/* CONTENIDO PRINCIPAL */

.contenido-ficha-profesional {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.columna-principal-profesional {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.seccion-perfil {
    background-color: #ffffff;

    padding: 30px;

    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.seccion-perfil h2 {
    margin: 0 0 18px;
    color: #222222;
    font-size: 24px;
}

.seccion-perfil p {
    margin: 0;
    color: #555555;
    line-height: 1.7;
}


/* ENLACES */

.enlaces-perfil-profesional {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.boton-enlace-profesional {
    display: inline-block;

    padding: 12px 20px;

    background-color: #eeeeee;
    color: #222222;

    text-decoration: none;

    border-radius: 7px;

    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-enlace-profesional:hover {
    background-color: #dddddd;
    transform: translateY(-2px);
}


/* CONTACTO LATERAL */

.contacto-profesional {
    position: sticky;
    top: 25px;

    background-color: #681818;
    color: #ffffff;

    padding: 30px;

    border-radius: 14px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.contacto-profesional h2 {
    margin: 0 0 12px;
    font-size: 27px;
    color: #ffffff;
}

.texto-contacto-profesional {
    margin-bottom: 22px;
    line-height: 1.6;
    color: #f2f2f2;
}

.opciones-contacto {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boton-contacto {
    display: block;

    padding: 14px 20px;

    background-color: #ffffff;
    color: #681818;

    text-decoration: none;
    text-align: center;

    border-radius: 7px;

    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.boton-contacto:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.sin-contacto-profesional {
    color: #ffffff;
    line-height: 1.5;
}

.aviso-contacto-profesional {
    margin: 22px 0 0;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.25);

    font-size: 13px;
    line-height: 1.5;

    color: #e5e5e5;
}


/* MÓVIL */

@media (max-width: 800px) {

    .perfil-profesional {
        padding: 50px 20px 70px;
    }

    .cabecera-profesional {
        flex-direction: column;
        text-align: center;
    }

    .contenido-ficha-profesional {
        grid-template-columns: 1fr;
    }

    .contacto-profesional {
        position: static;
    }

}
/* ========================================
   PÁGINAS DE CONFIRMACIÓN
   ======================================== */

.pagina-confirmacion {
    min-height: 65vh;
    padding: 80px 30px;

    background: linear-gradient(
        135deg,
        #e5e5e5 0%,
        #f5f5f5 100%
    );

    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmacion {
    width: 100%;
    max-width: 650px;

    background-color: #ffffff;

    padding: 55px 45px;

    border-radius: 16px;
    border-top: 6px solid #c40000;

    text-align: center;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.icono-confirmacion {
    width: 75px;
    height: 75px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #681818;
    color: #ffffff;

    border-radius: 50%;

    font-size: 38px;
    font-weight: bold;
}

.confirmacion h1 {
    margin: 0 0 20px;

    font-size: 36px;
    color: #222222;
}

.confirmacion p {
    max-width: 540px;

    margin: 0 auto 15px;

    color: #555555;

    font-size: 17px;
    line-height: 1.7;
}

.confirmacion .boton-principal {
    display: inline-block;

    margin-top: 25px;

    padding: 14px 30px;

    background-color: #c40000;
    color: #ffffff;

    text-decoration: none;

    border-radius: 7px;

    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.confirmacion .boton-principal:hover {
    background-color: #990000;
    transform: translateY(-2px);
}


/* MÓVIL */

@media (max-width: 600px) {

    .pagina-confirmacion {
        padding: 55px 20px;
    }

    .confirmacion {
        padding: 40px 25px;
    }

    .confirmacion h1 {
        font-size: 30px;
    }

}
/* CONFIRMACIÓN CORRECTA EN VERDE */

.icono-confirmacion {
    background-color: #2e8b57 !important;
}
.confirmacion {
    border-top: 6px solid #2e8b57 !important;
}
/* ========================================
   LOGIN DE ADMINISTRACIÓN
   ======================================== */

.pagina-login-admin {
    min-height: 70vh;
    padding: 80px 25px;

    background: linear-gradient(
        135deg,
        #dedede 0%,
        #f4f4f4 100%
    );

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-admin {
    width: 100%;
    max-width: 430px;

    background-color: #ffffff;

    padding: 45px 40px;

    border-radius: 16px;
    border-top: 6px solid #681818;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.login-admin h1 {
    margin: 0 0 10px;

    text-align: center;

    font-size: 34px;
    color: #222222;
}

.login-admin > p {
    margin: 0 0 30px;

    text-align: center;

    color: #666666;
    font-size: 16px;
}

.login-admin form {
    display: flex;
    flex-direction: column;
}

.login-admin label {
    margin: 12px 0 7px;

    font-weight: bold;
    color: #333333;
}

.login-admin input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #cccccc;
    border-radius: 7px;

    font-size: 16px;
}

.login-admin input:focus {
    outline: none;

    border-color: #c40000;

    box-shadow: 0 0 0 2px rgba(196, 0, 0, 0.10);
}

.login-admin button {
    margin-top: 25px;

    padding: 15px;

    border: none;
    border-radius: 7px;

    background-color: #c40000;
    color: #ffffff;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.login-admin button:hover {
    background-color: #990000;
    transform: translateY(-2px);
}

.error-login {
    padding: 12px !important;
    margin-bottom: 15px !important;

    background-color: #f8dddd;

    border-left: 4px solid #c40000;

    border-radius: 5px;

    color: #8b0000 !important;
    text-align: left !important;
}


/* MÓVIL */

@media (max-width: 600px) {

    .pagina-login-admin {
        padding: 55px 20px;
    }

    .login-admin {
        padding: 35px 25px;
    }

}
/* ========================================
   MENSAJES DEL PANEL DE ADMINISTRACIÓN
   ======================================== */

.admin-mensajes .ficha-admin {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-mensajes .ficha-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}


/* MENSAJE NUEVO */

.admin-mensajes .mensaje-nuevo {
    border-left: 7px solid #c40000;
    background-color: #ffffff;
}

.admin-mensajes .mensaje-nuevo::before {
    content: "NUEVO";
    position: absolute;
    top: 18px;
    right: 18px;

    background-color: #c40000;
    color: #ffffff;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}


/* MENSAJE LEÍDO */

.admin-mensajes .mensaje-leido {
    border-left: 7px solid #2e8b57;
    background-color: #f7f7f7;
}

.admin-mensajes .mensaje-leido::before {
    content: "LEÍDO";
    position: absolute;
    top: 18px;
    right: 18px;

    background-color: #2e8b57;
    color: #ffffff;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}


/* TEXTO DEL MENSAJE */

.admin-mensajes .ficha-admin p {
    line-height: 1.6;
}

.admin-mensajes .ficha-admin strong {
    color: #222222;
}


/* BOTONES */

.admin-mensajes .acciones-admin {
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid #dddddd;

    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-mensajes .acciones-admin form {
    margin: 0;
}


/* MÓVIL */

@media (max-width: 650px) {

    .admin-mensajes .mensaje-nuevo::before,
    .admin-mensajes .mensaje-leido::before {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }

}
/* Campo trampa anti-spam */
.campo-trampa {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}