/* ============================================================
   CONTACTO — CSS ESPECÍFICO (LIMPIO / ESTABLE)
   ============================================================ */

/* ------------------------------------------------------------
   0) Página / layout
   - Sticky footer sin tocar CSS general
   - Blindaje: sin overflow horizontal
   ------------------------------------------------------------ */

.page-contacto{
  background: var(--page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* SOLO esta página: evita scroll lateral */
}

.page-contacto main{
  flex: 1;
  min-height: 0;
}

/* ------------------------------------------------------------
   1) Línea bajo menú
   ------------------------------------------------------------ */

.rule--menu{
  background: rgba(47,47,49,.22);
}

/* ------------------------------------------------------------
   2) Contenido
   ------------------------------------------------------------ */

.contacto-inner{
      max-width: 690px;
    margin: 0 auto;
    padding: 40px 0 30px;
}

.page-contacto h1{
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.contacto-intro{
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 34px;
  color: var(--antracita);
  text-align: justify;
}

/* Datos de contacto */

.contacto-datos{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacto-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.contacto-item span{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacto-item strong{
  font-size: 14px;
  font-weight: 500;
}

/* Nota */

.contacto-nota{
  padding-top: 18px;
    padding-bottom: 0px;
}

.contacto-nota p{
  font-size: 15px;
  line-height: 1.75;
  color: var(--antracita);
 text-align: left;
}

/* Botón */

.pro-contactCenter{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 0 18px 14px;
}

.btn-outline{
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid rgba(47,47,49,.65);
  color: var(--antracita);
}

.btn-outline:hover{
  border-color: rgba(47,47,49,.85);
}

/* ------------------------------------------------------------
   3) Bleeds a sangre (líneas + banner) SIN 100vw (estable)
   - Técnica: pseudo elemento absoluto dentro de contenedor relativo
   - No depende del ancho del scrollbar → no overflow
   ------------------------------------------------------------ */

.rule--bleed,
.pro-ruleBleed,
.footer-banner--bleed{
  position: relative;
}

.rule--bleed::before,
.pro-ruleBleed::before,
.footer-banner--bleed::before{
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}

/* Línea a sangre */
.rule--bleed{
  height: 1px;
  background: transparent;
}
.rule--bleed::before{
  top: 0;
  height: 1px;
  background: rgba(47,47,49,.12);
}

/* ------------------------------------------------------------
   4) Cierre
   ------------------------------------------------------------ */

.pro-end{
  margin-top: auto;
  padding: 10px 0 0;
}

/* Líneas del cierre a sangre */
.pro-ruleBleed{
  height: 1px;
  background: transparent;
  margin: 0;
}
.pro-ruleBleed::before{
  top: 0;
  height: 1px;
  background: rgba(47,47,49,.22);
}

/* Dominio */
.pro-siteLine{
  text-align:center;
  padding:10px 0;
  font-size:12px;
  letter-spacing:0.10em;
  color: rgba(47,47,49,0.78);
}

.pro-siteLink{
  color:inherit;
  text-decoration:none;
}

.pro-siteLink:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Banner a sangre */
.footer-banner--bleed{
  line-height: 0;
  overflow: hidden;
}

/* El fondo a sangre del banner */
.footer-banner--bleed::before{
  top: 0;
  bottom: 0;
  background: transparent; /* el propio img ocupa todo */
}

/* Imagen: sin estirar */
.footer-banner--bleed img{
  display:block;
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------
   5) RESPONSIVE — <=980
   ------------------------------------------------------------ */

@media (max-width: 980px){

  .contacto-inner{
    padding: 30px 18px 12px;
  }

  .page-contacto h1{
    font-size: 1.45rem;
    margin: 18px 0 14px;
  }

  .contacto-intro{
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .contacto-datos{
            gap: 16px;
        margin: 40px 10px 10px;
    }

  .contacto-item span{
    font-size: 10px;
  }

  .contacto-item strong{
    font-size: 13px;
  }

  .contacto-nota{
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .contacto-nota p{
    font-size: 14.5px;
  }

  .pro-contactCenter{
    padding-bottom: 12px;
  }

  .pro-siteLine{
    font-size: 11px;
  }
.menu.menu--two-row a.nav-tab.nav-profesionales {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    margin-left: 30px;
    transform: none;
}
.menu.menu--two-row a.nav-tab.nav-particulares
Specificity: (0,4,1)
 {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: 30px;
    transform: none;
}

}

/* ------------------------------------------------------------
   6) MÓVIL MUY PEQUEÑO — <=420
   ------------------------------------------------------------ */

@media (max-width: 420px){

  .contacto-inner{
    padding: 30px 14px 10px;
  }

  .contacto-intro{
    font-size: 13.5px;
  }

  .contacto-item strong{
    word-break: break-word;
  }
.menu.menu--two-row a.nav-tab.nav-profesionales {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    margin-left: 30px;
    transform: none;
}
.menu.menu--two-row a.nav-tab.nav-particulares
Specificity: (0,4,1)
 {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: 30px;
    transform: none;
}

}

/* ------------------------------------------------------------
   7) LANDSCAPE móvil — <=980 + orientación apaisada
   ------------------------------------------------------------ */

@media (max-width: 980px) and (orientation: landscape){

  .contacto-inner{
    padding-top: 16px;
    padding-bottom: 10px;
  }

  .contacto-intro{
    margin-bottom: 16px;
  }

  .contacto-nota{
    padding-top: 12px;
    padding-bottom: 8px;
  }
.menu.menu--two-row a.nav-tab.nav-profesionales {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    margin-left: 30px;
    transform: none;
}
.menu.menu--two-row a.nav-tab.nav-particulares
Specificity: (0,4,1)
 {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: 30px;
    transform: none;
}

}

/* ------------------------------------------------------------
   8) PANTALLAS DE POCA ALTURA
   ------------------------------------------------------------ */

@media (max-height: 720px){

  .contacto-inner{
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .pro-siteLine{
    padding: 8px 0;
  }
}
/* Quitar subrayado/lineas del título (brand) al hover SOLO en Contacto */
.page-contacto .brand,
.page-contacto .brand:hover,
.page-contacto .brand:focus,
.page-contacto .brand:focus-visible{
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none;
}

/* Por si el subrayado está en el texto interno */
.page-contacto .brand .brand-name,
.page-contacto .brand:hover .brand-name,
.page-contacto .brand .brand-sub,
.page-contacto .brand:hover .brand-sub{
  text-decoration: none !important;
}
.page-contacto .brand::after,
.page-contacto .brand:hover::after{
  content: none !important;
}
