* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 100px;
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #1b4b5a 0%, #0a1b2e 80%);
    min-height: 100vh;
}

/* ---------- NAVBAR - IGUAL QUE INDEX ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0a1b2e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .5);
    gap: 20px;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 60px;
    width: auto;
    display: block;
    filter: none !important;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-texto span {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-texto small {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .5px;
    margin-top: 3px;
}

.menu {
    flex: 1;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: #bdbdbd;
    font-weight: bold;
    font-size: 15px;
    position: relative;
    transition: .3s;
    padding: 12px 0;
    white-space: nowrap;
}

.menu a:hover,
.menu a.active-link {
    color: #fff;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #00d5ff;
    border-radius: 20px;
    box-shadow: 0 0 10px #00d5ff;
    transition: .3s;
}

.menu a:hover::after,
.menu a.active-link::after {
    width: 50px;
}

.nav-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1.5px solid #00d5ff;
    color: #00d5ff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: .3s;
    white-space: nowrap;
}

.login-link:hover {
    background: #00d5ff;
    color: #000;
    box-shadow: 0 0 15px #00d5ff;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: transparent;
    border: 1.5px solid #00d5ff;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 60px;
    height: 60px;
    background-color: #04436a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
    transition: transform .3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1e6bbe;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    z-index: 1;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* LAYOUT MAPA + FORM */
.cover-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 25px;
    align-items: start;
}

.map-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    height: 600px;
    position: relative;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(1.1) contrast(0.9);
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 28, 46, .9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 213, 255, .3);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
}

.map-overlay b {
    color: #00d5ff;
}

.form-card {
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    text-align: center;
}

.badge-cob {
    display: inline-block;
    background: rgba(0, 213, 255, .12);
    border: 1px solid #00d5ff;
    color: #00d5ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cover-title {
    font-size: 30px;
    font-weight: 800;
    margin: 15px 0 8px;
    color: white;
}

.cover-title span {
    color: #00d5ff;
}

.cover-sub {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 22px;
}

.search-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.search-row input {
    flex: 1;
    background: white;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 16px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 3px;
    color: #0F1C2E;
    outline: none;
    min-width: 0;
}

.search-row input:focus {
    border-color: #00d5ff;
    box-shadow: 0 0 0 5px rgba(0, 213, 255, .2);
}

.search-row button {
    background: #00d5ff;
    color: #0a1b2e;
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

#resultado {
    margin-top: 18px;
    border-radius: 14px;
    padding: 18px;
    display: none;
    text-align: left;
    animation: pop .3s ease;
}

@keyframes pop {
    from {
        transform: scale(.96);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#resultado.ok {
    background: linear-gradient(135deg, #E8FFF0, #C8F7D5);
    color: #0a3d1e;
    border: 1px solid #00E676;
}

#resultado.fail {
    background: linear-gradient(135deg, #FFF2F2, #FFD0D0);
    color: #5a0f0f;
    border: 1px solid #FF5A5A;
}

#infoZonaCobertura {
    transition: opacity .15s ease;
}

.btn-wa {
    display: inline-flex;
    margin-top: 12px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.btn-wa.black {
    background: #111827;
}

.btn-cita {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    background: #FFD400;
    color: #000;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    transition: .3s;
    width: 100%;
}

.btn-cita:hover {
    background: #FFD400;
    color: #000;
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(255, 212, 0, .5);
}

.btn-wa-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: transparent;
    border: 1.5px solid #25D366;
    color: #25D366;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.chip {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #d1d5db;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
    cursor: pointer;
    transition: .3s;
}

.chip:hover {
    border-color: #00d5ff;
    color: #fff;
}

.chip.free {
    background: rgba(0, 230, 118, .15);
    border-color: #00E676;
    color: #6effa8;
    font-weight: bold;
}

.chip.active,
.zona-tag.active {
    background: #FFD400 !important;
    color: #000 !important;
    border-color: #FFD400 !important;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(255, 212, 0, .6);
}

.zonas-section {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    text-align: center;
}

.zonas-section h2 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 10px;
}

.zonas-section p {
    color: #d1d5db;
    font-size: 15px;
    margin-bottom: 20px;
}

.zonas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.zona-tag {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.zona-tag:hover {
    background: #FFD400;
    color: #000;
    border-color: #FFD400;
}

footer {
    background: #111827;
    color: white;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 0 40px 40px;
    flex-wrap: wrap;
}

.footer-box {
    max-width: 250px;
}

.footer-box h2,
.footer-box h3 {
    margin-bottom: 15px;
}

.footer-box p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-box a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-box a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

ul {
    list-style: none;
}

.example-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.example-2 .icon-content {
    margin: 0 10px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"]~.tooltip,
.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"]~.tooltip,
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip,
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip,
.example-2 .icon-content a[data-social="telefono"] .filled,
.example-2 .icon-content a[data-social="telefono"]~.tooltip,
.example-2 .icon-content a[data-social="gmail"] .filled,
.example-2 .icon-content a[data-social="gmail"]~.tooltip {
    background-color: #193347;
}

@media (max-width:900px) {
    .navbar {
        height: 70px !important;
        padding: 0 12px !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        z-index: 1001 !important
    }

    body {
        padding-top: 70px !important
    }

    .logo {
        flex: 1 !important;
        min-width: 0 !important
    }

    .logo-icon {
        height: 38px !important
    }

    .logo-texto span {
        font-size: 19px !important
    }

    .logo-texto small {
        display: none !important
    }

    .login-link {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        gap: 0 !important
    }

    .login-link span,
    .login-link #loginText {
        display: none !important
    }

    .login-link i {
        font-size: 16px !important;
        margin: 0 !important
    }

    .menu-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
        position: relative !important;
        z-index: 1 !important
    }

    .menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 86% !important;
        max-width: 340px !important;
        height: 100dvh !important;
        background: #0a1b2e !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 22px 16px 20px !important;
        margin: 0 !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .6) !important;
        border-top: none !important;
        z-index: 10002 !important;
        transform: translateX(105%) !important;
        transition: transform .35s ease !important;
        overflow-y: auto !important
    }

    .menu.show,
    .menu.active,
    .menu.open {
        transform: translateX(0) !important
    }

    .menu li {
        width: 100% !important;
        text-align: left !important;
        list-style: none !important
    }

    .menu a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, .06) !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        color: #fff !important;
        padding: 14px 14px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        letter-spacing: .5px !important;
        margin-bottom: 8px !important;
        text-decoration: none !important;
        pointer-events: auto !important
    }

    .menu a:active {
        background: rgba(0, 213, 255, .2) !important;
        transform: scale(.98)
    }

    .menu a.active-link {
        background: #00d5ff !important;
        color: #0a1b2e !important
    }

    .menu a::after {
        display: none !important
    }

    .menu li:nth-child(1) a::before {
        content: "🏠";
        font-size: 19px
    }

    .menu li:nth-child(2) a::before {
        content: "👷";
        font-size: 19px
    }

    .menu li:nth-child(3) a::before {
        content: "⚡";
        font-size: 19px
    }

    .menu li:nth-child(4) a::before {
        content: "📸";
        font-size: 19px
    }

    .menu li:nth-child(5) a::before {
        content: "📍";
        font-size: 19px
    }

    .menu li:nth-child(6) a::before {
        content: "📅";
        font-size: 19px
    }

    .menu li:nth-child(7) a::before {
        content: "📋";
        font-size: 19px
    }

    .menu li a::after {
        display: block !important;
        content: "›" !important;
        margin-left: auto !important;
        color: #00d5ff !important;
        font-size: 22px !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        position: static !important;
        transform: none !important
    }

    .menu li a.active-link::after {
        color: #0a1b2e !important
    }

    .menu li:nth-child(6) a {
        background: #FFD400 !important;
        color: #111 !important;
        border-color: #FFD400 !important;
        box-shadow: 0 8px 20px rgba(255, 212, 0, .25) !important
    }

    .menu li:nth-child(6) a::after {
        content: "›" !important;
        font-size: 22px !important;
        background: none !important;
        color: #111 !important;
        padding: 0 !important;
        border-radius: 0 !important
    }

    .cover-section {
        grid-template-columns: 1fr;
        padding: 15px;
        margin: 15px auto
    }

    .map-card {
        height: 380px
    }

    .form-card {
        padding: 22px 18px
    }

    .cover-title {
        font-size: 26px
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px 35px;
        align-items: center;
        text-align: center
    }

    .footer-box {
        max-width: 100%;
        width: 100%;
        text-align: center
    }

    .footer-box h2 {
        font-size: 26px
    }

    .footer-box h3 {
        font-size: 20px
    }

    .footer-box p {
        text-align: center
    }

    .footer-box a {
        text-align: center;
        padding-left: 0 !important
    }

    .footer-box a:hover {
        padding-left: 0 !important
    }

    .example-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        justify-items: center;
        justify-content: center;
        margin: 0 auto;
        max-width: 260px
    }

    .example-2 .icon-content {
        margin: 0
    }

    .footer-bottom {
        text-align: center
    }

    .footer-bottom p {
        text-align: center
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.menu-overlay.mostrar {
    opacity: 1;
    pointer-events: auto
}

/* ===== MAPA KADASA - ETIQUETA OFICINAS - COBERTURA ===== */
.map-card.mapa-wrap{
    position: relative;
    overflow: hidden;
}
.map-card.mapa-wrap iframe{
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}
.etiqueta-mapa{
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    color: #0a1b2e;
    font-family: Arial, sans-serif;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
    z-index: 10;
    max-width: calc(100% - 32px);
    line-height: 1.3;
    text-align: left;
}
.etiqueta-mapa strong{
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #0a1b2e;
}
.etiqueta-mapa small{
    display: block;
    font-size: 12px;
    color: #555;
    margin: 2px 0 8px;
}
.etiqueta-mapa a{
    display: inline-block;
    background: #FFD400;
    color: #000;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ===== FIX MÓVIL COBERTURA - MAPA PEGADO Y FOOTER CORTADO + ZONAS CENTRADAS ===== */
html, body{
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}
.zonas-section,
.form-card,
.cover-section,
.map-card{
    scroll-margin-top: 90px;
}
.zonas-section{
    padding-top: 30px !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
}
.zonas-section h2{
    line-height: 1.25 !important;
    padding-top: 10px !important;
    overflow: visible !important;
}
.cover-section{
    overflow: visible !important;
}
@media (max-width: 900px){
    body{
        padding-top: 70px !important;
        overflow-x: hidden !important;
    }
    .cover-section{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        margin: 12px auto !important;
        overflow: hidden !important;
        gap: 18px !important;
    }
    .map-card{
        width: 100% !important;
        max-width: 100% !important;
        height: 340px !important;
        min-height: 340px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 18px !important;
    }
    .map-card iframe{
        width: 100% !important;
        max-width: 100% !important;
    }
    .form-card{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 20px 14px !important;
    }
    .cover-title{
        font-size: 25px !important;
        line-height: 1.2 !important;
    }
    #infoZonaCobertura{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding: 0 4px !important;
    }
    .chips{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        gap: 8px !important;
    }
    .chip{
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex: 1 1 45% !important;
        text-align: center !important;
        justify-content: center !important;
    }
    /* Zonas centradas como en tu captura: 2 - 3 - 2 - 1 */
    .zonas-section{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .zonas-grid{
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .zona-tag{
        flex: 0 0 auto !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 11px 18px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    .etiqueta-mapa{
        top: 12px !important;
        left: 12px !important;
        padding: 10px 12px !important;
    }
    footer{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    }
    .footer-container{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .footer-bottom{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px calc(28px + env(safe-area-inset-bottom)) !important;
        overflow: visible !important;
    }
    .footer-bottom p{
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.5 !important;
    }
}