/* =========================================================
   inlab — base de marca.
   TODO el color y la tipografía salen de tokens.css
   (única fuente de verdad, derivada del Manual de Identidad).
   Aquí no se define ningún HEX ni familia tipográfica.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

/* Texto solo para lectores de pantalla (accesibilidad). */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: var(--fw-semibold);
	line-height: 1.2;
	color: var(--color-text);
	margin: 0 0 .5em;
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }    /* Poppins Bold (manual pág. 8) */
h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); }  /* Poppins Medium (manual pág. 8) */

p { margin: 0 0 1rem; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

/* Contenedores */
.container,
.site-header__inner,
.site-footer__inner,
.hero__content {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--color-surface); background: var(--color-bg); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1rem;
}
.site-logo { display: inline-flex; line-height: 0; }
.site-logo img { height: 25px; width: auto; min-width: 120px; display: block; }

.site-nav__list {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	font-family: var(--font-head);
	font-weight: var(--fw-medium);
}
.site-nav__list a { color: var(--color-text); }
.site-nav__list a:hover { color: var(--color-accent); }

/* ---------- Barra roja vertical (firma de sección) ---------- */
.inlab-bar { position: relative; padding-left: 1rem; }
.inlab-bar::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	bottom: .15em;
	width: var(--bar-accent);
	background: var(--color-accent);
}

/* ---------- Botones / CTA ---------- */
.button, .btn,
button, input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: var(--fw-medium);
	font-size: var(--fs-body);
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	padding: .85em 1.5em;
	border: none;
	border-radius: var(--radius);
	background: var(--color-accent);
	color: var(--color-on-accent);
	transition: background .15s ease;
}
.button:hover, .btn:hover,
button:hover, input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--color-accent-hover);
	color: var(--color-on-accent);
}

/* ---------- WooCommerce: CTAs y "añadir al carrito" en rojo de marca ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border: none;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-weight: var(--fw-medium);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--color-accent-hover);
	color: var(--color-on-accent);
}

/* ---------- Hero (placeholder; el 3D llega en la fase siguiente) ---------- */
.hero {
	position: relative;
	min-height: 60vh;
	display: grid;
	place-items: center;
	text-align: center;
	overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; }   /* aquí irá el canvas 3D */
.hero__content { position: relative; }
.hero__title { font-size: var(--fs-h1); margin: 0 0 .25em; }
.hero__subtitle { margin: 0; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-text); color: var(--color-bg); margin-top: var(--space-section); }
.site-footer__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: clamp(2.5rem, 5vw, 4rem) 1.5rem 2rem;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 2rem;
}
.site-footer__logo { display: inline-flex; line-height: 0; }
.site-footer__logo img { height: 20px; width: auto; display: block; }
.site-footer__tagline {
	font-family: var(--font-head);
	font-weight: var(--fw-medium);
	font-size: 1.125rem;
	margin: 1rem 0 .25rem;
	color: var(--color-bg);
}
.site-footer__note { margin: 0; color: var(--color-bg); opacity: .65; font-size: var(--fs-small); }
.site-footer__heading {
	font-family: var(--font-head);
	font-weight: var(--fw-medium);
	font-size: .95rem;
	letter-spacing: .03em;
	margin: 0 0 .85rem;
	color: var(--color-bg);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__list a { color: var(--color-bg); opacity: .85; }
.site-footer__list a:hover { color: var(--color-accent); opacity: 1; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 1.25rem 1.5rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: var(--fs-small);
	color: var(--color-bg);
	opacity: .7;
}
@media (max-width: 780px) {
	.site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
}
