/* Variables de color */
:root {
    --primary-color: #c1121f; 
    --primary-dark: #c1121f;
    --primary-light: #f8ad9d;
    --secondary-color: #f1faee;
    --dark-color: #2a154b;
    --light-color: #f1faee;
    --gray-color: #8d99ae;
    --light-gray: #e9ecec;
    --white: #ffffff;
    --black: #000000;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgb(0, 0, 0);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
    margin-bottom: 10px;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Altura fija para mantener consistencia */
}

.logo-container .logo {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center; /* Asegura que todos los items estén alineados */
}

.main-nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.main-nav ul li a {
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a.cta-button{
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
}

.main-nav ul li a.cta-button:hover{
    background-color: rgb(121, 4, 4);
    color: var(--white);
}

.main-nav ul li a[href="/registro/profesional"] {
    position: relative;
    color: var(--white);
}

.main-nav ul li a[href="/registro/profesional"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Puedes ajustar el espacio debajo del texto */
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--white));
    border-radius: 1px;
}

.main-nav ul li a[href="/registro/profesional"]:hover{
    color: var(--primary-color);
}


.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--dark-color);
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

/* Alternativa: logo que late como un corazón */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modal-logo {
    text-align: center;
    margin-top: 40px;
}
.modal-logo .logo {
    height: 100px;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.login-options .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    font-size: 1.1rem;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}


.register-links {
    margin-top: 20px;
    text-align: center;
    color: var(--gray-color);
}

.register-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.register-links a:hover {
    text-decoration: underline;
}

/* ===== Estilos Unificados para Autenticación ===== */
.auth-section {
    background-color: #f9f9f9;
    padding: 40px 0;
    min-height: 100vh;
    margin-top: 80px;
}

.auth-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--white);
}

.auth-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-main {
    padding: 30px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.auth-form-group {
    margin-bottom: 10px;
    position: relative;
}

.auth-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
    white-space: nowrap; /* Evita que el texto del label se divida en múltiples líneas */
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
    box-sizing: border-box;
    margin-bottom: 0px;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.auth-form-row {
    display: flex;
    gap: 20px;
    width: 100%; /* Asegura que ocupe todo el ancho */
    margin-bottom: 0;
}

.auth-form-row .auth-form-group {
    flex: 1;
    min-width: 0; /* Esto evita que los campos se expandan indefinidamente */
    margin-bottom: 5px; /* Elimina márgenes que podrían causar problemas */
    position: relative;
}

.auth-submit-btn {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.auth-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.auth-submit-btn i {
    font-size: 1.2rem;
}

.auth-social {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.auth-social p {
    color: #666;
    margin-bottom: 15px;
}

.auth-btn-google {
    background-color: #4285F4;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.auth-btn-google:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    color: white;
}

.auth-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-notice {
    margin-top: 20px;
    padding: 15px;
    background-color: #e7f5fe;
    border-left: 4px solid var(--primary-color);
    color: #0c5460;
    font-size: 0.9rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-notice i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Estilos específicos para registro */
.auth-file-upload {
    margin-bottom: 0;
    position: relative;
}

.auth-file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.auth-image-preview {
    margin-top: 10px;
    text-align: center;
}

.auth-image-preview img {
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    object-fit: cover;
}

.auth-file-label {
    margin-bottom: 0;
    display: block;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-file-label:hover {
    background-color: #e9e9e9;
    border-color: var(--primary-color);
}

.auth-file-label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.auth-terms {
    margin: 20px 0;
    font-size: 0.9rem;
    color: #555;
}

.auth-terms input {
    margin-right: 10px;
}

.auth-terms a {
    color: var(--primary-color);
    font-weight: 500;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    position: absolute; /* Cambiado a absolute */
    bottom: -20px; /* Posiciona el mensaje debajo del input */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 2px 5px;
    z-index: 1;
    border-radius: 0 0 4px 4px;
    border: 1px solid #dc3545;
    border-top: none;
}

.is-invalid {
    border-color: #dc3545 !important;
    margin-bottom: 20px; /* Espacio para el mensaje */
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.services-checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 2fr));
    gap: 10px;
    margin-top: 10px;
}

.service-checkbox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 5px;
    transition: all 0.2s;
    overflow: hidden;
    height: 100%;
}

.service-checkbox:hover {
    background: #c0bfbf;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 10px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.service-checkbox label {
    cursor: pointer;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
    flex: 1;
    text-align: left;
}

/* Estilos para el checkbox personalizado */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Clase para ocultar campos */
.hidden-field {
    display: none;
}

.auth-form-hint{
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

/* Validación */
.is-invalid ~ .services-checkbox-container {
    border: 1px solid #ff3860;
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .services-checkbox-container {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la sección de éxito */
.success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background-color: #f8f9fa;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.success-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.success-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: bounceIn 0.8s ease-out;
}

.success-icon i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.success-container h1 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-container p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    margin-top: 30px;
}

.success-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.success-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.success-actions .btn i {
    margin-right: 8px;
}

/* Hero Section Rediseñado */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
    min-width: 400px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    transform: rotate(5deg);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Efecto de burbujas decorativas */
.hero-section::before {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -635px;
    width: 1400px;
    height: 1400px;
    background-image: url('/public/img/1fondo11.png');	
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.50;
    z-index: 1;

}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -430px;
    left: -780px;
    width: 1400px;
    height: 1400px;
    background-image: url('/public/img/1fondo11.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.50;
    z-index: 1;

}


/* Responsive */
@media screen and (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        justify-content: center;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}

/* Features Section */
.features-section {
    margin-top: -25px;
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    margin-top: -15px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    scroll-snap-align: start;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 500;
    color: var(--dark-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color:  var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Footer Futurista */
.main-footer {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: var(--white);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e75c5c, #ce0000);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-logo {
    height: 40px;
    margin-top: -20px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(108, 92, 231, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(108, 92, 231, 0.5));
}

.footer-column p {
    margin-bottom: 15px;
    color: #b2bec3;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    color: #b2bec3;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-column ul li i {
    margin-right: 10px;
    color: #e75c5c;
    width: 16px;
    text-align: center;
}

.footer-column ul li::before {
    content: '»';
    color: #e75c5c;
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-column ul li:hover::before {
    opacity: 1;
    margin-right: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e75c5c, #ce0000);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 92, 92, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: #636e72;
}

.legal-links {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-links a {
    color: #b2bec3;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 5px;
    width: calc(100% - 10px);
    height: 1px;
    background: #e75c5c;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--white);
}

.legal-links a:hover::after {
    transform: scaleX(1);
}

.copyright {
    font-size: 0.75rem;
    color: #636e72;
}

/* Efecto de partículas futuristas (opcional) */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    background-image: radial-gradient(circle, #e75c5c 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animaciones */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Nuevas animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-15deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Clases de animación */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in-active {
    opacity: 1;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-left-active {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-right-active {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-active {
    opacity: 1;
    transform: scale(1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rotate-active {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Efecto ripple para botones */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Transiciones para hover */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animated-icon {
    transition: all 0.3s ease;
}

/* Animación para el hero section */
.hero-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.2s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.4s;
}

.hero-image {
    opacity: 0;
    transform: translateX(50px) rotateY(-30deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s;
}

.feature-item {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s ease-out;
}

.experience-badge {
    opacity: 0;
    transform: rotate(15deg) scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;
}

/* Animaciones para las cards de servicios */
.service-card {
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
    transition: all 0.6s ease-out;
}

/* Animaciones para las cards de features */
.feature-card {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s ease-out;
}

/* Utilidades */
.text-center {
    text-align: center;
}

/* Services Page */
.services-hero {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-top: 30px;
    margin-bottom: -40px;
}

.services-hero .container {
    margin-bottom: -40px;
}
.services-hero h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.services-grid {
    padding: 40px 0;
    margin-top: 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas fijas */
    gap: 15px; /* Espacio más pequeño entre tarjetas */
}

.service-card {
    background: var(--white);
    border-radius: 8px; /* Bordes un poco más pequeños */
    padding: 15px; /* Menor padding */
    box-shadow: 0 3px 10px rgba(154, 2, 255, 0.05); /* Sombra más sutil */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 200px; /* Altura mínima para mantener consistencia */
}

.service-card:hover {
    transform: translateY(-3px); /* Efecto hover más sutil */
    box-shadow: 0 5px 15px rgb(34, 8, 61);
}

.service-icon {
    font-size: 1.8rem; /* Iconos más pequeños */
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.1rem; /* Título más pequeño */
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-size: 0.85rem; /* Texto más pequeño */
}

.services-filter {
    margin-bottom: 20px;
}

#serviceSearch {
    width: 100%;
    max-width: 500px;
    padding: 10px 15px; /* Padding más ajustado */
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem; /* Tamaño de fuente más pequeño */
}

/* Modal de servicio */
#serviceModal .modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 80vh; /* Limita la altura máxima */
    overflow-y: auto; /* Habilita scroll vertical cuando sea necesario */
    display: flex;
    flex-direction: column;
}

/* Asegura que el formulario pueda crecer y hacer scroll */
#serviceRequestForm {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 5px; /* Evita que el contenido toque la barra de scroll */
}

.modal {
    overflow: hidden; /* Previene doble scroll */
}

.service-option {
    margin-bottom: 10px;
}

.service-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.2s;
}

.service-option label:hover {
    background: #f5f5f5;
}

.address-info {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-option input[type="radio"] {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: -10px;
    margin-bottom: -10px;
}



.contact-hero .container {
    margin-bottom: -20px;
}

.contact-hero h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.contact-section {
    padding: 70px 0;
    margin-bottom: -20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after, .contact-info h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}
.contact-form button {
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.emergency-cta {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0;
}

.emergency-content {
    text-align: center;
}

.emergency-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.btn-emergency {
    background-color: var(--white);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 15px 30px;
    font-size: 1.2rem;
    margin-top: 20px;
}

.btn-emergency:hover {
    background-color: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Media Queries para páginas internas */
@media screen and (max-width: 768px) {
    .service-category, 
    .service-category:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Menú de perfil - Versión corregida */
.profile-menu {
    position: relative;
    margin-left: 20px;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 0; /* Añadido para mejor hover area */
    position: relative;
    z-index: 1001;
}

.profile-link:hover {
    color: var(--primary-color);
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.profile-link:hover .profile-pic {
    border-color: var(--primary-color);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% - 5px); /* Solape mínimo para evitar flickering */
    background: linear-gradient(145deg, #09121d, var(--dark-color));
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    display: none; /* Cambiado a none para evitar flickering */
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Importante para evitar flickering */
}

.profile-dropdown li {
    margin: 0;
    white-space: nowrap; /* Evitar saltos de línea */
}

.profile-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    transition: all 0.3s ease;
    margin-left: -40px;
}

.profile-dropdown a:hover {
    color: var(--primary-color);
}

.profile-dropdown i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Mostrar el dropdown solo en hover */
.profile-menu:hover .profile-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.1s; /* Pequeño delay para suavizar */
}
.profile-menu .profile-dropdown{
    transition: all 0.00s ease-in;
}

/* Profile Section */
.profile-section {
    padding: 60px 0;
    margin-top: 80px;
}

.profile-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
    width: 180px; /* Añadir ancho fijo */
    height: 180px; /* Añadir alto fijo */
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.avatar-upload {
    position: absolute;
    bottom: -20px; /* Cambiado de 10px a -20px para moverlo abajo */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.avatar-upload label {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    white-space: nowrap;
}

.avatar-upload label:hover {
    background-color: var(--primary-dark);
}

.avatar-upload input[type="file"] {
    display: none;
}

.profile-info h1 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    color: #2d3436;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.profile-role,  
.profile-matricula, 
.profile-address {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.profile-info i {
    color: #ff4757;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.profile-status {
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.profile-status.active {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
}

.profile-status.active i {
    color: white;
}

.profile-status.pending {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.profile-status.pending i {
    color: white;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 124, 124, 0.5);
    transition: all 0.3s ease;
    text-align: center;
}

.profile-card a {
    display: inline-block; /* No block, así solo ocupa su contenido */
    text-align: center;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 0 auto; 
}


.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(31, 38, 135, 0.15);
}

.profile-card h2 {
    margin: 0 0 25px;
    font-size: 1.5rem;
    color: #2d3436;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(232, 65, 24, 0.2);
}

.profile-card h2 i {
    color: #ff4757;
    margin-right: 15px;
    font-size: 1.3rem;
}

/* Trabajos Activos - Diseño Compacto */
.active-jobs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.job-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #ff4757;
    transition: all 0.3s ease;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-info h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #2d3436;
    font-weight: 600;
}

.job-info p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #636e72;
}

.job-info strong {
    color: #2d3436;
    font-weight: 500;
}

.job-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Historial de Trabajos */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: #636e72;
    font-size: 1rem;
    font-weight: 500;
}


/* Notificaciones estilo Toast */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    width: 100%;
}

.notification {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    transform: translateX(120%);
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 2.7s;
    overflow: hidden;
}

.notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    animation: progressBar 3s linear forwards;
}

.notification-success {
    background: #4CAF50;
    border-left: 5px solid #2E7D32;
}

.notification-error {
    background: #F44336;
    border-left: 5px solid #C62828;
}

.notification-info {
    background: #2196F3;
    border-left: 5px solid #1565C0;
}

.notification-icon {
    margin-right: 15px;
    font-size: 1.5rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.notification-message {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Página de Pedidos - Estilo Futurista */
.pedidos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f6f7f9 0%, #eef1f5 100%);
    margin-top: 60px;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h1 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #000000, var(--primary-color));
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pedidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.pedido-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.137);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.pedido-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), #000000);
}

.pedido-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(31, 38, 135, 0.2);
}

.pedido-header {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.pedido-header h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    padding-left: 15px;
}

.pedido-header h3::before {
    content: '»';
    position: absolute;
    left: 25px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.status-badge:hover::after {
    left: 100%;
}

.status-badge.pendiente {
    background: linear-gradient(45deg, #f8cc3d, #f39c12);
    color: #302400;
}

.status-badge.en_curso {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #002750;
}

.status-badge.completado {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: #155724;
}

.status-badge.cancelado {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #721c24;
}

.pedido-body {
    padding: 25px;
}

.pedido-desc {
    color: var(--gray-dark);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: rgba(245, 245, 245, 0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.6;
}

.pedido-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    background: rgba(245, 245, 245, 0.7);
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(230, 230, 230, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pedido-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pedido-footer .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-weight: 600;
    text-align: center;
    max-width: 200px;
}

.pedido-footer .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.pedido-footer .btn:hover::before {
    width: 100%;
}

.pedido-footer .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #be0707);
    color: white;
    box-shadow: 0 4px 6px rgba(108, 92, 231, 0.3);
}

.pedido-footer .btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.badge {
    background: linear-gradient(45deg, #5f5f5f, #353535);
    border-radius: 10px;
    color: white;
    padding: 3px 7px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-pedidos {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    grid-column: 1 / -1;
}

.empty-illustration {
    max-width: 250px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    animation: float 4s ease-in-out infinite;
}

.no-pedidos h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.no-pedidos p {
    color: var(--gray-dark);
    margin-bottom: 25px;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.rating-stars {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    margin: 10px 0;
}

.rating-stars .fas.fa-star {
    margin-right: 5px;
}

.rating-stars .fas.active {
    color: #ffc107;
}

#valoracionForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Efectos especiales */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

.pedido-card.featured {
    animation: pulse 2s infinite;
    position: relative;
}

.pedido-card.featured::after {
    content: 'NUEVO';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .pedidos-grid {
        grid-template-columns: 1fr;
    }
    
    .pedido-card {
        padding: 20px;
    }
    
    .pedido-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .pedido-footer .btn {
        max-width: 100%;
        width: 100%;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
}

/* Modal de detalles del pedido - Diseño mejorado */
#pedidoModal .modal-content {
    max-width: 800px;
    width: 90%;
    padding: 30px;
    background: linear-gradient(145deg, #1e2a3a 0%, #0f1721 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    animation: modalEntrance 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#solicitudModal .modal-content {
    max-width: 800px;
    width: 90%;
    padding: 30px;
    background: linear-gradient(145deg, #1e2a3a 0%, #0f1721 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    animation: modalEntrance 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detalle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.detalle-header h2 {
    color: var(--white);
    margin: 0;
    font-size: 1.5rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}


.detalle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.detalle-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #e44f4f;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detalle-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.detalle-card h3 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detalle-card h3 i {
    color: var(--white);
    font-size: 0.9em;
}

.detalle-card li {
    color: var(--white);
}

.detalle-card p {
    color: var(--white);
    margin: 0;
    line-height: 1.5;
}

.opciones-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.opciones-list li {
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.568);
    color: #b2bec3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.opciones-list li:last-child {
    border-bottom: none;
}

.fecha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-edit-fecha {
    background: none;
    border: none;
    color: #ff8080;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit-fecha:hover {
    background: rgba(116, 185, 255, 0.1);
    color: #e30909;
}

.edit-fecha-container {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
}

.edit-fecha-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.edit-fecha-buttons .btn {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-fecha-buttons .btn-primary {
    background: linear-gradient(45deg, #fd7a7a, #ff2424);
    color: white;
}

.edit-fecha-buttons .btn-outline {
    background: transparent;
    border: 1px solid #fc1a1a;
    color: #ff4646;
}

.profesional-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(30, 39, 46, 0.8) 0%, rgba(26, 37, 48, 0.8) 100%);
}

.profesional-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.profesional-foto {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e75c5c;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.profesional-info div p {
    margin: 5px 0;
    color: #dfe6e9;
}

.profesional-info div p:first-child {
    font-weight: 500;
    font-size: 1.1rem;
    color: white;
}

.profesional-info div p i {
    color: #e75c5c;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* Efectos especiales para el modal */
@keyframes modalEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilo para el modal de foto */
#modalFoto .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

#modalFoto .close-modal {
    color: white;
    font-size: 2rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    position: fixed;
    top: 20px;
    right: 30px;
}

#modalFoto {
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000; /* Mayor que el z-index de otros modales */
}

/* Responsive */
@media (max-width: 768px) {
    .detalle-grid {
        grid-template-columns: 1fr;
    }
    
    .detalle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pedidos-grid {
        grid-template-columns: 1fr;
    }
    
    .pedido-footer {
        flex-direction: column;
    }
    
    .pedido-footer .btn {
        width: 100%;
    }
}

/* Solicitudes Page - Futurista */
.solicitudes-section {
    padding: 60px 0;
    margin-top: 80px;
    background: linear-gradient(135deg, #f6f7f9 0%, #eef1f5 100%);
}

.servicios-profesional {
    margin: 20px 0 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(135, 31, 31, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.servicios-profesional h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.servicios-profesional h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.servicios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.servicio-badge {
    background: linear-gradient(45deg, var(--primary-color), #ff0000);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servicio-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.servicio-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.servicio-badge:hover::before {
    left: 100%;
}

.solicitudes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.solicitud-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(17, 9, 9, 0.267);
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.solicitud-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #24232b, var(--primary-color));
    transition: all 0.3s ease;
}

.solicitud-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(31, 38, 135, 0.15);
}

.solicitud-card:hover::before {
    width: 8px;
}

.solicitud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.solicitud-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.solicitud-header h3::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.solicitud-header .badge {
    background: linear-gradient(45deg, #b80000, #ef5555);
    color: rgb(255, 255, 255);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.solicitud-desc {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(245, 245, 245, 0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.solicitud-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray);
    background: rgba(245, 245, 245, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(230, 230, 230, 0.9);
    transform: translateY(-2px);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.solicitud-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.solicitud-footer .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    color: var(--white);
}

.solicitud-footer .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.solicitud-footer .btn:hover::before {
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
}

.solicitud-footer .btn-primary {
    background: linear-gradient(45deg, #2b0202 , var(--primary-color));
    box-shadow: 0 4px 6px rgba(231, 92, 92, 0.3);
}

.solicitud-footer .btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.no-solicitudes {
    text-align: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.empty-illustration {
    max-width: 300px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.no-solicitudes h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.no-solicitudes p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Efectos especiales */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0px);
    }
}

.empty-illustration {
    animation: float 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .solicitudes-grid {
        grid-template-columns: 1fr;
    }
    
    .solicitud-card {
        padding: 20px;
    }
    
    .solicitud-footer {
        flex-direction: column;
    }
}

/* Modal de oferta */
#ofertaModal .modal-content {
    max-width: 500px;
}

#ofertaForm .form-group {
    margin-bottom: 20px;
}

#ofertaForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#ofertaForm input[type="number"],
#ofertaForm input[type="date"],
#ofertaForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#ofertaForm textarea {
    min-height: 100px;
    resize: vertical;
}

@media (max-width: 768px) {
    .solicitudes-grid {
        grid-template-columns: 1fr;
    }
    
    .solicitud-footer {
        flex-direction: column;
    }
}

 /* Botón flotante de WhatsApp - Versión grande con posición responsive */
.whatsapp-section {
    position: fixed;
    z-index: 1000;
}

.whatsapp-card {
    background: #25D366;
    border-radius: 50%;
    width: 80px;  /* Más grande que antes (60px) */
    height: 80px; /* Más grande que antes (60px) */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-content {
    text-align: center;
}

.whatsapp-button {
    color: white;
    font-size: 32px; /* Más grande que antes (24px) */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Desktop - Abajo a la izquierda */
@media (min-width: 768px) {
    .whatsapp-section {
        bottom: 30px;
        right: 30px;
        top: auto;
        left: auto;
    }
}

/* Móvil - Arriba a la derecha (como tenías) */
@media (max-width: 767px) {
    .whatsapp-section {
        bottom: 30px;
        right: 30px;
        top: auto;
        left: auto;
    }
    
    /* Opcional: tamaño un poco menor en móvil */
    .whatsapp-card {
        width: 80px;
        height: 80px;
    }
    .whatsapp-button {
        font-size: 32px;
    }
}

/* Modal de Presupuestos - Estilo Futurista */
#presupuestosModal .modal-content {
    max-width: 800px;
    width: 90%;
    padding: 0;
    background: linear-gradient(145deg, #1e2a3a 0%, #0f1721 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

#presupuestosModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e77676, #700000);
}

.presupuestos-container {
    padding: 30px;
}

.presupuestos-container h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.presupuestos-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e75c5c;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(231, 92, 92, 0.3);
}

.presupuestos-container p {
    color: #b2bec3;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.oferta-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #f83838;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.oferta-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.oferta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(108, 92, 231, 0.1) 0%,
        rgba(108, 92, 231, 0) 50%
    );
    pointer-events: none;
}

.oferta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profesional-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profesional-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e75c5c;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.profesional-info h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.profesional-info p {
    color: #b2bec3;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profesional-info i {
    color: #e75c5c;
    font-size: 0.9em;
}

.oferta-monto span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00b894;
    background: rgba(0, 184, 148, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}

.oferta-body {
    margin-bottom: 20px;
}

.oferta-body p {
    color: #dfe6e9;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.oferta-body strong {
    color: white;
    font-weight: 500;
}

.oferta-footer {
    display: flex;
    justify-content: flex-end;
}

.aceptar-oferta {
    background: linear-gradient(45deg, #00b894, #55efc4);
    color: rgb(0, 0, 0);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.aceptar-oferta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.aceptar-oferta:hover::before {
    width: 100%;
}

.aceptar-oferta i {
    font-size: 1em;
}

.no-ofertas {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-top: 20px;
}

.no-ofertas p {
    color: #b2bec3;
    font-size: 1.1rem;
    margin: 0;
}

/* Efectos especiales */
@keyframes pulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 184, 148, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
    }
}

.oferta-card.featured {
    animation: pulseSuccess 2s infinite;
    border-left: 4px solid #00b894;
}

/* Responsive */
@media (max-width: 768px) {
    .oferta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .oferta-monto {
        width: 100%;
        text-align: right;
    }
    
    .presupuestos-container {
        padding: 20px;
    }
    
    .presupuestos-container h2 {
        font-size: 1.5rem;
    }
}


/*ADMIN CSS*/
/* Estilos generales para el panel de administración */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
}

.admin-sidebar {
    width: 280px;
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.admin-profile {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
}

.admin-profile h3 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.admin-profile p {
    color: #bdc3c7;
    font-size: 14px;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.admin-nav li {
    margin: 5px 0;
}

.admin-nav a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-nav a:hover {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid #3498db;
}

.admin-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-nav li.active a {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid #3498db;
    color: #3498db;
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #3498db;
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.admin-table tr:hover td {
    background-color: #f8f9fa;
}

.admin-table .badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #2ecc71;
    color: white;
}

.badge-warning {
    background: #f39c12;
    color: white;
}

.admin-actions {
    margin-bottom: 20px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 13px;
}

/* Modal de usuario */
#usuarioModal .modal-body {
    padding: 20px;
}

.usuario-details {
    display: flex;
    margin-bottom: 20px;
}

.usuario-avatar {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #eee;
}

.usuario-info {
    flex: 1;
}

.usuario-info h4 {
    margin-top: 0;
    color: #3498db;
}

.usuario-documento {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.usuario-documento a {
    display: inline-block;
    margin-top: 10px;
    color: #3498db;
}

/* Placeholder para chats */
.chat-placeholder {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.chat-placeholder img {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* Estilos para la tabla de servicios */
#servicios-section .admin-table {
    width: 100%;
    border-collapse: collapse;
}

#servicios-section .admin-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

#servicios-section .admin-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

#servicios-section .admin-table tr:hover {
    background-color: #f8f9fa;
}

/* Estilos para los botones de acción */
#servicios-section .btn-sm {
    padding: 5px 10px;
    margin: 0 2px;
    font-size: 12px;
}

/* Estilos para el modal */
#servicioModal .modal-content {
    border-radius: 10px;
}

#servicioModal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
}

#servicioModal .modal-body {
    padding: 20px;
}

#servicioModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
    }
    
    .admin-nav ul {
        display: flex;
        overflow-x: auto;
    }
    
    .admin-nav li {
        margin: 0 5px;
    }
    
    .admin-nav a {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .admin-nav li.active a {
        border-left: none;
        border-bottom: 3px solid #3498db;
    }
}

.services-about {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-texto {
    flex: 1 1 60%;
    font-size: 16px;
    line-height: 1.7;
    margin-top: -20px;
}

.about-image {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-image .image-wrapper {
    padding: 4px; /* Grosor del borde */
    border-radius: 10px;
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    display: inline-block;
     max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.about-image figcaption {
    font-size: 13px;
    margin-top: 10px;
    color: #666;
    text-align: center;
    max-width: 400px;
}


/*CHAT CSS*/
/* Chat Styles */
.chat-container {
    max-width: 800px;
    margin: 100px auto 10px auto; /* top: 100px, left/right: auto, bottom: 10px */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chat-header {
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    color: white;
    padding: 1rem;
    text-align: center;
}
.chat-header h2{
    color: white;
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    max-width: 70%;
    position: relative;
}

.message-sent {
    background-color: #DCF8C6;
    margin-left: auto;
    margin-right: 0;
    border-bottom-right-radius: 0;
}

.message-received {
    background-color: #ECECEC;
    margin-right: auto;
    margin-left: 0;
    border-bottom-left-radius: 0;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 0.5rem;
    object-fit: cover;
}

.message-sender {
    font-weight: bold;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.8rem;
    color: #666;
    margin-left: 0.5rem;
}

.message-content {
    word-wrap: break-word;
}

.chat-input {
    display: flex;
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.chat-input textarea {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    min-height: 50px;
    margin-right: 0.5rem;
}

.chat-input button {
    padding: 0.5rem 1rem;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #27ae60;
}

.unread {
    background-color: #e3f2fd;
}


/* Estilos para la animación de introducción */
.intro-animation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--dark-color), #09121d 100%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.x-logo {
    position: absolute;
    width: 65px;
    height: auto;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s forwards, slideLeft 1.5s 1s forwards;
}

.vexo-logo {
    position: absolute;
    width: 300px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

/* Ocultar el contenido principal inicialmente */
.hero-section, .features-section, .services-preview, 
.testimonials-section, .cta-section {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.show-content {
    opacity: 1;
    display: block !important;
}

@media (max-width: 768px) {
    .animation-container {
        transform: translateX(30px); /* Ajustá el valor según lo que veas bien */
    }

    @keyframes slideLeft {
        0% { transform: translateX(0px); }
        100% { transform: translateX(-150px); } /* Menor desplazamiento en móvil */
    }

    .x-logo {
        width: 50px; /* más chico aún en móviles si querés */
        animation: fadeIn 1s forwards, slideLeft 1.5s 1s forwards;
    }

    .vexo-logo {
        width: 220px; /* opcional, para mantener proporción */
    }
}

#editarProModal, #editarModal{
    display: none; /* Se activa en JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 9999; 
    overflow-y: auto; 
}

#editarProModalContent, #editarModalContent {
    background: white;
    margin: 5% auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.services-grid .texto {
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.8;
}

/* Modal */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.auth-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.auth-close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
}

.auth-close-modal:hover {
    color: #4CAF50;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 15px;
    }
}

/* Estilo general del contenedor */
.pago-resultado {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    background: #f0f2f5;
    padding: 40px 20px;
}

/* Card principal */
.resultado-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 480px;
    width: 100%;
    transition: all 0.3s ease;
}

/* Íconos grandes con estilo */
.resultado-card i {
    font-size: 70px;
    margin-bottom: 20px;
}

/* Colores según el tipo */
.resultado-card.success i {
    color: #2ecc71;
}

.resultado-card.error i {
    color: #e74c3c;
}

.resultado-card.warning i {
    color: #f39c12;
}

/* Títulos y textos */
.resultado-card h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.resultado-card p {
    font-size: 16px;
    color: #555;
}

/* Información del pedido */
.pedido-info {
    margin: 25px 0;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #2ecc71;
    text-align: left;
    font-size: 15px;
    color: #444;
}

.action-buttons {
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilo base de todos los botones */
.btn-accion {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Secundario: siempre gris claro */
.btn-accion.secundario {
    background-color: #f0f0f0;
    color: #333;
}

.btn-accion.secundario:hover {
    background-color: #e0e0e0;
}

/* Estados personalizados */
.btn-accion.success {
    background-color: #2ecc71;
    color: #fff;
}

.btn-accion.success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.btn-accion.pending {
    background-color: #f1c40f;
    color: #fff;
}

.btn-accion.pending:hover {
    background-color: #d4ac0d;
    transform: translateY(-2px);
}

.btn-accion.error {
    background-color: #e74c3c;
    color: #fff;
}

.btn-accion.error:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

