/*
Theme Name: sandli-digital
Author: Sandli Digital
Description: Tema independiente de edición completa del sitio, con bloques nativos y sin dependencias externas.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sandli-digital
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, translation-ready, wide-blocks
*/
/* Tokens globales de marca sincronizados con theme.json. */
:root {
  --theme-base: var(--wp--preset--color--petrol);
  --theme-primary: var(--wp--preset--color--petrol);
  --theme-accent: var(--wp--preset--color--petrol);
  --theme-black: var(--wp--preset--color--ink);
  --theme-white: var(--wp--preset--color--white);
  --theme-gray: var(--wp--preset--color--gray);
  --theme-surface: var(--wp--preset--color--mist);
  --theme-bdr-color: var(--wp--preset--color--gray);
  --theme-font: var(--wp--preset--font-family--inter);
  --theme-font-two: var(--wp--preset--font-family--inter);
  --theme-soft: var(--wp--preset--color--soft);
  --theme-cyan: var(--wp--preset--color--cyan);
  --theme-text-2: var(--wp--preset--color--gray-dark);
  --theme-container: 78rem;
  --theme-radius-control: 0.25rem;
  --theme-radius-card: 1rem;
}
/* Base compartida por el sitio y el editor. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--theme-black);
  font-family: var(--theme-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:where(img, video, iframe) {
  max-width: 100%;
}
:where(img, video) {
  height: auto;
}
:where(h1, h2, h3, h4, h5, h6, p, a) {
  overflow-wrap: anywhere;
}
:where(input, textarea, select, button) {
  font: inherit;
}
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  max-width: 100%;
}
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--theme-primary);
  outline-offset: 4px;
}
a {
  color: var(--theme-primary);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  color: var(--theme-black);
}
/* Botones de Gutenberg y controles de formulario. */
:where(.wp-block-button__link, .wp-element-button, button, input[type="submit"]) {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--theme-radius-control);
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
:where(.wp-block-button__link, .wp-element-button, button, input[type="submit"]):hover {
  background-color: var(--theme-black);
  color: var(--theme-white);
}
:where(.wp-block-button__link, .wp-element-button, button, input[type="submit"]):active {
  transform: translateY(1px);
}
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  border: 1px solid var(--theme-bdr-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--theme-black);
  background-color: var(--theme-white);
}
/* Botón de marca: clase en el bloque Gutenberg o directamente en el enlace. */
.thm-btn,
.wp-block-button.thm-btn > .wp-block-button__link,
.wp-block-button__link.thm-btn {
  display: inline-flex;
  min-width: min(100%, 17.375rem);
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font-family: var(--theme-font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.thm-btn:hover,
.wp-block-button.thm-btn > .wp-block-button__link:hover,
.wp-block-button__link.thm-btn:hover {
  border-color: transparent;
  background-color: var(--theme-black);
  color: var(--theme-white);
}
.thm-btn:focus-visible,
.wp-block-button.thm-btn > .wp-block-button__link:focus-visible,
.wp-block-button__link.thm-btn:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--theme-black);
}
.thm-btn--secondary,
.wp-block-button.thm-btn--secondary > .wp-block-button__link,
.wp-block-button__link.thm-btn--secondary {
  border-color: var(--theme-surface);
  background-color: var(--theme-white);
  color: var(--theme-primary);
}
.thm-btn--secondary:hover,
.wp-block-button.thm-btn--secondary > .wp-block-button__link:hover,
.wp-block-button__link.thm-btn--secondary:hover {
  border-color: var(--theme-surface);
  background-color: var(--theme-surface);
  color: var(--theme-black);
}
.thm-btn:disabled,
.thm-btn[aria-disabled="true"],
.thm-btn.is-disabled,
.wp-block-button.thm-btn.is-disabled > .wp-block-button__link,
.wp-block-button.thm-btn > .wp-block-button__link[aria-disabled="true"],
.wp-block-button__link.thm-btn[aria-disabled="true"] {
  border-color: transparent;
  background-color: var(--theme-surface);
  color: var(--theme-black);
  cursor: not-allowed;
  pointer-events: none;
}
/* Componentes compartidos de los bloques (prefijo sd-). */
.sd-container {
  width: 100%;
  max-width: var(--theme-container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2rem);
}
.sd-eyebrow {
  display: flex;
  gap: 0.625rem;
  margin: 0;
  color: var(--theme-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.sd-eyebrow::before {
  content: "//";
  font-weight: 800;
  letter-spacing: -0.05em;
}
.sd-title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.sd-title--xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.sd-lead {
  margin: 0;
  color: var(--theme-text-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}
.sd-btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.75rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.sd-btn:hover {
  background-color: var(--theme-black);
  color: var(--theme-white);
}
.sd-btn--light {
  background-color: var(--theme-white);
  color: var(--theme-primary);
}
.sd-btn--light:hover {
  background-color: var(--theme-surface);
  color: var(--theme-black);
}
.sd-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--theme-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.sd-link:hover {
  color: var(--theme-black);
}
/* Estructuras globales del tema. */
.sandli-main {
  min-height: 55vh;
  padding-block: clamp(var(--wp--preset--spacing--48), 7vw, var(--wp--preset--spacing--96));
}
.wp-site-blocks > * + * {
  margin-block-start: 0;
}
.wp-block-post-content > .alignfull {
  margin-block: 0;
}
.sandli-main--flush {
  padding-block: 0;
  min-height: 0;
}
.sandli-main--flush > * {
  margin-block: 0;
}
/* Estructuras globales del tema. */
/* Cabecera (parte de plantilla con bloques nativos). */
.sandli-header {
  padding-block: 0;
  border-bottom: 1px solid var(--theme-surface);
}
.sandli-header__inner {
  min-height: 5.5rem;
  gap: 1.5rem;
}
.sandli-header .wp-block-site-logo {
  margin: 0;
}
.sandli-header .wp-block-site-logo img {
  display: block;
  width: auto;
  max-height: 3.25rem;
}
.sandli-header .wp-block-navigation {
  gap: 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.sandli-header .wp-block-navigation a {
  color: var(--theme-black);
  text-decoration: none;
}
.sandli-header .wp-block-navigation .wp-block-navigation-item:not(.sandli-header__cta) > a:hover {
  color: var(--theme-primary);
  text-decoration: underline;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 2px;
}
.sandli-header .wp-block-navigation .sandli-header__cta > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0 1.375rem;
  border-radius: 0.25rem;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font-weight: 600;
}
.sandli-header .wp-block-navigation .sandli-header__cta > a:hover {
  background-color: var(--theme-black);
  color: var(--theme-white);
}
/* Pie (parte de plantilla con bloques nativos). */
.sandli-footer {
  padding-block: 0;
}
.sandli-footer__top {
  gap: 3rem;
  padding-block: 4rem 3rem;
}
.sandli-footer__brand {
  max-width: 21rem;
}
.sandli-footer__logo {
  margin: 0;
}
.sandli-footer__columns {
  gap: 4.5rem;
}
.sandli-footer__column {
  gap: 0.75rem;
  min-width: 9rem;
}
.sandli-footer__heading {
  margin: 0 0 0.5rem;
  color: var(--theme-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.sandli-footer .wp-block-navigation {
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.sandli-footer .wp-block-navigation .wp-block-navigation__container {
  gap: 0.75rem;
}
.sandli-footer .wp-block-navigation .wp-block-navigation-item__content {
  padding: 0;
}
.sandli-footer .wp-block-navigation a {
  color: var(--theme-surface);
  text-decoration: none;
}
.sandli-footer .wp-block-navigation a:hover {
  color: var(--theme-cyan);
}
.sandli-footer__link-row {
  margin: 0.25rem 0 0;
}
.sandli-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.375rem;
  color: var(--theme-cyan);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.sandli-footer__link:hover {
  color: var(--theme-white);
}
.sandli-footer__bottom {
  gap: 1rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sandli-footer__bottom > * {
  margin-block: 0;
}
.sandli-footer__copy,
.sandli-footer__legal {
  color: var(--theme-gray);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.sandli-footer__legal a {
  display: inline-block;
  padding-block: 0.375rem;
  color: var(--theme-gray);
  text-decoration: none;
}
.sandli-footer__legal a:hover {
  color: var(--theme-cyan);
  text-decoration: underline;
}
.sandli-footer__contact {
  flex: 0 1 18rem;
  max-width: 18rem;
}
.sandli-footer__contact p {
  margin: 0;
  color: var(--theme-surface);
  font-size: 0.875rem;
  line-height: 1.5;
}
.sandli-footer__contact p:empty {
  display: none;
}
.sandli-footer__contact p.sandli-footer__social {
  margin-top: 1.5rem;
}
.sandli-footer__contact a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--theme-surface);
  text-decoration: none;
}
.sandli-footer__contact a:hover {
  color: var(--theme-cyan);
}
.sandli-footer__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sandli-footer__item::before {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background-color: var(--theme-cyan);
}
.sandli-footer__item--mail::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-footer__item--phone::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-footer__item--pin {
  align-items: flex-start;
}
.sandli-footer__item--pin::before {
  margin-top: 0.25rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 00-7 7c0 5.200 7 13 7 13s7-7.800 7-13a7 7 0 00-7-7zm0 9.500A2.500 2.500 0 1112 6.500a2.500 2.500 0 010 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 00-7 7c0 5.200 7 13 7 13s7-7.800 7-13a7 7 0 00-7-7zm0 9.500A2.500 2.500 0 1112 6.500a2.500 2.500 0 010 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.sandli-footer__social .sandli-social {
  display: inline-flex;
  padding: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  transition: background-color 160ms ease, color 160ms ease;
}
.sandli-footer__social .sandli-social:hover {
  background-color: var(--theme-white);
  color: var(--theme-primary);
}
.sandli-hero {
  padding-block: clamp(var(--wp--preset--spacing--64), 8vw, var(--wp--preset--spacing--96));
}
.sandli-entry__meta {
  color: var(--theme-black);
}
.sandli-entry__content > :first-child {
  margin-block-start: 0;
}
.sandli-comments {
  margin-top: var(--wp--preset--spacing--64);
}
.sandli-comments textarea {
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Cabecera fija (sticky) y menú móvil hasta 991 px. */
[id] {
  scroll-margin-top: 6rem;
}
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: calc(var(--sandli-topbar-h) * -1);
  z-index: 100;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: calc(32px - var(--sandli-topbar-h));
}
@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: calc(46px - var(--sandli-topbar-h));
  }
}
.wp-site-blocks > header.wp-block-template-part {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-site-blocks > header.wp-block-template-part.is-header-hidden {
  transform: translateY(-100%);
}
.sandli-header {
  position: relative;
  isolation: isolate;
  transition: box-shadow 240ms ease;
}
.sandli-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--theme-white);
  transition: background-color 240ms ease;
  pointer-events: none;
}
.sandli-header .sandli-header__inner {
  transition: min-height 240ms ease;
}
.sandli-header .wp-block-site-logo img {
  transition: max-height 240ms ease;
}
.is-header-scrolled .sandli-header {
  box-shadow: 0 0.5rem 1.75rem -0.75rem rgba(24, 33, 47, 0.35);
}
.is-header-scrolled .sandli-header::before {
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.is-header-scrolled .sandli-header .sandli-header__inner {
  min-height: 4.25rem;
}
.is-header-scrolled .sandli-header .wp-block-site-logo img {
  max-height: 2.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .wp-site-blocks > header.wp-block-template-part,
  .sandli-header,
  .sandli-header .sandli-header__inner,
  .sandli-header .wp-block-site-logo img {
    transition: none;
  }
}
@media (min-width: 600px) and (max-width: 991.98px) {
  .sandli-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .sandli-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open {
  padding: 1.25rem 1.5rem 2rem;
  background-color: var(--theme-white);
  color: var(--theme-black);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  top: 1.25rem;
  right: 1.5rem;
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme-surface);
  border-radius: 0.375rem;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 4.5rem;
  align-items: stretch;
  text-align: left;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  align-items: stretch;
  border-bottom: 1px solid var(--theme-surface);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  display: block;
  text-align: left;
  padding-block: 1.125rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-header__cta {
  margin-top: 1.5rem;
  border-bottom: 0;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-header__cta > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.25rem;
  justify-content: center;
  padding-block: 0;
  font-size: 1rem;
  letter-spacing: 0;
}
/* Ficha de servicio: columna lateral y contenido. */
.sandli-service {
  max-width: var(--theme-container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  margin-block: 0;
}
.sandli-service__aside {
  position: sticky;
  top: 7rem;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sandli-service__aside > * {
  margin-block: 0;
}
.sandli-service__body > * + * {
  margin-top: 1.5rem;
}
.sandli-service__body h2 {
  margin-top: 2.5rem;
}
.sandli-service__body .sd-eyebrow + h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.625rem, 2.4vw, 2rem);
}
.sandli-service__body p {
  color: var(--theme-text-2);
  line-height: 1.7;
}
@media (max-width: 781px) {
  .sandli-service__aside {
    position: static;
  }
}
/* Acordeón nativo (bloque Detalles) con la estética de las preguntas frecuentes. */
.wp-block-details {
  border-top: 1px solid var(--theme-gray);
  margin-block: 0;
}
.wp-block-details:last-of-type {
  border-bottom: 1px solid var(--theme-gray);
}
.wp-block-details summary {
  padding-block: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.wp-block-details summary:hover {
  color: var(--theme-primary);
}
.wp-block-details > :not(summary) {
  margin-bottom: 1.25rem;
}
/* Barra superior oscura de la cabecera: contacto y redes (datos de Opciones Sandli). */
:root {
  --sandli-topbar-h: 3rem;
}
.sandli-topbar {
  height: var(--sandli-topbar-h);
  padding-block: 0;
  font-size: 0.8125rem;
}
.sandli-topbar__inner {
  height: 100%;
  gap: 1.5rem;
}
.sandli-topbar__contact {
  gap: 1.5rem;
}
.sandli-topbar p {
  margin: 0;
}
.sandli-topbar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}
.sandli-topbar__item::before {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  background-color: var(--theme-cyan);
}
.sandli-topbar__item--phone::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-topbar__item--email::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-topbar__item a {
  display: inline-block;
  padding-block: 0.625rem;
  color: var(--theme-white);
  text-decoration: none;
}
.sandli-topbar__item a:hover {
  color: var(--theme-cyan);
}
.sandli-topbar__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sandli-topbar__social:empty {
  display: none;
}
.sandli-topbar__social .sandli-social {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  transition: background-color 160ms ease, color 160ms ease;
}
.sandli-topbar__social .sandli-social:hover {
  background-color: var(--theme-white);
  color: var(--theme-primary);
}
@media (max-width: 560px) {
  .sandli-topbar__item--email {
    display: none;
  }
}
.sandli-social {
  display: inline-flex;
  width: 2rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--theme-white);
}
.sandli-social::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  transition: background-color 160ms ease;
}
.sandli-social:hover {
  color: var(--theme-cyan);
}
.sandli-social--facebook::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M13.500 21v-8h2.700l.4-3.200h-3.100V7.800c0-.9.300-1.500 1.600-1.500h1.600V3.400c-.3 0-1.200-.1-2.300-.1-2.300 0-3.900 1.400-3.900 4v2.500H7.800V13h2.700v8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M13.500 21v-8h2.700l.4-3.200h-3.100V7.800c0-.9.300-1.500 1.600-1.500h1.600V3.400c-.3 0-1.200-.1-2.300-.1-2.300 0-3.900 1.400-3.900 4v2.500H7.800V13h2.700v8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--instagram::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8 2.500h8A5.500 5.500 0 0121.500 8v8a5.500 5.500 0 01-5.500 5.500H8A5.500 5.500 0 012.500 16V8A5.500 5.500 0 018 2.500zm0 2A3.500 3.500 0 004.500 8v8A3.500 3.500 0 008 19.500h8a3.500 3.500 0 003.500-3.500V8A3.500 3.500 0 0016 4.500zM12 7.500a4.500 4.500 0 110 9 4.500 4.500 0 010-9zm0 2a2.500 2.500 0 100 5 2.500 2.500 0 000-5zm5.300-3.200a1.100 1.100 0 110 2.200 1.100 1.100 0 010-2.200z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8 2.500h8A5.500 5.500 0 0121.500 8v8a5.500 5.500 0 01-5.500 5.500H8A5.500 5.500 0 012.500 16V8A5.500 5.500 0 018 2.500zm0 2A3.500 3.500 0 004.500 8v8A3.500 3.500 0 008 19.500h8a3.500 3.500 0 003.500-3.500V8A3.500 3.500 0 0016 4.500zM12 7.500a4.500 4.500 0 110 9 4.500 4.500 0 010-9zm0 2a2.500 2.500 0 100 5 2.500 2.500 0 000-5zm5.300-3.200a1.100 1.100 0 110 2.200 1.100 1.100 0 010-2.200z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--linkedin::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4.500 9h3.600v11H4.500zM6.300 3.500a2.100 2.100 0 110 4.200 2.100 2.100 0 010-4.200zM10 9h3.400v1.500c.5-.9 1.700-1.800 3.500-1.800 3.600 0 4.100 2.400 4.100 5.400V20h-3.600v-5.200c0-1.300 0-2.900-1.800-2.900s-2 1.400-2 2.800V20H10z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4.500 9h3.600v11H4.500zM6.300 3.500a2.100 2.100 0 110 4.200 2.100 2.100 0 010-4.200zM10 9h3.400v1.500c.5-.9 1.700-1.800 3.500-1.800 3.600 0 4.100 2.400 4.100 5.400V20h-3.600v-5.200c0-1.300 0-2.900-1.800-2.900s-2 1.400-2 2.800V20H10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--youtube::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M21.600 7.200a2.500 2.500 0 00-1.800-1.800C18.200 5 12 5 12 5s-6.200 0-7.800.4A2.500 2.500 0 002.400 7.200C2 8.800 2 12 2 12s0 3.200.4 4.800a2.500 2.500 0 001.800 1.800C5.800 19 12 19 12 19s6.200 0 7.800-.4a2.500 2.500 0 001.800-1.800C22 15.200 22 12 22 12s0-3.200-.4-4.800zM10 15V9l5.200 3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M21.600 7.200a2.500 2.500 0 00-1.800-1.800C18.200 5 12 5 12 5s-6.200 0-7.800.4A2.500 2.500 0 002.400 7.200C2 8.800 2 12 2 12s0 3.200.4 4.800a2.500 2.500 0 001.800 1.800C5.800 19 12 19 12 19s6.200 0 7.800-.4a2.500 2.500 0 001.800-1.800C22 15.200 22 12 22 12s0-3.200-.4-4.800zM10 15V9l5.200 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--x::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M17.800 3h3l-6.600 7.500L22 21h-6l-4.700-6.100L5.900 21h-3l7-8L2.500 3h6.200l4.200 5.600zm-1.100 16.200h1.700L7.700 4.700H5.900z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M17.800 3h3l-6.600 7.500L22 21h-6l-4.700-6.100L5.900 21h-3l7-8L2.500 3h6.200l4.200 5.600zm-1.100 16.200h1.700L7.700 4.700H5.900z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--tiktok::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M16.500 3h-3v11.500a2.500 2.500 0 11-2.500-2.500c.3 0 .5 0 .8.1V9a5.600 5.600 0 105.700 5.500V8.800c1 .8 2.200 1.200 3.500 1.200V7c-2.200 0-4.500-1.800-4.500-4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M16.500 3h-3v11.500a2.500 2.500 0 11-2.500-2.500c.3 0 .5 0 .8.1V9a5.600 5.600 0 105.700 5.500V8.800c1 .8 2.200 1.200 3.500 1.200V7c-2.200 0-4.500-1.800-4.500-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--pinterest::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 00-3.600 19.300c-.1-.8-.2-2 0-2.900l1.200-5s-.3-.6-.3-1.500c0-1.400.8-2.400 1.800-2.400.9 0 1.300.6 1.300 1.400 0 .9-.5 2.100-.8 3.300-.2 1 .5 1.800 1.500 1.800 1.800 0 3.200-1.900 3.200-4.600 0-2.400-1.700-4.100-4.200-4.100a4.300 4.300 0 00-4.500 4.300c0 .9.300 1.800.8 2.300.1.1.1.2.1.300l-.3 1.100c0 .2-.1.200-.3.100-1.200-.6-2-2.400-2-3.900 0-3.100 2.300-6 6.500-6 3.400 0 6 2.400 6 5.600 0 3.400-2.100 6-5.100 6-1 0-1.900-.5-2.200-1.100l-.6 2.300c-.2.800-.8 1.800-1.200 2.400A10 10 0 0012 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 00-3.600 19.300c-.1-.8-.2-2 0-2.900l1.200-5s-.3-.6-.3-1.500c0-1.400.8-2.400 1.800-2.400.9 0 1.300.6 1.300 1.400 0 .9-.5 2.100-.8 3.300-.2 1 .5 1.800 1.500 1.800 1.800 0 3.200-1.900 3.200-4.600 0-2.400-1.700-4.100-4.200-4.100a4.300 4.300 0 00-4.500 4.300c0 .9.300 1.800.8 2.300.1.1.1.2.1.300l-.3 1.100c0 .2-.1.200-.3.100-1.200-.6-2-2.400-2-3.900 0-3.100 2.300-6 6.500-6 3.400 0 6 2.400 6 5.600 0 3.400-2.100 6-5.100 6-1 0-1.900-.5-2.200-1.100l-.6 2.300c-.2.800-.8 1.800-1.200 2.400A10 10 0 0012 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-social--threads::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12.200 2.500c-5 0-8.200 3.400-8.200 9.500s3.200 9.500 8.200 9.500c4.200 0 7-2.100 7-5.100 0-2-1.100-3.400-3-4.100-.2-2.300-1.500-3.700-3.800-3.700-1.400 0-2.600.6-3.300 1.600l1.500 1c.4-.6 1-.9 1.800-.9 1.100 0 1.700.6 1.900 1.700a8 8 0 00-1.800-.2c-2.200 0-3.700 1.100-3.700 2.800s1.400 2.900 3.300 2.900c1.600 0 2.800-.7 3.400-2 .5.300.8.800.8 1.500 0 1.600-1.800 2.800-4.300 2.800-3.700 0-5.900-2.500-5.900-7.200s2.200-7.200 5.900-7.200c2.500 0 4.200 1 5 3l1.800-.7c-1-2.700-3.300-4.200-6.800-4.200zm.2 9.300c.6 0 1.200.1 1.700.2-.1 1.400-1 2.100-2.100 2.100-.8 0-1.300-.4-1.300-1s.6-1.300 1.700-1.300z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12.200 2.500c-5 0-8.200 3.400-8.200 9.500s3.200 9.500 8.200 9.500c4.200 0 7-2.100 7-5.100 0-2-1.100-3.400-3-4.100-.2-2.300-1.500-3.700-3.800-3.700-1.400 0-2.600.6-3.300 1.600l1.500 1c.4-.6 1-.9 1.800-.9 1.100 0 1.700.6 1.900 1.700a8 8 0 00-1.800-.2c-2.200 0-3.700 1.100-3.700 2.800s1.400 2.900 3.300 2.900c1.600 0 2.800-.7 3.400-2 .5.300.8.800.8 1.500 0 1.600-1.800 2.800-4.300 2.800-3.700 0-5.900-2.500-5.900-7.200s2.200-7.200 5.900-7.200c2.500 0 4.200 1 5 3l1.800-.7c-1-2.700-3.300-4.200-6.800-4.200zm.2 9.300c.6 0 1.200.1 1.700.2-.1 1.400-1 2.100-2.100 2.100-.8 0-1.300-.4-1.300-1s.6-1.300 1.700-1.300z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 991.98px) {
  :root {
    --sandli-topbar-h: 0px;
  }
  .sandli-topbar {
    display: none;
  }
}
.sandli-menu-contact {
  display: none;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--theme-surface);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact p {
  margin: 0;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item::before {
  content: "";
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  background-color: var(--theme-primary);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item--phone::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5h2.8l1.4 4.1-1.9 1.5a11.200 11.200 0 005.500 5.500l1.500-1.900 4.100 1.400v2.800a2.600 2.600 0 01-2.800 2.600A16.600 16.600 0 013.900 5.300 2.600 2.600 0 016.600 2.500z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item--email::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.500h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1v-11a1 1 0 011-1zm1.600 2.100v.3l7.400 5.100 7.400-5.100v-.3H4.600z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item a {
  display: inline-block;
  padding-block: 0.75rem;
  color: var(--theme-black);
  text-decoration: none;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__item a:hover {
  color: var(--theme-primary);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__social .sandli-social {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--theme-surface);
  border-radius: 50%;
  color: var(--theme-black);
}
.sandli-header .wp-block-navigation__responsive-container.is-menu-open .sandli-menu-contact__social .sandli-social:hover {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}
/* Objetivos táctiles de al menos 44 px. */
.sd-link,
.sd-contact__direct {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}
.sandli-header .wp-block-navigation__responsive-container-open {
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}
/* Ideas (blog): tarjetas del listado, guía y «Sigue explorando». */
.sandli-guide__inner {
  max-width: 47.5rem;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2rem);
}
.sandli-guide__content > h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.sandli-guide__content > ul,
.sandli-guide__content > ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--theme-text-2);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.sandli-guide__content a {
  color: var(--theme-primary);
}
.sandli-guide__content > p {
  margin: 0 0 1rem;
  color: var(--theme-text-2);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.sandli-guide__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 2.25rem;
  border: 1px solid var(--theme-surface);
  border-left: 4px solid var(--theme-primary);
  border-radius: 0.25rem 0.75rem 0.75rem 0.25rem;
  background-color: var(--theme-soft);
}
.sandli-guide__cta > * {
  margin-block: 0;
}
.sandli-guide__cta-title {
  font-size: 1.375rem;
}
.sandli-guide__cta-text {
  color: var(--theme-text-2);
}
/* Dato pendiente de los textos legales (shortcode sandli_dato). */
.sd-pending {
  padding: 0.0625rem 0.375rem;
  border-radius: 0.25rem;
  background-color: #fff3cd;
  color: #7a5a00;
  font-weight: 600;
}
