@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

:root {
	--lime: #9bf500;
	--green: #67a900;
	--blue: #7f91b5;
	--navy: #182436;
	--ink: #27313f;
	--muted: #667386;
	--line: #dfe5e9;
	--soft: #f4f7f5;
	--white: #fff
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	font: 15px/1.65 Inter, Arial, sans-serif;
	color: var(--ink);
	background: #fff
}

a {
	text-decoration: none;
	color: inherit
}

.wrap {
	width: min(1180px, calc(100% - 40px));
	margin: auto
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #ffffffef;
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line)
}

.nav {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px
}

.brand img {
	width: 45px;
	height: 45px;
	object-fit: contain
}

.brand div {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand div span{
	font: 800 30px Arial;
	letter-spacing: -1px
}


.brand em,
.statement em {
	font-style: normal;
	color: var(--green)
}

.brand small {
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #7c8796;
}

nav {
	display: flex;
	align-items: center;
	gap: 23px;
	font-weight: 600;
	font-size: 16px;
	color: #526071
}

nav a:hover {
	color: var(--green)
}

.outline {
	padding: 10px 15px;
	border: 1px solid var(--navy);
	border-radius: 8px
}

.nav-download {
	color: var(--green)
}

#menu {
	display: none;
	border: 0;
	background: none;
	font-size: 25px
}

.hero {
	padding: 105px 0;
	background: linear-gradient(115deg, #f7faf8, #fff 60%, #f2f6f3);
	overflow: hidden
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	gap: 70px;
	align-items: center
}

.tag {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 2px;
	color: var(--green);
	margin: 0 0 16px
}

h1,
h2,
h3 {
	font-family: Arial;
	color: var(--navy);
	line-height: 1.12
}

h1 {
	font-size: clamp(42px, 5vw, 67px);
	letter-spacing: -3px;
	margin: 0 0 24px
}

h2 {
	font-size: clamp(31px, 4vw, 45px);
	letter-spacing: -1.7px;
	margin: 0
}

mark {
	background: linear-gradient(transparent 72%, #9bf50088 0);
	color: inherit
}

.lead {
	font-size: 20px;
	color: #596678;
	margin-bottom: 30px
}

.actions,
.contact-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap
}

.btn {
	padding: 13px 20px;
	border: 1px solid #ccd4da;
	border-radius: 8px;
	font-weight: 700;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center
}

.primary {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy)
}
.btn.white{
	color: var(--navy);
}

.download span {
	color: var(--green);
	font-size: 18px;
	margin-left: 7px
}

.fomenta {
    color: var(--navy);      /* negro */
	letter-spacing: -1px;
	font-weight: 800;
}
.fomenta.blanco {
    color: var(--white);      /* blanco */
}
.local {
    color: var(--green);   /* verde corporativo */
}

.micro {
	font-size: 14px;
	color: #7b8795;
	margin-top: 24px
}

.dashboard {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 18px 50px #1824361a;
	overflow: hidden;
	transform: rotate(1deg)
}

.dash-head {
	height: 50px;
	background: var(--navy);
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 18px;
	color: #cbd4df;
	font-size: 20px
}

.dash-head i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--blue)
}

.dash-head span {
	margin-left: auto
}

.dash-body {
	padding: 25px;
	font-size: 20px;
}

.big,
.metrics div {
	border: 1px solid var(--line);
	border-radius: 11px
}

.big {
	padding: 21px;
	background: #f7faf8;
	margin-bottom: 13px
}

.big small,
.big span {
	display: block;
	color: #718092
}

.big strong {
	display: block;
	font: 800 30px Arial;
	color: var(--navy);
	margin: 5px 0
}

.metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px
}

.metrics div {
	padding: 15px;
	font-weight: 700
}

.metrics b {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	background: #9bf50033;
	border-radius: 7px;
	color: var(--green);
	margin-right: 8px
}

.section {
	padding: 92px 0
}

.soft {
	background: var(--soft)
}

.two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 75px
}

.copy {
	font-size: 18px;
	color: var(--muted);
	line-height: 1.5;
}

.copy strong {
	color: var(--navy)
}

.head {
	max-width: 830px;
	margin-bottom: 45px
}

.head>p:last-child {
	font-size: 16px;
	color: var(--muted)
}

.compact {
	margin-bottom: 35px
}

.challenge {
	padding: 55px 0;
	background: #eef4f0;
	border-top: 1px solid #e2eae4;
	border-bottom: 1px solid #e2eae4
}

.challenge-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 75px;
	align-items: center
}


.challenge-grid>div:last-child>p {
	font-size: 18px;
	color: #596678;
	margin-top: 0
}

.challenge-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 25px;
	font-weight: 700;
	font-size: 16px
}

.challenge-points span::first-letter {
	color: var(--green)
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px
}

.cards article {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 32px 28px;
	overflow: hidden
}

.num {
	position: absolute;
	right: 18px;
	top: 10px;
	font: 800 47px Arial;
	color: #edf0f2
}

.icon {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--navy);
	color: var(--lime);
	font-size: 23px;
	font-weight: 800;
	margin-bottom: 24px
}

.cards h3 {
	font-size: 24px;
	margin: 0 0 12px
}

.cards article>p {
	font-size: 16px;
	color: var(--muted);
	min-height: 120px
}

.cards ul {
	list-style: none;
	padding: 15px 0 0;
	margin: 18px 0 0;
	border-top: 1px solid var(--line)
}

.cards li {
	padding: 8px 0;
	border-bottom: 1px solid #edf0f2;
	font-size: 16px
}

.cards li:before {
	content: "—";
	color: var(--green);
	font-weight: bold;
	margin-right: 7px
}

.dark {
	background: var(--navy);
	color: #fff
}

.dark h2,
.dark h3 {
	color: #fff
}

.dark .tag {
	color: var(--green)
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 45px
}

.steps>div {
	border-top: 1px solid #ffffff2e;
	padding-top: 23px;
	position: relative;
}

.steps span {
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: var(--green);
	color: var(--navy);
	font-weight: 800
}
.steps > div > img{
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1) drop-shadow(0 5px 10px #0002);
    position: absolute;
    right: 0;
    top: 2px;
}

.steps h3 {
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 8px
}

.steps p {
	color: #b9c3cf;
	font-size: 13px
}

.measure-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px; /* separa los elementos */
}

.measure-grid>div {
	min-height: 185px;
	padding: 28px;
	border: 2px solid var(--green);
	background: #f7faf8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center
}

.measure-icon {
	font-size: 29px;
	color: var(--navy);
	margin-bottom: 8px
}

.measure-grid b {
	text-transform: uppercase;
	color: var(--green);
	font-size: 20px;
	margin-bottom: 5px
}

.measure-grid span {
	font-size: 18px;
	color: #4e5b6a
}

.experience-section {
	background: #fff
}

.experience-head {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 70px;
	align-items: end;
	margin-bottom: 38px
}

.experience-head>p {
	font-size: 20px;
	color: var(--muted);
	margin: 0
}

.real-numbers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--green);
	background: #eff8f2
}

.real-numbers>div {
	padding: 30px;
	border-right: 1px solid var(--green)
}

.real-numbers>div:last-child {
	border-right: 0
}

.real-numbers strong {
	display: block;
	font: 800 3rem Arial;
	color: var(--green);
	letter-spacing: -1px
}

.real-numbers span {
	display: block;
	font-weight: 700;
	color: var(--navy);
	max-width: 220px;
	font-size: 20px;
    line-height: 1.2;
}

.experience-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 35px;
	margin-top: 25px
}

.experience-foot p {
	color: var(--muted);
	font-size: 13px;
	max-width: 720px
}

.text-link {
	font-weight: 800;
	color: var(--green);
	white-space: nowrap
}

.audience {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden
}

.audience div {
	background: #fff;
	padding: 30px
}

.audience b,
.audience span {
	display: block
}

.audience b {
	font: 700 24px Arial;
	color: var(--navy);
	margin-bottom: 8px
}

.audience span {
	font-size: 18px;
	color: var(--muted)
}

.statement {
	padding: 70px 0
}

.statement p {
	max-width: 940px;
	margin: auto;
	text-align: center;
	font-size: clamp(23px, 3vw, 34px);
	line-height: 1.35;
	color: #6b7786
}

.statement strong {
	color: var(--navy)
}

.contact {
	padding: 0 0 95px
}

.contact-box {
	padding: 50px 55px;
	background: linear-gradient(120deg, var(--navy), #263957);
	border-radius: 18px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px
}

.contact h2 {
	color: #fff;
	font-size: 35px
}

.contact p:not(.tag) {
	color: #c6d0dc;
	max-width: 700px
}

.contact .tag {
	color: var(--lime)
}

.white {
	white-space: nowrap
}

.ghost-white {
	background: transparent;
	color: #fff;
	border-color: #ffffff66
}

footer {
	border-top: 1px solid var(--line);
	padding: 32px 0
}

.foot {
	display: flex;
	align-items: center;
	justify-content: space-between
}

.foot>div {
	text-align: right;
	color: #7b8694;
	font-size: 12px
}

.foot>div a {
	font-weight: 700;
	color: var(--navy)
}

.reveal {
	animation: up .7s ease both
}

@keyframes up {
	from {
		opacity: 0;
		transform: translateY(15px)
	}
}

@media(max-width:960px) {
	nav {
		display: none;
		position: absolute;
		top: 70px;
		left: 20px;
		right: 20px;
		background: #fff;
		padding: 20px;
		box-shadow: 0 15px 40px #0002;
		flex-direction: column;
		align-items: stretch
	}

	nav.open {
		display: flex
	}

	#menu {
		display: block
	}

	.hero-grid,
	.two,
	.challenge-grid,
	.experience-head {
		grid-template-columns: 1fr
	}

	.cards,
	.audience {
		grid-template-columns: 1fr
	}

	.steps {
		grid-template-columns: 1fr 1fr
	}

	.measure-grid {
		grid-template-columns: 1fr 1fr
	}

	.cards article>p {
		min-height: 0
	}

	.contact-box {
		flex-direction: column;
		align-items: flex-start
	}

	.experience-foot {
		align-items: flex-start;
		flex-direction: column
	}
}

@media(max-width:600px) {
	.wrap {
		width: calc(100% - 28px)
	}

	.nav {
		height: 70px
	}

	.hero {
		padding: 65px 0
	}

	.hero-grid {
		gap: 40px
	}

	h1 {
		font-size: 39px;
		letter-spacing: -2px
	}

	.lead {
		font-size: 18px
	}

	.actions,
	.contact-actions {
		flex-direction: column;
		width: 100%
	}

	.actions .btn,
	.contact-actions .btn {
		width: 100%
	}

	.steps,
	.measure-grid,
	.challenge-points {
		grid-template-columns: 1fr
	}

	.real-numbers {
		grid-template-columns: 1fr
	}

	.real-numbers>div {
		border-right: 0;
		border-bottom: 1px solid var(--green)
	}

	.real-numbers>div:last-child {
		border-bottom: 0
	}

	.contact-box {
		padding: 34px 26px
	}

	.foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px
	}

	.foot>div {
		text-align: left
	}
}

/* =====================================================
   FAQS
===================================================== */

.faq {
    background: var(--soft);
}

.faq .wrap {
    max-width: 1000px;
}

.faq > .wrap > h2 {
    margin-bottom: 15px;
}

.faq > .wrap > .tag + h2 {
    margin-top: 0;
}

/* Cada pregunta */
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.faq details:hover {
    border-color: #cbd5dc;
}

.faq details[open] {
    border-color: rgba(103, 169, 0, .45);
    box-shadow: 0 8px 25px rgba(24, 36, 54, .06);
}


/* Pregunta */
.faq summary {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 72px;
    padding: 18px 65px 18px 25px;

    cursor: pointer;
    list-style: none;

    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;

    color: var(--navy);

    transition: color .2s ease;
}


/* Ocultar marcador nativo */
.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::marker {
    display: none;
    content: "";
}


/* Icono + / - */
.faq summary::after {
    content: "+";

    position: absolute;
    right: 25px;
    top: 50%;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 50%;
    background: rgba(155, 245, 0, .18);

    color: var(--green);

    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    transition:
        transform .25s ease,
        background .25s ease;
}

.faq details[open] summary::after {
    content: "−";
    background: var(--green);
    color: #fff;
}


/* Pequeño acento verde */
.faq summary::before {
    content: "";

    width: 5px;
    height: 30px;

    flex: 0 0 5px;

    margin-right: 17px;

    border-radius: 5px;
    background: var(--lime);
}


/* Respuesta */
.faq details p {
    margin: 0;

    padding:
        0 70px
        24px 47px;

    max-width: 880px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}


/* Separador al abrir */
.faq details[open] summary {
    color: var(--green);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 600px) {

    .faq summary {
        min-height: 65px;

        padding:
            16px 55px
            16px 18px;

        font-size: 14px;
    }

    .faq summary::before {
        height: 26px;
        margin-right: 12px;
    }

    .faq summary::after {
        right: 17px;

        width: 28px;
        height: 28px;

        font-size: 20px;
    }

    .faq details p {
        padding:
            0 25px
            20px 35px;

        font-size: 14px;
    }

}

/* =====================================================
   FOOTER - ENLACES LEGALES
===================================================== */

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

.footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 10px;

    font-size: 11px;
}

.footer-legal a,
.footer-legal button {
    color: var(--muted);
    font: inherit;
    text-decoration: none;

    transition: color .2s ease;
}

.footer-legal a:hover,
.footer-legal button:hover {
    color: var(--green);
}

.footer-legal span {
    color: #c4cbd1;
}

.footer-legal button {
    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    cursor: pointer;
}


/* MÓVIL */

@media (max-width: 700px) {

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

    .footer-legal {
        justify-content: flex-start;
        margin-top: 14px;
    }

}


/* =====================================================
   PÁGINAS LEGALES
   Aviso legal · Privacidad · Cookies
===================================================== */

.legal-wrap {
    width: min(1040px, calc(100% - 40px));
    margin: auto;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffffef;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.legal-nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.legal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.legal-brand:hover {
    text-decoration: none;
}

.legal-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.legal-brand > span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.legal-brand b {
    font: 800 23px Montserrat, Arial, sans-serif;
    color: var(--navy);
    letter-spacing: -1px;
}

.legal-brand em {
    font-style: normal;
    color: var(--green);
}

.legal-brand small {
    font-size: 9px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #7c8796;
    margin-top: 5px;
}

.back-home {
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

.back-home:hover {
    color: var(--green);
    text-decoration: none;
}

.legal-main {
    padding: 72px 0 90px;
    background: linear-gradient(180deg, #fff, #fbfcfb);
}

.legal-content {
    max-width: 900px;
}

.legal-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green);
    margin: 0 0 10px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    font-family: Montserrat, Arial, sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

.legal-content h1 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -2px;
    margin: 0 0 18px;
}

.legal-content h2 {
    font-size: 24px;
    letter-spacing: normal;
    margin: 0 0 14px;
}

.legal-content h3 {
    font-size: 17px;
    letter-spacing: normal;
    margin: 22px 0 8px;
}

.legal-intro {
    font-size: 18px;
    color: var(--muted);
    max-width: 820px;
    margin: 0 0 46px;
}

.legal-content section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content a {
    color: var(--green);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-card {
    background: var(--soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--lime);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 8px 0 18px;
}

.legal-data {
    margin: 0;
}

.legal-data div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid #e5ebe7;
}

.legal-data div:last-child {
    border-bottom: 0;
}

.legal-data dt {
    font-weight: 800;
    color: var(--navy);
}

.legal-data dd {
    margin: 0;
    color: var(--muted);
}

.legal-list {
    padding-left: 22px;
}

.legal-list li {
    margin: 9px 0;
}

.highlight-section {
    background: #f3f8f4;
    border: 1px solid #dbe9dc !important;
    border-left: 5px solid var(--green) !important;
    border-radius: 12px;
    padding: 28px !important;
    margin: 22px 0;
}

.legal-updated {
    font-size: 12px;
    color: #8993a0;
    margin-top: 28px;
}

.legal-note {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
}

.cookie-table-wrap {
    overflow-x: auto;
    margin: 15px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 740px;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--line);
    padding: 12px 13px;
    text-align: left;
    vertical-align: top;
}

.cookie-table th {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
}

.cookie-table td {
    font-size: 13px;
}

.legal-action {
    border: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

.legal-action:hover {
    background: #263957;
}

.legal-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    background: #fff;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.footer-brand img {
    width: 36px;
    height: 36px;
}

.footer-brand b {
    font-size: 18px;
}

.legal-footer p {
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0 0;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a,
.link-button {
    font: 600 12px Inter, Arial, sans-serif;
    color: var(--muted);
    text-decoration: none;
}

.link-button {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
}

.footer-links a:hover,
.link-button:hover {
    color: var(--green);
    text-decoration: none;
}


/* =====================================================
   COOKIE BANNER / PREFERENCIAS
===================================================== */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 1040px;
    margin: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 55px rgba(24, 36, 54, .22);
    border-radius: 14px;
    padding: 22px;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-banner-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
}

.cookie-banner h2 {
    font: 800 19px Montserrat, Arial, sans-serif;
    color: var(--navy);
    margin: 0 0 7px;
}

.cookie-banner p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.cookie-btn {
    border: 1px solid var(--navy);
    background: #fff;
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

.cookie-btn.primary {
    background: var(--navy);
    color: #fff;
}

.cookie-btn.secondary {
    border-color: #cfd7dd;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 20, 33, .58);
    display: grid;
    place-items: center;
    padding: 20px;
}

.cookie-modal-box {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    padding: 26px;
}

.cookie-modal-box h2 {
    font: 800 23px Montserrat, Arial, sans-serif;
    color: var(--navy);
    margin: 0 0 8px;
}

.cookie-modal-box > p {
    color: var(--muted);
    font-size: 13px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.cookie-option strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
}

.cookie-option span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.cookie-fixed {
    font-size: 12px;
    font-weight: 800;
    color: var(--green);
}

.cookie-switch {
    position: relative;
    width: 46px;
    height: 25px;
    flex: 0 0 46px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch i {
    position: absolute;
    inset: 0;
    background: #cfd6dd;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

.cookie-switch i::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.cookie-switch input:checked + i {
    background: var(--green);
}

.cookie-switch input:checked + i::after {
    transform: translateX(21px);
}

.cookie-modal-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 19px;
    flex-wrap: wrap;
}


/* =====================================================
   RESPONSIVE - PÁGINAS LEGALES Y COOKIES
===================================================== */

@media (max-width: 700px) {

    .legal-wrap {
        width: calc(100% - 28px);
    }

    .legal-nav {
        height: 70px;
    }

    .legal-brand img {
        width: 39px;
        height: 39px;
    }

    .legal-brand b {
        font-size: 20px;
    }

    .back-home {
        font-size: 12px;
    }

    .legal-main {
        padding: 50px 0 70px;
    }

    .legal-content h1 {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .legal-intro {
        font-size: 16px;
        margin-bottom: 34px;
    }

    .legal-data div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px;
    }

    .cookie-banner-grid {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-actions .cookie-btn:last-child {
        grid-column: 1 / -1;
    }

    .cookie-modal-box {
        padding: 21px;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }
}
