/* styles.css - Diseño Elegante */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fb; /* fondo claro neutro */
    color: #0f172a;            /* slate-900 */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header con gradiente sobrio */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); /* navy → slate */
    color: #ffffff;
    padding: 20px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-name h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.company-name p {
    opacity: 0.85;
    font-size: 0.9rem;
    color: #e2e8f0; /* slate-200 */
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    background: rgba(59, 130, 246, 0.15); /* azul suave */
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    background: rgba(59, 130, 246, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.5); /* azul */
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-menu {
    position: relative;
    cursor: pointer;
}

.user-name {
    font-weight: 600;
    color: #38bdf8; /* sky-400 */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
    min-width: 180px;
    padding: 10px 0;
    display: none;
}

.profile-menu:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #111827;
    text-decoration: none;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
}

.header-content {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: #e5e7eb;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 20px;
    display: inline-block;
    color: #e5e7eb;
}

/* Panel de Usuario */
.user-panel {
    background: #ffffff;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    overflow: hidden;
    max-width: 1200px;
}

.panel-header {
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 100%); /* slate → azul */
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.panel-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.15);
}

.panel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-tabs {
    display: flex;
    background: #f8fafc; /* slate-50 */
    border-bottom: 1px solid #e2e8f0;
}

.panel-tab {
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    color: #334155;
}

.panel-tab.active {
    border-bottom-color: #0f172a;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
}

.panel-content {
    padding: 30px;
    display: none;
    color: #0f172a;
}

.panel-content.active {
    display: block;
}

/* Tabs Section */
.tabs-section {
    padding: 60px 0;
    background: #ffffff;
}

.tabs-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab {
    padding: 20px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
}

.tab.active {
    border-bottom-color: #0f172a;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
}

.tab-content {
    padding: 40px;
    display: none;
    color: #0f172a;
}

.tab-content.active {
    display: block;
}

.service-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
}

.service-title {
    color: #0f172a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-description {
    color: #475569; /* slate-600 */
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #e2e8f0; /* borde sutil */
}

.feature h3 {
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%); /* sky → indigo */
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #ffffff;
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.18);
    color: #0f172a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    color: #0f172a;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa; /* azul foco */
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Modal de Login */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.6);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 14px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.25);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.error-message {
    background: #fef2f2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-header {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .panel-tabs {
        flex-wrap: wrap;
    }
}

