/**
 * Corporativo (B2B) — tarjetas amarillas + formulario acotado.
 *
 * Standalone (NO gulp), igual que destination-tips.css / express-checkout.css: se
 * encola desde functions/enqueue-styles.php DESPUÉS de corporative-page.min.css y
 * con cache-busting por filemtime. Así el rediseño es reversible sin tocar el
 * bundle compilado (que hoy no se puede regenerar: el tema no trae node_modules).
 *
 * El tema NO hereda tipografía en body → cada elemento declara su Arboria.
 * Paleta: amarillo #f9ca24, tinta #1e1e1e, grises #3f3f3f / #6a6862 / #d8d8d8.
 */

/* ============================================================
   HERO
   ============================================================ */

.gp-corp-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 820px;
	margin: 0 auto;
	padding: 0 4px;
	text-align: center;
}

/* Pastilla amarilla: ancla la marca arriba sin competir con el H1. */
.gp-corp-hero__eyebrow {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	background: #f9ca24;
	font-family: "Arboria-Black", sans-serif;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #1e1e1e;
}

.gp-corp-hero h1 {
	margin: 0;
	font-family: "Arboria-Black", sans-serif;
	font-weight: 400;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #1e1e1e;
	text-align: center;
	text-wrap: balance;
}

.gp-corp-hero__lead {
	margin: 0;
	max-width: 62ch;
	font-family: "Arboria-Book", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #6a6862;
	text-align: center;
}

@media (min-width: 768px) {
	.gp-corp-hero h1 {
		font-size: 42px;
	}

	.gp-corp-hero__lead {
		font-size: 18px;
	}
}

/* ============================================================
   TARJETAS DE BENEFICIO
   ============================================================ */

.gp-corp-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 36px auto 0;
	width: 100%;
	max-width: 1240px;
}

@media (min-width: 600px) {
	.gp-corp-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (min-width: 1024px) {
	.gp-corp-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
		margin-top: 48px;
	}
}

.gp-corp-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 26px 24px 28px;
	border-radius: 24px;
	background: #f9ca24;
	/* Sombra teñida de amarillo: apoya la tarjeta sin ensuciarla de gris. */
	box-shadow: 0 12px 26px rgba(201, 158, 12, 0.22);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
	.gp-corp-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 34px rgba(201, 158, 12, 0.3);
	}
}

/* Chip negro con el icono en amarillo: los 3 colores de la marca en 44px. */
.gp-corp-card__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #1e1e1e;
	color: #f9ca24;
}

.gp-corp-card__ico svg {
	width: 23px;
	height: 23px;
	display: block;
}

.gp-corp-card h2 {
	margin: 0;
	font-family: "Arboria-Black", sans-serif;
	font-weight: 400;
	font-size: 19px;
	line-height: 1.22;
	letter-spacing: -0.01em;
	color: #1e1e1e;
	text-align: left;
	text-wrap: balance;
}

.gp-corp-card p {
	margin: 0;
	font-family: "Arboria-Book", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #3f3f3f;
	text-align: left;
}

/* ============================================================
   CONTACTO: cabecera + formulario acotado + panda
   ============================================================ */

.gp-corp-contact {
	margin: 48px auto 0;
	width: 100%;
	max-width: 1240px;
}

/* Anula el margin-bottom:-32px que page-content-pages aplica a su último hijo. */
.page-template-page-corporativo .page-content-pages > .gp-corp-contact {
	margin-bottom: 0;
}

.gp-corp-contact__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 720px;
	margin: 0 auto 28px;
	text-align: center;
}

.gp-corp-contact__head h2 {
	margin: 0;
	font-family: "Arboria-Black", sans-serif;
	font-weight: 400;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #1e1e1e;
	text-align: center;
	text-wrap: balance;
}

.gp-corp-contact__head p {
	margin: 0;
	font-family: "Arboria-Book", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #6a6862;
	text-align: center;
}

@media (min-width: 768px) {
	.gp-corp-contact__head h2 {
		font-size: 32px;
	}
}

.gp-corp-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	justify-items: center;
}

/*
 * En desktop las dos piezas van pegadas y centradas como bloque: con columnas
 * 1fr el formulario flotaba en medio de su columna y quedaba un hueco raro
 * entre él y el panda.
 */
@media (min-width: 1024px) {
	.gp-corp-contact__grid {
		grid-template-columns: minmax(0, 560px) minmax(0, 380px);
		justify-content: center;
		align-items: end;
		gap: 48px;
		justify-items: stretch;
	}
}

/* ---------- caja del formulario ---------- */

.gp-corp-contact__form {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 28px 24px;
	border-radius: 24px;
	border: 1px solid #ececec;
	background: #ffffff;
	box-shadow: 0 18px 40px rgba(30, 30, 30, 0.08);
}

@media (min-width: 768px) {
	.gp-corp-contact__form {
		padding: 34px 32px;
	}
}

/*
 * .gigapanda-form (block-forms.scss) trae fondo gris, radio y padding con
 * !important; aquí el contenedor blanco ya hace ese trabajo, así que lo
 * neutralizamos para no tener caja dentro de caja.
 */
.gp-corp-contact__form .gigapanda-form {
	background: transparent !important;
	background-blend-mode: normal !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

/* La descripción del propio WPForms repite el subtítulo de arriba. */
.gp-corp-contact__form .wpforms-head-container {
	display: none !important;
}

.gp-corp-contact__form .wpforms-field-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gp-corp-contact__form .wpforms-field {
	padding: 0 !important;
	width: 100%;
}

.gp-corp-contact__form input[type="text"],
.gp-corp-contact__form input[type="email"],
.gp-corp-contact__form input[type="tel"],
.gp-corp-contact__form input[type="url"],
.gp-corp-contact__form input[type="number"],
.gp-corp-contact__form textarea {
	width: 100% !important;
	max-width: 100% !important;
	height: 50px;
	padding: 5px 16px !important;
	border: 1px solid #d8d8d8;
	border-radius: 12px !important;
	background: #ffffff;
	font-family: "Arboria-Book", sans-serif;
	font-size: 16px !important;
	line-height: 1.25 !important;
	color: #1e1e1e !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-corp-contact__form textarea {
	height: auto;
	min-height: 110px;
	padding: 12px 16px !important;
}

.gp-corp-contact__form input::placeholder,
.gp-corp-contact__form textarea::placeholder {
	color: #9c9a95;
}

/* Foco visible en amarillo de marca (también sirve de indicador de teclado). */
.gp-corp-contact__form input:focus,
.gp-corp-contact__form textarea:focus {
	outline: none;
	border-color: #1e1e1e;
	box-shadow: 0 0 0 3px rgba(249, 202, 36, 0.45);
}

.gp-corp-contact__form .wpforms-error {
	font-family: "Arboria-Book", sans-serif;
	font-size: 13px;
	line-height: 1.35;
}

.gp-corp-contact__form input.wpforms-error,
.gp-corp-contact__form textarea.wpforms-error {
	border-color: #d32323;
}

/* CTA a todo el ancho de la caja (btn-form fija 220px con !important). */
.gp-corp-contact__form .wpforms-submit-container {
	margin-top: 18px;
	padding: 0 !important;
	text-align: center;
}

.gp-corp-contact__form button.wpforms-submit {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 52px;
	padding: 14px 18px !important;
	border-radius: 12px !important;
	cursor: pointer;
}

/* ---------- panda ---------- */

.gp-corp-contact__art {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

/* El bloque core/image se pinta tal cual está en WP (figure + img). */
.gp-corp-contact__art .wp-block-image,
.gp-corp-contact__art figure {
	margin: 0;
	padding: 0;
}

.gp-corp-contact__art img {
	display: block;
	width: 100%;
	max-width: 230px;
	height: auto;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.gp-corp-contact__art img {
		max-width: 340px;
	}
}
