body {
    background: #f5f7fa;
    font-family: 'Segoe UI', sans-serif;
}

.page-header {
    color: #003366;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-left: 5px solid #00a6e8;
    padding-left: 15px;
}

.direccion {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .4s ease;
    animation: fadeUp .8s ease;
}

    .direccion:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,91,170,.15);
    }

.page-title h3 {
    color: #005baa;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-address {
    color: #555;
    line-height: 1.8;
}

    .contact-address a {
        color: #00a6e8;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-address a:hover {
            color: #003366;
        }

    .contact-address iframe {
        width: 100%;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
    }

.formulario {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    animation: fadeUp 1s ease;
}

    .formulario input,
    .formulario textarea {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid #e5e5e5;
        border-radius: 12px;
        transition: .3s;
        font-size: 15px;
    }

    .formulario textarea {
        min-height: 180px;
        resize: vertical;
    }

        .formulario input:focus,
        .formulario textarea:focus {
            border-color: #00a6e8;
            box-shadow: 0 0 15px rgba(0,166,232,.25);
            outline: none;
        }

.cell {
    font-weight: 600;
    color: #003366;
    margin-bottom: 5px;
}

.formulario .row {
    margin-bottom: 18px;
}

#btn-enviar {
    background: linear-gradient(135deg,#005baa,#00a6e8);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .4s;
}

    #btn-enviar:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,91,170,.35);
    }

.error {
    border-color: #dc3545 !important;
}

#errorMessage {
    background: #ffe6e8;
    color: #b00020;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.contact-address img {
    vertical-align: middle;
    margin-right: 6px;
}

.contact-address a[href*="whatsapp"] {
    color: #25D366;
    font-weight: 700;
}

.prosea-menu-wrap {
    position: relative;
    display: inline-block;
}

.prosea-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #E3E8EF;
    border-radius: 10px;
    box-shadow: 0 12px 24px -8px rgba(6,42,77,.15);
    min-width: 280px;
    z-index: 50;
    overflow: hidden;
}

    .prosea-menu-dropdown.open {
        display: block;
    }

.prosea-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 11px 16px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #F0F2F5;
    font-size: 14px;
    color: #0B4F8A;
    cursor: pointer;
}

    .prosea-menu-item:last-child {
        border-bottom: none;
    }

    .prosea-menu-item:hover {
        background: #F5F7FA;
        color: #062A4D;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:992px) {
    .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .formulario {
        margin-top: 30px;
    }
}


.btn-cotizar-chat {
    background: transparent; /* sin fondo */
    border: none; /* sin borde */
    color: #25D366; /* verde WhatsApp */
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0; /* opcional, para que quede más limpio */
}

    .btn-cotizar-chat:hover {
        color: #1ebe5d; /* verde más oscuro al pasar el mouse */
    }




.wa-cotizar {
    margin: 18px 0 8px;
    max-width: 520px;
    font-family: inherit;
}

.wa-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: background .15s, transform .15s;
}

    .wa-toggle:hover {
        background: #1ebe5b;
    }

    .wa-toggle:active {
        transform: scale(.98);
    }

    .wa-toggle:focus-visible {
        outline: 3px solid #128C7E;
        outline-offset: 2px;
    }

.wa-chevron {
    transition: transform .2s;
}

.wa-toggle[aria-expanded="true"] .wa-chevron {
    transform: rotate(180deg);
}

.wa-panel {
    margin-top: 10px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e3e6e8;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    animation: waFade .18s ease-out;
}

@keyframes waFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.wa-help {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
}

.wa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (max-width: 420px) {
    .wa-grid {
        grid-template-columns: 1fr;
    }
}

.wa-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: #f6f8f9;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .wa-cat:hover, .wa-cat:focus-visible {
        background: #eafaf0;
        border-color: #25D366;
        outline: none;
    }

    .wa-cat .wa-ico {
        flex: 0 0 34px;
        height: 34px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #fff;
        border: 1px solid #dde2e5;
        font-size: 17px;
    }

.wa-back {
    background: none;
    border: 0;
    color: #0a7cc1;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.wa-selected {
    margin: 8px 0 12px;
    font-size: 15px;
}

.wa-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 4px;
    color: #333;
}

    .wa-label span {
        font-weight: 400;
        color: #888;
    }

.wa-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    font: inherit;
    font-size: 14px;
    border: 1px solid #cfd5d9;
    border-radius: 6px;
    resize: vertical;
}

    .wa-input:focus {
        border-color: #25D366;
        outline: 2px solid rgba(37,211,102,.25);
    }

.wa-send {
    margin-top: 14px;
    width: 100%;
    background: #25D366;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

    .wa-send:hover {
        background: #1ebe5b;
    }

.wa-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #888;
    text-align: center;
}


/* ======================= CONTÁCTANOS =======================
   Guárdalo como ~/Content/contactanos.css (sustituye a sucursales.css).
   Incluye: layout de la página, sucursales, cotizar por WhatsApp y formulario.
   Si lo pegas dentro de <style> en un .cshtml, cambia @media/@keyframes por @@media/@@keyframes. */

.ct {
    --azul: #0b5ea8;
    --azul-osc: #0b2e59;
    --borde: #e3e8ee;
    --texto: #333;
    --gris: #6b7480;
    --verde: #25D366;
    --verde-h: #1ebe5b;
    --fondo-suave: #f1f4f7;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 0 40px;
}

    .ct *, .ct *::before, .ct *::after {
        box-sizing: border-box;
    }

/* ---------- Layout: 1 columna en móvil, 2 en escritorio ---------- */
.ct-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.ct-suc-col, .ct-form-col {
    min-width: 0;
}

@media (min-width: 992px) {
    .ct-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 36px;
        align-items: start;
    }
}

.ct .page-header {
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 4px solid var(--azul);
    font-size: 28px;
    color: var(--azul-osc);
    line-height: 1.2;
}

/* ============ SUCURSALES ============ */
.suc-tabs {
    display: inline-flex;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    margin-bottom: 14px;
    background: var(--fondo-suave);
    border-radius: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .suc-tabs::-webkit-scrollbar {
        display: none;
    }

.suc-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 8px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--gris);
    cursor: pointer;
    transition: background .15s, color .15s;
}

    .suc-tab:hover {
        color: var(--azul);
    }

    .suc-tab[aria-selected="true"] {
        background: #fff;
        color: var(--azul);
        box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }

    .suc-tab:focus-visible {
        outline: 2px solid var(--azul);
        outline-offset: 2px;
    }

.suc-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    overflow: hidden;
    animation: ctFade .2s ease-out;
}

    .suc-card[hidden] {
        display: none;
    }

@keyframes ctFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.suc-head {
    padding: 18px 20px 2px;
}

    .suc-head h3 {
        margin: 0;
        font-size: 19px;
        color: var(--azul);
    }

.suc-zona {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gris);
}

.suc-info {
    list-style: none;
    margin: 0;
    padding: 8px 20px 4px;
}

    .suc-info li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 8px 0;
        border-bottom: 1px solid #f0f2f5;
        font-size: 14px;
        color: var(--texto);
        line-height: 1.45;
    }

        .suc-info li:last-child {
            border-bottom: 0;
        }

    .suc-info .ico {
        flex: 0 0 30px;
        height: 30px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #eaf2fb;
        color: var(--azul);
    }

        .suc-info .ico svg {
            width: 16px;
            height: 16px;
        }

    .suc-info .lbl {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--gris);
    }

    .suc-info a {
        color: var(--azul);
        text-decoration: none;
        font-weight: 600;
    }

        .suc-info a:hover {
            text-decoration: underline;
        }

.suc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 20px 18px;
}

.suc-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid var(--borde);
    background: #fff;
    color: var(--texto) !important;
    transition: background .15s, border-color .15s;
}

    .suc-btn svg {
        width: 18px;
        height: 18px;
        flex: none;
    }

    .suc-btn:hover {
        background: #f5f8fb;
        border-color: #c9d3dd;
    }

.suc-btn--wa {
    background: var(--verde);
    border-color: var(--verde);
    color: #fff !important;
}

    .suc-btn--wa:hover {
        background: var(--verde-h);
        border-color: var(--verde-h);
    }

@media (min-width: 576px) {
    .suc-btn {
        flex: 0 0 auto;
    }
}

.suc-map {
    position: relative;
    height: 300px;
    background: #eef1f4;
    border-top: 1px solid var(--borde);
}

    .suc-map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 575px) {
    .suc-map {
        height: 280px;
    }
}

/* ============ COTIZAR POR WHATSAPP (dentro de la tarjeta) ============ */
.wa-cotizar {
    padding: 4px 20px 0;
}

.wa-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--verde);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    transition: background .15s, transform .15s;
}

@media (min-width: 576px) {
    .wa-toggle {
        width: auto;
    }
}

.wa-toggle:hover {
    background: var(--verde-h);
}

.wa-toggle:active {
    transform: scale(.98);
}

.wa-toggle:focus-visible {
    outline: 3px solid #128C7E;
    outline-offset: 2px;
}

.wa-chevron {
    transition: transform .2s;
}

.wa-toggle[aria-expanded="true"] .wa-chevron {
    transform: rotate(180deg);
}

.wa-panel {
    margin-top: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e3e6e8;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    animation: ctFade .18s ease-out;
}

.wa-help {
    margin: 0 0 10px;
    color: #555;
    font-size: 14px;
}

.wa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (max-width: 420px) {
    .wa-grid {
        grid-template-columns: 1fr;
    }
}

.wa-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: #f6f8f9;
    border: 1px solid #dde2e5;
    border-radius: 8px;
    padding: 9px 10px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .wa-cat:hover, .wa-cat:focus-visible {
        background: #eafaf0;
        border-color: var(--verde);
        outline: none;
    }

    .wa-cat .wa-ico {
        flex: 0 0 32px;
        height: 32px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #fff;
        border: 1px solid #dde2e5;
        font-size: 16px;
    }

.wa-back {
    background: none;
    border: 0;
    color: #0a7cc1;
    cursor: pointer;
    padding: 0;
    font: inherit;
    font-size: 14px;
}

.wa-selected {
    margin: 8px 0 10px;
    font-size: 15px;
}

.wa-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 4px;
    color: #333;
}

    .wa-label span {
        font-weight: 400;
        color: #888;
    }

.wa-input {
    width: 100%;
    padding: 9px 10px;
    font: inherit;
    font-size: 14px;
    border: 1px solid #cfd5d9;
    border-radius: 6px;
    resize: vertical;
}

    .wa-input:focus {
        border-color: var(--verde);
        outline: 2px solid rgba(37,211,102,.25);
    }

.wa-send {
    margin-top: 12px;
    width: 100%;
    background: var(--verde);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 11px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

    .wa-send:hover {
        background: var(--verde-h);
    }

.wa-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #888;
    text-align: center;
}

/* ============ FORMULARIO ============ */
.ct-form {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    padding: 22px 22px 24px;
}

.ct-form-intro {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--gris);
    line-height: 1.5;
}

    .ct-form-intro strong {
        display: block;
        font-size: 16px;
        color: var(--texto);
        margin-bottom: 2px;
    }

.ct-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 16px;
}

@media (min-width: 576px) {
    .ct-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.ct-field--full {
    grid-column: 1 / -1;
}

.ct-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--texto);
}

    .ct-field label .req {
        color: #d23f3f;
        margin-left: 2px;
    }

.ct-field input, .ct-field textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--texto);
    background: #fbfcfd;
    border: 1px solid #cfd6dd;
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.ct-field textarea {
    min-height: 130px;
    resize: vertical;
}

    .ct-field input:focus, .ct-field textarea:focus {
        outline: none;
        background: #fff;
        border-color: var(--azul);
        box-shadow: 0 0 0 3px rgba(11,94,168,.15);
    }

    .ct-field input::placeholder, .ct-field textarea::placeholder {
        color: #a3abb4;
    }

.ct-form .error {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #a12b2b;
}

    .ct-form .error.hidden {
        display: none;
    }

.ct-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.ct-req-note {
    font-size: 12px;
    color: var(--gris);
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border: 0;
    border-radius: 8px;
    background: var(--azul);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(11,94,168,.25);
    transition: background .15s, transform .15s;
}

    .ct-submit:hover {
        background: #094d8a;
    }

    .ct-submit:active {
        transform: scale(.98);
    }

    .ct-submit:focus-visible {
        outline: 3px solid rgba(11,94,168,.4);
        outline-offset: 2px;
    }

@media (max-width: 575px) {
    .ct-submit {
        width: 100%;
        justify-content: center;
    }
}
