
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #111827;
    background: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-brand img {
    display: block;
    width: 247px;
    height: auto;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-menu a {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.site-menu a[aria-current="page"] {
    color: #064DBF;
}

.site-account-link {
    padding: 12px 17px;
    border-radius: 12px;
    color: #ffffff !important;
    background: #064DBF;
}

.site-menu-toggle {
    display: none;
    border: 0;
    padding: 11px 15px;
    border-radius: 10px;
    color: #ffffff;
    background: #064DBF;
    font: inherit;
    font-weight: 800;
}

.site-footer {
    margin-top: 70px;
    color: #dbe5f3;
    background: #0d2240;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 50px;
    padding: 62px 0;
}

.site-footer__brand img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    object-position: left center;
    align-self: flex-start;
    border-radius: 10px;
}

.site-footer__brand p {
    max-width: 440px;
    line-height: 1.7;
}

.site-footer h2 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 9px 0;
    color: #dbe5f3;
    text-decoration: none;
}

.site-footer a:hover {
    color: #FFC400;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0;
    font-size: .92rem;
}

.site-footer__bottom-inner span {
    margin: 0;
}

.site-footer__bottom-inner a {
    display: inline;
}

.chat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    color: #111827;
    background: #FFC400;
    box-shadow: 0 16px 35px rgba(17,24,39,.25);
    font-weight: 900;
    cursor: pointer;
}

.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 150;
    width: min(370px, calc(100% - 32px));
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(17,24,39,.23);
}

.chat-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 18px;
    color: #ffffff;
    background: #064DBF;
}

.chat-close {
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
}

.chat-panel__body {
    min-height: 180px;
    padding: 18px;
    color: #4b5563;
}

.chat-panel__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #e5e7eb;
}

.chat-panel__form textarea {
    width: 100%;
    resize: none;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    padding: 10px;
    font: inherit;
}

.chat-panel__form button {
    border: 0;
    border-radius: 11px;
    padding: 0 18px;
    color: #ffffff;
    background: #064DBF;
    font-weight: 800;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .site-brand img {
        width: 210px;
        height: auto;
    }

    .site-container {
        width: min(100% - 24px, 1180px);
    }

    .site-menu-toggle {
        display: inline-flex;
    }

    .site-menu {
        position: absolute;
        top: 86px;
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 20px 45px rgba(17,24,39,.14);
    }

    .site-menu.is-open {
        display: flex;
    }

    .site-menu a {
        padding: 13px 12px;
        border-radius: 10px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        gap: 8px;
    }
}
/* Reemplaza o agrega al final del CSS pÃºblico */

.chat-panel {
    position: fixed !important;
    right: 22px !important;
    bottom: 88px !important;
    z-index: 99999 !important;
    display: flex !important;
    width: min(380px, calc(100vw - 28px)) !important;
    max-height: min(620px, calc(100vh - 120px)) !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(13, 34, 63, .24) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(14px) scale(.98) !important;
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease !important;
}

.chat-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.chat-panel__header {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    color: #fff;
    background: #0d223f;
}

.chat-panel__header strong {
    color: #fff;
}

.chat-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: 1.35rem;
    cursor: pointer;
}

.chat-panel__body {
    overflow-y: auto;
    padding: 16px;
    color: #172235;
    background: #f8fafc;
}

.chat-panel__body p {
    margin: 0;
    line-height: 1.5;
}

.chat-panel__form {
    display: grid;
    gap: 10px;
    border-top: 1px solid #e1e7ee;
    padding: 14px;
    background: #fff;
}

.chat-panel__guest-fields {
    display: grid;
    gap: 9px;
}

.chat-panel__guest-fields label {
    display: grid;
    gap: 5px;
}

.chat-panel__guest-fields span {
    color: #0d223f;
    font-size: .76rem;
    font-weight: 800;
}

.chat-panel__guest-fields input,
.chat-panel__form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d7e0ea;
    border-radius: 9px;
    padding: 10px 11px;
    font: inherit;
    outline: none;
}

.chat-panel__form textarea {
    resize: vertical;
}

.chat-panel__guest-fields input:focus,
.chat-panel__form textarea:focus {
    border-color: #064dbf;
    box-shadow: 0 0 0 4px rgba(6, 77, 191, .10);
}

.chat-panel__form > button {
    min-height: 43px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #064dbf;
    font-weight: 900;
    cursor: pointer;
}

.chat-panel__status {
    min-height: 18px;
    margin-top: 10px;
    font-size: .8rem;
    line-height: 1.4;
}

.chat-panel__status--success {
    color: #087443;
}

.chat-panel__status--error {
    color: #b42318;
}

.chat-panel__form button:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 520px) {
    .chat-panel {
        right: 14px !important;
        bottom: 82px !important;
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 105px) !important;
    }
}


.whatsapp-float svg{width:30px;height:30px}.whatsapp-tooltip{display:none}}


.site-footer__brand{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
}

@media (max-width:760px){
    .site-footer__brand{
        align-items:center;
        text-align:center;
    }

    .site-footer__brand img{
        width:220px;
        max-width:80vw;
        height:auto !important;
    }
}


/* Redes sociales del footer */
.site-footer__social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:18px;
}

.site-footer__social a{
    display:grid;
    width:42px;
    height:42px;
    margin:0;
    place-items:center;
    border-radius:50%;
    color:#fff;
    text-decoration:none;
    transition:transform .2s ease, box-shadow .2s ease;
}

.site-footer__social a:first-child{
    background:#1877f2;
    box-shadow:0 9px 22px rgba(24,119,242,.28);
}

.site-footer__social a:last-child{
    background:
        radial-gradient(circle at 32% 100%, #feda75 0 10%, #fa7e1e 30%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
    box-shadow:0 9px 22px rgba(214,41,118,.25);
}

.site-footer__social a:hover{
    color:#fff;
    transform:translateY(-3px);
}

.site-footer__social svg{
    width:21px;
    height:21px;
    fill:currentColor;
}

.site-footer__social a:last-child svg{
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
}

.site-footer__social .instagram-dot{
    fill:currentColor;
    stroke:none;
}

@media(max-width:760px){
    .site-footer__social{
        justify-content:center;
    }
}

/* Invitación de contacto */
.whatsapp-chat-invite{position:fixed;right:24px;bottom:24px;z-index:9999;width:min(360px,calc(100vw - 32px));padding:20px;border:1px solid #e3e8ef;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(13,34,63,.22);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px) scale(.97);transition:opacity .28s ease,transform .28s ease,visibility .28s ease}
.whatsapp-chat-invite.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.whatsapp-chat-invite__close{position:absolute;top:9px;right:10px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;color:#64748b;background:#f1f5f9;font-size:20px;line-height:1;cursor:pointer}
.whatsapp-chat-invite__body{display:flex;flex-direction:column;gap:8px;padding-right:20px}
.whatsapp-chat-invite__body strong{max-width:290px;color:#0d223f;font-size:1.03rem;line-height:1.35}
.whatsapp-chat-invite__body>span{margin:0;color:#667085;font-size:.92rem;line-height:1.45}
.whatsapp-chat-invite__button{display:flex!important;min-height:46px;align-items:center;justify-content:center;margin:8px 0 0!important;padding:0 18px;border-radius:11px;color:#fff!important;background:#064DBF;font-weight:850;text-decoration:none!important;transition:.18s ease}
.whatsapp-chat-invite__button:hover{color:#fff!important;background:#053f9e;transform:translateY(-1px);box-shadow:0 8px 18px rgba(6,77,191,.22)}
@media(max-width:600px){.whatsapp-chat-invite{right:14px;bottom:14px;width:calc(100vw - 28px);padding:18px;border-radius:16px}.whatsapp-chat-invite__body{padding-right:18px}}
