@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75,700;100,400..700&family=Barlow+Condensed:wght@700&display=swap');

/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}

/* Vars */
:root {
	--font-text: 'Archivo', sans-serif;
	--font-var: 'Barlow Condensed', sans-serif;
	--font-text-cond: "wdth" 75;
	--color-core-blue: #3A66F4;
	--color-ice-blue: #DBE4F8;
	--color-pilot-blue: #7C99F8;
	--color-trust-blue: #192C72;
	--color-smart-blue: #6672A1;
	--color-black-drive: #000;
	--color-motor-drive: #555;
	--color-horizon-blue: #BDCCFB;
	--color-steel-blue: #B2B9D0;
	--color-turbo-blue: #aaa;
	--color-seminuevos: #FFD300;
	--color-dark: #000;
	--color-light: #fff;
	--color-dark-gray: #737373;
	--color-light-gray: #D9D9D9;
	--color-light-text: #9c9c9c;
	--color-text-highlight: #ededed;
	interpolate-size: allow-keywords;
}

/* Utils */

@media (prefers-reduced-motion: no-preference) {
	html:focus-within {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}  

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}  

:where(input, button, textarea, select),
:where(input[type="file"])::-webkit-file-upload-button {
	color: inherit;
	font: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
}

.is-hidden {
	display: none;
	opacity: 0;
}

/* Styles */

@view-transition { navigation: auto }

body {
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

html, body {
	height: 100%;
}

ul, p {
	letter-spacing: 5%;
}

/* Basic layout */
@media screen and (max-width: 60em) {
	header, main, footer {
		padding: 0 11%;
		width: 100%;
	}
	main {
		margin: 9.875rem 0 5.25rem;
	}
	.logo-wrap {
		display: flex;
		justify-content: space-between;
		padding: 2.75rem 0;
		z-index: 3;
	}
	.logo-cleber {
		height: 46px;
		width: auto;
	}
	nav {
		background: var(--color-dark);
		position: absolute;
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 1;
		z-index: 2;
		width: 100%;
		height: calc(100% - 8.563rem);
		max-height: calc(100% - 8.563rem);
		left: 0;
		right: 0;
		top: 8.563rem;
		bottom: 0;
		font-size: 1.938rem;
		transition: all .25s ease-out;

		ul {
			width: 100%;
		}

		&.is-closed {
			max-height: 0;
			opacity: 0;
			overflow: hidden;
		}
	}
	footer {
		padding-top: 4.438rem;
		padding-bottom: 4.438rem;
	}
	footer .social {
		margin: 5.25rem 0 9.438rem;
		img {
			width: 33px;
			height: 33px;
		}
	}
	.footer-contact {
		margin-bottom: 10.625rem;
		font-size: 1.625rem;
	}
	.footer-copyright {
		font-size: 1.125rem;
	}
	.footer-info {
		margin-bottom: 3.625rem;
		font-size: 1.125rem;
	}
}

@media screen and (min-width: 60em) {
	.wrap {
		display: grid;
		grid-template:
		"sidebar content"
		"sidebar footer";
		height: 100%;
	}
	.btn-nav, .btn-close {
		display: none;
	}
	.logo-wrap {
		margin: 5rem 2.375rem 7.5rem;
	}
	header {
		width: 18.625rem;
	}
	main {
		padding: 5rem;
		max-width: 76rem;
	}
	footer {
		padding: 2rem 5rem;
		display: grid;
	}
}

@media screen and (min-width: 80em) {
	footer {
		align-self: end;
		padding: 2rem 5rem;
		display: grid;
		grid-template:
		"contact links"
		"info copyright";
	}

	.footer-info {
		grid-area: info;
	}
	.footer-contact {
		grid-area: contact;
	}
	.footer-info, .footer-contact {
		max-width: 60%;
	}
	.footer-links {
		grid-area: links;
	}
	.footer-copyright {
		grid-area: copyright;
	}
	.footer-links, .footer-copyright {
		justify-items: end;
		text-align: right;
	}
}

header {
	background: var(--color-dark);
	color: var(--color-light);
	grid-area: sidebar;

	a {
		color: var(--color-light);
		text-decoration: none;
	}
}

footer {
		background: var(--color-light-gray);
		grid-area: footer;
		justify-content: space-between;
}

main {
	grid-area: content;
}

a {
	transition: all 0.25s ease-out;
}

.btn {
	display: inline-block;
	border-radius: 4em;
	padding: 0.688rem 0.875rem 0.688rem 0.563rem;
	background: var(--color-core-blue);
	text-decoration: none;
	color: var(--color-light);
	text-transform: uppercase;
	font-weight: 600;
	text-align: left;

	&:hover {
		background-color: var(--color-trust-blue);;
	}

	img {
		display: inline-block;
		vertical-align: middle;
		margin-right: 0.7rem;
	}
}

.btn-dl {
	background: var(--color-core-blue) url(/img/ic-dl.svg) 0.75rem .75rem no-repeat;
	padding-left: 2.2rem;
	font-size: 0.938rem;
	line-height: 1.15;
}
.btn-dl-wrap {
	text-align: right;
	margin: 2.688rem 0 7.125rem;
}

.btn-totop {
	background-color: var(--color-turbo-blue);
	color: var(--color-light);

	&:hover {
		background-color: #888;
	}
}

.btn-totop-wrap {
	text-align: center;
	margin: 2.688rem 0 7.125rem;
}

.hidden-noscroll {
	transition: all .25s ease-out;
}

nav ul {
	list-style: none;
	padding: 0;
}
	

nav li {
	display: block;
	overflow: auto;
}

nav a, nav span {	
	display: block;
	margin: 0 2.375rem;
	padding: 0.875rem 0;
	color: var(--color-dark-gray);
	border-bottom: 1px solid var(--color-dark-gray);
	&:hover, &.is-active {
		color: var(--color-light);
	}
}

@media screen and (max-width: 60em) {
	nav a, nav span {
		margin: 0 11%;
	}
}

.subnav {
	background: #252525;

	li:last-of-type a {
		border-bottom: none;
	}
}

.subnav-active {
	position: relative;
	& > a {border-bottom: none;color: var(--color-light)}

	&::after {
	content: url(/img/ic-subnav-active.svg);
	display: inline-block;
	position: absolute;
	right: 2.313rem;
	top: 1rem;
	}
}

.subnav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease-out;
}
.subnav-active .subnav {
	max-height: 500px;
}

.btn-nav, .btn-close {
	background: none;
	border: none;
}

.social {
	list-style: none;
	margin: 3em 0;
	padding: 0;
	display: flex;
	gap: .8em;
	a {
		background: var(--color-core-blue);
		display: inline-block;
		color: #fff;
		vertical-align: middle;
		padding: .5em;
		border-radius: 4em;
		aspect-ratio: 1/1;
		&:hover {
			background: var(--color-trust-blue);
		}
	}
	img {
		display: inline-block;
		vertical-align: middle;
		width: 19px;
		height: 19px;
	}
} 

h1, h2 {
	font-weight: 700;
	font-variation-settings: var(--font-text-cond);
	color: var(--color-core-blue);
	text-transform: uppercase;
}

h1 {
	margin-top: -6px;
	margin-bottom: 7rem;
	font-size: 4.25rem;
}

h2 {
	font-size: 2.625rem;
}

section {	
	p {
		font-size: 1.625rem;
		font-weight: 400;
		line-height: 2rem;
		margin: 0 0 2rem 0;
	}
	p.lead {
		margin-top: 6rem;
	}
}

/* Pages */
.intro {
	span {
		font-size: 9.375rem;
		display: block;
	}
}
@media screen and (max-width: 60em) {
	.intro {
		font-size: clamp(1.5rem, 1.105rem + 3.16vw, 3rem);
		span {
			font-size: clamp(2rem, 1.062rem + 7.5vw, 5.563rem);
		}
	}
}

.toggle-panels {
	margin: 4rem 0;
	.tablist {
		list-style: none;
		padding: 0;
		display: flex;
		width: 100%;
		justify-content: space-between;
		gap: 0.938rem;
		flex-wrap: wrap;
		@media screen and (min-width: 35em) {
			width: auto;
			justify-content: flex-start;
			flex-wrap: nowrap;
		}
	}
	.tab {
		font-size: .9rem;
		color: var(--color-dark);
		background: var(--color-light);
		border: 1px solid var(--color-dark);
		border-radius: 4em;
		padding: 0.688rem 1rem;
		transition: all .25s ease-out;
		&:hover {
			background: var(--color-ice-blue);
		}
	}
	.tab[aria-selected='true'] {
			background: var(--color-dark);
			color: var(--color-light);
		}
	.tab:focus-visible {
			outline: 3px solid var(--color-core-blue);
		}

	.tabpanel {
		padding: 5.125rem 0;
	}

	.tabpanel[hidden] {
  display: none;
	}
	.tabpanel .gr {
		width: 100%;
		height: auto;
	}
}

.glide img {
	width: 100%;
	height: auto;
}


