/**
 * Tinkuy Consultores — frontend styles.
 * Design tokens come from theme.json. This file holds what theme.json cannot express.
 *
 * @package Tinkuy
 */

/* ==========================================================================
   00. Base & accessibility
   ========================================================================== */

/*
 * Los hijos raíz del documento (header / main / footer) no deben llevar margen
 * vertical: el blockGap de la raíz generaba franjas blancas entre el header y el
 * hero, y entre el contenido y el footer. El ritmo vertical lo aportan las
 * secciones internas con su propio padding.
 */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .wp-block-group {
	margin-block-start: 0;
	margin-block-end: 0;
}

/*
 * Al navegar a un ancla con el header fijo, el destino no debe quedar tapado.
 * `scroll-padding-top` vive en el contenedor de scroll, así que cubre cualquier
 * ancla (incluidas las que el cliente añada) sin tocar CSS. Altura del header
 * = 5rem + aire.
 */
html {
	scroll-padding-top: 5.5rem;
}

.tinkuy-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--primary);
	color: #fff;
	border-radius: 0 0 8px 0;
	font-weight: 700;
	text-decoration: none;
}

.tinkuy-skip-link:focus {
	left: 0;
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--tertiary-dark);
	outline-offset: 2px;
}

img {
	height: auto;
	max-width: 100%;
}

/* ==========================================================================
   01. Site header
   ========================================================================== */

/*
 * El sticky vive en el contenedor de la parte (header.wp-block-template-part),
 * no en .tinkuy-header: un elemento pegajoso solo se desplaza dentro de su
 * contenedor, y .tinkuy-header vive dentro de un contenedor de su misma altura
 * (sin recorrido). Ver docs/design-review-report.md C1.
 */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

/* Con la barra de administración visible, el header queda por debajo. */
.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.tinkuy-header {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--card-border);
	box-shadow: 0 1px 2px 0 rgba(15, 49, 86, 0.04);
}

.tinkuy-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 5rem;
}

.tinkuy-brand {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	flex-shrink: 0;
}

/*
 * Logo de marca: bloque Imagen reemplazable por el cliente (Reemplazar → Media
 * Library). El SVG del tema es el valor de fábrica mientras no suba el suyo.
 */
.tinkuy-brand__logo {
	margin: 0;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.tinkuy-brand__logo img {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 6px;
	box-shadow: 0 4px 10px -2px rgba(22, 62, 107, 0.35);
}

.tinkuy-brand:hover .tinkuy-brand__logo {
	transform: scale(1.05);
}

.tinkuy-brand__text {
	display: flex;
	flex-direction: column;
}

.tinkuy-brand__name {
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.tinkuy-brand__tagline {
	margin-top: 0.25rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(22, 62, 107, 0.7);
}

.tinkuy-header .wp-block-navigation {
	flex: 1 1 auto;
}

/*
 * Objetivo de toque del menú (WCAG 2.5.8 AA): el enlace necesita ≥24px de alto.
 * El padding vertical solo expande la caja si el enlace no es inline.
 */
.tinkuy-header .wp-block-navigation-item__content {
	display: inline-block;
	padding-block: 0.5rem;
}

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

/* ==========================================================================
   01b. Hero estándar (estructura única para las 5 páginas)
   ========================================================================== */

.tinkuy-hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 36.25rem;
	padding-block: 3rem 3.5rem;
}

/* Decoración: círculos concéntricos al 5% de blanco */
.tinkuy-hero__circle {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 9999px;
	pointer-events: none;
}

.tinkuy-hero__circle--a {
	left: -5rem;
	bottom: -5rem;
	width: 24rem;
	height: 24rem;
}

.tinkuy-hero__circle--b {
	left: 33%;
	top: -8rem;
	width: 31.25rem;
	height: 31.25rem;
}

.tinkuy-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.tinkuy-hero :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.tinkuy-hero__title {
	max-width: 34rem;
	margin: 0 0 1.25rem;
	font-size: clamp(1.875rem, 4.2vw, 2.875rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.tinkuy-hero__accent {
	color: var(--wp--preset--color--tertiary);
}

.tinkuy-hero__lead {
	max-width: 42rem;
	margin: 0 0 2rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(226, 232, 240, 0.95);
}

.tinkuy-hero__bars {
	margin-top: 2rem;
}

.tinkuy-hero .wp-block-button__link {
	box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tinkuy-hero .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -8px rgba(0, 0, 0, 0.45);
}

.tinkuy-hero__media {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
}

.tinkuy-hero__image {
	margin: 0;
}

.tinkuy-hero__image img {
	display: block;
	width: 100%;
	height: 14rem;
	object-fit: cover;
	border-radius: 0;
}

/* Velo degradado inferior */
.tinkuy-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 49, 86, 0.9) 0%, rgba(15, 49, 86, 0.2) 45%, transparent 100%);
	pointer-events: none;
}

@media (min-width: 640px) {
	.tinkuy-hero__image img {
		height: 27.5rem;
	}
}

@media (min-width: 1024px) {
	.tinkuy-hero {
		min-height: 40rem;
		padding-block: 4rem;
	}

	.tinkuy-hero__media {
		border-radius: 0;
		clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
		border-left: 4px solid rgba(44, 199, 201, 0.3);
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
	}

	.tinkuy-hero__image img {
		height: 30rem;
	}

	.tinkuy-hero__media::after {
		background: linear-gradient(to top, rgba(15, 49, 86, 0.7) 0%, transparent 55%);
	}
}

/* ==========================================================================
   02. Signature motifs
   ========================================================================== */

.tinkuy-dual-bar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tinkuy-dual-bar::before {
	content: "";
	width: 32px;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--secondary);
}

.tinkuy-dual-bar::after {
	content: "";
	width: 16px;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--tertiary);
}

.tinkuy-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.tinkuy-arrow-link::after {
	content: "\2192";
	display: inline-block;
	transition: transform 0.2s ease;
}

.tinkuy-arrow-link:hover::after {
	transform: translateX(4px);
}

/* ==========================================================================
   02b. Sections & service cards
   ========================================================================== */

.tinkuy-section {
	padding-block: 5rem;
}

.tinkuy-section__header {
	gap: 1.5rem;
	padding-bottom: 0.5rem;
	margin-bottom: 3.5rem;
	border-bottom: 1px solid var(--wp--preset--color--card-border);
}

.tinkuy-accent-bar {
	display: inline-block;
	width: 3rem;
	height: 4px;
	border-radius: 9999px;
	background: var(--wp--preset--color--secondary);
}

.tinkuy-section__intro {
	max-width: 28rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.7;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-service-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 8px;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tinkuy-service-card:hover {
	box-shadow: 0 20px 25px -5px rgba(22, 62, 107, 0.1);
	border-color: rgba(44, 199, 201, 0.5);
}

.tinkuy-service-card .tinkuy-icon,
.tinkuy-service-card__icon {
	display: flex;
	color: var(--wp--preset--color--primary);
	margin-bottom: 1.25rem;
	transition: color 0.3s ease;
}

.tinkuy-service-card:hover .tinkuy-icon,
.tinkuy-service-card:hover .tinkuy-service-card__icon {
	color: var(--wp--preset--color--tertiary);
}

.tinkuy-service-card .tinkuy-icon svg,
.tinkuy-service-card__icon svg {
	width: 1.875rem;
	height: 1.875rem;
}

.tinkuy-service-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	line-height: 1.3;
	color: #0f172a;
	transition: color 0.3s ease;
}

.tinkuy-service-card:hover .tinkuy-service-card__title {
	color: var(--wp--preset--color--primary);
}

.tinkuy-service-card__text {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--wp--preset--color--foreground-muted);
}

/*
 * Enlace de la card de servicio (mismo tratamiento que las cards A/B:
 * texto con flecha, sin fondo). Se ancla al fondo del cuerpo.
 */
.tinkuy-service-card .wp-block-buttons {
	margin-top: auto;
	padding-top: 1.5rem;
}

.tinkuy-service-card .wp-block-button.is-style-link-arrow .wp-block-button__link {
	/* WCAG 2.5.8 (AA): el enlace suelto debe medir ≥24px de alto. */
	padding-block: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wp--preset--color--tertiary-strong);
	background: transparent;
}

.tinkuy-service-card .wp-block-button.is-style-link-arrow .wp-block-button__link:hover {
	color: var(--wp--preset--color--primary);
	background: transparent;
}

/* ==========================================================================
   02c. Pillars, projects & CTA band
   ========================================================================== */

.tinkuy-section--surface {
	background-color: var(--wp--preset--color--surface);
	border-block: 1px solid rgba(217, 226, 234, 0.6);
}

.tinkuy-why__headline {
	gap: 1rem;
	margin-bottom: 3rem;
}

.tinkuy-accent-bar--wide {
	width: 4rem;
	height: 6px;
}

.tinkuy-pillar .tinkuy-icon,
.tinkuy-pillar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tinkuy-pillar .tinkuy-icon svg,
.tinkuy-pillar__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tinkuy-pillar__title {
	margin: 0;
	font-size: 1.125rem;
	color: #0f172a;
}

.tinkuy-pillar__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-project-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 49, 86, 0.04);
	transition: box-shadow 0.3s ease;
}

.tinkuy-project-card:hover {
	box-shadow: 0 10px 15px -3px rgba(22, 62, 107, 0.12);
}

.tinkuy-project-card__image {
	overflow: hidden;
	margin: 0;
}

.tinkuy-project-card__image img {
	width: 100%;
	height: 14rem;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.5s ease;
}

.tinkuy-project-card:hover .tinkuy-project-card__image img {
	transform: scale(1.05);
}

.tinkuy-project-card__body {
	padding: 1.5rem;
	border-top: 1px solid #f1f5f9;
}

.tinkuy-project-card__title {
	margin: 0;
	font-size: 1.125rem;
}

.tinkuy-project-card__meta {
	margin: 0.125rem 0 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--foreground-subtle);
}

.tinkuy-project-card__arrow {
	display: inline-flex;
	color: var(--wp--preset--color--tertiary);
	transition: transform 0.2s ease;
}

.tinkuy-project-card:hover .tinkuy-project-card__arrow {
	transform: translateX(6px);
}

.tinkuy-project-card__arrow svg {
	width: 1.125rem;
	height: 1.125rem;
}

.tinkuy-cta {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--surface);
}

.tinkuy-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("../images/proyectos-cordillera.jpg");
	background-size: cover;
	background-position: center;
	opacity: 0.18;
	filter: blur(1px);
}

.tinkuy-cta > .wp-block-group {
	position: relative;
	z-index: 1;
}

.tinkuy-cta__title {
	font-size: 2rem;
	line-height: 1.15;
}

.tinkuy-cta__lead {
	max-width: 32rem;
	margin-bottom: 0;
	font-size: 1.0625rem;
	font-weight: 500;
	color: #334155;
}

.tinkuy-cta__hint {
	margin: 1.5rem 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-cta__contact {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.tinkuy-cta__contact--email {
	font-size: 0.9375rem;
}

.tinkuy-cta__contact:hover {
	color: var(--wp--preset--color--tertiary-dark);
}

.tinkuy-cta__contact .tinkuy-icon,
.tinkuy-cta__contact-icon {
	display: flex;
	color: var(--wp--preset--color--navy);
}

.tinkuy-cta__contact .tinkuy-icon svg,
.tinkuy-cta__contact-icon svg {
	width: 1.125rem;
	height: 1.125rem;
}

.tinkuy-rule {
	display: inline-block;
	width: 2rem;
	height: 4px;
	background: var(--wp--preset--color--secondary);
}

/* ==========================================================================
   02e. Services catalog & process
   ========================================================================== */

.tinkuy-catalog {
	background-color: #f9fafc;
}

.tinkuy-catalog__header {
	margin-bottom: 3rem;
}

.tinkuy-catalog__intro {
	max-width: 48rem;
	margin: 0;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-catalog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 49, 86, 0.05);
	transition: box-shadow 0.25s ease;
}

.tinkuy-catalog-card:hover {
	box-shadow: 0 10px 20px -6px rgba(22, 62, 107, 0.16);
}

.tinkuy-catalog-card__image {
	margin: 0;
	overflow: hidden;
}

.tinkuy-catalog-card__image img {
	width: 100%;
	height: 11rem;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.3s ease;
}

.tinkuy-catalog-card:hover .tinkuy-catalog-card__image img {
	transform: scale(1.05);
}

.tinkuy-catalog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.25rem;
	background: var(--wp--preset--color--base);
}

.tinkuy-catalog-card__body h3 {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.tinkuy-catalog-card:hover .tinkuy-catalog-card__body h3 {
	color: var(--wp--preset--color--secondary-hover);
}

.tinkuy-catalog-card__body p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.55;
	color: var(--wp--preset--color--foreground-muted);
}

/* La insignia es un párrafo con la clase .tinkuy-badge: recupera el aspecto de píldora. */
.tinkuy-catalog-card__body p.tinkuy-badge {
	display: inline-flex;
	align-self: flex-start;
	margin: 0;
	font-size: var(--wp--preset--font-size--eyebrow);
	line-height: 1.2;
}

/* El enlace (core/button link-arrow) se ancla al fondo del cuerpo de la card. */
.tinkuy-catalog-card__body .wp-block-buttons,
.tinkuy-project-card__body .wp-block-buttons {
	margin-top: auto;
	flex-shrink: 0;
}

.tinkuy-catalog-card__body .wp-block-button.is-style-link-arrow .wp-block-button__link,
.tinkuy-project-card__body .wp-block-button.is-style-link-arrow .wp-block-button__link {
	/* WCAG 2.5.8 (AA): el enlace suelto debe medir ≥24px de alto. */
	padding-block: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wp--preset--color--tertiary-strong);
	background: transparent;
}

.tinkuy-catalog-card__body .wp-block-button.is-style-link-arrow .wp-block-button__link:hover,
.tinkuy-project-card__body .wp-block-button.is-style-link-arrow .wp-block-button__link:hover {
	color: var(--wp--preset--color--primary);
	background: transparent;
}

/*
 * Fondo blanco, igual que la sección de valores: así el círculo neutro del
 * símbolo (surface #F5F7FA) se percibe igual en ambas secciones. Con el tinte
 * anterior el círculo se confundía con el fondo.
 */
.tinkuy-process {
	background-color: var(--wp--preset--color--base);
}

.tinkuy-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/*
 * Símbolo del paso: MISMO tratamiento que .tinkuy-value__icon
 * (círculo neutro, icono azul marino, sin anillo ni sombra) + hover idéntico.
 */
.tinkuy-step .tinkuy-icon,
.tinkuy-step__node {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 0.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	transition: background 0.3s ease, color 0.3s ease;
}

.tinkuy-step:hover .tinkuy-icon,
.tinkuy-step:hover .tinkuy-step__node {
	background: var(--wp--preset--color--navy);
	color: #fff;
}

.tinkuy-step .tinkuy-icon svg,
.tinkuy-step__node svg {
	width: 1.75rem;
	height: 1.75rem;
}

.tinkuy-step__title {
	margin: 0;
	font-size: 1rem;
}

.tinkuy-step__text {
	max-width: 12rem;
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--wp--preset--color--foreground-muted);
}

/* ==========================================================================
   02f. CTA banner band
   ========================================================================== */

.tinkuy-cta-banner {
	position: relative;
	overflow: hidden;
	padding-block: 3.5rem;
	color: #fff;
	background-color: var(--wp--preset--color--navy);
}

.tinkuy-cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../images/proyectos-cordillera.jpg");
	background-size: cover;
	background-position: center;
	opacity: 0.35;
}

.tinkuy-cta-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 46, 85, 0.88);
}

.tinkuy-cta-banner > .wp-block-group {
	position: relative;
	z-index: 1;
}

.tinkuy-cta-banner :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.tinkuy-cta-banner__inner {
	gap: 1.5rem;
}

.tinkuy-cta-banner h2 {
	margin: 0;
}

.tinkuy-cta-banner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   02h. Mission / vision & values
   ========================================================================== */

.tinkuy-mv {
	padding-block: 3rem;
}

.tinkuy-mv__card {
	padding: 2rem;
	background: rgba(245, 247, 250, 0.6);
	border: 1px solid #f1f5f9;
	border-radius: 8px;
	transition: box-shadow 0.25s ease;
}

.tinkuy-mv__card:hover {
	box-shadow: 0 10px 20px -6px rgba(22, 62, 107, 0.12);
}

.tinkuy-mv__card .tinkuy-icon,
.tinkuy-mv__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 4rem;
	height: 4rem;
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 9999px;
	color: var(--wp--preset--color--navy);
}

.tinkuy-mv__card .tinkuy-icon svg,
.tinkuy-mv__icon svg {
	width: 2rem;
	height: 2rem;
}

.tinkuy-mv__title {
	gap: 0.75rem;
}

.tinkuy-mv__title h3 {
	margin: 0;
	font-size: 1.25rem;
}

.tinkuy-mv__card p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-values {
	padding-block: 3rem 6rem;
}

/*
 * Dos filas centradas (3 + 2). Todos los ítems comparten EXACTAMENTE el mismo
 * ancho: un tercio del contenedor menos los dos huecos de 2rem. Así la fila de
 * dos queda centrada con el ancho de los de arriba.
 */
.tinkuy-values__row {
	display: flex;
	justify-content: center;
	gap: 2rem;
	align-items: stretch;
}

.tinkuy-values__row > .tinkuy-value {
	flex: 0 1 calc((100% - 4rem) / 3);
	min-width: 0;
}

@media (max-width: 900px) {
	.tinkuy-values__row {
		flex-direction: column;
		align-items: center;
	}

	.tinkuy-values__row > .tinkuy-value {
		flex: 0 1 auto;
		width: 100%;
		max-width: 22rem;
	}
}

.tinkuy-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tinkuy-value .tinkuy-icon,
.tinkuy-value__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 0.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	transition: background 0.3s ease, color 0.3s ease;
}

.tinkuy-value:hover .tinkuy-icon,
.tinkuy-value:hover .tinkuy-value__icon {
	background: var(--wp--preset--color--navy);
	color: #fff;
}

.tinkuy-value .tinkuy-icon svg,
.tinkuy-value__icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.tinkuy-value h3 {
	margin: 0;
	font-size: 1rem;
}

.tinkuy-value p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--wp--preset--color--foreground-muted);
}

/* ==========================================================================
   02i. Projects page grid & floating CTA
   ========================================================================== */

.tinkuy-projects-page {
	background-color: #f8fafc;
	border-block: 1px solid rgba(217, 226, 234, 0.5);
}

.tinkuy-accent-bar--thick {
	width: 4rem;
	height: 6px;
}

.tinkuy-cta-card-wrap {
	padding-block: 0 4rem;
}

.tinkuy-cta-card {
	position: relative;
	overflow: hidden;
	padding: 3rem;
	border-radius: 12px;
	background-color: var(--wp--preset--color--navy);
	color: #fff;
	box-shadow: 0 18px 40px -12px rgba(12, 35, 64, 0.45);
}

.tinkuy-cta-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../images/proyectos-cordillera.jpg");
	background-size: cover;
	background-position: center bottom;
	opacity: 0.22;
}

.tinkuy-cta-card > * {
	position: relative;
	z-index: 1;
}

.tinkuy-cta-card :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.tinkuy-cta-card__inner {
	gap: 2rem;
}

.tinkuy-cta-card h2 {
	margin: 0;
}

.tinkuy-cta-card p {
	max-width: 40rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   02j. Contact page
   ========================================================================== */

.tinkuy-contact__intro {
	margin-bottom: 2.5rem;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-contact__list {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

.tinkuy-contact__item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.tinkuy-contact__item .tinkuy-icon,
.tinkuy-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	box-shadow: 0 2px 6px -1px rgba(12, 35, 64, 0.25);
}

.tinkuy-contact__item .tinkuy-icon svg,
.tinkuy-contact__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tinkuy-contact__item a {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.tinkuy-contact__item a:hover {
	color: var(--wp--preset--color--tertiary-dark);
}

.tinkuy-contact__email {
	font-size: 1rem !important;
	word-break: break-word;
}

.tinkuy-contact__text {
	display: flex;
	flex-direction: column;
}

.tinkuy-contact__text strong {
	font-size: 1.125rem;
	color: var(--wp--preset--color--navy);
}

.tinkuy-contact__text small {
	font-size: 0.875rem;
	color: var(--wp--preset--color--foreground-subtle);
}

.tinkuy-contact__divider {
	display: block;
	width: 3.5rem;
	height: 4px;
	margin-bottom: 2rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--secondary);
}

.tinkuy-whatsapp-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem;
	border-radius: 8px;
	background: var(--wp--preset--color--tertiary);
	color: var(--wp--preset--color--deep-navy);
	text-decoration: none;
	box-shadow: 0 4px 12px -2px rgba(28, 161, 163, 0.4);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tinkuy-whatsapp-card:hover {
	background: var(--wp--preset--color--tertiary-dark);
	box-shadow: 0 8px 20px -4px rgba(28, 161, 163, 0.5);
}

.tinkuy-whatsapp-card .tinkuy-icon,
.tinkuy-whatsapp-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	background: transparent;
}

.tinkuy-whatsapp-card .tinkuy-icon svg,
.tinkuy-whatsapp-card__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.tinkuy-whatsapp-card__text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.tinkuy-whatsapp-card__text strong {
	font-size: 0.875rem;
	color: var(--wp--preset--color--deep-navy);
}

.tinkuy-whatsapp-card__text small {
	font-size: 0.75rem;
	color: rgba(12, 35, 64, 0.8);
}

.tinkuy-whatsapp-card__arrow svg {
	width: 1.25rem;
	height: 1.25rem;
	transition: transform 0.2s ease;
}

.tinkuy-whatsapp-card:hover .tinkuy-whatsapp-card__arrow svg {
	transform: translateX(4px);
}

.tinkuy-form-card {
	padding: 2.5rem;
	background: #f6f8fb;
	border: 1px solid rgba(217, 226, 234, 0.8);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 49, 86, 0.06);
}

.tinkuy-form-card h3 {
	margin: 0;
	font-size: 1.75rem;
}

.tinkuy-form-card p {
	margin: 0;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

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

.tinkuy-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.tinkuy-form__field label {
	font-size: 0.75rem;
	font-weight: 700;
	color: #334155;
}

.tinkuy-form__optional {
	font-weight: 400;
	color: var(--wp--preset--color--foreground-subtle);
}
.tinkuy-form__field input,
.tinkuy-form__field select,
.tinkuy-form__field textarea {
	width: 100%;
	padding: 0.625rem 0.875rem;
	font-family: inherit;
	font-size: 0.875rem;
	color: var(--wp--preset--color--foreground);
	background: var(--wp--preset--color--base);
	border: 1px solid #cbd5e1;
	border-radius: 4px;
}

.tinkuy-form__field textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.tinkuy-form__field input:focus,
.tinkuy-form__field select:focus,
.tinkuy-form__field textarea:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 0;
	border-color: var(--wp--preset--color--primary);
}

.tinkuy-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.tinkuy-form__consent input {
	margin-top: 0.2rem;
}

.tinkuy-form__consent label {
	font-size: 0.75rem;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-form__submit {
	padding-top: 0.5rem;
}

.tinkuy-form__submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.9rem 1.5rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: var(--wp--preset--color--navy);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.tinkuy-form__submit button:hover {
	background: var(--wp--preset--color--navy-hover);
}

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

.tinkuy-form__notice {
	margin: 0;
	padding: 0.875rem 1.25rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
}

.tinkuy-form__notice--ok {
	background: var(--wp--preset--color--tertiary-soft);
	color: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--tertiary);
}

.tinkuy-form__notice--error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.tinkuy-expertise {
	background: var(--wp--preset--color--surface);
	border-top: 1px solid #f1f5f9;
}

.tinkuy-expertise__header {
	max-width: 42rem;
	margin: 0 auto 3rem;
	text-align: center;
}

.tinkuy-expertise__header h2 {
	margin: 0;
}

.tinkuy-expertise__header p {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--foreground-muted);
}

.tinkuy-accent-bar--center {
	margin: 0 auto;
	display: block;
}

@media (max-width: 781px) {
	.tinkuy-form-card {
		padding: 1.5rem;
	}

	.tinkuy-form__row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   03. Cards
   ========================================================================== */

.wp-block-group.is-style-card-outline {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wp-block-group.is-style-card-outline:hover {
	box-shadow: 0 8px 24px -4px rgba(22, 62, 107, 0.08);
}

.wp-block-group.is-style-section-surface {
	background: var(--wp--preset--color--surface);
}

.wp-block-group.is-style-section-dark {
	background: var(--wp--preset--color--deep-navy);
	color: #fff;
}

.wp-block-group.is-style-section-dark :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.tinkuy-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.65rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--tertiary-soft);
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tinkuy-stat__value {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   04b. Floating WhatsApp button
   ========================================================================== */

.tinkuy-whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--whatsapp);
	color: #fff;
	box-shadow: 0 10px 25px -5px rgba(0, 168, 132, 0.5);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tinkuy-whatsapp-float:hover {
	transform: scale(1.08);
	box-shadow: 0 14px 30px -5px rgba(0, 168, 132, 0.6);
}

.tinkuy-whatsapp-float svg {
	width: 1.75rem;
	height: 1.75rem;
}

/* ==========================================================================
   04. Footer
   ========================================================================== */

.tinkuy-footer {
	background: var(--wp--preset--color--deep-navy);
	color: #fff;
	/*
	 * Aire exterior de 24px arriba y abajo, del mismo azul marino que el fondo.
	 * El color va en el propio footer, así que el espacio nunca queda blanco.
	 */
	padding-block: 1.5rem;
}

.tinkuy-footer :where(p, span, a, li) {
	color: rgba(255, 255, 255, 0.82);
}

.tinkuy-footer a:hover {
	color: #fff;
}

.tinkuy-footer .tinkuy-brand__name {
	color: #fff;
}

.tinkuy-footer .tinkuy-brand__tagline {
	color: rgba(255, 255, 255, 0.72);
}

.tinkuy-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.tinkuy-footer__row {
	gap: 0.75rem;
}

.tinkuy-footer__row p {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.tinkuy-footer .tinkuy-icon,
.tinkuy-footer__icon {
	flex-shrink: 0;
	color: var(--wp--preset--color--tertiary);
}

.tinkuy-footer .tinkuy-icon svg,
.tinkuy-footer__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tinkuy-footer__motto {
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 782px) {
	.tinkuy-footer__contact {
		border-left: 1px solid rgba(255, 255, 255, 0.15);
		padding-left: 2rem;
	}
}

.tinkuy-footer__manifesto {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}

.tinkuy-footer__divider {
	width: 2.5rem;
	height: 2px;
	background: var(--wp--preset--color--secondary);
	margin: 0.75rem 0;
}

.tinkuy-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--wp--preset--font-size--small);
	color: rgba(255, 255, 255, 0.6);
}

.tinkuy-footer__logo img {
	width: 4rem;
	height: 4rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   05. Responsive
   ========================================================================== */

@media (max-width: 781px) {
	.tinkuy-header__inner {
		min-height: 4.5rem;
		gap: 1rem;
	}

	.tinkuy-brand__name {
		font-size: 1.25rem;
	}

	.tinkuy-brand__logo img {
		width: 2.75rem;
		height: 2.75rem;
	}

	.tinkuy-header__cta .wp-block-button__link {
		padding: 0.6rem 1rem;
		font-size: 0.75rem;
	}
}

/*
 * El CTA del header solo se muestra cuando hay ancho suficiente para logo +
 * menú + botón (>=901px). Por debajo, vive dentro del menú desplegable, que ya
 * incluye "Solicitar cotización". Evita el desbordamiento horizontal entre
 * 390px y 900px.
 */
@media (max-width: 900px) {
	.tinkuy-header .tinkuy-header__cta {
		display: none !important;
	}
}
