:root {
	--fuentePrincipal: "Roboto", sans-serif;
	--fuenteSecundaria: "Lato", sans-serif;

	--primario: #1073ba;
	--secundario: #00da55;
	--gris: #3b3b3b;
	--blanco: #fff;
	--negro: #1f1e1e;
	--grisClaro: #e1e1e1;

	--separacion: 5rem;
}

html {
	font-size: 62.5%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: var(--fuentePrincipal);
	font-size: 1.6rem;
	line-height: 1.5;
}

/*? ==================== **/
/** ==================== **/
/*  ***   Globales   *** **/
/** ==================== **/
/*? ==================== **/
.contenedor {
	max-width: 120rem;
	width: 90%;
	margin: 0 auto;
}

h1,
h2,
h3 {
	font-weight: 900;
	font-family: var(--fuenteSecundaria);
	margin: calc(var(--separacion / 2)) 0;
}
h1 {
	font-size: 4.4rem;
}
h2 {
	font-size: 3.6rem;
}
h3 {
	font-size: 2.8rem;
}
img {
	max-width: 100%;
	display: block;
	height: auto;
}

/*? ==================== **/
/** ==================== **/
/*  ***  Utilidades  *** **/
/** ==================== **/
/*? ==================== **/
.tx-center {
	text-align: center;
}

.deg-verde {
	background: linear-gradient(to right, var(--primario) 0%, var(--secundario) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/*? ==================== **/
/** ==================== **/
/*  ***    Header    *** **/
/** ==================== **/
/*? ==================== **/
.header {
	background-color: var(--negro);
	padding: calc(var(--separacion) * 3) 0;
	color: var(--blanco);
}

@media (min-width: 768px) {
	.contenido-header {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

.tx-header {
	text-align: center;
	padding-top: var(--separacion);
}
@media (min-width: 768px) {
	.tx-header {
		text-align: left;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 0;
	}
}

.tx-header p {
	margin: 0;
}

.tagline-producto {
	font-size: 3rem;
	font-weight: 900;
}

.nombre-producto {
	font-size: 6rem;
	margin: 0;
}
@media (min-width: 768px) {
	.nombre-producto {
		font-size: 10rem;
		line-height: 1;
	}
}

.precio-producto span {
	font-size: 6rem;
	font-weight: 900;
}

/*? ==================== **/
/** ==================== **/
/*  ***    Iconos    *** **/
/** ==================== **/
/*? ==================== **/
.grupo-iconos {
	padding: var(--separacion) 0;
}

@media (min-width: 768px) {
	.grupo-iconos {
		display: flex;
		gap: 2rem;
	}
}

.icono {
	text-align: center;
	margin-bottom: calc(var(--separacion) / 2);
}
.icono:last-of-type {
	margin: 0;
}
@media (min-width: 768px) {
	.icono {
		margin: 0;
	}
}

.icono img {
	width: 5rem;
	margin: 0 auto;
}
.icono h3 {
	color: var(--primario);
	text-transform: uppercase;
	margin-top: calc(var(--separacion) / 2);
}

/*? ==================== **/
/** ==================== **/
/*  ***  Sobre Tech  *** **/
/** ==================== **/
/*? ==================== **/
.sobre-tech {
	/* background-image: linear-gradient(to bottom, transparent 50%, var(--primario) 0%),
		url(../img/imagen-mujer.jpg); */
	background-position: top right;
	background-repeat: repeat, no-repeat;
	background-size: 100%, 120rem;
}

/* Servir/Mandar imagenes avif o webp */
.notavif.notwebp .sobre-tech {
	background-image: linear-gradient(to bottom, transparent 50%, var(--primario) 0%),
		url(../img/imagen-mujer.jpg);
}

.avif .sobre-tech {
	background-image: linear-gradient(to bottom, transparent 50%, var(--primario) 0%),
		url(../img/imagen-mujer.avif);
}

.webp .sobre-tech {
	background-image: linear-gradient(to bottom, transparent 50%, var(--primario) 0%),
		url(../img/imagen-mujer.webp);
}

@media (min-width: 768px) {
	.sobre-tech {
		/* background-image: linear-gradient(to left, transparent 50%, var(--primario) 0%),
			url(../img/imagen-mujer.jpg); */
		background-repeat: repeat, no-repeat;
	}

	.notavif.notwebp .sobre-tech {
		background-image: linear-gradient(to left, transparent 50%, var(--primario) 0%),
			url(../img/imagen-mujer.jpg);
	}
	.avif .sobre-tech {
		background-image: linear-gradient(to left, transparent 50%, var(--primario) 0%),
			url(../img/imagen-mujer.avif);
	}
	.webp .sobre-tech {
		background-image: linear-gradient(to left, transparent 50%, var(--primario) 0%),
			url(../img/imagen-mujer.webp);
	}
}

@media (min-width: 1600px) {
	.sobre-tech {
		background-size: 100%, 210rem;
	}
}

.sobre-tech-grid {
	display: grid;
	grid-template-rows: repeat(2, 40rem);
	row-gap: var(--separacion);
}
@media (min-width: 768px) {
	.sobre-tech-grid {
		grid-template-rows: unset;
		row-gap: unset;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 4rem;
		padding: calc(var(--separacion) * 2) 0;
	}
}

.tx-sobre-tech {
	grid-row: 2/3;
	color: var(--blanco);
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding-bottom: var(--separacion);
}
@media (min-width: 768px) {
	.tx-sobre-tech {
		/* grid-column: 1/2; */
		padding-bottom: 0;
	}
}
.tx-sobre-tech h2 {
	font-size: 4rem;
}
.tx-sobre-tech p {
	font-size: 2rem;
	line-height: 2;
}

/*? ==================== **/
/** ==================== **/
/*  ***    Modelos   *** **/
/** ==================== **/
/*? ==================== **/
.modelos {
	padding: var(--separacion) 0;
}

.header-modelos {
	font-size: 6rem;
	margin-bottom: var(--separacion);
}

.listado-modelos {
	display: flex;
	flex-direction: column-reverse;
}

@media (min-width: 992px) {
	.listado-modelos {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 20rem);
		gap: 4rem;
	}
}

.modelo {
	background-color: var(--grisClaro);
	margin-bottom: 2rem;
	padding-left: 4rem;
	color: var(--primario);
	border-radius: 2rem;
	min-height: 20rem;
	background-repeat: no-repeat;
	background-position: 90% center;
	background-size: 15rem;

	display: flex;
	flex-direction: column;
	justify-content: center;

	transition: transform 0.3s ease;
	transition: background-size 0.35s ease;
}
@media (min-width: 992px) {
	.modelo {
		margin-bottom: 0;
	}
}
.modelo:hover {
	transform: scale(1.05);
	background-size: 30rem;
	cursor: pointer;
}

.modelo h3 {
	font-size: 2.4rem;
}

.modelo .precio {
	font-size: 4rem;
	font-weight: 900;
	line-height: 0;
}

.modelo:first-of-type {
	margin-bottom: 0;
}

.modelo-y {
	background-image: url(../img/modelo-x.svg);
}
.modelo-x {
	background-image: url(../img/modelo-y.svg);
}
.modelo-z {
	background-image: url(../img/modelo-z.svg);
	background-color: var(--primario);
	color: var(--blanco);
}

@media (min-width: 992px) {
	.modelo-z {
		grid-column: 2/3;
		grid-row: 1/3;
		background-size: 25rem;
	}
	.modelo-z h3 {
		font-size: 4rem;
	}
}

.modelo-z .precio {
	font-size: 6rem;
}

/*? ==================== **/
/** ==================== **/
/*  ***  Newsletter  *** **/
/** ==================== **/
/*? ==================== **/

.newsletter {
	/* background-image: linear-gradient(to bottom, transparent 50%, var(--blanco) 0%),
		url(../img/newsletter.jpg); */
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100%, 70rem;
}

.notavif.notwebp .newsletter {
	background-image: linear-gradient(to bottom, transparent 50%, var(--blanco) 0%),
		url(../img/newsletter.jpg);
}

.avif .newsletter {
	background-image: linear-gradient(to bottom, transparent 50%, var(--blanco) 0%),
		url(../img/newsletter.avif);
}

.webp .newsletter {
	background-image: linear-gradient(to bottom, transparent 50%, var(--blanco) 0%),
		url(../img/newsletter.webp);
}

@media (min-width: 768px) {
	.newsletter {
		/* background-image: linear-gradient(to right, transparent 50%, var(--blanco) 0%),
			url(../img/newsletter.jpg); */
		background-position: center, -21rem 0rem;
		/* background-position: left center; */
		background-size: 100%, 100rem;
		padding: 10rem 0;
	}

	.notavif.notwebp .newsletter {
		background-image: linear-gradient(to right, transparent 50%, var(--blanco) 0%),
			url(../img/newsletter.jpg);
	}

	.avif .newsletter {
		background-image: linear-gradient(to right, transparent 50%, var(--blanco) 0%),
			url(../img/newsletter.avif);
	}

	.webp .newsletter {
		background-image: linear-gradient(to right, transparent 50%, var(--blanco) 0%),
			url(../img/newsletter.webp);
	}
}

@media (min-width: 2200px) {
	.newsletter {
		background-size: 100%, 200rem;
		background-position: center, 0% -30rem;
	}
}

.contenido-news {
	display: grid;
	grid-template-rows: repeat(2, 30rem);
	gap: var(--separacion);
}

@media (min-width: 768px) {
	.contenido-news {
		grid-template-rows: unset;
		grid-template-columns: repeat(2, 1fr);
	}
}

.texto-news {
	grid-row: 2/3;
}
@media (min-width: 768px) {
	.texto-news {
		grid-row: unset;
		grid-column: 2/3;
	}
}

.formulario input[type="text"] {
	width: 100%;
	padding: 1rem;
	border: 1px solid var(--gris);
}

.formulario input[type="submit"] {
	width: 100%;
	padding: 2rem;
	background-color: var(--primario);
	color: var(--blanco);
	text-transform: uppercase;
	font-size: 2rem;
	font-weight: 900;
	border: none;
	border-radius: 1rem;
	margin-top: 1rem;

	transition: font-style 0.3s ease;
}

.formulario input[type="submit"]:hover {
	cursor: pointer;
	font-style: italic;
}

/*? ==================== **/
/** ==================== **/
/*  ***    Footer    *** **/
/** ==================== **/
/*? ==================== **/
.footer p {
	text-align: center;
	font-family: var(--fuenteSecundaria);
	font-size: 2rem;
	color: var(--primario);
	text-transform: uppercase;
	padding: 2rem 0;
}
