/**
 * Páginas en español: mismos estilos que EN pero sin JS de animación.
 * El CSS original deja títulos/texto en opacity:0 hasta scroll.
 */
html[lang="es"] .main {
	min-height: 720px;
}

html[lang="es"] .about-container,
html[lang="es"] .service-container,
html[lang="es"] .qustions-container,
html[lang="es"] .refurbishing-container,
html[lang="es"] .finance .main {
	min-height: 480px;
}

html[lang="es"] .about__title,
html[lang="es"] .about__text,
html[lang="es"] .service__title,
html[lang="es"] .service__text,
html[lang="es"] .contract__title,
html[lang="es"] .contract__text,
html[lang="es"] .finance__title,
html[lang="es"] .finance__text,
html[lang="es"] .disclaimer__title,
html[lang="es"] .disclaimer__text,
html[lang="es"] .refurbishing__title,
html[lang="es"] .refurbishing__text,
html[lang="es"] .refurbishing__subtitle,
html[lang="es"] .qustions__title,
html[lang="es"] .qustions__text,
html[lang="es"] .rentals__title,
html[lang="es"] .rentals__subtitle,
html[lang="es"] .rentals__text {
	opacity: 1 !important;
	transform: none !important;
}

/* Hub /es con look de home */
html[lang="es"] .es-home .main {
	min-height: 900px;
	padding-block: 180px 40px;
	box-sizing: border-box;
}

/* Los enlaces deben aportar altura para que el footer no suba sobre ellos. */
html[lang="es"] .es-home .links {
	position: relative;
	top: auto;
	width: 44%;
	margin: 0 8%;
}

html[lang="es"] .es-home .links__text {
	width: auto;
	overflow-wrap: break-word;
}

html[lang="es"] .es-home .links__call {
	max-width: 100%;
	box-sizing: border-box;
	margin-inline: 0;
}

html[lang="es"] .es-home .business__article {
	opacity: 1;
	top: 0;
	padding-inline: 24px;
}

html[lang="es"] .es-home .business__title {
	font-size: clamp(28px, 4vw, 64px);
}

html[lang="es"] .es-home .business__text {
	font-size: clamp(22px, 3vw, 40px);
	line-height: 1.3;
	margin-top: 16px;
}

@media screen and (max-width: 1100px) {
	html[lang="es"] .es-home .links {
		width: 84%;
	}
}

@media screen and (max-width: 720px) {
	html[lang="es"] .es-home .main {
		min-height: auto;
		padding-block: 120px 40px;
	}

	html[lang="es"] .es-home .links__text {
		padding-inline: 0;
	}
}

/* No usar decor de páginas institucionales en la home (rompe index.css) */
html[lang="es"] .es-home .opacity-left {
	display: none;
}

html[lang="es"] .es-home .links__text,
html[lang="es"] .es-home .links__call {
	opacity: 1 !important;
	transform: none !important;
}

html[lang="es"] .rentals-seo__title,
html[lang="es"] .rentals-seo__text,
html[lang="es"] .rentals-seo__heading,
html[lang="es"] .rentals-catalog__title,
html[lang="es"] .rentals-catalog__intro,
html[lang="es"] .rentals-catalog__name {
	opacity: 1 !important;
}

/* El contenido traducido determina su altura; no depende de posiciones ni animaciones de EN. */
.es-institutional .main {
	min-height: 0 !important;
	padding: 180px 5% 48px;
	box-sizing: border-box;
}

.es-institutional .opacity,
.es-institutional .about-container__opacity,
.es-institutional .service-container__opacity,
.es-institutional .qustions-container__opacity,
.es-institutional .opacity__about,
.es-institutional .opacity__service,
.es-institutional .opacity__qustions {
	display: none;
}

.es-institutional :is(.about, .service, .contract, .finance, .disclaimer, .refurbishing, .qustions, .contact,
.about__under, .service__under, .qustions__under, .refurbishing__center, .refurbishing__under) {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 28px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, .94);
	opacity: 1;
	transform: none;
}

.es-institutional :is(.about-container, .service-container, .qustions-container, .refurbishing-container) {
	min-height: 0 !important;
	top: auto;
	margin: 0;
	padding: 40px 5%;
	box-sizing: border-box;
}

.es-institutional :is(.about__title, .service__title, .contract__title, .finance__title,
.disclaimer__title, .refurbishing__title, .qustions__title, .contact__title) {
	font-size: clamp(24px, 3.5vw, 46px);
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.es-institutional :is(.about__text, .service__text, .contract__text, .finance__text,
.disclaimer__text, .refurbishing__text, .qustions__text, .contact__subtitle) {
	font-size: 18px;
	line-height: 1.55;
}

.es-institutional .finance__subtitle {
	opacity: 1;
}

.es-institutional :is(.video__center, .video__under) {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	max-width: 960px;
	margin: 24px auto 0;
	padding: 0;
	visibility: visible;
	box-sizing: border-box;
}

.es-institutional :is(.video__center-iframe, .video__under-iframe) {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	display: block;
}

.es-contact .contact {
	max-width: 760px;
}

.es-contact :is(.contact__input, .contact__textarea) {
	width: 100%;
	height: auto;
	min-height: 44px;
	padding: 10px;
	box-sizing: border-box;
	font-size: 16px;
}

.es-contact .contact__textarea {
	min-height: 110px;
}

.es-contact .contact__container {
	min-height: 36px;
}

.es-contact .contact__label {
	line-height: 1.4;
	cursor: pointer;
}

.es-contact .contact__robot {
	flex-wrap: wrap;
	gap: 4px;
}

.es-contact .contact__robot-input {
	min-height: 36px;
	font-size: 16px;
}

.es-contact :is(.contact__label, .contact__head, .contact__suma, .contact__robot-text) {
	font-size: 16px;
}

.es-contact .contact__btn {
	margin: 20px 0 0;
	min-height: 44px;
	font-size: 18px;
}

.es-contact #res-message {
	white-space: normal;
}

@media screen and (max-width: 720px) {
	.es-institutional .main {
		padding-top: 110px;
	}

	.es-institutional :is(.about, .service, .contract, .finance, .disclaimer, .refurbishing, .qustions, .contact,
	.about__under, .service__under, .qustions__under, .refurbishing__center, .refurbishing__under) {
		padding: 20px;
	}

	.es-contact .contact__center {
		flex-direction: column;
	}

	.es-contact .contact__span {
		width: 100%;
	}
}
