.rtg-footer { font-family: 'RTG Montserrat', Montserrat, Arial, sans-serif; color: #303239; }
.rtg-footer * { box-sizing: border-box; }
.rtg-footer__container { width: var(--rtg-shell-width); margin-inline: auto; }
.rtg-home__floating { position: fixed; z-index: 90; right: 35px; bottom: 33px; display: flex; align-items: end; gap: 18px; font-family: 'RTG Montserrat', Montserrat, Arial, sans-serif; }
/* The native top anchor becomes a visible control above the contact shortcuts. */
.back-to-top-link.rtg-back-to-top { position: fixed; z-index: 91; right: 35px; bottom: 132px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: var(--rtg-950, #0d343f); color: #fff; box-shadow: 0 3px 12px rgb(13 52 63 / 20%); text-decoration: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, background-color .2s ease; }
.back-to-top-link.rtg-back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.back-to-top-link.rtg-back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top-link.rtg-back-to-top:hover { background: var(--rtg-600, #1693a5); color: #fff; }
.back-to-top-link.rtg-back-to-top:focus-visible { outline: 2px solid var(--rtg-600, #1693a5); outline-offset: 3px; }
body:is(#checkout, #contact) .back-to-top-link.rtg-back-to-top { bottom: 24px; }
@media (max-width: 767px) {
  .back-to-top-link.rtg-back-to-top { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body:is(#checkout, #contact) .back-to-top-link.rtg-back-to-top { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .back-to-top-link.rtg-back-to-top { transition: none; } }
.rtg-home__floating a { display: grid; justify-items: center; gap: 3px; color: #173e4b; font-size: 10px; text-decoration: none; }
.rtg-home__floating img { display: block; width: 79px; height: 65px; object-fit: contain; filter: drop-shadow(0 3px 6px rgb(0 0 0 / 12%)); }
.rtg-home__floating-help-icon { position: relative; display: block; width: 65px; height: 66px; }
.rtg-home__floating a:last-child img { width: 65px; height: 66px; }
.rtg-home__floating-help-text { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 3px; color: #fff; font-size: 12px; font-weight: 700; }
body:is(#checkout, #contact) .rtg-home__floating { position: static; justify-content: flex-end; width: max-content; margin: 24px 35px 33px auto; }

/* Desktop: a persistent, labelled contact dock instead of two detached badges. */
@media (min-width: 768px) {
  .rtg-home__floating,
  body:is(#checkout, #contact) .rtg-home__floating {
    position: fixed;
    z-index: 1030;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    margin: 0;
    padding: 5px;
    border: 1px solid #dce9ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(13 52 63 / 18%);
  }
  .rtg-home__floating a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 4px 12px 4px 6px;
    border-radius: 11px;
    color: #0d343f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }
  .rtg-home__floating a + a { border-left: 1px solid #e5edef; border-radius: 0 11px 11px 0; }
  .rtg-home__floating a:hover { background: #edf8f9; color: #0d343f; }
  .rtg-home__floating a:focus-visible { outline: 2px solid #0f62fe; outline-offset: -2px; }
  .rtg-home__floating img,
  .rtg-home__floating a:last-child img,
  .rtg-home__floating-help-icon { width: 36px; height: 36px; filter: none; }
  .rtg-home__floating-help-text { padding-bottom: 2px; font-size: 8px; }
  .back-to-top-link.rtg-back-to-top,
  body:is(#checkout, #contact) .back-to-top-link.rtg-back-to-top { z-index: 1031; right: 24px; bottom: 100px; }
}

.rtg-footer a { color: inherit; text-decoration: none; }
.rtg-footer a:hover { color: #286e88; }
.rtg-footer { padding-top: 40px; background: #fff; }
.rtg-footer__contact { padding: 35px 0 26px; background: radial-gradient(#17b6c3 0%, #1693a5 100%); color: #fff; }
.rtg-footer__addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.rtg-footer__address { position: relative; padding-left: 70px; }
.rtg-footer__address img { position: absolute; top: 0; left: 0; width: 42px; height: 30px; object-fit: contain; }
.rtg-footer__address h2 { margin: 0 0 11px; color: #fff; font-size: 17px; font-weight: 700; }
.rtg-footer__address p { margin: 0; font-size: 14px; line-height: 1.6; }
.rtg-footer__address strong { font-weight: 700; }
.rtg-footer__socials { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgb(66 134 150 / 30%); }
.rtg-footer__socials a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rtg-footer__socials img { display: block; width: 25px; height: 25px; object-fit: contain; }
.rtg-footer__socials .rtg-footer__whatsapp { width: 23px; height: 23px; }
.rtg-footer__main { padding-top: 50px; background: #fff; }
.rtg-footer__columns { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(135px, 1fr)); gap: 40px; }
.rtg-footer__brand > img { display: block; width: 250px; max-width: 100%; height: auto; margin-bottom: 18px; }
.rtg-footer__brand p { max-width: 340px; margin: 0 0 16px; color: #666; font-size: 13px; line-height: 1.7; }
.rtg-footer__brand strong { color: #444; font-weight: 600; }
.rtg-footer__payment { width: 335px !important; max-width: 100%; margin-top: 20px; }
.rtg-footer__link-column h3 { margin: 0 0 22px; color: #4a93a9; font-size: 15px; font-weight: 700; }
.rtg-footer__link-column button { display: none; }
.rtg-footer__link-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rtg-footer__link-column li { color: #676b70; font-size: 13px; line-height: 1.35; }
.rtg-footer__copyright { margin-top: 44px; padding: 20px 0 25px; border-top: 1px solid #eee; color: #777; font-size: 13px; text-align: center; }

@media (max-width: 1299px) {
  .rtg-footer .rtg-footer__socials { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}
@media (max-width: 1199px) {
  .rtg-footer__socials { flex-wrap: wrap; justify-content: center; }
  .rtg-footer__columns { gap: 23px; }
}
@media (max-width: 767px) {
  /* Keep contact actions in one compact row, with room to scroll past them. */
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body:not(#checkout):not(#contact) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .rtg-home__floating { right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e5eaed; background: #fff; }
  .rtg-home__floating a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; font-size: 12px; font-weight: 600; }
  .rtg-home__floating a + a { border-left: 1px solid #e5eaed; }
  .rtg-home__floating a:focus-visible { outline: 2px solid #1693a5; outline-offset: 2px; }
  .rtg-home__floating img, .rtg-home__floating a:last-child img, .rtg-home__floating-help-icon { width: 40px; height: 40px; }
  .rtg-home__floating-help-text { padding-bottom: 2px; font-size: 8px; }
  body:is(#checkout, #contact) .rtg-home__floating { width: 100%; margin: 24px 0 0; }
  .rtg-footer__contact { padding: 45px 0 49px; }
  .rtg-footer__addresses { grid-template-columns: 1fr; gap: 40px; }
  .rtg-footer__address { padding: 0 0 15px; }
  .rtg-footer__address img { top: 0; right: 65px; left: auto; width: 30px; height: 30px; }
  .rtg-footer__address h2 { margin-bottom: 10px; font-size: 20px; line-height: 30px; }
  .rtg-footer__address p { font-size: 14px; line-height: 21px; }
  .rtg-footer__socials { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-content: start; gap: 20px 10px; margin-top: 24px; padding-top: 0; border: 0; }
  .rtg-footer__socials a { min-height: 29px; font-size: 12px; }
  .rtg-footer__socials a:nth-child(-n+3) { grid-column: 1 / -1; }
  .rtg-footer__socials img { width: 30px; height: 30px; }
  .rtg-footer__socials a:first-child img { width: 35px; height: 35px; }
  .rtg-footer__socials .rtg-footer__whatsapp { width: 28px; height: 28px; }
  .rtg-footer__main { padding-top: 30px; padding-bottom: 15px; }
  .rtg-footer__columns { display: block; }
  .rtg-footer__brand { text-align: center; }
  .rtg-footer__brand > img { margin-inline: auto; }
  .rtg-footer__brand p { max-width: 350px; margin-inline: auto; font-size: 12px; }
  .rtg-footer__brand .rtg-footer__payment { margin: 23px auto 22px; }
  .rtg-footer__link-column { border-top: 0; }
  .rtg-footer__link-column h3 { display: none; }
  .rtg-footer__link-column button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7.5px 0; border: 0; background: transparent; color: #333; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 26px; text-align: left; }
  .rtg-footer__link-column button span { font-size: 23px; font-weight: 400; line-height: .6; }
  .rtg-footer__link-column ul { display: none; padding: 0 0 18px; }
  .rtg-footer__link-column.is-open ul { display: grid; }
  .rtg-footer__copyright { margin-top: 48px; padding: 8px 0 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .rtg-footer * { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Cintillo de contacto — rediseño 4-oct-2026. Mismo degradado y mismos elementos; variante por clase en la sección
   (rtg-fc--a directorio con separadores | rtg-fc--b panel de contacto | rtg-fc--c píldoras). Para regresar: borrar este bloque y
   restaurar el marcado del cintillo en roentgen-footer.tpl. ===== */
.rtg-fc__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rtg-footer .rtg-fc__i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rtg-footer .rtg-footer__contact { position: relative; padding: 44px 0 0; background: radial-gradient(#17b6c3 0%, #1693a5 100%); color: #fff; }
.rtg-footer .rtg-footer__address { position: static; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 22px; padding: 0; }
.rtg-footer .rtg-footer__address > img { position: static; width: 46px; height: 32px; object-fit: contain; }
.rtg-footer .rtg-footer__address h2 { margin: 3px 0 14px; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.rtg-footer .rtg-fc__line { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; margin: 0; color: #effcfd; font-size: 14px; line-height: 1.6; }
.rtg-footer .rtg-fc__line + .rtg-fc__line { margin-top: 10px; }
.rtg-footer .rtg-fc__line .rtg-fc__i { margin-top: 2px; color: rgb(255 255 255 / 70%); }
.rtg-footer .rtg-fc__tel strong { color: #fff; font-weight: 700; }
.rtg-footer .rtg-fc__tel a, .rtg-footer .rtg-fc__tel strong { white-space: nowrap; }
.rtg-footer .rtg-footer__contact a { color: #fff; }
.rtg-footer .rtg-fc__tel a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rtg-footer .rtg-footer__socials { margin: 0; padding: 0; border: 0; }
.rtg-footer .rtg-footer__socials a { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color .15s, background-color .15s, border-color .15s; }
.rtg-footer .rtg-footer__socials a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rtg-footer .rtg-footer__socials a:hover { color: #fff; }
.rtg-footer .rtg-footer__socials img { display: block; flex: none; width: 30px; height: 30px; object-fit: contain; transition: transform .15s; }
.rtg-footer .rtg-footer__socials .rtg-footer__whatsapp { width: 28px; height: 28px; }
.rtg-footer .rtg-footer__socials a:hover img { transform: scale(1.08); }
.rtg-footer .rtg-footer__socials a:focus-visible, .rtg-footer .rtg-fc__tel a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* A · Directorio con separadores */
.rtg-fc--a .rtg-footer__addresses { gap: 0; padding-bottom: 36px; }
.rtg-fc--a .rtg-footer__address + .rtg-footer__address { padding-left: 56px; }
.rtg-fc--a .rtg-footer__address:first-child { padding-right: 56px; }
.rtg-footer .rtg-fc--a .rtg-footer__socials { display: flex; }
.rtg-footer .rtg-fc--a .rtg-footer__socials a { flex: 1 0 auto; justify-content: center; padding: 20px 18px 22px; }

/* B · Panel de contacto a la derecha */
.rtg-fc--b .rtg-fc__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-bottom: 40px; }
.rtg-fc--b .rtg-footer__addresses { gap: 48px; }
.rtg-footer .rtg-fc--b .rtg-footer__socials { display: grid; align-content: start; padding-left: 40px; }
.rtg-footer .rtg-fc--b .rtg-footer__socials { gap: 6px; }
.rtg-footer .rtg-fc--b .rtg-footer__socials a { padding: 0; }

/* C · Píldoras centradas */
.rtg-fc--c .rtg-footer__addresses { gap: 64px; padding-bottom: 32px; }
.rtg-footer .rtg-fc--c .rtg-footer__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 22px 0 30px; }
.rtg-footer .rtg-fc--c .rtg-footer__socials a { gap: 10px; max-width: 100%; padding: 6px 18px 6px 6px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 999px; }
.rtg-footer .rtg-fc--c .rtg-footer__socials a:hover { border-color: #fff; background: #fff; color: #127c8c; }

@media (max-width: 1199px) {
  .rtg-footer .rtg-fc--a .rtg-footer__socials { flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 12px 0 16px; }
  .rtg-footer .rtg-fc--a .rtg-footer__socials a { flex: 0 0 auto; padding: 8px 22px; }
  .rtg-fc--b .rtg-fc__in { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .rtg-footer .rtg-fc--b .rtg-footer__socials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 32px; padding: 14px 0 20px; border-left: 0; }
  .rtg-footer .rtg-fc--b .rtg-footer__socials a { padding: 6px 0; }
}
@media (max-width: 767px) {
  .rtg-footer .rtg-footer__contact { padding-top: 34px; }
  .rtg-footer .rtg-footer__addresses { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
  .rtg-footer .rtg-footer__address { grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; }
  .rtg-footer .rtg-footer__address > img { width: 34px; height: 24px; }
  .rtg-footer .rtg-footer__address h2 { margin: 1px 0 10px; font-size: 17px; line-height: 1.3; }
  .rtg-footer .rtg-fc__line { gap: 10px; font-size: 13.5px; line-height: 1.55; }
  .rtg-fc--a .rtg-footer__address + .rtg-footer__address { padding: 0; }
  .rtg-fc--a .rtg-footer__address:first-child { padding-right: 0; }
  .rtg-footer .rtg-fc--a .rtg-footer__socials, .rtg-footer .rtg-fc--b .rtg-footer__socials { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 4px 0 18px; }
  .rtg-footer .rtg-fc--a .rtg-footer__socials a, .rtg-footer .rtg-fc--b .rtg-footer__socials a { justify-content: flex-start; min-height: 0; padding: 8px 0; border: 0; }
  .rtg-footer .rtg-fc--a .rtg-footer__socials a + a, .rtg-footer .rtg-fc--b .rtg-footer__socials a + a { border: 0; }
  .rtg-footer .rtg-footer__socials a { font-size: 13.5px; }
  .rtg-fc--c .rtg-footer__addresses { gap: 26px; }
  .rtg-footer .rtg-fc--c .rtg-footer__socials { justify-content: flex-start; gap: 10px; padding: 20px 0 26px; }
  .rtg-footer .rtg-fc--c .rtg-footer__socials a { min-height: 0; font-size: 12.5px; }
}
