
@font-face {
	font-family: "Roboto";
	src: url('fonts/Roboto/Roboto-Regular.ttf');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto-Bold';
	src: url('fonts/Roboto/Roboto-Bold.ttf');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto-Black';
	src: url('fonts/Roboto/Roboto-Black.ttf');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "Lato";
	src: url('fonts/Lato/Lato-Regular.ttf');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Lato-Bold';
	src: url('fonts/Lato/Lato-Bold.ttf');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Lato-Black';
	src: url('fonts/Lato/Lato-Black.ttf');
	font-weight: 900;
	font-style: normal;
}

:root {
	--primario: #1073BA;
	--secundario: #00DA55;
	--gris: #3B3B3B;
	--blanco: #FFF;
	--negro: #1F1E1E;
	--grisClaro: #E1E1E1;

	--separacion: 5rem;

	--fuentePrincipal : 'Roboto' , sans-serif;
	--fuenteSecundaria : 'Lato', sans-serif;
	--fuentePrincipalBold : 'Roboto-Bold' , sans-serif;
	--fuenteSecundariaBold : 'Lato-Bold', sans-serif;
	--fuentePrincipalBlack : 'Roboto-Black' , sans-serif;
	--fuenteSecundariaBlack : 'Lato-Black', sans-serif;
}

html {
	box-sizing: border-box;
	font-size: 62.5%;
}
*, *::before, *::after {
	box-sizing: inherit;
}

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-family: var(--fuenteSecundariaBlack);
	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%;
	height: auto;
	display: block;
}

/* Utilidades */
.text-center {
	text-align: center;
}

/* Degradados */

.degradado-verde {
	color: transparent;
	background: linear-gradient(to right, var(--primario) 0%, var(--secundario) 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

/* 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);
	}
}
.texto-header {
	padding-top: var(--separacion);
}
.texto-header :not(.descripcion-producto) {
	text-align: center;
	
}

@media(min-width: 768px) {
	.texto-header :not(.descripcion-producto) {
		text-align: left;
		
	}
	.texto-header {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 0;
	}
}

.texto-header p {
	margin: 0;
}

.tagline-producto {
	font-size: 3rem;
	font-family: var(--fuentePrincipalBlack);
}

.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-family: var(--fuentePrincipalBlack);
}

/* Iconos */
.iconos {
	padding: var(--separacion) 0;
}
@media(min-width: 768px) {
	.iconos {
		display: flex;
		gap: 2rem;
	}
}

.icono {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: calc( var(--separacion) / 2 );
}
.icono:last-of-type {
	margin: 0;
}
@media(min-width: 768px) {
	.icono {
		margin: 0;
	}
}
.icono img {
	width: 5rem;
}
.icono h3 {
	color: var(--primario);
	text-transform: uppercase;
	margin-top: calc( var(--separacion) / 2 );
}

/* Sobre Tech Pro */
.sobre-tech {
	background-position: right;
	background-repeat: repeat, no-repeat;
	background-size: 100%, 110rem;
}

.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) {
	.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: 2200px) {
	.sobre-tech {
		background-size: 100%, 140rem;
	}
}
@media(min-width: 2800px) {
	.sobre-tech {
		background-size: 100%, 170rem;
	}
}
@media(min-width: 3350px) {
	.sobre-tech {
		background-size: 100%, 200rem;
	}
}
.sobre-tech-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	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;
	}
}
.texto-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) {
	.texto-sobre-tech {
		padding-bottom: 0;
	}
}
.texto-sobre-tech h2 {
	font-size: 4rem;
}
.texto-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;
	
	color: var(--primario);
	border-radius: 2rem;
	min-height: 40rem;
	text-align: center;
	background-repeat: no-repeat;
	background-position: 50% 10%;
	background-size: 15rem;
	transition-property: transform, background-size;
	transition-duration: .3s;
}
.modelo:hover {
	transform: scale(1.1);
	background-size: 30rem;
}
@media(min-width: 400px) {
	.modelo {
		padding-left: 4rem;
		min-height: 20rem;
		text-align: left;
		display: flex;
		flex-direction: column;
		justify-content: center;
		background-position: 90% center;
	}
	
}

@media(min-width: 992px) {
	.modelo {
		margin-bottom: 0;
	}
}

.modelo h3 {
	font-size: 2.4rem;
	margin-top: 20rem;
}
@media(min-width: 400px) {
	.modelo h3 {
		margin-top: calc( var(--separacion) / 2 );
	}
	
}
.modelo-x h3,
	.modelo-y h3 {
		margin-top: 26rem;
	}
@media(min-width: 400px) {
	.modelo-x h3,
	.modelo-y h3 {
		margin-top: 1rem;
	}
}

.modelo .precio {
	font-size: 4rem;
	font-family: var(--fuentePrincipalBlack);
	line-height: 0;
}
.modelo:first-of-type {
	margin-bottom: 0;
}
.modelo-x {
	background-image: url(../img/modelo-x.svg);
}
.modelo-y {
	background-image: url(../img/modelo-y.svg);
}
.modelo-z {
	background-color: var(--primario);
	color: var(--blanco);
	background-image: url(../img/modelo-z.svg);
}
@media(min-width: 992px) {
	.modelo-z {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
		background-size: 20rem;
	}
	.modelo-z h3 {
		font-size: 4rem;
	}
}
@media(min-width: 1180px) {
	.modelo-z {
		background-size: 25rem;
	}
}
.modelo-z .precio {
	font-size: 6rem;
}

/* Newsletter */

.newsletter {
	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-position: center, -21rem 0rem;
		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%, 140rem;
		background-position: center, -10% -29rem;
	}
}
@media(min-width: 2600px) {
	.newsletter {
		background-size: 100%, 180rem;
		background-position: center, -10% -29rem;
		padding: 13rem 0;
		height: 60rem;
	}
}
@media(min-width: 3300px) {
	.newsletter {
		background-size: 100%, 200rem;
		background-position: center, -10% -37rem;
		padding: 18rem 0;
		height: 70rem;
	}
}
@media(min-width: 3700px) {
	.newsletter {
		background-size: 100%, 230rem;
		background-position: center, -10% -48rem;
		padding: 18rem 0;
		height: 70rem;
	}
}
.contenido-newsletter {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	gap: var(--separacion);
}

@media(min-width: 768px) {
	.contenido-newsletter {
		grid-template-rows: unset;
		grid-template-columns: repeat(2, 1fr);
	}
}

.texto-newsletter {
	grid-row: 2 / 3;
}
@media(min-width: 768px) {
	.texto-newsletter {
		grid-row: unset;
		grid-column: 2 / 3;
	}
}

.formulario input[type="text"] {
	width: 100%;
	padding: 1rem;
}

.formulario input[type="submit"] {
	width: 100%;
	padding: 2rem;
	background-color: var(--primario);
	color: var(--blanco);
	text-transform: uppercase;
	font-size: 2rem;
	font-family: var(--fuentePrincipalBlack);
	border: none;
}
@media(min-width: 768px) {
	.formulario {
		margin-bottom: 4rem;
	}
}

.footer p {
	text-align: center;
	font-family: var(--fuenteSecundaria);
	text-transform: uppercase;
	font-size: 2.4rem;
	color: var(--primario);
	padding: 2rem 0;
}
.w3c img {
	margin: 0 auto;
}