html {
  scroll-behavior: smooth;
}

/* BODY CONFIGURATION*/

html,
body,
.site,
.site-main,
.content-area,
#primary,
.entry,
.entry-content {
  background: transparent !important;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
  color: var(--text);
  background:
    var(--bg) !important;
  overflow-x: hidden;
}



/* HEADINGS CONFIGURATION*/
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--text) !important;
	font-family: "Inter Tight", Inter, system-ui, sans-serif;
	letter-spacing: -0.04em;
}

/* TEXT CONFIGURATION */
p,
li,
span {
	color: var(--muted) !important;
}

.entry-content,
.wp-block-group,
.wp-block-columns,
.wp-block-column {
	color: var(--text);
}

.has-background,
.wp-block-group.has-background {
	color: var(--text);
}

.wp-block-button__link:hover{
   transform: translateY(-2px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--secondary) 22%, transparent);
}

/* Ocultar cabecera automática de Kadence en páginas legales */
body.page-slug-politica-de-privacidad .entry-hero,
body.page-slug-aviso-legal .entry-hero,
body.page-slug-politica-de-cookies .entry-hero,
body.page-slug-politica-de-privacidad .page-hero-section,
body.page-slug-aviso-legal .page-hero-section,
body.page-slug-politica-de-cookies .page-hero-section,
body.page-slug-politica-de-privacidad .entry-header,
body.page-slug-aviso-legal .entry-header,
body.page-slug-politica-de-cookies .entry-header {
  display: none !important;
}

/* ESTILOS Y EFECTOS PARA TODOS LOS TÍTULOS Y SUBTÍTULOS */

.an-section h2 {
  color: var(--text);
  opacity: 0;
  animation: opacity-fade-in 1s ease-in forwards;
}

.an-section--subtitle {
  color: var(--muted);
  opacity: 0;
  animation: opacity-fade-in 1s ease-in 0.15s forwards;
}



.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;

  color: var(--primary)!important;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}