/* Global Styles */
:root {
	--primary-color: #f47d35;
	--light-gray: #f5f5f5;
	--border-color: #eaeaea;
	--white: #ffffff;
	--dark-bg: #2b2e33; /* For sections like CTA and Planning */
	--dark-gray: #222222;
	--text-gray: #666666;
	--footer-bg: #22252a;
	--orange-light: rgba(244, 125, 53, 0.1);
}

@font-face {
	font-family: 'GR Norch';
	src: url('../assets/fonts/GRNORCH.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Nunito Sans';
	src: url('../assets/fonts/NunitoSans-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Nunito Sans', sans-serif;
	color: var(--text-gray);
	background-color: var(--white);
	line-height: 1.6;
	font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'GR Norch', sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	line-height: 1.2;
	color: var(--dark-gray);
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 400px) {
	.container {
		width: 100%;
		padding: 0 25px;
	}
}

.section-subtitle {
	color: var(--primary-color);
	font-family: 'Nunito Sans', sans-serif;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 10px;
	text-transform: none;
}

.section-title {
	font-size: 46px;
	margin-bottom: 25px;
}

/* Utilities */
.btn {
	display: inline-block;
	padding: 15px 30px;
	font-family: 'Nunito Sans', sans-serif;
	font-weight: bold;
	font-size: 1.1rem;
	cursor: pointer;
	border: none;
	text-align: center;
	border-radius: 4px;
	transition: all 0.3s ease;
}

@media (max-width: 500px) {
	.btn {
		width: 100%;
	}
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-primary:hover {
	background-color: #d16424;
}

.btn-light {
	background-color: var(--white);
	color: var(--dark-gray);
}

.btn-light:hover {
	background-color: #eee;
}

.btn-dark {
	background-color: var(--dark-bg);
	color: var(--white);
}

.btn-dark:hover {
	background-color: #111;
}

/* Header */
header {
	position: absolute;
	top: 30px;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.85); /* Transparent white */
	padding: 15px 0;
	transition: background-color 0.3s ease;
}

header.scrolled {
	position: fixed;
	top: 0;
	background-color: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	animation: slideDown 0.4s ease-in-out;
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.logo img {
	height: 45px;
}

nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav-menu {
	display: flex;
	gap: 30px;
}

.nav-menu li a {
	font-family: 'GR Norch', sans-serif;
	font-weight: normal;
	font-size: 22px;
	color: var(--dark-gray);
}

.nav-menu li a:hover,
.nav-menu li a.active {
	color: var(--primary-color);
}

.header-icons {
	display: flex;
	gap: 15px;
	align-items: center;
}

.header-icons svg {
	cursor: pointer;
	transition: stroke 0.3s;
	stroke: var(--dark-gray);
}

.header-icons svg:hover {
	stroke: var(--primary-color);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
	z-index: 1001;
}

.menu-toggle span {
	width: 25px;
	height: 3px;
	background-color: var(--dark-gray);
	transition: all 0.3s ease;
}

/* Footer */
footer {
	background-color: var(--footer-bg);
	color: #999;
	padding-top: 80px;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	margin-bottom: 60px;
}

.brand-col .footer-logo img {
	height: 60px;
	margin-bottom: 20px;
}

.brand-col p {
	margin-bottom: 30px;
	max-width: 300px;
}

.contact-info h4,
.links-col h4 {
	color: var(--white);
	font-size: 30px;
	margin-bottom: 30px;
}

.contact-info ul li {
	margin-bottom: 15px;
	display: grid;
	grid-template-columns: 25px 1fr;
	align-items: center;
	gap: 10px;
}

.contact-info ul li svg {
	width: 25px;
	height: 25px;
}
.contact-info ul li svg.brand-font {
	fill: var(--primary-color);
}
.contact-info ul li svg:not(.brand-font) {
	stroke: var(--primary-color);
}
.contact-info ul li a {
	display: inline-block;
	border-bottom: 1px solid var(--text-gray);
}
.contact-info ul li a:hover {
	border-bottom-color: var(--primary-color);
}

.link-span {
	font-size: 0.9rem;
}

.links-col h4 {
	padding-bottom: 18px;
}

.links-col h4::before {
	background-color: var(--primary-color);
	content: '';
	bottom: 0;
	height: 3px;
	left: 0;
	position: absolute;
	width: 40px;
}

.links-col ul li {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.links-col:not(.contact-info) ul li::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: var(--primary-color);
	border-radius: 25%;
	margin-right: 10px;
}

.links-col ul li a:hover {
	color: var(--primary-color);
}

.copyright span {
	@media (max-width: 450px) {
		display: block;
		text-align: center;

		font-size: 0.9rem;
	}
}

.footer-bottom {
	background-color: var(--primary-color);
	padding: 15px 0;
	color: var(--white);
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-col {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}

.footer-col > * {
	width: 100%;
}

.footer-legal {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;

	@media (max-width: 400px) {
		justify-content: center;
	}
}

.social-links {
	display: flex;
	gap: 15px;

	@media (max-width: 400px) {
		width: 100%;
		justify-content: center;
	}
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--white);
	border-radius: 50%;
	font-size: 14px;
}

.social-links a:hover {
	background-color: var(--white);
}

.social-links a:hover svg {
	fill: var(--primary-color);
}

.social-links a svg {
	fill: white;
	width: 15px;
	height: 15px;
}

@media (max-width: 700px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-bottom .container {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		width: 150px;
		right: 0;
		background-color: #3a3a3a; /* Fondo grisáceo */
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		gap: 15px;
	}

	.nav-menu li a {
		color: var(--white);
	}

	.nav-menu li a:hover,
	.nav-menu li a.active {
		color: var(--primary-color);
	}

	.nav-menu.active {
		display: flex;
	}

	.menu-toggle {
		display: flex;
	}

	.menu-toggle.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}

@media (max-width: 768px) {
	.section-title,
	.section-subtitle {
		text-align: center;
	}

	.section-subtitle {
		display: block;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.copyright {
		font-size: 0.9rem;
	}
}
