@font-face {
	font-family: 'Franie SemiLight';
	src: url('../../fonts/Franie-SemiBold.woff2') format('woff2'),
		url('../../fonts/Franie-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Franie';
	src: url('../../fonts/Franie-Regular.woff2') format('woff2'),
		url('../../fonts/Franie-Regular.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Franie';
	src: url('../../fonts/Franie-Bold.woff2') format('woff2'),
		url('../../fonts/Franie-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Rosacas';
	src: url('../../fonts/RosacasRegular.woff2') format('woff2'),
		url('../../fonts/RosacasRegular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../../fonts/Quicksand-Light.woff2') format('woff2'),
		url('../../fonts/Quicksand-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../../fonts/Quicksand-Bold.woff2') format('woff2'),
		url('../../fonts/Quicksand-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../../fonts/Quicksand-Medium.woff2') format('woff2'),
		url('../../fonts/Quicksand-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../../fonts/Quicksand-Regular.woff2') format('woff2'),
		url('../../fonts/Quicksand-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

html {
	scroll-behavior: smooth;
	font-family: 'Quicksand', sans-serif;
}

body {
	background: linear-gradient(180deg, #FFF 21.43%, #F2F3F4 100%);
}

a {
	text-decoration: none;
	color: #4C657F;
}

h1, h2, h3, h4, h5, h6 {
	color: #4C657F;
	font-family: Quicksand;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-light {
	font-weight: 400;
}

.text-normal {
	font-weight: 500;
}

.text-semibold {
	font-weight: 600;
}

.text-bold {
	font-weight: 800;
}

h1 {
	font-size: 1.5rem;
	font-weight: 500;
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1.125rem;
	font-weight: 500;
}

section {
	margin: 100px 0px;
}

[data-animate],
[data-animate] path {
	transition: all .2s;
	transition-delay: 0s;
}

.secondary-btn,
.primary-btn {
	text-decoration: none !important;
	transition: 0.3s ease all;
	width: 100%;
	text-align: center;
	max-width: 270px;
	padding: 8px 32px;
	font-weight: 500;
	max-width: max-content;
}

.secondary-btn {
	border-radius: 16px;
	border: 1px solid #C6E7FF;
	background: #FFF;
	box-shadow: 0px 3px 14px 0px #C1C7CE;
	color: #4C657F;
}

.primary-btn {
	border-radius: 16px;
	border: 1px solid #F5C969;
	background: #FAB900;
	box-shadow: 0px 1px 14px 0px rgba(100, 100, 102, 0.40);
	color: #41484D;
}

.mail-icon {
	display: block;
	background-image: url('../../images/icons/mail_icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.footer {
	background: url('../../images/ondas_desktop.jpg') no-repeat;
	background-size: 100% auto;
	background-position: center center;
	padding: 20px 0;
	min-height: 224px;
	display: flex;
	align-items: center;
}

.footer .container {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.nav-container {
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, #55565E 100%);

	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.nav-container.scrolled {
	background: rgba(255, 255, 255, 0.6) !important;
	box-shadow: 0px 4px 20px 0px rgba(85, 86, 94, 0.50);
	backdrop-filter: blur(6.65px);
	-webkit-backdrop-filter: blur(6.65px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.nav-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 3rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo-link {
	width: 100%;
	max-width: 200px;
	display: block;
}

.nav-logo {
	width: 100%;
	max-width: 200px;
	height: 40px;
	transition: transform 0.3s ease;
	background-image: url('../../images/logos/logo_nammi_blanco.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.nav-container.scrolled .nav-logo {
	background-image: url('../../images/logos/logo_nammi_negativo.svg');
}

.nav-menu {
	display: flex;
	list-style: none;
	align-items: center;
	margin: 0;
	padding: 0;
	z-index: 1000;
}

.nav-item {
	margin: 0 1rem;
}

.nav-link {
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem;
	transition: color 0.3s ease;
	position: relative;
	transition: color 0.3s ease;
	color: #fff;
}

.nav-container.scrolled .nav-link {
	color: #333;
}

.nav-container.scrolled .nav-link:hover {
	color: #FAB900;
}

.nav-link.active {
	color: #FFF;
}

.nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #FAB900;
}

.nav-link:hover {
	color: #FAB900;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.hamburger {
	display: block;
	position: relative;
	width: 24px;
	height: 2px;
	background: #FFF;
	transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 2px;
	background: #FFF;
	transition: all 0.3s ease-in-out;
}

.hamburger::before {
	top: -8px;
}

.hamburger::after {
	bottom: -8px;
}

.nav-toggle.active .hamburger {
	background: transparent;
}

.nav-container.scrolled .nav-toggle.active .hamburger {
	background: transparent;
}

.nav-toggle.active .hamburger::before {
	top: 0;
	transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
	bottom: 0;
	transform: translateX(-50%) rotate(-45deg);
}

.nav-container.scrolled .hamburger,
.nav-container.scrolled .hamburger::before,
.nav-container.scrolled .hamburger::after {
	background: #333;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 25px;
    background: #fff;
    min-width: 200px;
    padding: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
	border-radius: 2px 16px 16px 16px;
	overflow: hidden;
	margin-top: 10px;
}

.nav-container.scrolled .dropdown-menu {
	top: 133%;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #FAB900;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
}

.contact-container {
	max-width: 400px;
}

.grecaptcha-badge {
    z-index: 10000;
}

@media (max-width: 768px) {

	/* navbar */

	section {
		margin: 80px 0px;
	}

	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.25rem;
	}

	h3 {
		font-size: 1.125rem;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-menu {
		display: none;
		position: absolute;
		min-width: 130px;
		top: 100%;
		left: 30px;
		background: #fff;
		padding: 1rem 0;
		box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
		border-radius: 2px 16px 16px 16px;
		order: 3;
	}

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

	.nav-link {
		display: block;
		text-align: center;
		color: #4C657F;
	}

	.dropdown-menu {
        position: static;
        box-shadow: none;
		min-width: 100%;
        width: 100%;
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
		display: block;
        margin-top: 0px;
        padding: 0.5rem 0;

    }

    /* Removemos el hover en móvil */
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu.active {
        display: block;
    }

	/* navbar end */

	.footer {
		background: url('../../images/ondas_mobile.png') no-repeat;
		background-size: cover;
		align-items: center;
	}


	.footer .container {
		display: flex;
		align-items: center;
		height: 100%;
		width: 100%;
	}

	.footer .container .logo-fidocar {
		width: 100%;
		max-width: 200px;
	}

	.nav-link.active {
		color: #4C657F;
	}

	.nav-link.active::after {
		bottom: 0;
		width: 50px;
		left: 50%;
		transform: translateX(-50%);
	}

    .nav-wrapper {
        display: grid;
        grid-template-columns: auto 1fr auto;
        padding: 1rem;
    }

    .nav-toggle {
        order: 1;
        margin-right: auto;
    }

    .nav-logo-link {
        order: 2;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-logo {
        max-width: 150px;
        margin: 0 auto;
    }

    .nav-link {
        text-align: start;
        color: #4C657F;
    }

    .nav-item {
        width: max-content;
        margin: 4px 0;
		padding-left: 20px;
    }
}

@media (max-width: 600px) {

	.footer .container {
		justify-content: flex-start;
		align-items: flex-start;
	}
}





