/* ==========================================================================
   Oposiciones Educación — TusOpos
   Breakpoints: tablet <= 1024px · mobile <= 767px
   ========================================================================== */

:root {
	--color-primary: #F79152;   /* naranja */
	--color-secondary: #346856; /* verde */
	--color-text: #000000;
	--color-accent: #FDE3C7;
	--color-cream: #FCFFEC;     /* fondo */
	--color-peach: #FFC49F;
	--color-white: #FFFFFF;
	--color-scroll-top: #046bd2;
	--font: "Poppins", sans-serif;
	--container: 1200px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	font-family: var(--font);
	font-weight: 400;
	color: var(--color-text);
	background: var(--color-cream);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--color-white);
	color: var(--color-text);
}

.skip-link:focus {
	left: 10px;
	top: 10px;
}

/* El footer queda abajo aunque el contenido sea corto */
main {
	flex-grow: 1;
}

.l-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 10px;
}

.decor {
	position: absolute;
	max-width: none;
	pointer-events: none;
	user-select: none;
}

.decor--mobile {
	display: none;
}

/* ---------- Píldoras (títulos con borde) ---------- */
.pill {
	position: relative;
	text-align: center;
	border: solid #000;
	border-radius: 71px;
}

.pill--orange {
	z-index: 2;
	background: var(--color-primary);
	border-width: 3px 3px 10px 3px;
	color: var(--color-white);
	font-size: 60px;
	font-weight: 600;
	line-height: 85px;
}

.pill--full {
	width: 100%;
}

.pill--short {
	width: 82%;
	margin-top: 15px;
}

.pill--green {
	width: 60%;
	padding: 3px;
	background: var(--color-secondary);
	border-width: 2px 2px 6px 2px;
	color: var(--color-cream);
	font-size: 30px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 0.6px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
	background: var(--color-secondary);
	padding: 20px 0;
}

.header__logo {
	display: block;
	width: fit-content;
}

.header__logo img {
	width: auto;
}

/* ==========================================================================
   Hero + Método + Formulario
   ========================================================================== */
.hero {
	position: relative;
	padding: 60px 0 100px;
	background: var(--color-cream);
	/* Recorta la decoración sin crear un contenedor de scroll que anule sticky. */
	overflow: clip;
}

.hero__grid {
	display: grid;
	grid-template-columns: 60% 40%;
	grid-template-areas:
		"title  form"
		"method form";
	align-items: start;
}

.hero__title {
	grid-area: title;
	position: relative;
	margin-top: 160px;
}

.hero__method {
	grid-area: method;
	position: relative;
	z-index: 2;
}

.hero__form {
	grid-area: form;
	align-self: stretch;
	padding: 0 0 0 60px;
}

/* Decoración escritorio (posiciones relativas al bloque del título) */
.hero__onda {
	left: -365px;
	top: 5px;
	z-index: 1;
}

.hero__curva {
	left: 495px;
	top: -110px;
	z-index: 1;
}

.hero__destello {
	left: 418px;
	top: -186px;
	z-index: 1;
}

.hero__mancha {
	left: 50px;
	top: -180px;
	z-index: 0;
}

/* Decoración mobile */
.hero__mancha-m {
	left: -29px;
	top: -43px;
	z-index: 0;
}

.hero__onda-m {
	left: -20px;
	top: 76px;
	z-index: 1;
}

.hero__curva-m {
	left: 202px;
	top: -97px;
	z-index: 1;
}

/* Método de las 3ps */
.method__title {
	margin: 268px 0 73px;
	font-size: 60px;
	font-weight: 600;
	line-height: 67px;
}

.method__item + .method__item {
	margin-top: 100px;
}

.method__subtitle {
	margin-top: 40px;
	font-size: 30px;
	font-weight: 600;
	line-height: 42px;
	letter-spacing: 0.6px;
}

.method__text {
	margin-top: 53px;
	text-align: justify;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0.6px;
}

.method__text p + p {
	margin-top: 1.2em;
}

/* Tarjeta del formulario */
.form-card {
	position: sticky;
	top: 20px;
	z-index: 2;
	padding: 40px;
	background: var(--color-cream);
	border: solid #000;
	border-width: 4px 4px 10px 4px;
	border-radius: 39px;
}

.form-card__title {
	margin-bottom: 20px;
	text-align: center;
	font-size: 29px;
	font-weight: 700;
	line-height: 36px;
}

/* ---------- Formulario (estilos del original) ---------- */
#FormTusOposLanding .row + .row {
	margin-top: 0;
}

#FormTusOposLanding .text-center {
	text-align: center;
}

#FormTusOposLanding input,
#FormTusOposLanding select {
	display: block;
	width: 100%;
	height: 44px;
	margin-bottom: 15px;
	padding-left: 10px;
	border: none;
	border-radius: 7px;
	background: rgba(255, 196, 159, 0.48);
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
	font-family: var(--font);
	color: #000;
	font-size: 14px;
	font-weight: 300;
	line-height: 109.012%;
}

#FormTusOposLanding input:focus,
#FormTusOposLanding select:focus {
	outline: 2px solid var(--color-primary);
	outline-offset: 1px;
}

.label-form {
	display: inline-block;
	margin-bottom: 5px;
	color: #000;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 300;
	line-height: 109.012%;
}

#btnFormTusOposLanding {
	width: 100%;
	height: 55px;
	margin-top: 40px;
	border: none !important;
	border-radius: 10px;
	background: var(--color-primary);
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
	color: #FFF;
	text-align: center;
	font-family: var(--font);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

#btnFormTusOposLanding:hover {
	background-color: #FFC49F7A;
	color: #000;
}

/* Mensajes de error de jquery.validate */
#FormTusOposLanding label.error {
	display: block;
	margin: -10px 0 10px;
	color: red;
	font-size: 12px;
}

/* Teléfono internacional */
.iti {
	width: 100% !important;
}

.iti__selected-flag {
	height: 75% !important;
}

/* Loading que inserta la API al enviar */
.loading {
	display: none;
	width: 100% !important;
	height: 200px !important;
}

.loading33 {
	padding-top: 80px;
	color: var(--color-secondary);
	font-size: 18px;
	font-weight: 600;
}

/* ==========================================================================
   Estadísticas
   ========================================================================== */
.stats {
	padding: 0 0 136px;
	background: var(--color-cream);
	overflow: hidden;
}

.stats__container {
	position: relative;
}

.stats__onda {
	left: -355px;
	top: 27px;
	z-index: 0;
}

.stats__box {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 30px;
	background: var(--color-primary);
	border: solid #000;
	border-width: 4px 4px 15px 4px;
	border-radius: 211px;
}

.stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.stats__number {
	color: var(--color-white);
	font-size: 70px;
	font-weight: 700;
	letter-spacing: 1.4px;
	line-height: 1;
	margin-bottom: 20px;
}

.stats__text {
	text-align: center;
	color: var(--color-white);
	font-size: 25px;
	font-weight: 300;
	line-height: 32.5px;
	letter-spacing: 0.5px;
}

.stats__text--first {
	max-width: 62%;
}

.stats__text--second {
	max-width: 57%;
}

/* ==========================================================================
   Por qué TusOpos
   ========================================================================== */
.why {
	padding: 0 0 78px;
	background: var(--color-cream);
}

.why__title {
	margin-bottom: 38px;
	text-align: center;
	font-size: 49px;
	font-weight: 600;
	line-height: 70px;
}

/* ==========================================================================
   Testimonios (carrusel)
   ========================================================================== */
.testimonials {
	padding: 0 0 71px;
	background: var(--color-cream);
}

.testimonials__title {
	text-align: center;
	font-size: 50px;
	font-weight: 600;
	line-height: 70px;
}

.carousel {
	position: relative;
	margin: 50px 0 0;
	padding-bottom: 40px; /* espacio para los puntos */
}

.carousel--mobile {
	display: none;
}

.carousel__viewport {
	overflow: hidden;
}

.carousel__track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

.carousel__track.is-jumping {
	transition: none;
}

.carousel__slide {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.carousel__slide img {
	margin: 0 auto;
}

.carousel__arrow {
	position: absolute;
	top: calc(50% - 20px);
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 39px;
}

.carousel__arrow svg {
	width: 1em;
	height: 1em;
	fill: var(--color-primary);
}

.carousel__arrow--prev {
	left: 10px;
}

.carousel__arrow--next {
	right: 10px;
}

.carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.carousel__dot {
	width: 17px;
	height: 17px;
	padding: 0;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	background: var(--color-cream);
	cursor: pointer;
}

.carousel__dot.is-active {
	background: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	padding: 22px 0 35px;
	background: var(--color-secondary);
	color: var(--color-white);
}

.footer .l-container {
	padding: 0 10px;
}

.footer__claim {
	display: grid;
	grid-template-columns: 47% 5.333% 47%;
	align-items: center;
}

.footer__claim-text {
	color: var(--color-cream);
	font-size: 40px;
	font-weight: 700;
	line-height: 56px;
	padding: 20px 10px;
}

.footer__claim-text--left {
	text-align: right;
}

.footer__claim-text--right {
	text-align: left;
}

.footer__claim-icon {
	display: flex;
	justify-content: center;
}

.footer__divider {
	margin: 3px 0 0;
	border: 0;
	border-top: 3px solid var(--color-cream);
}

.footer__divider--bottom {
	margin: 23px 0 36px;
}

.footer__info {
	display: grid;
	grid-template-columns: 35% 29.333% 35%;
	align-items: center;
	margin-top: 29px;
}

.footer__logo {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 10px;
}

.footer__contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	row-gap: 10px;
	padding: 10px;
}

.footer__contact-title {
	width: 100%;
	font-size: 20px;
	font-weight: 600;
}

.footer__contact-line {
	font-size: 14px;
	font-weight: 300;
}

.footer__social {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: start;
	gap: 10px;
	margin-top: -2px;
	padding: 0 10px 10px;
}

.footer__social-title {
	text-align: center;
	font-size: 14px;
	font-weight: 300;
}

.footer__social-icons {
	display: flex;
	gap: 5px;
}

.footer__social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10%;
	transition: opacity 0.2s;
}

.footer__social-icons a:hover {
	opacity: 0.8;
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.footer__legal a {
	position: relative;
	padding: 0 20px;
	line-height: 18px;
	color: var(--color-white);
	font-size: 12px;
	font-weight: 400;
	transition: color 0.2s;
}

.footer__legal a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 16px;
	transform: translateY(-50%);
	border-left: 2px solid var(--color-white);
}

.footer__legal a:hover,
.footer__legal a:focus,
.footer__legal a[aria-current="page"] {
	color: var(--color-accent);
}

.footer__copy {
	margin-top: 9px;
	padding-bottom: 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
}

/* ==========================================================================
   Botón volver arriba
   ========================================================================== */
.scroll-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.1em;
	height: 2.1em;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--color-scroll-top);
	font-size: 15px;
	cursor: pointer;
}

.scroll-top.is-visible {
	display: flex;
}

.scroll-top svg {
	width: 1em;
	height: auto;
	fill: var(--color-white);
	transform: rotate(180deg);
}

/* ==========================================================================
   Formulario: estados que agrega tusopos-api.js
   ========================================================================== */
#loadingFormPresupuestoOpos {
	text-align: center;
}

/* ==========================================================================
   Botón y popup de WhatsApp (antes botonWhats.css de la API)
   ========================================================================== */
.nav-bottom {
	position: fixed;
	z-index: 50;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-content: flex-end;
	width: auto;
	height: auto;
	margin: 0;
	padding: 5px;
}

.whatsapp-button {
	position: absolute;
	z-index: 8;
	width: 60px;
	height: 60px;
	margin: 10px;
	padding: 7px;
	border: none;
	outline: none;
	border-radius: 50%;
	background-color: white;
	box-shadow: 1px 1px 6px 0 rgba(68, 68, 68, 0.705);
	cursor: pointer;
	transition: .3s;
}

.float {
	position: fixed;
	z-index: 1000000000;
	bottom: 70px;
	right: 35px;
	width: 60px;
	height: 60px;
	border-radius: 50px;
	background-color: #4cc370;
	box-shadow: 2px 2px 3px #999;
}

.float:hover {
	background-color: #3d9e5a;
}

.circle-anime {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #77bb4a;
	transition: .3s;
}

.popup-whatsapp {
	display: none;
	position: absolute;
	bottom: 140px;
	right: 35px;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	width: 430px;
	height: auto;
	border-radius: 30px;
	background-color: #f1f1f1;
	box-shadow: 2px 1px 6px 0 rgba(68, 68, 68, 0.705);
	transition: .5s;
}

.is-active-whatsapp-popup {
	display: flex !important;
}

.popup-whatsapp > .content-whatsapp.-top {
	display: flex;
	flex-direction: column;
}

.popup-whatsapp > .content-whatsapp.-bottom {
	display: flex;
	justify-content: flex-end;
	align-self: stretch;
	padding-right: 10px;
	padding-bottom: 10px;
}

.header-whatsapp {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 430px;
	height: 75px;
	padding: 10px;
	border-radius: 30px 30px 0 0;
	background-color: #25D366;
}

.top-chat {
	display: flex;
	align-items: center;
}

.whatsAppPopup {
	width: 8%;
	margin-left: 20px;
}

.texto-whatsapp {
	padding: 10px;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 21px !important;
}

.closePopup {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	margin-right: 20px;
	padding: 15px !important;
	border: none !important;
	outline: none;
	border-radius: 50% !important;
	background-color: #00000066 !important;
	box-shadow: 1px 1px 2px 0 rgba(68, 68, 68, 0.705);
	color: #000;
	cursor: pointer;
}

.closePopup svg {
	flex-shrink: 0;
}

.closePopup:hover {
	background-color: #3d9e5a !important;
	transition: .3s !important;
}

.balao2 {
	position: relative;
	width: 370px;
	margin: 30px auto;
	padding: 20px;
	border-radius: 15px;
	background: #fff;
	color: #000;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6em;
}

.balao2::after {
	content: "";
	position: absolute;
	top: -20px;
	left: 20%;
	width: 0;
	height: 0;
	margin-top: 95px;
	margin-left: -93px;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #fff;
}

.send-msPopup {
	display: flex;
	align-items: center;
	width: 40%;
	height: 60px;
	padding-left: 20px !important;
	border: none !important;
	border-radius: 50px !important;
	background-color: #25D366 !important;
	cursor: pointer;
}

.send-msPopup:hover {
	background-color: #9cedba !important;
	transition: .3s;
}

.abrir-chat {
	margin: 0;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	text-transform: none;
}

.send {
	width: 35%;
	padding-left: 15px;
}

@media (max-width: 768px) {
	.balao2 {
		width: 325px;
	}

	.balao2::after {
		margin-left: -80px;
	}

	.header-whatsapp {
		width: 380px;
	}

	.nav-bottom {
		width: 320px;
	}

	.popup-whatsapp {
		width: 380px;
		right: 10px;
	}

	.float {
		right: 15px;
	}

	.popup-whatsapp p {
		font-size: 14px;
	}
}

/* ==========================================================================
   Popup informativo #popup-info y su ventana modal (antes Magnific Popup + pop.css)
   ========================================================================== */
.mfp-hide {
	display: none !important;
}

.mfp-bg {
	position: fixed;
	inset: 0;
	z-index: 1042;
	background: #0b0b0b;
	opacity: 0.8;
}

.mfp-wrap {
	position: fixed;
	inset: 0;
	z-index: 1043;
	overflow-y: auto;
}

.mfp-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0 8px;
	text-align: center;
}

.mfp-container::before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.mfp-content {
	position: relative;
	z-index: 1045;
	display: inline-block;
	width: min(92vw, 720px);
	margin: 0 auto;
	vertical-align: middle;
	text-align: left;
}

.mfp-close {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 44px;
	height: 44px;
	padding: 0 0 18px 10px;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: Arial, Baskerville, monospace;
	font-size: 28px;
	font-style: normal;
	line-height: 44px;
	text-align: center;
	opacity: 0.65;
	cursor: pointer;
}

.mfp-close:hover,
.mfp-close:focus {
	opacity: 1;
}

.popup-info > div {
	box-sizing: border-box;
	width: 100% !important;
	height: auto !important;
	margin: 0 auto;
	padding: 28px 36px;
	border-radius: 24px;
}

.popup-info .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
}

.popup-info .row > div {
	flex: 0 0 100%;
	padding: 0 12px;
}

.popup-info .text-center {
	text-align: center;
}

.popup-info img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.popup-info__content {
	align-items: center;
}

.popup-info__content .imagenGifPop {
	width: 180px;
}

.popup-info__content .imagenText {
	width: 400px;
}

@media (min-width: 992px) {
	.popup-info .col-lg-4 {
		flex: 0 0 33.333%;
	}

	.popup-info .col-lg-8 {
		flex: 0 0 66.666%;
	}
}

@media (max-width: 600px) {
	.mfp-content {
		width: min(90vw, 340px);
	}

	.popup-info > div {
		width: 100% !important;
		padding: 24px 20px;
	}

	.popup-info__content .imagenGifPop {
		width: 110px;
		margin-bottom: 10px;
	}

	.popup-info__content .imagenText {
		width: 220px;
	}
}

/* ==========================================================================
   Páginas legales (Aviso Legal, Privacidad, Cookies)
   ========================================================================== */

/* ========================================================================== 
   Página 404
   ========================================================================== */
.error-page {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	background: var(--color-cream);
}

.error-page__main {
	display: grid;
	min-height: 620px;
	flex: 1;
	place-items: center;
	padding: 80px 20px 110px;
	background: var(--color-cream);
}

.error-404 {
	width: min(100%, 920px);
	text-align: center;
}

.error-404__label {
	margin: 0;
	color: var(--color-primary);
	font-size: clamp(54px, 8vw, 104px);
	font-weight: 700;
	line-height: 0.9;
}

.error-404__code {
	margin: 8px 0 18px;
	color: #070e2b;
	font-size: clamp(150px, 25vw, 320px);
	font-weight: 700;
	letter-spacing: -0.08em;
	line-height: 0.82;
}

.error-404__message {
	margin: 0;
	color: #070e2b;
	font-size: clamp(24px, 3.5vw, 46px);
	font-weight: 300;
	line-height: 1.25;
}

.error-404__message strong {
	color: var(--color-primary);
	font-weight: 700;
}

.error-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 40px;
	padding: 12px 30px;
	border: 3px solid #000;
	border-radius: 999px;
	background: var(--color-primary);
	box-shadow: 0 6px 0 #000;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-404__button:hover,
.error-404__button:focus-visible {
	box-shadow: 0 3px 0 #000;
	transform: translateY(3px);
}

.error-page__footer {
	margin-top: 0;
}

@media (max-width: 767px) {
	.error-page__main {
		min-height: 480px;
		padding: 60px 20px 80px;
	}

	.error-404__code {
		margin-top: 12px;
	}

	.error-404__button {
		margin-top: 32px;
	}
}

.legal {
	padding: 100px 0;
	background: var(--color-cream);
}

.legal__title {
	margin-bottom: 20px;
	font-size: 50px;
	font-weight: 600;
	line-height: 35px;
}

.legal__text {
	font-size: 16px;
	font-weight: 400;
	line-height: 35px;
	overflow-wrap: break-word;
}

.legal__text p {
	margin-bottom: 1.75em;
}

.legal__text ul,
.legal__text ol {
	margin: 0 0 1.5em 20px;
	padding: 0;
}

.legal__text > :last-child {
	margin-bottom: 0;
}

.legal__text a {
	color: var(--color-primary);
	text-decoration: underline;
}

.legal__text a:hover {
	color: var(--color-secondary);
}

/* ==========================================================================
   Página de gracias
   ========================================================================== */
.thanks {
	padding: 140px 0 221px;
	background: var(--color-cream);
	overflow: hidden;
}

.thanks__container {
	position: relative;
	max-width: 1300px;
	padding: 10px;
}

.thanks__curva-izq {
	left: 32px;
	top: 231px;
}

.thanks__onda {
	left: 431px;
	top: -36px;
}

.thanks__curva-der {
	left: 1015px;
	top: 57px;
}

.thanks__destello {
	left: 1078px;
	top: 3px;
}

.thanks__destello-m {
	left: 265px;
	top: -48px;
}

.thanks__onda-m {
	left: -19px;
	top: -28px;
}

.thanks__title {
	text-align: center;
	color: #000;
	font-size: 80px;
	font-weight: 700;
	line-height: 113px;
}

.thanks__pill {
	padding: 0 15px;
	border: solid #000;
	border-width: 3px 3px 10px 3px;
	border-radius: 71px;
	background: var(--color-primary);
	color: #fff;
}

/* ==========================================================================
   Tablet (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.hero {
		padding: 50px;
	}

	.hero__grid {
		grid-template-columns: 100%;
		grid-template-areas:
			"title"
			"method"
			"form";
	}

	.hero__title {
		margin-top: 0;
	}

	.hero__form {
		padding: 0;
		margin-top: 50px;
	}

	.form-card {
		position: static;
	}

	.decor--desktop {
		display: none;
	}

	.method__title {
		margin: 100px 0 50px;
	}

	.stats {
		padding: 0 0 100px;
	}

	.stats__text--first,
	.stats__text--second {
		max-width: 90%;
	}

	.why {
		padding: 50px;
	}

	.why__title {
		margin-bottom: 0;
		font-size: 40px;
	}

	.testimonials {
		padding: 50px;
	}

	.footer .l-container {
		padding: 0 20px;
	}

	.thanks {
		padding: 0 50px;
	}

	.thanks__title {
		font-size: 40px;
		line-height: 65px;
	}
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.header {
		padding: 20px 30px;
	}

	.header__logo img {
		width: 60%;
	}

	.header .l-container {
		padding: 0;
	}

	/* Hero: título → formulario → método */
	.hero {
		padding: 80px 20px 50px;
	}

	.hero__grid {
		grid-template-areas:
			"title"
			"form"
			"method";
	}

	.hero__title {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.decor--mobile {
		display: block;
	}

	.pill--orange {
		padding: 10px;
		font-size: 25px;
		line-height: 35px;
	}

	.hero__form {
		margin-top: 50px;
		padding: 0;
	}

	.form-card {
		padding: 20px;
	}

	.form-card__title {
		font-size: 22px;
	}

	#FormTusOposLanding input,
	#FormTusOposLanding select {
		width: 100%;
	}

	#btnFormTusOposLanding {
		width: 100%;
		height: 36px;
		font-size: 14px;
	}

	.hero__method {
		padding: 0;
	}

	.method__title {
		margin: 50px 0 0;
		text-align: center;
		font-size: 25px;
		line-height: 22.6px;
	}

	.method__item:first-of-type .pill--green {
		margin-top: 30px;
	}

	.method__item + .method__item {
		margin-top: 30px;
	}

	.method__item:last-of-type {
		margin-top: 50px;
	}

	.pill--green {
		width: calc(100% - 150px);
		padding: 5px;
		font-size: 16px;
		line-height: 22.4px;
		letter-spacing: 0.32px;
	}

	.method__subtitle {
		margin-top: 30px;
		font-size: 16px;
		line-height: 22.4px;
		letter-spacing: 0.32px;
	}

	.method__text {
		margin-top: 20px;
		font-size: 12px;
		line-height: 16.8px;
		letter-spacing: 0.24px;
	}

	/* Estadísticas */
	.stats {
		padding: 0 20px 50px;
	}

	.stats__box {
		grid-template-columns: 1fr;
		margin: 0;
		border-radius: 54px;
	}

	.stats__number {
		font-size: 55px;
	}

	.stats__text {
		font-size: 14px;
		line-height: 18.6px;
		letter-spacing: 0.28px;
	}

	.stats__text--first {
		max-width: 100%;
	}

	.stats__text--second {
		max-width: 79%;
	}

	/* Por qué / Testimonios */
	.why {
		padding: 0 20px 50px;
	}

	.why__title {
		margin-bottom: 10px;
		font-size: 20px;
		line-height: 22.6px;
	}

	.testimonials {
		padding: 0 20px 50px;
	}

	.testimonials__title {
		font-size: 20px;
		line-height: 22.6px;
	}

	.carousel--desktop {
		display: none;
	}

	.carousel--mobile {
		display: block;
		margin: 20px 0 0;
	}

	.carousel--mobile .carousel__dot {
		width: 13px;
		height: 13px;
	}

	/* Footer */
	.footer .l-container {
		padding: 0 10px;
	}

	.footer__claim {
		grid-template-columns: 43% 14% 43%;
	}

	.footer__claim-text {
		font-size: 10px;
		line-height: 17px;
		padding: 30px 0;
	}

	.footer__claim-icon img {
		width: 32px;
		height: 32px;
	}

	.footer__divider {
		margin: 16px 0 0;
	}

	.footer__divider--bottom {
		margin: 26px 0 36px;
	}

	.footer__info {
		grid-template-columns: 55% 45%;
		margin-top: 17px;
	}

	.footer__logo {
		display: none;
	}

	.footer__contact {
		padding: 10px;
		row-gap: 12px;
	}

	.footer__contact-line {
		font-size: 8px;
	}

	.footer__contact-title {
		font-size: 20px;
	}

	.footer__social {
		margin-top: 0;
		padding: 11px 0 0;
		gap: 5px;
	}

	.footer__social-title {
		font-size: 8px;
	}

	.footer__social-icons {
		gap: 10px;
	}

	.footer__social-icons a {
		width: 16px;
		height: 16px;
	}

	.footer__social-icons svg {
		width: 16px;
		height: 16px;
	}

	.footer__copy {
		margin-top: 11px;
		padding-bottom: 15px;
		font-size: 12px;
	}

	.footer__legal a {
		padding: 0 5px;
	}

	/* Gracias */
	.thanks {
		padding: 113px 20px 221px;
	}

	.thanks__container {
		padding: 0;
	}

	.thanks__title {
		width: fit-content;
		margin: 0 auto;
		text-align: left;
		font-size: 19px;
		line-height: 34px;
	}

	/* Páginas legales */
	.legal {
		padding: 50px 20px;
	}

}

@media (max-width: 600px) {
	.thanks__pill {
		padding: 0 10px;
		border-bottom-width: 5px;
	}
}
