/* Estilos Profesionales Premium para Landing Pages Serprais */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #ff7600;
    /* Naranja corporativo vibrante */
    --primary-dark: #cc5f00;
    /* Naranja más oscuro para hover */
    --accent-blue: #003366;
    /* Azul oscuro profesional (tipo ingeniero) */
    --text-color: #2c3e50;
    /* Gris azulado oscuro, más elegante que negro */
    --text-light: #7f8c8d;
    /* Gris para subtítulos */
    --bg-light: #f4f6f9;
    /* Fondo gris muy suave, casi blanco */
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hero: 0 4px 30px rgba(0, 0, 0, 0.3);
    --radius: 8px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-light);
    margin: 0 !important;
    padding: 0 !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    margin-top: 0;
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* =========================================
   2. NAVBAR / MENÚ
   ========================================= */
.templatemo-top-menu {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 20px 0;
    position: fixed !important;
    /* Fixed ensures it floats over everything and takes no space */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    border: none !important;
    min-height: 0 !important;
    /* Override template min-height */
}

.templatemo-top-menu .navbar,
.templatemo-top-menu .navbar-default,
.templatemo-top-menu .container,
.templatemo-top-menu .row {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

.navbar-brand {
    display: none !important;
}

.navbar-brand img.logo {
    display: none !important;
}

.nav.navbar-nav li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 18px;
    border-radius: 50px !important;
    /* Force radius */
    margin: 0 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav.navbar-nav li a:hover,
.nav.navbar-nav li.active a {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    box-shadow: none;
    text-shadow: none;
}

/* Toggle móvil más visible */
.navbar-toggle {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    border-radius: 4px !important;
}

.navbar-toggle .icon-bar {
    background-color: #ffffff !important;
    height: 3px;
    width: 25px;
    margin-bottom: 5px;
    display: block;
    border-radius: 1px !important;
}

/* =========================================
   2.1 WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    /* Force circle despite global reset */
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
    transition: all 0.3s ease;
    -webkit-animation: breathe 2s ease-in-out infinite;
    animation: breathe 2s ease-in-out infinite;
}

.whatsapp-btn i {
    color: #fff;
    font-size: 30px;
    -webkit-animation: beat 2s ease-in-out infinite;
    animation: beat 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

@-webkit-keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@-webkit-keyframes beat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   3. HERO SECTION (CABECERA IMPACTANTE)
   ========================================= */
.city-header {
    background: url('../images/test2baja.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: 150px;
    /* Increased padding to clear fixed menu */
    margin-top: 0 !important;
    /* Force remove any spacing above */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.3);
    /* Overlay sutil incorporado */
}

.city-header .container {
    padding-bottom: 40px;
}

.city-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

/* Subrayado animado o decorativo para el título */
.city-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

.city-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* BOTÓN HERO CTA */
.btn-hero {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 118, 0, 0.4);
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto rebote suave */
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-5px);
    background-color: transparent;
    border-color: var(--white);
    color: var(--white) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   4. CONTENIDO PRINCIPAL
   ========================================= */
.city-content {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Tarjeta principal de contenido */
.content-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--primary-color);
}

.content-wrapper h2 {
    color: var(--accent-blue);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.content-wrapper h3 {
    margin-top: 40px;
    font-size: 1.5rem;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

/* Listas estilizadas */
.content-wrapper ul {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Grid responsive */
    gap: 20px;
}

.content-wrapper ul li {
    background: #f8f9fa;
    padding: 15px 15px 15px 50px;
    /* Espacio para icono */
    border-radius: 8px;
    position: relative;
    font-weight: 600;
    color: #444;
    transition: transform 0.2s;
}

.content-wrapper ul li:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-wrapper ul li::before {
    content: "\F26E";
    /* Bootstrap check circle fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* =========================================
   5. SIDEBAR / CONTACT CARD
   ========================================= */
.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: sticky;
    top: 100px;
    /* Sticky */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card h4 {
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-card .btn-primary {
    background-color: var(--accent-blue);
    /* Botón azul en sidebar para contraste */
    border: none;
    padding: 15px 30px;
    width: 100%;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.contact-card .btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 118, 0, 0.3);
}

/* =========================================
   6. FOOTER
   ========================================= */
.templatemo-footer {
    background-color: #ffffff;
    padding: 30px 0;
    color: var(--text-color);
    border-top: 1px solid #eee;
}

/* =========================================
   7. RESPONSIVE MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 768px) {

    /* Hero Adjustments */
    .city-header {
        min-height: 60vh;
        /* Altura decente en móvil */
        padding-top: 60px;
        text-align: left;
        /* Alineación izquierda en móvil suele verse mejor */
        padding-left: 20px;
        padding-right: 20px;
    }

    .city-header .container {
        padding: 0;
    }

    .city-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .city-title::after {
        margin: 20px 0 0;
        /* Alinear con el texto */
    }

    .city-subtitle {
        font-size: 1.1rem;
        font-weight: 400;
        margin-bottom: 30px;
    }

    .btn-hero {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        /* Botón ancho completo en móvil */
        text-align: center;
    }

    /* Content Adjustments */
    .content-wrapper {
        padding: 25px;
        border-left: none;
        /* Quitar borde lateral en móvil */
        border-top: 5px solid var(--primary-color);
    }

    .content-wrapper h2 {
        font-size: 1.8rem;
    }

    .content-wrapper ul {
        grid-template-columns: 1fr;
        /* Una columna */
    }

    .contact-card {
        margin-top: 40px;
        position: static;
    }
}