/*
Theme Name: Soluciones Empresariales Cloud
Theme URI: https://sempresariales.com.mx
Author: Soluciones Empresariales
Author URI: https://sempresariales.com.mx
Description: Tema nativo ultrarrápido con integración GoDaddy, soporte móvil y pasarela emergente blindada.
Version: 1.1.0
*/

/* --- RESET BÁSICO --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
}

/* --- BARRA SUPERIOR --- */
.se-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.se-logo img {
    height: 46px;
    width: auto;
    display: block;
}

.se-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.se-tel-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    margin-right: 5px;
}

.se-btn-login {
    background: transparent;
    border: 1px solid #0284c7;
    color: #0284c7;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.se-btn-login:hover {
    background: #f0f9ff;
}

.se-btn-registro {
    background: #0284c7;
    border: 1px solid #0284c7;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.se-btn-registro:hover {
    background: #0369a1;
}

.se-btn-cart {
    background: #16a34a;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.se-btn-cart:hover {
    background: #15803d;
}

/* --- MENÚ HORIZONTAL DE CATEGORÍAS --- */
.se-navbar {
    background-color: #0f172a;
    padding: 0 20px;
}

.se-navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.se-nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    display: inline-block;
    transition: all 0.2s ease;
}

.se-nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.se-nav-soporte {
    margin-left: auto;
    color: #4ade80;
}
.se-nav-soporte:hover {
    color: #86efac;
    background-color: rgba(34, 197, 94, 0.12);
}

/* --- HERO CON BUSCADOR DE DOMINIOS --- */
.se-hero {
    background: linear-gradient(135deg, #4a86c6 0%, #2563eb 100%);
    color: #ffffff;
    padding: 55px 20px;
    text-align: center;
}

.se-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.se-hero p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 26px;
}

.se-search-box {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.se-search-input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 15px;
    outline: none;
}

.se-search-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.se-search-btn:hover {
    background: #1e293b;
}

/* --- GRID DE SERVICIOS PRINCIPALES --- */
.se-services {
    max-width: 1100px;
    margin: 45px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.se-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.se-card-icono {
    font-size: 38px;
    margin-bottom: 10px;
}

.se-card h3 {
    margin: 8px 0;
    font-size: 19px;
    color: #0f172a;
}

.se-card p {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 20px;
}

.se-card-btn {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 20px;
    border-radius: 6px;
    transition: background 0.2s;
}
.se-card-btn:hover {
    background: #0369a1;
}

/* --- CORTINA DE PROTECCIÓN DE FONDO --- */
.se-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.se-modal-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- ADAPTACIÓN RESPONSIVA (MÓVIL Y TABLET) --- */
@media (max-width: 860px) {
    .se-topbar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .se-top-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .se-navbar-container {
        justify-content: center;
    }
    .se-nav-soporte {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .se-hero h1 {
        font-size: 24px;
    }
    .se-hero p {
        font-size: 14px;
    }
    .se-search-box {
        flex-direction: column;
    }
    .se-search-input {
        width: 100%;
        padding: 12px;
    }
    .se-search-btn {
        width: 100%;
        padding: 12px;
    }
    .se-top-actions button,
    .se-top-actions a {
        font-size: 12px;
        padding: 6px 10px;
    }
}