/* ==========================================================================
   TBM AD – styles.css
   Índice
   01. Variables y base
   02. Utilidades y accesibilidad
   03. Botones
   04. Encabezado y navegación
   05. Hero
   06. Cinta (marquee)
   07. Secciones: cabeceras y tipografía
   08. Servicios y paneles
   09. Parallax / declaración
   10. Trabajos
   11. Proceso
   12. Nosotros y clientes
   13. FAQ
   14. Contacto y formulario
   15. Pie de página
   16. Páginas internas
   17. Animaciones (keyframes y scroll-driven)
   18. Responsive
   19. Movimiento reducido
   ========================================================================== */

/* 01. Variables y base
   ========================================================================== */
:root {
	--tbm-orange: var(--wp--preset--color--naranja);
	--tbm-orange-dark: var(--wp--preset--color--naranja-oscuro);
	--tbm-black: var(--wp--preset--color--negro);
	--tbm-coal: var(--wp--preset--color--carbon);
	--tbm-grey: var(--wp--preset--color--gris);
	--tbm-smoke: var(--wp--preset--color--humo);
	--tbm-white: var(--wp--preset--color--blanco);
	--tbm-gutter: clamp(1.25rem, 4vw, 3rem);
	--tbm-section-y: clamp(4.5rem, 3rem + 7vw, 9.5rem);
	--tbm-radius: 28px;
	--tbm-radius-sm: 16px;
	--tbm-shadow: 0 18px 50px -20px rgba(11, 11, 12, 0.28);
	--tbm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

html,
.wp-site-blocks {
	overflow-x: clip;
}

body {
	-webkit-font-smoothing: antialiased;
}

/* Tipografía: Archivo (títulos, ancho variable) + Instrument Sans (texto) */
h1,
h2,
h3 {
	font-stretch: 88%;
	font-optical-sizing: auto;
	text-wrap: balance;
}

.tbm-hero__title,
.tbm-statement__title,
.tbm-brand__name {
	font-stretch: 70%;
	font-weight: 900;
}

.tbm-eyebrow,
.tbm-card__tag,
.tbm-panel__kicker,
.tbm-clients__label,
.tbm-footer__title,
.tbm-work__cat {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: 112%;
}

.tbm-marquee__item,
.tbm-badge__num,
.tbm-step__num {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: 75%;
	font-weight: 900;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.tbm-main > * {
	margin-block: 0;
}

.tbm-main figure,
.tbm-main .wp-block-image {
	margin: 0;
}

.tbm-main p,
.tbm-main h1,
.tbm-main h2,
.tbm-main h3 {
	margin-block: 0;
}

.tbm-main img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 02. Utilidades y accesibilidad
   ========================================================================== */
:focus-visible {
	outline: 3px solid var(--tbm-orange);
	outline-offset: 3px;
}

.tbm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.1rem !important;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tbm-orange-dark);
}

.tbm-eyebrow::before {
	content: "";
	width: 2.2rem;
	height: 2px;
	background: currentcolor;
}

.tbm-section--dark .tbm-eyebrow,
.tbm-hero .tbm-eyebrow,
.tbm-parallax .tbm-eyebrow {
	color: var(--tbm-orange);
}

/* 03. Botones
   ========================================================================== */
.tbm-btn .wp-block-button__link,
button.tbm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.9rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.35s var(--tbm-ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--tbm-ease);
}

.tbm-btn--solid .wp-block-button__link,
button.tbm-btn--solid {
	background: var(--tbm-orange);
	color: var(--tbm-black);
	box-shadow: 0 12px 30px -12px rgba(241, 90, 34, 0.75);
}

.tbm-btn--solid .wp-block-button__link:hover,
button.tbm-btn--solid:hover {
	background: var(--tbm-white);
	color: var(--tbm-black);
	transform: translateY(-3px);
	box-shadow: 0 18px 36px -14px rgba(241, 90, 34, 0.8);
}

.tbm-btn--ghost .wp-block-button__link {
	background: transparent;
	color: var(--tbm-white);
	border-color: rgba(255, 255, 255, 0.45);
}

.tbm-btn--ghost .wp-block-button__link:hover {
	border-color: var(--tbm-orange);
	color: var(--tbm-orange);
	transform: translateY(-3px);
}

.tbm-btn--dark .wp-block-button__link {
	background: var(--tbm-black);
	color: var(--tbm-white);
}

.tbm-btn--dark .wp-block-button__link:hover {
	background: var(--tbm-orange);
	color: var(--tbm-black);
	transform: translateY(-3px);
}

/* 04. Encabezado y navegación
   ========================================================================== */
.tbm-site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--tbm-white);
}

.admin-bar .tbm-site-header {
	top: 32px;
}

.tbm-header {
	padding: 0.9rem var(--tbm-gutter);
	background: rgba(11, 11, 12, 0);
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
}

.tbm-header__bar {
	max-width: 1240px;
	margin-inline: auto !important;
	gap: 1.5rem;
}

.tbm-logo,
.tbm-logo a {
	display: block;
	line-height: 0;
}

.tbm-logo img {
	width: clamp(96px, 9vw, 124px);
	height: auto;
}

.tbm-nav {
	margin-inline-start: auto;
	font-size: 0.92rem;
	font-weight: 700;
}

.tbm-nav .wp-block-navigation-item__content {
	position: relative;
	padding: 0.4rem 0.2rem;
	color: var(--tbm-white);
	text-decoration: none;
}

.tbm-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	background: var(--tbm-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--tbm-ease);
}

.tbm-nav .wp-block-navigation-item__content:hover::after,
.tbm-nav .wp-block-navigation-item__content:focus-visible::after {
	transform: scaleX(1);
}

.tbm-nav .wp-block-navigation__responsive-container-open,
.tbm-nav .wp-block-navigation__responsive-container-close {
	color: var(--tbm-white);
}

.tbm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--tbm-black);
	color: var(--tbm-white);
	padding: 2rem var(--tbm-gutter);
}

.tbm-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
}

.tbm-header__cta {
	flex-shrink: 0;
}

/* 05. Hero
   ========================================================================== */
.tbm-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: 8rem var(--tbm-gutter) 5rem;
	overflow: hidden;
	background: var(--wp--preset--gradient--noche);
	color: var(--tbm-white);
	isolation: isolate;
}

.tbm-hero .tbm-orb {
	position: absolute;
	z-index: -1;
	max-width: none;
	margin: 0;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
}

.tbm-orb--1 {
	top: -12%;
	right: -8%;
	width: min(60vw, 720px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(241, 90, 34, 0.85), rgba(241, 90, 34, 0) 68%);
	animation: tbm-drift 14s ease-in-out infinite alternate;
}

.tbm-orb--2 {
	bottom: -18%;
	left: -10%;
	width: min(50vw, 600px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(255, 138, 76, 0.4), rgba(255, 138, 76, 0) 68%);
	animation: tbm-drift 18s ease-in-out infinite alternate-reverse;
}

.tbm-hero .tbm-grid-lines {
	position: absolute;
	inset: 0;
	z-index: -1;
	max-width: none;
	margin: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}

.tbm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	width: 100%;
	max-width: 1240px !important;
}

.tbm-hero__title {
	font-size: calc(var(--wp--preset--font-size--xxl) * 1.18);
	line-height: 0.95;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	animation: tbm-rise 1s var(--tbm-ease) 0.15s both;
}

.tbm-hero__title strong {
	color: var(--tbm-orange);
	font-weight: inherit;
}

.tbm-hero__title em {
	font-style: normal;
	color: transparent;
	-webkit-text-stroke: 2px var(--tbm-white);
}

.tbm-hero .tbm-eyebrow {
	animation: tbm-rise 0.9s var(--tbm-ease) both;
}

.tbm-hero__lead {
	max-width: 36rem;
	margin-top: 1.6rem !important;
	font-size: var(--wp--preset--font-size--media);
	color: rgba(255, 255, 255, 0.78);
	animation: tbm-rise 1s var(--tbm-ease) 0.35s both;
}

.tbm-hero__lead strong {
	color: var(--tbm-white);
}

.tbm-hero__actions {
	margin-top: 2.2rem !important;
	gap: 1rem;
	animation: tbm-rise 1s var(--tbm-ease) 0.5s both;
}

.tbm-hero__tags {
	margin-top: 2.4rem !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	animation: tbm-rise 1s var(--tbm-ease) 0.65s both;
}

.tbm-hero__visual {
	position: relative;
	min-height: clamp(380px, 46vw, 620px);
}

.tbm-float {
	position: absolute;
	margin: 0;
	border-radius: var(--tbm-radius);
	overflow: hidden;
	box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform 0.6s var(--tbm-ease);
}

.tbm-float img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbm-float--1 {
	top: 0;
	right: 4%;
	width: 58%;
	aspect-ratio: 3 / 4;
	transform: rotate(4deg);
	animation: tbm-bob 7s ease-in-out infinite alternate;
}

.tbm-float--2 {
	bottom: 4%;
	left: 0;
	width: 52%;
	aspect-ratio: 4 / 5;
	transform: rotate(-5deg);
	animation: tbm-bob 9s ease-in-out -3s infinite alternate;
}

.tbm-float--3 {
	right: 0;
	bottom: -2%;
	width: 40%;
	aspect-ratio: 1;
	transform: rotate(7deg);
	animation: tbm-bob 8s ease-in-out -5s infinite alternate;
}

.tbm-float:hover {
	z-index: 3;
	transform: rotate(0deg) scale(1.05);
}

.tbm-badge {
	position: absolute;
	top: 46%;
	left: 38%;
	z-index: 2;
	display: grid;
	place-content: center;
	width: clamp(96px, 11vw, 140px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--tbm-orange);
	color: var(--tbm-black);
	text-align: center;
	box-shadow: 0 20px 40px -12px rgba(241, 90, 34, 0.7);
}

.tbm-badge::before {
	content: "";
	position: absolute;
	inset: -10px;
	border: 2px dashed rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	animation: tbm-spin 18s linear infinite;
}

.tbm-badge__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 900;
	line-height: 1;
}

.tbm-badge__txt {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.tbm-scroll {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	transform: translateX(-50%);
}

.tbm-scroll__txt {
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.tbm-scroll__line {
	position: relative;
	width: 2px;
	height: 46px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.2);
}

.tbm-scroll__line::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 40%;
	background: var(--tbm-orange);
	animation: tbm-scrolldot 1.8s ease-in-out infinite;
}

/* 06. Cinta (marquee)
   ========================================================================== */
.tbm-marquee {
	position: relative;
	z-index: 2;
	overflow: hidden;
	padding-block: 1.1rem;
	background: var(--tbm-orange);
	color: var(--tbm-black);
	transform: rotate(-1.2deg) scale(1.04);
	margin-block: -1.2rem;
	box-shadow: 0 20px 40px -20px rgba(241, 90, 34, 0.6);
}

.tbm-marquee__track {
	display: flex;
	width: max-content;
	animation: tbm-marquee 38s linear infinite;
}

.tbm-marquee:hover .tbm-marquee__track {
	animation-play-state: paused;
}

.tbm-marquee__item {
	margin: 0;
	padding-right: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.1rem, 1rem + 1.2vw, 2rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* 07. Secciones: cabeceras y tipografía
   ========================================================================== */
.tbm-section {
	padding: var(--tbm-section-y) var(--tbm-gutter);
}

.tbm-section--light {
	background: var(--tbm-smoke);
}

.tbm-section--white {
	background: var(--tbm-white);
}

.tbm-section--dark {
	background: var(--tbm-black);
	color: var(--tbm-white);
}

.tbm-head {
	max-width: 1240px !important;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
}

.tbm-title {
	max-width: 17em;
	font-size: var(--wp--preset--font-size--xl);
	letter-spacing: -0.03em;
}

.tbm-title strong,
.tbm-statement__title strong {
	color: var(--tbm-orange);
	font-weight: inherit;
}

.tbm-title--light {
	color: var(--tbm-white);
}

.tbm-lead {
	margin-top: 1.3rem !important;
	max-width: 40rem;
	font-size: var(--wp--preset--font-size--media);
	color: #4a4a4f;
}

.tbm-lead--light {
	color: rgba(255, 255, 255, 0.75);
}

/* 08. Servicios
   ========================================================================== */
.tbm-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1240px !important;
}

.tbm-cards--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.tbm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 2.2rem 2rem 2rem;
	overflow: hidden;
	border: 1px solid rgba(11, 11, 12, 0.08);
	border-radius: var(--tbm-radius);
	background: var(--tbm-white);
	box-shadow: 0 1px 0 rgba(11, 11, 12, 0.04);
	transition: transform 0.5s var(--tbm-ease), box-shadow 0.5s var(--tbm-ease), background-color 0.4s, color 0.4s;
}

.tbm-card::before {
	content: "";
	position: absolute;
	inset: auto -30% -60% auto;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(241, 90, 34, 0.35), transparent 65%);
	transform: scale(0.4);
	opacity: 0;
	transition: transform 0.6s var(--tbm-ease), opacity 0.6s;
}

.tbm-card:hover {
	transform: translateY(-10px);
	background: var(--tbm-black);
	color: var(--tbm-white);
	box-shadow: var(--tbm-shadow);
}

.tbm-card:hover::before {
	transform: scale(1);
	opacity: 1;
}

.tbm-card__tag {
	display: inline-block;
	align-self: flex-start;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: rgba(241, 90, 34, 0.12);
	color: var(--tbm-orange-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.4s, color 0.4s;
}

.tbm-card:hover .tbm-card__tag {
	background: var(--tbm-orange);
	color: var(--tbm-black);
}

.tbm-card__title {
	font-size: 1.55rem;
	letter-spacing: -0.02em;
}

.tbm-card__text {
	color: #55555a;
	font-size: 0.98rem;
}

.tbm-card:hover .tbm-card__text {
	color: rgba(255, 255, 255, 0.75);
}

.tbm-card__list {
	margin: auto 0 0 !important;
	padding: 1rem 0 0 !important;
	list-style: none;
	border-top: 1px solid rgba(11, 11, 12, 0.1);
	font-size: 0.9rem;
	font-weight: 600;
}

.tbm-card:hover .tbm-card__list {
	border-color: rgba(255, 255, 255, 0.18);
}

.tbm-card__list li {
	position: relative;
	padding-left: 1.4rem;
	margin-top: 0.4rem;
}

.tbm-card__list li::before {
	content: "";
	position: absolute;
	top: 0.6em;
	left: 0;
	width: 0.7rem;
	height: 2px;
	background: var(--tbm-orange);
}

/* Paneles de servicios (apilados al hacer scroll) */
.tbm-panels {
	display: grid;
	gap: 1.5rem;
	max-width: 1240px !important;
}

.tbm-panel {
	--pc: var(--tbm-black);
	--pa: var(--tbm-black);
	position: sticky;
	top: 5.5rem;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(1rem, 3vw, 3rem);
	min-height: min(74vh, 640px);
	padding: clamp(1.5rem, 3vw, 3rem);
	overflow: hidden;
	border-radius: 36px;
	color: var(--pc);
	box-shadow: 0 30px 70px -30px rgba(11, 11, 12, 0.5);
}

.tbm-panel--red {
	--pc: #fff;
	--pa: #fff;
	background: #e95757;
}

.tbm-panel--blue {
	--pc: #0b5a73;
	--pa: #06425a;
	background: #93cad3;
}

.tbm-panel--yellow {
	--pc: #231a05;
	--pa: #231a05;
	background: #c89217;
}

.tbm-panel--purple {
	--pc: #3b2472;
	--pa: #2b1856;
	background: #cfc0e7;
}

.tbm-panel--teal {
	--pc: #053f3e;
	--pa: #032e2d;
	background: #37dfdd;
}

.tbm-panel__media {
	align-self: stretch;
	margin: 0;
}

.tbm-panel__media img {
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: cover;
	-webkit-mask-image: radial-gradient(ellipse at 45% 50%, #000 52%, transparent 78%);
	mask-image: radial-gradient(ellipse at 45% 50%, #000 52%, transparent 78%);
	transition: transform 1s var(--tbm-ease);
}

.tbm-panel:hover .tbm-panel__media img {
	transform: scale(1.05) rotate(-1deg);
}

.tbm-panel__kicker {
	margin-bottom: 0.6rem !important;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.85;
}

.tbm-panel__title {
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
	letter-spacing: -0.04em;
	margin-bottom: 1rem !important;
}

.tbm-panel__title strong {
	font-weight: inherit;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.12em;
}

.tbm-panel__text {
	max-width: 34rem;
	font-size: var(--wp--preset--font-size--media);
	margin-bottom: 1rem !important;
}

.tbm-panel__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	font-size: 1rem;
}

.tbm-panel__list li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.4rem;
	border-top: 1px solid currentcolor;
	border-top-color: rgba(11, 11, 12, 0.14);
}

.tbm-panel--red .tbm-panel__list li {
	border-top-color: rgba(255, 255, 255, 0.35);
}

.tbm-panel__list li::before {
	content: "";
	position: absolute;
	top: 1.05em;
	left: 0;
	width: 0.7rem;
	height: 2px;
	background: currentcolor;
}

.tbm-panel__list strong {
	color: var(--pa);
}

.tbm-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.4rem;
}

.tbm-pill--tool {
	padding: 0.6rem 1.2rem;
	border-color: currentcolor;
	font-size: 0.95rem;
}

.tbm-pill--tool:hover {
	background: var(--pc);
	color: #fff;
}

/* 09. Parallax / declaración
   ========================================================================== */
.tbm-parallax {
	position: relative;
	padding: clamp(6rem, 4rem + 10vw, 13rem) var(--tbm-gutter);
	color: var(--tbm-white);
	background-color: var(--tbm-black);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.tbm-parallax--night {
	background-image: linear-gradient(180deg, rgba(11, 11, 12, 0.78), rgba(11, 11, 12, 0.6) 50%, rgba(11, 11, 12, 0.85)), url("assets/images/night.webp");
}

.tbm-parallax--pour {
	background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.93), rgba(11, 11, 12, 0.7)), url("assets/images/pour.webp");
}

.tbm-statement {
	max-width: 1240px !important;
}

.tbm-statement__title {
	max-width: 15em;
	font-size: calc(var(--wp--preset--font-size--xl) * 1.1);
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.tbm-statement .wp-block-buttons {
	margin-top: 2.2rem;
}

/* 10. Trabajos
   ========================================================================== */
.tbm-works {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: clamp(250px, 27vw, 380px);
	gap: 1.25rem;
	max-width: 1240px !important;
}

.tbm-work {
	position: relative;
	grid-column: span 4;
	overflow: hidden;
	border-radius: var(--tbm-radius);
	background: var(--tbm-coal);
	isolation: isolate;
}

.tbm-work--wide {
	grid-column: span 8;
}

.tbm-work .wp-block-image,
.tbm-work .tbm-work__img {
	position: absolute;
	inset: 0;
	margin: 0;
}

.tbm-work .tbm-work__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 1.2s var(--tbm-ease), filter 0.6s;
}

.tbm-work:hover .tbm-work__img img {
	transform: scale(1.09);
}

.tbm-work__cap {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	padding: 4rem 1.6rem 1.5rem;
	background: linear-gradient(180deg, transparent, rgba(11, 11, 12, 0.88));
	transform: translateY(0.9rem);
	transition: transform 0.6s var(--tbm-ease);
}

.tbm-work:hover .tbm-work__cap {
	transform: translateY(0);
}

.tbm-work__cat {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tbm-orange);
}

.tbm-work__name {
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
	color: var(--tbm-white);
}

/* Marcas en redes sociales */
.tbm-brands-head {
	max-width: 1240px !important;
	margin: clamp(3rem, 6vw, 5rem) auto 1.5rem !important;
}

.tbm-brands-head .tbm-eyebrow {
	margin-bottom: 0.4rem !important;
}

.tbm-brands-head .tbm-lead {
	margin-top: 0.4rem !important;
}

.tbm-brands {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 1240px !important;
}

.tbm-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.6rem;
	min-height: clamp(320px, 30vw, 420px);
	padding: 1.7rem;
	overflow: hidden;
	border-radius: var(--tbm-radius);
	color: var(--tbm-white);
	isolation: isolate;
	transition: transform 0.5s var(--tbm-ease), box-shadow 0.5s var(--tbm-ease);
}

.tbm-brand::before {
	content: "@";
	position: absolute;
	top: -0.18em;
	right: -0.06em;
	z-index: -1;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(11rem, 18vw, 17rem);
	font-weight: 900;
	line-height: 1;
	opacity: 0.16;
	transition: transform 0.8s var(--tbm-ease);
}

.tbm-brand:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px -30px rgba(241, 90, 34, 0.6);
}

.tbm-brand:hover::before {
	transform: rotate(-8deg) scale(1.08);
}

.tbm-brand--master {
	background: linear-gradient(150deg, #f15a22, #a8330a);
}

.tbm-brand--milanesa {
	background: linear-gradient(150deg, #26262b, #0b0b0c);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.tbm-brand--queso {
	background: linear-gradient(150deg, #f6c453, #e58a12);
	color: var(--tbm-black);
}

.tbm-brand--sabai {
	background: linear-gradient(150deg, #3a1a10, #0b0b0c 70%);
	border: 1px solid rgba(241, 90, 34, 0.45);
}

.tbm-brand__cat {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: 112%;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.8;
}

.tbm-brand__name {
	font-size: clamp(1.8rem, 1rem + 1.7vw, 2.6rem);
	overflow-wrap: anywhere;
	line-height: 0.95;
	text-transform: uppercase;
}

.tbm-brand__handle {
	font-weight: 700;
	opacity: 0.85;
}

.tbm-brand .wp-block-buttons {
	margin-top: 0.6rem;
}

.tbm-brand .wp-block-button__link {
	background: var(--tbm-white);
	color: var(--tbm-black);
	padding: 0.7rem 1.3rem;
	font-size: 0.88rem;
}

.tbm-brand .wp-block-button__link:hover {
	background: var(--tbm-orange);
}

.tbm-brand--milanesa .wp-block-button__link,
.tbm-brand--sabai .wp-block-button__link {
	background: var(--tbm-orange);
}

.tbm-brand--queso .wp-block-button__link {
	background: var(--tbm-black);
	color: var(--tbm-white);
}

/* 11. Proceso
   ========================================================================== */
.tbm-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	max-width: 1240px !important;
}

.tbm-steps::before {
	content: "";
	position: absolute;
	top: 1.9rem;
	left: 0;
	right: 0;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--tbm-grey) 0 10px, transparent 10px 20px);
}

.tbm-step {
	position: relative;
	padding-top: 0.2rem;
}

.tbm-step__num {
	display: grid;
	place-content: center;
	width: 3.8rem;
	height: 3.8rem;
	margin-bottom: 1.4rem !important;
	border-radius: 50%;
	background: var(--tbm-black);
	color: var(--tbm-orange);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.2rem;
	font-weight: 900;
	position: relative;
	transition: transform 0.5s var(--tbm-ease), background-color 0.3s, color 0.3s;
}

.tbm-step:hover .tbm-step__num {
	transform: scale(1.12) rotate(-6deg);
	background: var(--tbm-orange);
	color: var(--tbm-black);
}

.tbm-step__title {
	font-size: 1.5rem;
	margin-bottom: 0.6rem !important;
}

.tbm-step__text {
	color: #55555a;
}

/* 12. Nosotros y clientes
   ========================================================================== */
.tbm-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 6vw, 6rem);
	max-width: 1240px !important;
}

.tbm-about .wp-block-buttons {
	margin-top: 2rem;
}

.tbm-values {
	display: grid;
	gap: 1.1rem;
}

.tbm-value {
	padding: 1.7rem 1.8rem;
	border-left: 5px solid var(--tbm-orange);
	border-radius: 0 var(--tbm-radius-sm) var(--tbm-radius-sm) 0;
	background: var(--tbm-white);
	box-shadow: var(--tbm-shadow);
	transition: transform 0.45s var(--tbm-ease);
}

.tbm-value:hover {
	transform: translateX(10px);
}

.tbm-value__title {
	margin-bottom: 0.35rem !important;
	font-size: 1.3rem;
}

.tbm-value__text {
	color: #55555a;
	font-size: 0.97rem;
}

.tbm-clients {
	max-width: 1240px !important;
	margin-top: clamp(3rem, 6vw, 5.5rem) !important;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(11, 11, 12, 0.12);
}

.tbm-clients__label {
	margin-bottom: 1.2rem !important;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #6b6b70;
}

.tbm-clients__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.tbm-pill {
	margin: 0;
	padding: 0.6rem 1.2rem;
	font-size: 0.92rem;
	border: 1.5px solid var(--tbm-black);
	border-radius: 999px;
	font-weight: 800;
	transition: background-color 0.3s, color 0.3s, transform 0.4s var(--tbm-ease);
}

.tbm-pill:hover {
	background: var(--tbm-black);
	color: var(--tbm-white);
	transform: translateY(-4px) rotate(-2deg);
}

/* 13. FAQ
   ========================================================================== */
.tbm-section--faq .tbm-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 6vw, 6rem);
	max-width: 1240px !important;
}

.tbm-section--faq .tbm-head {
	margin-bottom: 0 !important;
}

.tbm-faq__item {
	margin: 0 0 0.9rem;
	padding: 1.3rem 1.6rem;
	border: 1px solid rgba(11, 11, 12, 0.1);
	border-radius: var(--tbm-radius-sm);
	background: var(--tbm-smoke);
	transition: background-color 0.3s, border-color 0.3s;
}

.tbm-faq__item[open] {
	background: var(--tbm-white);
	border-color: var(--tbm-orange);
	box-shadow: var(--tbm-shadow);
}

.tbm-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	font-weight: 800;
	font-size: 1.08rem;
	list-style: none;
}

.tbm-faq__item summary::-webkit-details-marker {
	display: none;
}

.tbm-faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	display: grid;
	place-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--tbm-black);
	color: var(--tbm-white);
	font-size: 1.3rem;
	line-height: 1;
	transition: transform 0.4s var(--tbm-ease), background-color 0.3s;
}

.tbm-faq__item[open] summary::after {
	transform: rotate(135deg);
	background: var(--tbm-orange);
	color: var(--tbm-black);
}

.tbm-faq__item p {
	margin: 0.9rem 0 0;
	color: #55555a;
}

/* 14. Contacto y formulario
   ========================================================================== */
.tbm-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
	max-width: 1240px !important;
}

.tbm-contact__line {
	margin-top: 1.4rem !important;
	color: rgba(255, 255, 255, 0.85);
}

.tbm-contact__line + .tbm-contact__line {
	margin-top: 0.4rem !important;
}

.tbm-contact__line--small {
	margin-top: 1rem !important;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.6);
}

.tbm-contact a,
.tbm-footer a {
	color: var(--tbm-orange);
	text-decoration: none;
}

.tbm-contact a:hover,
.tbm-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tbm-contact__card {
	padding: clamp(1.5rem, 3vw, 2.8rem);
	border-radius: var(--tbm-radius);
	background: var(--tbm-white);
	color: var(--tbm-black);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.tbm-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.tbm-form__field {
	margin: 0 0 1rem;
}

.tbm-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.tbm-form input[type="text"],
.tbm-form input[type="email"],
.tbm-form input[type="tel"],
.tbm-form select,
.tbm-form textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1.5px solid #d6d6da;
	border-radius: 14px;
	background: var(--tbm-smoke);
	color: var(--tbm-black);
	font: inherit;
	transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.tbm-form textarea {
	resize: vertical;
	min-height: 8rem;
}

.tbm-form input:focus,
.tbm-form select:focus,
.tbm-form textarea:focus {
	outline: none;
	border-color: var(--tbm-orange);
	background: var(--tbm-white);
	box-shadow: 0 0 0 4px rgba(241, 90, 34, 0.18);
}

.tbm-form__submit {
	margin: 0.4rem 0 0;
}

.tbm-form__submit .tbm-btn {
	width: 100%;
}

.tbm-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tbm-form__notice {
	margin: 0 0 1.2rem;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.95rem;
}

.tbm-form__notice--ok {
	background: #e6f6ea;
	color: #14532d;
}

.tbm-form__notice--invalid,
.tbm-form__notice--error {
	background: #fdeaea;
	color: #7f1d1d;
}

/* 15. Pie de página
   ========================================================================== */
.tbm-footer {
	padding: clamp(3.5rem, 6vw, 6rem) var(--tbm-gutter) 1.8rem;
	background: var(--tbm-black);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.97rem;
}

.tbm-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	max-width: 1240px !important;
	padding-bottom: 3rem;
}

.tbm-footer__text {
	margin: 0 0 0.9rem;
}

.tbm-footer__title {
	margin-bottom: 1.1rem;
	font-size: 0.8rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tbm-white);
}

.tbm-logo--footer img {
	width: 150px;
	margin-bottom: 1.3rem;
}

.tbm-social {
	margin-top: 1.4rem;
	gap: 0.6rem;
}

.tbm-social .wp-social-link {
	padding: 0.55em;
	border-radius: 50%;
	color: var(--tbm-white);
	background: rgba(255, 255, 255, 0.08) !important;
	transition: background-color 0.3s, transform 0.4s var(--tbm-ease);
}

.tbm-social .wp-social-link:hover {
	background: var(--tbm-orange) !important;
	transform: translateY(-4px);
}

.tbm-footer__bottom {
	max-width: 1240px !important;
	padding-top: 1.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}

.tbm-footer__legal {
	margin: 0;
}

/* 16. Páginas internas
   ========================================================================== */
.tbm-main--inner {
	padding: 9rem var(--tbm-gutter) 5rem;
	min-height: 70vh;
}

.tbm-main--inner .tbm-page {
	max-width: 54rem;
	margin-inline: auto;
}

.tbm-404 {
	text-align: center;
}

.tbm-404 .tbm-lead {
	margin-inline: auto;
}

.tbm-404 .wp-block-buttons {
	justify-content: center;
	margin-top: 2rem;
}

/* 17. Animaciones (keyframes y scroll-driven)
   ========================================================================== */
@keyframes tbm-rise {
	from {
		opacity: 0;
		transform: translateY(36px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes tbm-bob {
	to {
		translate: 0 -18px;
	}
}

@keyframes tbm-drift {
	to {
		transform: translate(5%, 8%) scale(1.12);
	}
}

@keyframes tbm-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes tbm-marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes tbm-scrolldot {
	from {
		transform: translateY(-110%);
	}

	to {
		transform: translateY(260%);
	}
}

@supports (animation-timeline: view()) {
	.tbm-reveal {
		animation: tbm-reveal linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 55%;
	}

	.tbm-cards .tbm-card:nth-child(3n + 2),
	.tbm-works .tbm-work:nth-child(even) {
		animation-range: entry 8% entry 62%;
	}

	.tbm-cards .tbm-card:nth-child(3n),
	.tbm-values .tbm-value:nth-child(3) {
		animation-range: entry 16% entry 70%;
	}

	.tbm-site-header .tbm-header {
		animation: tbm-header linear both;
		animation-timeline: scroll(root);
		animation-range: 0 220px;
	}

	.tbm-hero__visual {
		animation: tbm-par-a linear both;
		animation-timeline: scroll(root);
		animation-range: 0 100vh;
	}

	.tbm-orb--1 {
		animation: tbm-drift 14s ease-in-out infinite alternate, tbm-par-c linear both;
		animation-timeline: auto, scroll(root);
		animation-range: normal, 0 100vh;
	}

	@keyframes tbm-reveal {
		from {
			opacity: 0;
			translate: 0 60px;
			scale: 0.97;
		}

		to {
			opacity: 1;
			translate: 0 0;
			scale: 1;
		}
	}

	@keyframes tbm-header {
		to {
			background: rgba(11, 11, 12, 0.82);
			-webkit-backdrop-filter: blur(14px);
			backdrop-filter: blur(14px);
			box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
		}
	}

	@keyframes tbm-par-a {
		to {
			translate: 0 -90px;
		}
	}

	@keyframes tbm-par-c {
		to {
			translate: 0 180px;
		}
	}
}

/* 18. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.tbm-brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbm-cards,
	.tbm-cards--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbm-hero__grid {
		grid-template-columns: 1fr;
	}

	.tbm-hero__visual {
		min-height: 420px;
		max-width: 560px;
		width: 100%;
		margin-inline: auto;
	}

	.tbm-hero {
		align-items: flex-start;
		padding-top: 7.5rem;
	}

	.tbm-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbm-steps::before {
		display: none;
	}

	.tbm-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.tbm-panel {
		position: relative;
		top: auto;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.tbm-panel__media img {
		max-height: 300px;
	}

	.tbm-header__cta {
		display: none;
	}

	.tbm-about,
	.tbm-section--faq .tbm-faq,
	.tbm-contact__grid {
		grid-template-columns: 1fr;
	}

	.tbm-works {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbm-work,
	.tbm-work--wide {
		grid-column: span 1;
	}

	.tbm-work--wide {
		grid-column: span 2;
	}

	.admin-bar .tbm-site-header {
		top: 46px;
	}

	/* iOS y táctiles: el fondo fijo no es fiable, se usa fondo normal */
	.tbm-parallax {
		background-attachment: scroll;
	}
}

@media (max-width: 600px) {
	.tbm-brands,
	.tbm-cards,
	.tbm-cards--four,
	.tbm-steps,
	.tbm-works,
	.tbm-form__row,
	.tbm-footer__grid {
		grid-template-columns: 1fr;
	}

	.tbm-work--wide {
		grid-column: span 1;
	}

	.tbm-hero__title {
		font-size: clamp(3rem, 15vw, 4.4rem);
	}

	.tbm-hero__actions .wp-block-button,
	.tbm-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.tbm-hero__visual {
		min-height: 340px;
	}

	.tbm-scroll {
		display: none;
	}

	.tbm-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

@media (hover: none) {
	.tbm-parallax {
		background-attachment: scroll;
	}

	.tbm-work__cap {
		transform: none;
	}
}

/* 19. Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.tbm-parallax {
		background-attachment: scroll;
	}

	.tbm-marquee__track {
		flex-wrap: wrap;
		width: auto;
	}
}
