/* Psicoparlem — SEO, accesibilidad y móvil (2026) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: #16445c;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
}

.site-logo {
  display: block;
  flex: 0 1 auto;
  max-width: min(740px, 99vw);
  line-height: 0;
}
.site-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.page-title {
  max-width: 960px;
  margin: 1rem auto 0.25rem;
  padding: 0 1rem;
  font-size: 1.75rem;
  line-height: 1.25;
  color: #16445c;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-indent: 0;
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

/* legacy removed */
.local-links-removed a {
  margin-right: 0.35rem;
}

.site-hero-lead {
  max-width: 960px;
  margin: 1rem auto 0.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #16445c;
  text-align: center;
}

header h1 {
  text-indent: 0;
  clip: rect(0, 0, 0, 0);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

@media (max-width: 1024px) {
  body {
    min-width: 0 !important;
  }
  .container_12,
  .grid_2,
  .grid_3,
  .grid_4,
  .grid_5,
  .grid_6,
  .grid_7,
  .grid_8,
  .grid_12,
  .grid_13 {
    width: 100% !important;
    max-width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .sf-menu {
    font-size: 14px;
  }
  h2 {
    font-size: 1.5rem;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fe8948;
  outline-offset: 2px;
}

footer a[href^="tel:"] {
  white-space: nowrap;
}

img[loading="lazy"] {
  content-visibility: auto;
}

img {
  height: auto;
}

/* Core Web Vitals — reducir CLS sin deformar en móvil */
.site-logo img {
  width: auto !important;
  max-width: min(740px, 99vw);
  height: auto !important;
  aspect-ratio: 280 / 72;
  object-fit: contain;
}

.slider img,
.box-1 img {
  width: 100%;
  height: auto;
}

/* Accesibilidad */
:focus-visible {
  outline: 2px solid #fe8948;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .slider .items,
  .carousel1 {
    animation: none !important;
    transition: none !important;
  }
}
