:root {
	--main-tph-color: white;
	--tph-amarillo: #E7F000;
	--tph-negro: #000000;
	--tph-blanco: white;
	--tph-azul: #66B6FF;
	--tph-verde: #0b3f2d;
	--tph-cuenta-atras: #e8871b;
	--tph-form-label: #000000;
	--tph-lavanda: #000000;
	--tph-form-placeholder: #868686;
	--tph-form-input: #000;
	--tph-form-bg: #fff;
	--tph-gris: #666666;
	--tph-font-body: 'formulaserialregular';
	--tph-font-formulaserialregular: 'formulaserialregular';
	--tph-font-formulaserialbold: 'formulaserialbold';
}

/********************************************************************* fuentes *********************************************************/

@font-face {
	font-family: 'formulaserialbold';
	src: url('../../../fonts/formula-serial-bold.woff2') format('woff2'),
		url('../../../fonts/formula-serial-bold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'formulaserialregular';
	src: url('../../../fonts/formula-serial-regular.woff2') format('woff2'),
		url('../../../fonts/formula-serial-regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.font-body {
	font-family: var(--tph-font-body);
}

.font-especial {
	font-family: var(--tph-font-special);
}

.font-arial {
	font-family: Arial, Helvetica, sans-serif;
}

.font-formulaserialregular {
	font-family: var(--tph-font-formulaserialregular);
}

.font-formulaserialbold {
	font-family: var(--tph-font-formulaserialbold);
}

html,
body {
	overflow-x: hidden;
	height: 100%;
	margin: 0;
}

body {
	font-family: var(--tph-font-body);
	color: rgb(0, 0, 0);
	background-color: transparent;
	background-color: var(--tph-purpura);
}

img,
iframe {
	max-width: 100%;
}

.bg-promo {
	background-color: var(--tph-blanco);
}

.bg-main {
	background-color: var(--tph-blanco);
}

.bg-menu {
	background-color: var(--tph-blanco);
}

.bg-amarillo {
	background-color: var(--tph-amarillo);
}

.bg-negro {
	background-color: var(--tph-negro);
}

.bg-blanco {
	background-color: var(--tph-blanco);
}

.bg-azul {
	background-color: var(--tph-azul);
}

.color-amarillo {
	color: var(--tph-amarillo);
}

.color-negro {
	color: var(--tph-negro);
}

.color-blanco {
	color: var(--tph-blanco);
}

.color-azul {
	color: var(--tph-azul);
}


.cursor-blocked {
	cursor: not-allowed;
}

.cursor-pointer {
	cursor: pointer;
}

/********************************************************************* Botones *********************************************************/
.btn-participa {
	font-size: 2rem;
}

.btn-formulario {
	background-color: var(--tph-negro);
	color: #fff;
	font-size: 1rem;
	padding: .9rem 1.5rem;
	width: 100%;
	border-radius: 9999px;
	border: 2px solid var(--tph-negro);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
	font-family: 'formulaserialbold';
}

.btn-formulario:hover {
	background-color: var(--tph-blanco);
	color: var(--tph-negro);
	transform: translateY(-1px);
}

.btn-formulario:focus {
	background-color: var(--tph-blanco);
	color: var(--tph-negro);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
	/* anillo accesible */
}


.btn-promo {
	background-color: rgb(0, 0, 0);
	color: #fff;
}

.btn-promo:hover {
	background-color: rgb(255, 255, 255);
	color: rgb(0, 0, 0);
}

.btn-promo:focus {
	background-color: rgb(255, 255, 255);
	color: rgb(0, 0, 0);
}

.btn-round-negativo {
	border-radius: 1.3rem !important;
	background-color: rgb(255, 255, 255);
	color: rgb(0, 0, 0);
}

.gradiente-texto {
	background-clip: text;
	-webkit-background-clip: text;
	/* Para navegadores basados en WebKit, como Chrome y Safari */
	color: transparent;
	background-image: linear-gradient(to right, #00B09F, #004862);
}

/********************************************************************* scrollbar css *********************************************************/
/* width */
::-webkit-scrollbar {
	width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
	background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: var(--tph-lavanda);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: var(--tph-purpura);
}

/********************************************************************************** MENU  *******************************************************************************/

#accesoMicuenta {
	z-index: 99999;
}

#mainMenu {
	padding-top: 0%;
	padding-bottom: 0%;
	position: relative;
	min-height: 4.5rem;
}

#mainMenu .container-fluid {
	background-color: var(--tph-blanco);
	min-height: 4.5rem;
	color: var(--tph-negro);
	z-index: 1;
}

.navbar-toggler {
	background-color: #005ca9 !important;
}

#logo {
	padding-left: 0px;
	max-width: 240px;
}

.navbar-dark .navbar-nav .nav-link {
	color: var(--tph-negro);
	font-size: 1.2rem;
	font-family: var(--tph-font-special);
}

.navbar-dark .navbar-brand {
	color: var(--tph-negro);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show>.nav-link {
	color: var(--tph-turquesa);
}

.fixed-top {
	position: fixed !important;
}

/********************************************************************************** inicio  *******************************************************************************/



:root {
	--hero-min-h: 680px;
	/* alto desktop */
	--hero-min-h-m: 560px;
	/* alto móvil */
}

/* ===== Base (MÓVIL) ===== */
.hero {
	position: relative;
	min-height: var(--hero-min-h-m);
	overflow: hidden;
	color: #0b1b2b;
}

/* No usamos imágenes como fondo */
.hero__img {
	display: none;
}

/* Overlay móvil con velo suave */
.hero__overlay {
	position: static;
	inset: auto;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0.96) 0%,
			rgba(255, 255, 255, 0.88) 40%,
			rgba(255, 255, 255, 0.15) 85%,
			rgba(255, 255, 255, 0) 100%);
}

.brand-badge {
	/* tamaño en móvil */
	width: 78px;
	height: auto;
}

.brand-text {
	font-size: .8rem;
	line-height: 1.3;
}

/* Utilidades */
.object-fit-cover {
	object-fit: cover;
}

/* Col imagen */
.hero__col-img {
	position: relative;
	padding: 0;
	height: 100%;
}

/* Octágono (móvil: en flujo) */
.promo-octagon {
	position: static;
	margin: 1.25rem auto 0;
	max-width: 320px;
	background: var(--tph-amarillo);
	padding: 2.25rem 2rem;
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
	text-align: center;
}

.promo-octagon .bi {
	font-size: 2.25rem;
	display: block;
	margin-bottom: .35rem;
}

.promo-octagon p {
	margin: 0;
	font-weight: 600;
	line-height: 1.25;
}

/* Octágono superpuesto específico de móvil (sobre la foto) */
.promo-octagon-m {
	position: absolute;
	right: 8%;
	bottom: -26px;
	/* sobresale un poco como en el diseño */
	background: var(--tph-amarillo);
	padding: 1.2rem 1.1rem;
	max-width: 260px;
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
	text-align: center;
	z-index: 2;
}

.promo-octagon-m .bi {
	font-size: 1.6rem;
	display: block;
	margin-bottom: .35rem;
}

.promo-octagon-m p {
	font-weight: 600;
	line-height: 1.25;
	margin: 0;
	font-size: .95rem;
}

/* Módulos de beneficios */
.benefits {
	display: flex;
	align-items: center;
}

.benefit img {
	width: 28px;
	height: auto;
	flex: 0 0 28px;
}

.benefit p {
	font-size: .95rem;
	line-height: 1.3;
	color: #2b2b2b;
}


/* CTA móvil */
.cta-mobile {
	position: sticky;
	bottom: 0;
	z-index: 30;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 30%);
	padding: 1rem 0 1.25rem;
}

/* ===== Desktop y superiores ===== */
@media (min-width: 992px) {

	.hero {
		min-height: var(--hero-min-h);
	}

	/* Overlay sin velo en desktop */
	.hero__overlay {
		background: transparent;
	}

	/* Tamaño del sello en desktop (como lo tenías) */
	.brand-badge {
		width: 85px;
	}

	/* Alineación del sello + texto en desktop */
	.brand-inline {
		justify-content: flex-start;
		text-align: left;
	}

	/* Octágono absoluto en desktop */
	.promo-octagon {
		position: absolute;
		left: 6%;
		bottom: 8%;
		margin: 0;
		max-width: 360px;
	}
}


/********************************************************************************** regalo  *******************************************************************************/

/* ===== Premio (slider) ===== */
.award__lead {
	max-width: 820px;
	color: #334155;
	/* slate-700 */
}

/* Carrusel con bordes y sombra sutil */
.award-carousel {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

/* Altura responsiva del slide + cover */
.award__img {
	height: clamp(220px, 42vw, 520px);
	object-fit: cover;
	object-position: center;
	display: block;
	user-select: none;
}

/* Indicadores más visibles */
.award-carousel .carousel-indicators [data-bs-target] {
	width: .75rem;
	height: .75rem;
	border-radius: 50%;
}

.video-promo {
	max-width: 90vw !important;
}
/* Opcional: margen lateral a la maqueta de la página (como tu captura) */
@media (min-width: 992px) {
	.award .container-fluid {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.video-promo {
		max-width: 50vw !important;
	}
}



/**********************************************************************************  cruz roja  *******************************************************************************/

#cruzroja .container {
	background-color: var(--tph-verde);
	padding: 0;
	color: white;
}

.logo-cruz-roja{
	max-width: 400px;
}



/********************************************************************************** mecánica  *******************************************************************************/

/* ===== Mecánica ===== */

/* Imagen de los pasos */
.mechanic .step__img {
	width: 100%;
	max-width: 240px;
	/* ⬅ controla tamaño en móvil */
	height: auto;
	display: block;
	margin: 0 auto .5rem;
	/* centrada y con aire inferior */
}

/* Separador entre pasos */
.mechanic .step+.step {
	border-top: 1px solid rgba(0, 0, 0, .06);
	padding-top: 1.25rem;
}

/* Móvil: lista vertical, icono izquierda + texto derecha */
.mechanic-benefits .benefit-card {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: .5rem 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	text-align: left;
}

.benefit-icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	object-fit: contain;
	margin-top: .15rem;
	/* alinea con 1ª línea de texto */
}

.mechanic-benefits .benefit-card span {
	font-size: .95rem;
	color: #334155;
}

/* ===== PASOS (mobile-first) ===== */
.mechanic .steps {
	margin-inline: auto;
}

.step__content {
	display: flex;
	flex-direction: column;
	/* Nº arriba, texto debajo */
	align-items: center;
	/* centrado horizontal */
	text-align: center;
	gap: .5rem;
}

/* Nº centrado y grande en móvil */
.mechanic .step__num {
	font-size: clamp(3.4rem, 16vw, 6.2rem);
	/* ⬅ más grande en móvil */
	line-height: .95;
	font-weight: 700;
	color: #0b1b2b;
	margin: .25rem 0 .5rem;
	/* aire respecto a título */
	min-width: 0;
	/* anula ancho fijo de desktop */
	text-align: center;
}

/* ===== Tablet (>= md) ===== */
@media (min-width: 768px) {
	.step__content {
		flex-direction: row;
		/* nº + texto en línea */
		align-items: flex-start;
		text-align: left;
		gap: 1rem;
	}

	.mechanic .step__num {
		font-size: clamp(2.75rem, 2rem + 2vw, 4.6rem);
		margin: 0;
		min-width: 2.5ch;
		/* columna estable para el nº */
		text-align: right;
	}

	.mechanic .step__img {
		max-width: 300px;
		/* un poco mayor que en móvil */
		margin: 0 auto;
	}

	.mechanic-benefits .benefit-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1rem;
		background: #fff;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
		border-radius: 12px;
		height: 100%;
	}

	.benefit-icon {
		width: 40px;
		height: 40px;
		margin-top: 0;
	}
}

/* ===== Desktop (>= lg) ===== */
@media (min-width: 992px) {
	.mechanic .steps {
		max-width: 920px;
	}

	/* centrado y ancho cómodo */
	.mechanic .step .col-lg-8 {
		padding-left: 1.6rem;
	}

	/* separa de la imagen */
	.mechanic .step__img {
		max-width: 320px;
	}

	/* tamaño final en desktop */
}




/********************************************************************************** felicitaciones  *******************************************************************************/


/* fondo azul del área del carousel */
.felicitaciones-carousel {

	padding: 28px 40px;
	position: relative;
	overflow: hidden;
}

/* centrado vertical del contenido del slide */
.felicitaciones-slide {
	min-height: 180px;
	/* ajusta a tu gusto */
	display: flex;
	align-items: center;
}

/* card blanca */
.felicitacion-card {
	border: 0;
	border-radius: 6px;
	background: #fff;
}

/* texto de la felicitación */
.felicitacion-text {
	font-size: 0.95rem;
	line-height: 1.35rem;
	color: #111;
	font-weight: 600;
}

/* flechas más visibles */
.felicitaciones-carousel .carousel-control-prev,
.felicitaciones-carousel .carousel-control-next {
	width: 44px;
	opacity: 1;
}

.felicitaciones-carousel .carousel-control-prev-icon,
.felicitaciones-carousel .carousel-control-next-icon {
	filter: invert(1);
	/* flechas blancas */
	width: 24px;
	height: 24px;
}

/* indicadores abajo centrados */
.felicitaciones-carousel .carousel-indicators {
	bottom: -20px;
}

.felicitaciones-carousel .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

#felicitacionesCarousel hr {
	border-top: 2px solid var(--tph-azul);
	/* línea azul */
}




/********************************************************************************** contacto  *******************************************************************************/
/* ===== Contacto (mobile-first) ===== */

/* Contenedor del banner: en móvil el título va encima */
.contact-hero {
	display: flex;
	flex-direction: column;
}

/* Imagen del banner */
.contact-hero__img {
	object-fit: cover;
	object-position: center;
	height: clamp(180px, 28vw, 340px);
	user-select: none;
	pointer-events: none;
}

/* Título en móvil: encima y con margen inferior para separarlo de la imagen */
.contact-hero__overlay {
	order: -1;
	/* título antes que la imagen */
	position: static;
	/* sin overlay en móvil */
	display: block;
	padding: 1rem 1rem 0;
	margin-bottom: .75rem;
	/* <-- aire respecto a la imagen */
	background: none;
	color: #000;
	text-align: center;
}

.contact-hero__overlay h2 {
	font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.2rem);
	font-weight: 700;
	line-height: 1.15;
	max-width: 18ch;
	margin: 0 auto;
}

/* Bloque de contacto */
.contact-body {
	border-top: 1px solid rgba(0, 0, 0, .06);
}

.contact-email {
	font-size: 1rem;
	font-weight: 800;
	color: #111 !important;
	word-break: break-word;
}

.contact-phone {
	font-size: 2rem;
	font-weight: 800;
	color: #111 !important;
	word-break: break-word;
}

/* ===== Desktop (>= 992px): overlay a la izquierda y centrado vertical ===== */
@media (min-width: 992px) {
	.contact-hero {
		display: block;
		/* comportamiento normal (overlay absoluto) */
	}

	.contact-hero__overlay {
		order: 0;
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		/* centrado vertical */
		justify-content: flex-start;
		padding-left: clamp(32px, 6vw, 120px);
		/* margen izquierdo responsivo */
		margin-bottom: 0;
		background: none;
		text-align: left !important;
		/* anula el centrado heredado */
	}

	.contact-hero__overlay h2 {
		margin: 0;
		/* evita centrado por márgenes */
		font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
		max-width: 12-14ch;
		/* evita líneas muy largas */
	}
}



/********************************************************************************** countdown  *******************************************************************************/


#countdown {
	font-family: var(--tph-font-special);
	font-size: 2rem;
}

#countdown .wrapper {
	text-align: center;
}

#countdown .time {
	color: var(--tph-amarillo);
	font-size: 3rem;
	padding: 0.25rem;
}

#countdown .label {
	font-size: 1.8rem;
	display: block;
	color: var(--tph-amarillo);
}

#countdown svg {
	font: bold 5rem;
	width: 100%;
	height: 120px;
}

#countdown text {
	fill: none;
	stroke: var(--tph-amarillo);
	stroke-width: 6px;
	stroke-linejoin: round;
	animation: 2s pulsate infinite;
}

@keyframes pulsate {
	50% {
		text-shadow: 4px 4px #fff;
	}
}

/********************************************************************************** participa  *******************************************************************************/


#participa .input-group-text {
	display: none;
}

form#formReg_l label {
	display: block;
	color: black;
	font-family: var(--font-textos);
	font-size: 1.2rem;
}

form#formReg_l input {
	border-radius: 0rem;
	border-color: rgb(204, 204, 204);
}

form#formReg_l .form-control {
	color: var(--tph-form-input);
	background-color: var(--tph-form-bg);
	font-size: 1rem;
	font-family: var(--font-textos);
}

form#formReg_l .form-select {
	color: var(--tph-form-input);
	background-color: var(--tph-form-bg);
	font-family: var(--font-textos);
	border-radius: 5rem;
	border-color: black;

}

form#formReg_l label.custom-control-label {
	display: block !important;
	color: var(--tph-form-label);
	font-size: 1rem;
}

form#formReg_l .form-control::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: var(--tph-form-placeholder);
	opacity: 1;
	/* Firefox */
}

form#formReg_l .form-control:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: var(--tph-form-placeholder);
}

form#formReg_l .form-control::-ms-input-placeholder {
	/* Microsoft Edge */
	color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: var(--tph-form-placeholder);
	opacity: 1;
	/* Firefox */
}

form#formReg_l .form-select:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::-ms-input-placeholder {
	/* Microsoft Edge */
	color: var(--tph-form-placeholder);
}

form#formReg_l a {
	color: var(--tph-lavanda);
}

form option {
	color: #000000;
	font-size: 1rem;
}

form option:hover {
	background-color: #ffffff;
}

form .input-group-text {
	background: transparent;
	color: var(--tph-form-label);
	border: none;
}

form .form-check-input:checked {
	background-color: var(--tph-lavanda);
	border-color: var(--tph-lavanda);
}

.alert-error {
	margin-bottom: 0.5rem;
}




/********************************************************************************** footer  *******************************************************************************/

footer {
	background-color: white;
	position: sticky;
	font-family: var(--tph-font-special);
	z-index: 1000;
}

footer ul {
	list-style: none;
}

footer a {
	color: var(--tph-gris);
	text-decoration: none;
	font-size: 0.9rem;
	transition: 0.3s color;
}

footer a:hover {
	color: var(--tph-purpura);
}

footer .small {
	color: var(--tph-gris);
	font-size: 0.8rem;
}

footer img .small {
	max-width: 1.5rem;
}

.logoBonduellPie {
	max-width: 8rem;
}

.pull-right {
	float: right;
}

.xs-d-flex {
	flex-direction: column;
}

/********************************************************************************** Area personal  *******************************************************************************/
.card-width {
	min-width: 10rem;
}

.flex-adapt {
	flex-direction: column !important;
}

/********************************************************************************** textos  *******************************************************************************/
/********************************************************************************** contacto  *******************************************************************************/


/********************************************************************************** media query  *******************************************************************************/

@media (min-width: 430px) {}

@media (min-width: 568px) {}

@media (min-width: 668px) {}


@media (min-width: 768px) {
	.logo-cruz-roja{
	max-width: 400px;
}
}

@media (min-width: 868px) {}

@media (min-width: 992px) {
	.btn-formulario {
		font-size: 1.2rem;
		width: 75%;
	}

	.contact-email {
		font-size: 2rem;
		font-weight: 800;
	}
	.logo-cruz-roja{
	max-width: 400px;
}
}

@media (min-width: 1024px) {
	#logo {
		padding-left: 16px;
		max-width: 300px;
	}
	.contact-phone {
	font-size: 4rem;
	font-weight: 800;
	color: #111 !important;
	word-break: break-word;
}
.hero__title {
		font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.5rem);
		line-height: 1;
		font-weight: bold;
	}

}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {


	#mainMenu,
	section,
	header,
	footer {
		max-width: 1920px;
		margin: 0 auto;
	}
	.logo-cruz-roja{
	max-width: 500px;
}

}

@media (min-width: 1800px) {}
