/* ========================================
   CONTACTO.CSS - Estilos específicos para la página Contacto
   MK POWER ELECTRI - CSS PURO (Sin Tailwind)
   ======================================== */

/* ========================================
   ESTILOS BASE PARA PÁGINA CONTACTO
   ======================================== */

/* Body */
.contacto-body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.contacto-body.dark {
    background-color: var(--background-dark);
    color: white;
}

/* ========================================
   HEADER ESPECÍFICO PARA CONTACTO
   ======================================== */

.contacto-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: all 300ms;
}

.contacto-header.dark {
    background-color: rgba(16, 25, 34, 0.9);
    border-bottom-color: var(--slate-800);
}

.contacto-header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contacto-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contacto-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-right: 0.5rem;
}

.contacto-logo-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contacto-logo-icon-text {
    color: white;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
}

.contacto-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--slate-900);
}

.contacto-logo-text.dark {
    color: white;
}

.contacto-logo-accent {
    color: var(--primary);
    font-weight: 900;
}

/* Navegación desktop */
.contacto-desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contacto-desktop-nav {
        display: flex;
    }
}

.contacto-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 150ms;
}

.contacto-nav-link:hover {
    color: var(--primary);
}

.contacto-nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Header actions */
.contacto-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacto-header-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background-color: #0066FF;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    height: 2.5rem;
    padding: 0 1.5rem;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .contacto-header-badge {
        display: flex;
    }
}

.contacto-header-badge-icon {
    font-size: 18px;
}

.contacto-hamburger-btn {
    display: block;
    padding: 0.5rem;
    color: var(--slate-600);
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 150ms;
}

.contacto-hamburger-btn:hover {
    background-color: var(--slate-100);
}

@media (min-width: 768px) {
    .contacto-hamburger-btn {
        display: none;
    }
}

/* Menú móvil */
.contacto-mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contacto-mobile-menu.show {
    display: block;
}

@media (min-width: 768px) {
    .contacto-mobile-menu {
        display: none !important;
    }
}

.contacto-mobile-nav {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contacto-mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    border-bottom: 1px solid var(--slate-100);
    transition: color 150ms;
}

.contacto-mobile-nav-link:hover {
    color: var(--primary);
}

.contacto-mobile-cta-container {
    padding-top: 1rem;
}

.contacto-mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 150ms;
}

.contacto-mobile-cta:hover {
    background-color: var(--primary-dark);
}

/* ========================================
   BANNER DE AUTORIDAD
   ======================================== */

.contacto-authority-banner {
    background-color: var(--primary);
    color: white;
    padding: 0.375rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-top: 5rem;
    position: relative;
    z-index: 40;
}

/* ========================================
   HERO SECTION
   ======================================== */

.contacto-hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
    overflow: hidden;
}

.contacto-hero-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.contacto-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 10;
    mix-blend-mode: multiply;
}

.contacto-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacto-hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contacto-hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contacto-hero-title {
        font-size: 3.75rem;
    }
}

.contacto-hero-title-gradient {
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contacto-hero-description {
    font-size: 1.125rem;
    color: var(--slate-200);
    font-weight: 300;
    max-width: 32rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .contacto-hero-description {
        font-size: 1.25rem;
    }
}

/* ========================================
   FORMULARIO DE CONTACTO
   ======================================== */

.contacto-form-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.contacto-form-section.dark {
    background-color: var(--background-dark);
}

.contacto-form-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contacto-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contacto-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contacto-form-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.contacto-form-card.dark {
    background-color: var(--surface-dark);
}

.contacto-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.contacto-form-title.dark {
    color: white;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contacto-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contacto-form-group {
    display: flex;
    flex-direction: column;
}

.contacto-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.contacto-form-label.dark {
    color: var(--slate-300);
}

.contacto-form-input,
.contacto-form-select,
.contacto-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 150ms;
    background-color: white;
    color: var(--slate-900);
}

.contacto-form-input.dark,
.contacto-form-select.dark,
.contacto-form-textarea.dark {
    background-color: var(--slate-800);
    color: white;
    border-color: var(--slate-600);
}

.contacto-form-input:focus,
.contacto-form-select:focus,
.contacto-form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

.contacto-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contacto-form-submit {
    width: 100%;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 150ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.contacto-form-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-0.125rem);
}
/* ========================================
   INFORMACIÓN DE CONTACTO
   ======================================== */

.contacto-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-info-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.contacto-info-title.dark {
    color: white;
}

.contacto-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contacto-info-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 102, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-info-icon span {
    color: var(--primary);
    font-size: 1.25rem;
}

.contacto-info-content {
    flex: 1;
}

.contacto-info-label {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.contacto-info-label.dark {
    color: white;
}

.contacto-info-text {
    color: var(--slate-600);
    margin-bottom: 0.25rem;
}

.contacto-info-text.dark {
    color: var(--slate-400);
}

/* Horarios de Atención */
.contacto-schedule-card {
    background-color: var(--surface-light);
    border-radius: 1rem;
    padding: 1.5rem;
}

.contacto-schedule-card.dark {
    background-color: var(--surface-dark);
}

.contacto-schedule-title {
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.contacto-schedule-title.dark {
    color: white;
}

.contacto-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.contacto-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacto-schedule-day {
    color: var(--slate-600);
}

.contacto-schedule-day.dark {
    color: var(--slate-400);
}

.contacto-schedule-time {
    color: var(--slate-900);
    font-weight: 600;
}

.contacto-schedule-time.dark {
    color: white;
}

/* Tiempo de Respuesta */
.contacto-response-card {
    background-color: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.contacto-response-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contacto-response-header span {
    color: var(--primary);
}

.contacto-response-title {
    font-weight: 700;
    color: var(--slate-900);
}

.contacto-response-title.dark {
    color: white;
}

.contacto-response-text {
    color: var(--slate-600);
    font-size: 0.875rem;
}

.contacto-response-text.dark {
    color: var(--slate-400);
}

/* ========================================
   FOOTER STYLES (Shared with main-footer)
   ======================================== */

.main-footer {
    background-color: white;
    border-top: 1px solid var(--slate-200);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.main-footer.dark {
    background-color: var(--background-dark);
    border-top-color: var(--slate-800);
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.25rem;
}

.footer-logo-icon-text {
    font-size: 1.25rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
}

.footer-logo-text.dark {
    color: white;
}

.footer-description {
    color: var(--slate-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-description.dark {
    color: var(--slate-400);
}

.footer-section-title {
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.footer-section-title.dark {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--slate-500);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 150ms;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link.dark {
    color: var(--slate-400);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-contact-list.dark {
    color: var(--slate-400);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-item.center {
    align-items: center;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 1.125rem;
}

.footer-bottom {
    border-top: 1px solid var(--slate-100);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom.dark {
    border-top-color: var(--slate-800);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-size: 0.75rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 150ms;
}

.footer-legal-link:hover {
    color: var(--slate-600);
}

.footer-legal-link.dark:hover {
    color: var(--slate-200);
}

/* ========================================
   CSS VARIABLES (if not defined elsewhere)
   ======================================== */

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --background-light: #ffffff;
    --background-dark: #0a1628;
    --surface-light: #ffffff;
    --surface-dark: #1a2332;
    --text-main: #0f1419;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --cyan-400: #22d3ee;
    --blue-500: #0066ff;
}