* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuente-base);
}

body {
    background-color: white;
}

/* HAMBURGUESA */
.menu-hamburguesa {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    order: -1; /* Va ANTES del logo */
}

.menu-hamburguesa span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#header.scrolled .menu-hamburguesa span {
    background-color: rgb(0, 0, 0);
}

.menu-hamburguesa.activo span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-hamburguesa.activo span:nth-child(2) {
    opacity: 0;
}
.menu-hamburguesa.activo span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* transparente al inicio */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* ajustá este valor al alto que quieras que tenga siempre el header */
    padding: 0 40px;
    overflow: visible; /* permite que el logo se desborde si es más grande que el header */
}

#header .logo {
    position: relative;
    height: 55px; /* ajustá esta altura según el tamaño real de tu logo */
    display: flex;
    align-items: center;
    flex-shrink: 0; /* evita que el logo se achique si el header se queda sin espacio */

}

.logo-img {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-blanco {
    opacity: 1;
}

.logo-negro {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Cuando el header tiene fondo blanco (scrolled), se intercambian */
#header.scrolled .logo-blanco {
    opacity: 0;
}

#header.scrolled .logo-negro {
    opacity: 1;
}

#header .menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

#header .menu li a {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

#header .menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #32cb32; /* verde clarito, mismo tono que usamos en el título */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#header .menu li a:hover {
    transform: translateY(-2px); /* el texto se levanta un poco */
}

#header .menu li a:hover::after {
    transform: scaleX(1); /* el subrayado se despliega de izquierda a derecha */
}

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

/* Botón Iniciar sesión (naranja) */
.btn-login {
    padding: 10px 26px;
    border: none;
    border-radius: 10px;
    background-color: var(--color-primario);
    color: var(--color-sobre-primario);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled .btn-registro {
    border-color: black;
    color: black;
}

.btn-login:hover {
    background-color: var(--color-primario-2);
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(11, 11, 11, 0.4);
}

/* Botón Registrarse (transparente con borde) */
.btn-registro {
    padding: 10px 26px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-registro:hover {
    background-color: white;
    color: #333;
    transform: scale(1.02);
}

#header .menu li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Cuando el header tiene la clase "scrolled" (fondo blanco) */
#header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.scrolled .menu li a {
    color: black;
}

html {
    scroll-behavior: smooth;
}

/* Evita que el header fijo tape el principio de cada sección al hacer scroll */
#inicio,
#recursos,
#como-funciona,
#contacto {
    scroll-margin-top: 40px;
}

/* Subrayado verde para indicar la sección activa */
#header .menu li a.activo {
    color: #000000;
}

#header .menu li a.activo::after {
    transform: scaleX(1);
    background-color: var(--color-primario);
}

/* PORTADA */
.portada {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../images/CampoArriba.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.portada::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
    linear-gradient(
            to right,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.50) 40%,
            rgba(0, 0, 0, 0) 70%
        ),
    linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 100%,    /* oscuro arriba */
        rgba(0, 0, 0, 0) 50%,    /* se aclara rápido */
        rgba(0, 0, 0, 0) 10%,    /* transparente en el medio */
        rgba(2, 2, 2, 0.892) 100% /* blanco abajo, para combinar con el resto */
    );
    pointer-events: none; /* para que no bloquee clicks sobre la portada */
}

.portada h1 {
    position: relative; /* para que quede por encima del degradado */
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 50px;
}

.portada h1 {
    color: white;
    text-align: center;
    padding-top: 50px;
}

/* CONTENIDO */
.contenido {
    background-color: white;
    padding: 100px;
}

.seccion-titulo {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 10px auto;
}

.seccion-titulo h2 {
    font-size: 36px;
    color: #222;
    margin-bottom: 15px;
}

.seccion-subtitulo {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.portada-texto {
    position: relative;
    z-index: 1;
    max-width: 655px;
    margin-top: 40px;
    margin-left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: white;
}

.portada-texto h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: left;
    padding-top: 0; /* le sacamos el padding-top que tenía antes */
}

.portada-texto .verde {
    color: #90ee90; /* verde clarito, podés ajustar el tono */
}

.portada-texto .subtitulo {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 15px;
    font-weight: 300;
}

.portada-texto .chica {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.8;
    text-transform: uppercase;
}

.portada-contenido {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    gap: 40px;
}

.btn-panel {
    margin-top: 25px;
    padding: 14px 32px;
    border: none;
    border-radius: 20px;
    background-color: var(--color-primario);
    color: var(--color-sobre-primario);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-panel:hover {
    background-color: var(--color-primario-2);
    transform: scale(1.02); /* se agranda un poco */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.feature-block {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 100px auto 0px auto;
    padding: 0 20px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

/* IMAGEN / DETALLE */
.feature-visual {
    position: relative;
    flex: 1;
    max-width: 400px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
}

.feature-img {
    width: 100%;    
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease;
}

.feature-visual.mostrar-detalle .feature-img {
    opacity: 0;
}

.feature-detalle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #0d7a4a 0%, #0a5c38 100%); /* verde oscuro tipo hacienda */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.detalle-icono {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-visual.mostrar-detalle .feature-detalle {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.detalle-titulo {
    color: white;
    font-size: 26px;
    margin-bottom: 6px;
}

.detalle-subtitulo {
    color: #7ee6a8; /* verde clarito, como el tag */
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.detalle-texto {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
}

/* LISTA DE OPCIONES */
.feature-lista {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: #f4f4f4;
}

.feature-item.active {
    background-color: #f0f0f0;
}

.feature-icono {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 18px;
}

.feature-texto {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-titulo {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.feature-tag {
    color: #666;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.feature-item.active {
    background-color: #0d0d0f;
}

.feature-item.active .feature-icono {
    background-color: var(--color-primario-2);
    color: white;
}

.feature-item.active .feature-titulo {
    color: white;
}

.feature-item.active .feature-tag {
    color: var(--color-primario);
}

.feature-flecha {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--color-primario);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item.active .feature-flecha {
    opacity: 1;
}

.seccion-imagen {
    position: relative;
    height: 130vh;
    width: 100%;
    background-image: url('../images/bovinos.jpg');
    /* background: linear-gradient(120deg, #0a3d24 0%, #1f6b3f 45%, #5fae6f 100%); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.seccion-imagen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,   /* blanco sólido arriba, combina con la sección anterior */
        rgba(255, 255, 255, 0) 10%  /* se disuelve y deja ver la imagen */
    ), linear-gradient(
        to top,
        rgb(255, 255, 255) 0%,   /* blanco sólido arriba, combina con la sección anterior */
        rgba(255, 255, 255, 0) 10%  /* se disuelve y deja ver la imagen */
    );
    pointer-events: none;
}

.seccion-pasos {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.pasos-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
}

.pasos-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pasos-titulo {
    font-size: 34px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

.pasos-lista {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

.paso-card {
    position: relative;
    background-color: #f7f7f8;
    border-radius: 16px;
    padding: 30px 26px;
    width: 300px;
    box-sizing: border-box;
}

/* Efecto de tarjetas apiladas detrás */
.paso-card::before,
.paso-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ececee;
    border-radius: 16px;
    z-index: -1;
}

.paso-card::before {
    transform: translate(8px, -8px);
}

.paso-card::after {
    transform: translate(16px, -16px);
    background-color: #f2f2f4;
}

.paso-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 50%;
    color: #595959;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}

.paso-titulo {
    color: #111;
    font-size: 18px;
    margin-bottom: 10px;
}

.paso-texto {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.paso-flecha {
    color: #ccc;
    font-size: 18px;
    flex-shrink: 0;
}

/* Responsive: apilar en columna en pantallas chicas */
@media (max-width: 900px) {
    .pasos-lista {
        flex-direction: column;
    }

    .paso-wrapper {
        flex-direction: column;
    }

    .paso-flecha {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

.seccion-contacto {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 40px 40px;
    background-color: #004a00e6;
    border-radius: 24px;
}

/* COLUMNA IZQUIERDA */
.contacto-info {
    position: relative;
    z-index: 1;
    flex: 1;
    color: white;
}

.contacto-badge {
    display: block;
    color: var(--color-primario);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.contacto-titulo {
    font-size: 48px;
    margin-bottom: 20px;
}

.contacto-descripcion {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 40px;
}

.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 22px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

a.contacto-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contacto-icono {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-primario);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contacto-card-texto {
    display: flex;
    flex-direction: column;
}

.contacto-card-titulo {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.contacto-card-subtitulo {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.contacto-flecha {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
}

/* COLUMNA DERECHA - FORMULARIO */
.contacto-form-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    color: white;
    font-size: 15px;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
}

.form-nota {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 25px;
}

.btn-enviar {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background-color: #f4b942; /* amarillo/dorado */
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-enviar:hover {
    background-color: #e0a82e;
    transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .seccion-contacto {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.features-wrapper {
    position: relative;
    overflow: hidden;
}

.shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Círculo relleno */
.shape-1 {
    width: 160px;
    height: 160px;
    top: 5%;
    left: 2%;
    border-radius: 50%;
    background-color: rgba(168, 230, 161, 0.4);
    animation: flotar1 18s ease-in-out infinite;
}

/* Círculo solo borde */
.shape-2 {
    width: 130px;
    height: 130px;
    top: 30%;
    right: 4%;
    border-radius: 50%;
    border: 3px solid rgba(120, 200, 110, 0.5);
    animation: flotar2 22s ease-in-out infinite;
}

/* Rombo (cuadrado rotado) */
.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 6%;
    background-color: rgba(168, 230, 161, 0.35);
    transform: rotate(45deg);
    border-radius: 16px;
    animation: flotar3 20s ease-in-out infinite;
}

/* Anillo grueso */
.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 5%;
    right: 8%;
    border-radius: 50%;
    border: 10px solid rgba(120, 200, 110, 0.25);
    animation: flotar1 25s ease-in-out infinite reverse;
}

/* Triángulo relleno */
.shape-5 {
    width: 90px;
    height: 90px;
    top: 12%;
    right: 25%;
    background-color: rgba(168, 230, 161, 0.4);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: flotar2 19s ease-in-out infinite;
}

/* Triángulo solo borde */
.shape-6 {
    width: 110px;
    height: 110px;
    bottom: 8%;
    left: 30%;
    background-color: rgba(120, 200, 110, 0.3);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(15deg);
    animation: flotar3 24s ease-in-out infinite reverse;
}

/* Círculo pequeño extra */
.shape-7 {
    width: 70px;
    height: 70px;
    top: 55%;
    left: 15%;
    border-radius: 50%;
    background-color: rgba(168, 230, 161, 0.3);
    animation: flotar2 16s ease-in-out infinite;
}

@keyframes flotar1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes flotar2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(0.95); }
}

@keyframes flotar3 {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(25px, -35px) rotate(60deg); }
}

.contacto-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 60px 0;
}

.footer {
    background-color: #0d0d0f;
    border-top: 3px solid var(--color-primario-2); /* línea verde arriba, como el rojo de tu referencia */
    padding: 50px 20px 70px 20px;
}

.footer-contenido {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 32px; /* ajustá este valor según el tamaño que quieras darle en el footer */
    width: auto;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-primario);
}

.footer-texto {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.footer-linea {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.shape-contacto-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    left: -30px;
    border-radius: 50%;
    background-color: rgba(168, 230, 161, 0.4);
    animation: flotar1 18s ease-in-out infinite;
}

.shape-contacto-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 5%;
    border-radius: 50%;
    border: 3px solid rgba(120, 200, 110, 0.5);
    animation: flotar2 22s ease-in-out infinite;
}

.shape-contacto-3 {
    width: 90px;
    height: 90px;
    bottom: 15%;
    left: 15%;
    background-color: rgba(168, 230, 161, 0.35);
    transform: rotate(45deg);
    border-radius: 16px;
    animation: flotar3 20s ease-in-out infinite;
}

.shape-contacto-4 {
    width: 130px;
    height: 130px;
    bottom: -30px;
    right: 20%;
    border-radius: 50%;
    border: 8px solid rgba(120, 200, 110, 0.25);
    animation: flotar1 25s ease-in-out infinite reverse;
}

.seccion-franjas {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 550px;
    padding: 60px 60px;
    overflow: hidden;
    background: linear-gradient(120deg, #0a3d24 0%, #1f6b3f 45%, #5fae6f 100%);
}

/* INFO INFERIOR DERECHA */
.franjas-info-inferior {
    position: absolute;
    bottom: 100px;
    right: 100px;
    z-index: 2;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.info-item i {
    color: var(--color-primario);
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .franjas-info-inferior {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 30px;
    }
}

/* TEXTO IZQUIERDA */
.franjas-texto {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.franjas-badge {
    display: inline-block;
    color: #d9f2d9;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.franjas-texto h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.franjas-texto p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.btn-franjas {
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    background-color: white;
    color: #0a3d24;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-franjas:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.destacados-flotantes {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 55px;
    width: 330px;
    flex-shrink: 0;
    padding-right: 30px;
}

/* Efecto curvado: 1° y 3° alineados, el del medio desplazado a la derecha */
.destacado-item:nth-of-type(1) { transform: translateX(0px); }
.destacado-item:nth-of-type(2) { transform: translateX(50px); }
.destacado-item:nth-of-type(3) { transform: translateX(0px); }

.destacado-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.destacado-circulo {
    width: 68px;
    height: 68px;
    margin-right: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: rgba(76, 160, 16, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: transform 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
}

.destacado-item.active .destacado-circulo {
    transform: scale(1.20);
    border-color: var(--color-primario);
    background-color: rgba(74, 222, 128, 0.25);
}

.destacado-texto {
    display: flex;
    flex-direction: column;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.destacado-item.active .destacado-texto {
    opacity: 1;
}

.destacado-titulo {
    color: white;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 2px;
}

.destacado-subtitulo {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.destacados-dots {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.4s ease, height 0.4s ease, border-radius 0.4s ease;
}

.dot.active {
    background-color: var(--color-primario);
    height: 22px;
    border-radius: 4px;
}

/* Responsive: en pantallas chicas, apilado sin el escalonado */
@media (max-width: 900px) {
    .destacados-flotantes {
        width: 100%;
        padding-right: 0;
    }

    .destacado-item:nth-of-type(1),
    .destacado-item:nth-of-type(2),
    .destacado-item:nth-of-type(3) {
        margin-right: 0;
    }

    .destacados-dots {
        display: none;
    }
}

/* ========================================
   RESPONSIVE - TABLET (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {

    /* HAMBURGUESA */
    .menu-hamburguesa {
        display: flex;
    }

    /* MENÚ DESPLEGABLE */
    #header .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        z-index: 1050;
    }

    #header .menu.menu-abierto {
        display: flex;
    }

    #header .menu li a {
        font-size: 24px;
        color: white;
    }

    /* PORTADA */
    .portada {
        background-attachment: scroll;
    }

    .portada-contenido {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 100px 24px 40px 24px;
        gap: 30px;
    }

    .portada-texto {
        margin-left: 0;
        max-width: 100%;
    }

    .portada-texto h1 {
        font-size: 30px;
    }

    .portada-texto .subtitulo {
        font-size: 15px;
        max-width: 100%;
    }

    .btn-panel {
        font-size: 14px;
        padding: 12px 24px;
    }

    /* CONTENIDO */
    .contenido {
        padding: 60px 24px;
    }

    .seccion-titulo h2 {
        font-size: 28px;
    }

    .seccion-subtitulo {
        font-size: 16px;
    }

    /* FEATURES */
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 30px;
        margin: 60px auto 0 auto;
        padding: 0 16px;
    }

    .feature-visual {
        max-width: 100%;
        width: 100%;
        height: 280px;
    }

    .feature-lista {
        width: 100%;
    }

    /* SECCIÓN IMAGEN PARALLAX */
    .seccion-imagen {
        height: 70vh;
        background-attachment: scroll;
    }

    /* PASOS */
    .seccion-pasos {
        padding: 60px 16px;
    }

    .pasos-titulo {
        font-size: 26px;
    }

    .paso-card {
        width: 100%;
        max-width: 340px;
    }

    /* CONTACTO */
    .seccion-contacto {
        flex-direction: column;
        gap: 30px;
        margin: 60px 16px;
        padding: 28px 20px;
    }

    .contacto-titulo {
        font-size: 34px;
    }

    .contacto-descripcion {
        max-width: 100%;
    }

    .contacto-form-wrapper {
        padding: 24px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* FRANJAS */
    .seccion-franjas {
        flex-direction: column;
        padding: 50px 24px;
        gap: 40px;
        min-height: unset;
    }

    

    .franjas-texto {
        max-width: 100%;
    }

    .franjas-texto h2 {
        font-size: 32px;
    }

    .destacados-flotantes {
        display: none;
    }

    .destacado-item:nth-of-type(1),
    .destacado-item:nth-of-type(2),
    .destacado-item:nth-of-type(3) {
        transform: translateX(0);
    }

    .destacado-circulo {
        margin-right: 0;
        width: 54px;
        height: 54px;
        font-size: 18px;
    }

    .destacados-dots {
        display: none;
    }

    /* SHAPES: ocultar en móvil para no ensuciar */
    .shape,
    .shape-contacto-1,
    .shape-contacto-2,
    .shape-contacto-3,
    .shape-contacto-4 {
        display: none;
    }

    /* FOOTER */
    .footer-menu {
        gap: 15px;
    }
}

/* ========================================
   RESPONSIVE - TELÉFONO (max-width: 480px)
   ======================================== */
/* HAMBURGUESA */
.menu-hamburguesa {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1200;
    order: -1;
}

.menu-hamburguesa span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#header.scrolled .menu-hamburguesa span {
    background-color: black;
}

.menu-hamburguesa.activo span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-hamburguesa.activo span:nth-child(2) {
    opacity: 0;
}
.menu-hamburguesa.activo span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* OVERLAY OSCURO detrás del drawer */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 260px; /* empieza donde termina el drawer */
    width: calc(100% - 260px); /* solo cubre el resto de la pantalla */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1050;
}

.menu-overlay.visible {
    display: block;
}

@media (max-width: 768px) {

    /* NAV GRID */
    #header nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: 14px 16px;
    }

    .menu-hamburguesa {
        display: flex;
        grid-column: 1;
    }

    #header .logo {
        grid-column: 2;
        text-align: center;
    }

    .botones-header {
        grid-column: 3;
    }

    .btn-registro {
        display: none;
    }

    /* DRAWER LATERAL IZQUIERDO */
    #header .menu {
        display: flex !important;
        position: fixed;
        top: 0;
        left: -280px; /* oculto fuera de pantalla */
        width: 260px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 40px 30px;
        gap: 10px;
        z-index: 1100;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        transition: left 0.35s ease;
        box-sizing: border-box;
    }

    #header .menu.menu-abierto {
        left: 0;
    }

    #header .menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 0;
    }

    #header .menu li:last-child {
        border-bottom: none;
    }

    #header .menu li a {
        font-size: 17px;
        color: #1a1a1a !important;
        font-weight: bold;
        letter-spacing: 0.3px;
    }

    #header .menu li a::after {
        background-color: var(--color-primario-2);
    }

    /* OCULTAR BURBUJAS */
    .destacados-flotantes {
        display: none;
    }

    /* PORTADA */
    .portada-contenido {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 100px 24px 40px 24px;
    }

    .portada-texto {
        margin-left: 0;
        max-width: 100%;
    }

    .portada-texto h1 {
        font-size: 28px;
    }

    .portada-texto .subtitulo {
        font-size: 14px;
    }

    /* SECCIÓN PASOS: mismo fondo que seccion-franjas */
    .seccion-imagen {
        background-image: none !important;
        background-attachment: scroll !important;
        background: linear-gradient(120deg, #0a3d24 0%, #1f6b3f 45%, #5fae6f 100%) !important;
        height: auto !important;
        min-height: unset !important;
        padding: 60px 0 !important;
    }

    .seccion-imagen::before {
        display: none !important;
    }

    .pasos-badge {
        color: #a8f0c6;
        border-color: #a8f0c6;
    }

    .pasos-titulo {
        color: white;
    }

    .seccion-pasos {
        padding: 40px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .pasos-lista {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        flex-wrap: nowrap !important;
    }

    .paso-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        width: 100%;
        max-width: 340px;
    }

    .paso-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .paso-flecha {
        transform: rotate(90deg);
        color: var(--color-primario);
    }

    .paso-wrapper:last-child .paso-flecha {
        display: none;
    }
}

/* Estado inicial: oculto y desplazado hacia abajo */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Estado final: visible en su posición normal */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Con "reducir movimiento" activado en el sistema: sin formas flotando,
   sin aparición al hacer scroll y sin scroll animado. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .shape { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Enlaces legales del footer */
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.footer-legal a:hover { color: var(--color-primario); }
