:root {
	--imv-navy-950: #090f22;
	--imv-navy-900: #10172d;
	--imv-navy-700: #25304d;
	--imv-gold-500: #c99b45;
	--imv-gold-400: #d9b66e;
	--imv-ink: #12182a;
	--imv-muted: #697084;
	--imv-paper: #f4f3ef;
	--imv-white: #fff;
	--imv-line: #e3e4e8;
	--imv-success: #197a55;
	--imv-error: #b42318;
	--imv-font-display: "Fira Sans", Arial, Helvetica, sans-serif;
	--imv-font-body: "Fira Sans", Arial, Helvetica, sans-serif;
	--imv-container: 1200px;
	--imv-gutter: clamp(1rem, 3vw, 2.5rem);
	--imv-section: clamp(4rem, 8vw, 8rem);
	--imv-radius: 24px;
	--imv-transition: 180ms cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--imv-ink); background: var(--imv-white); font-family: var(--imv-font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, h4, p { margin-block-start: 0; }
h1, h2, h3, h4 { font-family: var(--imv-font-display); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.2vw, 4.8rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.85rem, 3vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.65rem); letter-spacing: -.02em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--imv-gold-500); outline-offset: 4px; }
.container { width: min(100% - (2 * var(--imv-gutter)), var(--imv-container)); margin-inline: auto; }
.section { padding-block: var(--imv-section); }
.content-layout { max-width: 1200px; }
.entry-content { width: 100%; }
.entry-content > * { width: 100%; max-width: 1200px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--imv-container); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content img { border-radius: var(--imv-radius); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; z-index: 100000; top: 1rem; left: 1rem; width: auto; height: auto; padding: .8rem 1rem; clip: auto; background: #fff; color: #000; }
.skip-link { z-index: 100001; }
.eyebrow { margin-bottom: 1rem; color: var(--imv-gold-500); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: var(--imv-gold-400); }
.section-lead { max-width: 720px; color: var(--imv-muted); font-size: 1.1rem; }
.imv-icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 800; line-height: 1; text-decoration: none; transition: transform var(--imv-transition), background var(--imv-transition), color var(--imv-transition), border-color var(--imv-transition); }
.button:hover { transform: translateY(-2px); }
.button--gold { color: #fff; background: var(--imv-gold-500); }
.button--gold:hover { background: var(--imv-gold-400); }
.button--outline { border-color: var(--imv-line); color: var(--imv-ink); background: transparent; }
.button--ghost { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; }
.button--dark { color: #fff; background: var(--imv-navy-950); }
.button--small { min-height: 42px; padding: .65rem 1rem; font-size: .82rem; }
.button--block { width: 100%; }
.button-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--imv-gold-500); font-weight: 800; text-decoration: none; }
.text-link .imv-icon { transition: transform var(--imv-transition); }
.text-link:hover .imv-icon { transform: translateX(4px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 3rem; color: rgba(255,255,255,.48); font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: .65rem; }
.breadcrumbs a { text-decoration: none; }
.post-list { display: grid; gap: 1.5rem; }
.post-card { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 1.5rem; padding: 1.25rem; border: 1px solid var(--imv-line); border-radius: var(--imv-radius); }
.post-card__media img { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; }
.post-card time { color: var(--imv-muted); font-size: .8rem; }
.post-card h2 { margin: .5rem 0; font-size: 1.6rem; }
.post-card h2 a { text-decoration: none; }
.error-page { display: grid; min-height: 70vh; place-items: center; padding-block: var(--imv-section); text-align: center; }
.error-page__code { margin: 0; color: var(--imv-gold-500); font: 800 clamp(5rem, 15vw, 12rem)/.8 var(--imv-font-display); }
.error-page .button-group { justify-content: center; }
.honeypot { position: absolute !important; left: -10000px !important; }

@media (max-width: 700px) {
	.post-card { grid-template-columns: 1fr; }
	.section-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Dos capas de un mismo problema con las fotos de las tarjetas.
   1) Imagify envuelve el <img> en un <picture> y le pasa a este la clase del
      theme, así que el <img> interior se queda sin reglas de tamaño.
   2) Elementor carga después del theme y aplica `.elementor img{height:auto}`,
      que empata en especificidad (0,1,1) con un selector simple y gana por
      orden. Por eso la foto tomaba su alto natural y solo cubría la franja
      superior de la tarjeta.
   Se prefija con la clase del contenedor para subir a (0,2,1) y ganar. */
.specialty-card .specialty-card__image > img,
.specialty-card > img.specialty-card__image,
.product-card .product-card__media img,
.post-card .post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

picture > img {
	max-width: 100%;
}
