*{
    font-family: "Varela Round", serif;
    font-weight: 400;
    font-style: normal;  
}
/*
body{
    background-image: url('FondoP.jpeg');
    background-attachment: fixed;
    background-position: center;
    justify-content: center;
    align-items: center;
    background-position: 0px;
    height: 100px;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Navegación */

/* ================================================
   NAV — Mupssy (fijo, compacto, hide-on-scroll)
   ================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;                          /* altura fija siempre */
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.nav.nav-hidden  { transform: translateY(-100%); }
.nav.nav-visible { transform: translateY(0); }

.nav-list,
.nav2-list {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    padding: 0; 
    margin: 0; 
}

.nav-list li,
.nav2-list li {
    display: flex; 
    align-items: center; 
}

.nav-list li a,
.nav2-list li a {
    text-decoration: none;
    color: #1c1c1c;
    font-size: 18px; 
    padding: 1rem;
}


/* Estilo existente para el dropdown - AVISO: El 'display: block;' o 'flex' debe controlarse por JS */
#dropdown-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none; /* Mantener oculto por defecto */
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 100%; 
    left: 0;
    width: 150px;
    flex-direction: column; /* Asegurar que los elementos se apilen verticalmente */
}

/* Elimina o ignora esta regla en móviles, ya que será controlada por JS */
/* .user-menu:hover #dropdown-menu {
    display: block; 
} */

.user-menu {
    position: relative;
}

#dropdown-menu li {
    padding: 10px;
    text-align: left;
}

#dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.user-menu:hover #dropdown-menu {
    display: block; 
}

img#user-img {
    display: block;
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.menu-toggle {
    display: none; /* Oculto por defecto en pantallas grandes */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mostrar botón hamburguesa */
    }

    .nav-list {
        display: none; /* Ocultar menú por defecto */
        flex-direction: column;
        gap: 10px;
        background-color: #fff;
        position: absolute;
        top: 0%;
        left: 50%;
        width: 50%;
        padding: 10px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        height: 100%;
    }

    .nav-list.show {
        display: flex; /* Mostrar menú cuando se active */
    }

    .nav-list a {
        font-size: 14px;
    }

    .user-menu {
        text-align: center;
    }
}

.Tittle {
    /* Cambios clave para alineación a la izquierda: */
    justify-content: center; /* Mantener la alineación vertical centrada */
    align-items: flex-start; /* ⬅️ CAMBIO: Alinear el contenido a la izquierda */
    padding-left: 50%; /* ⬅️ NUEVO: Añadir un relleno para separarlo del borde izquierdo */
    text-align: center; /* ⬅️ CAMBIO: Alinear el texto dentro de las líneas */

    /* Reglas existentes que puedes mantener o modificar: */
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    height: 560px; 
    font-weight: 400;
    font-style: normal;
    font-size: 18px; /* Te recomiendo subirlo de 10px a 18px para que se vea legible */
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    position: relative; 
    background-position: center; 
}

/* También debes asegurarte de que el h1 esté alineado correctamente */
.Tittle h1 {
    text-align: left; /* ⬅️ NUEVO: Asegura que el texto dentro del h1 se alinee a la izquierda */
    /* Las demás propiedades de tamaño (font-size: 50px) se mantienen */
}

.Tittle2 {
    display: flex; /* Para activar el modelo flexbox */
    flex-direction: column; /* Alinear en una sola columna */
    justify-content: center; /* Centrar verticalmente */
    align-items: center; /* Centrar horizontalmente */
    width: 100%; /* Hacer que ocupe todo el ancho del contenedor */
    height: 560px; /* Altura específica */
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    position: relative; 
    background-position: center; 
    text-align: center; 
    left: 15%;
}

.Tittle2 .social img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%; /* Hacer el icono redondo */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.Tittle2 .social img:hover {
    transform: scale(1.2); /* Agrandar el icono al pasar el cursor */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Intensificar el sombreado */
    cursor: pointer;
}

.hidden {
    opacity: 0;
}

#thank-you {
    margin-top: 20px;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px;
    border: 5px solid transparent;
    border-radius: 10px;
    display: inline-block;
    animation: none;
    transition: opacity 0.5s ease-in-out;
}

#thank-you.animate {
    opacity: 1;
    animation: borderColors 2s infinite;
}

@keyframes borderColors {
    0% {
        border-color: #fad4c0;
    }
    25% {
        border-color: #e6d4f8;
    }
    50% {
        border-color: #8bd3d2;
    }
    75% {
        border-color: #ffbd59;
    }
    100% {
        border-color: #ff5733;
    }
}

.Tittle3 {
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;
    height: 590px;
    font-weight: 400;
    font-style: normal;
    font-size: 90px;
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

@keyframes aparecer {
    from {
        opacity: 0; /* Desde una opacidad de 0 (oculto) */
    }
    to {
        opacity: 1; /* Hasta una opacidad de 1 (completamente visible) */
    }
}

#Tittle span {
    animation: aparecer 1s forwards;
}

#Tittle2 span {
    animation: aparecer 1s forwards;
}


.LF img {
    width: 550px;
    position: absolute;
    top: 0%;
    left: 30%;
}

.LF h1 {
    font-size: 25px;
    position: absolute;
    top: 40%;
    left: 33%;
    font-weight: 400;
    font-style: normal;
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}


.LG{
    position: absolute;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 350px;
    z-index: 2;
    padding: 2rem;
    left: 60%;
    top: 17%;
}
/*
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
*/
* {
	box-sizing: border-box;
}

h1 {
	font-weight: bold;
	margin: 0;
}

h2 {
	text-align: center;
}

span {
	font-size: 12px;
}

a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}

button {
	border-radius: 20px;
	border: 1px solid #F9B864;
	background-color: #F9B864;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
}

button:active {
	transform: scale(0.95);
}

button:focus {
	outline: none;
}

button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}

input {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
}

.container {
	background-color: #fff;
	border-radius: 10px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
			0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 108px;
	max-width: 20%;
	min-height: 480px;
}

.form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}

.sign-in-container {
	left: 0;
	width: 50%;
	z-index: 2;
}

.container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}

.sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	z-index: 1;
}

.container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}

@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}
}

.overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 100;
}

.container.right-panel-active .overlay-container{
	transform: translateX(-100%);
}

.overlay {
	background: #85D5D6;
	background: -webkit-linear-gradient(to right, #85D5D6, #85D5D6);
	background: linear-gradient(to right, #85D5D6, #85D5D6);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
  	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
  	transform: translateX(50%);
}

.overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.overlay-left {
	transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
	transform: translateX(0);
}

.overlay-right {
	right: 0;
	transform: translateX(0);
}

.container.right-panel-active .overlay-right {
	transform: translateX(20%);
}

.social-container {
	margin: 20px 0;
}

.social-container a {
	border: 1px solid #DDDDDD;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}

.social-container a:hover{
	border: 1px solid #CF683B;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}

.overlay-panel overlay-right p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

.overlay-panel overlay-left p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

#termsModal {
    display: none; /* Por defecto, el modal está oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

#termsModal.show {
    display: flex; /* Muestra el modal cuando se agrega la clase 'show' */
}


.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center; /* Centrar texto */
    height: 800px;
}

.terms-container {
    height: 700px;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
    text-align: left; /* Ajuste de alineación */
}

@media (max-width: 900px) {
    .terms-container {
        height: 300px;
        overflow-y: auto;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background-color: #f9f9f9;
        text-align: left; /* Ajuste de alineación */
    }
}
/*
.terms-container {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
*/
.terms-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: #444;
    text-transform: uppercase;
}

.terms-container p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
}

.terms-container ol {
    margin-left: 20px;
    padding-left: 10px;
}

.terms-container ol li {
    margin-bottom: 15px;
}

.terms-container ol li strong {
    color: #007BFF; /* Azul profesional */
    font-weight: 600;
}

.terms-container ul {
    list-style-type: disc;
    margin-left: 20px;
}

.terms-container ul li {
    margin-bottom: 10px;
}

.terms-container strong {
    font-weight: bold;
}

.terms-container .note {
    font-style: italic;
    margin-top: 15px;
    text-align: center;
    color: #555;
}

@media (max-width: 768px) {
    .terms-container {
        padding: 15px;
        margin: 10px;
    }

    .terms-container h2 {
        font-size: 20px;
    }

    .terms-container p,
    .terms-container ol li {
        font-size: 14px;
    }
}

.terms-container {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.terms-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-alert {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.custom-alert button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.custom-alert button:hover {
    background: #0056b3;
}

@media (max-width: 1200px) {
    .Tittle, .Tittle2 {
        font-size: 40px;
        height: 450px;
    }

    .Tittle2 {
        left: 5%;
    }

    .Tittle3 {
        font-size: 70px;
        width: 70%;
        height: 450px;
    }

    .LF img {
        width: 400px;
        left: 20%;
    }

    .LF h1 {
        font-size: 20px;
        left: 25%;
    }

    .LG {
        width: 600px;
        height: 300px;
        left: 50%;
    }
}

@media (max-width: 992px) {
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav2-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .Tittle, .Tittle2 {
        font-size: 30px;
        height: 400px;
    }

    .Tittle3 {
        font-size: 50px;
        width: 80%;
        height: 400px;
    }

    .LF img {
        width: 350px;
        left: 10%;
    }

    .LF h1 {
        font-size: 18px;
        left: 15%;
    }

    .LG {
        width: 500px;
        height: 250px;
        left: 40%;
    }

    .container {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .overlay {
        background-size: contain;
    }
}

@media (max-width: 768px) {
    .Tittle, .Tittle2 {
        font-size: 25px;
        height: 350px;
    }

    .Tittle3 {
        font-size: 40px;
        width: 100%;
        height: 350px;
    }

    .LF img {
        width: 300px;
        left: 5%;
    }

    .LF h1 {
        font-size: 16px;
        left: 10%;
    }

    .LG {
        width: 400px;
        height: 200px;
        left: 30%;
    }

    button {
        padding: 10px 30px;
        font-size: 10px;
    }

    .nav-list, .nav2-list {
        gap: 0.3rem;
    }
}

@media (max-width: 576px) {
    .Tittle, .Tittle2 {
        font-size: 20px;
        height: 300px;
    }

    .Tittle3 {
        font-size: 30px;
        width: 100%;
        height: 300px;
    }

    .LF img {
        width: 250px;
        left: 0;
    }

    .LF h1 {
        font-size: 14px;
        left: 5%;
    }

    .LG {
        width: 300px;
        height: 180px;
        left: 10%;
    }

    input {
        padding: 10px 12px;
        margin: 6px 0;
        font-size: 12px;
    }

    .container {
        padding: 1rem;
    }

    .overlay-panel {
        padding: 0 20px;
    }
}

@media (max-width: 400px) {
    .Tittle, .Tittle2 {
        font-size: 18px;
        height: 250px;
    }

    .Tittle3 {
        font-size: 25px;
        width: 100%;
        height: 250px;
    }

    .LF img {
        width: 200px;
    }

    .LF h1 {
        font-size: 12px;
    }

    .LG {
        width: 100%;
        height: auto;
        left: 0;
        padding: 1rem;
    }

    button {
        padding: 8px 20px;
        font-size: 8px;
    }

    input {
        padding: 8px 10px;
        font-size: 10px;
    }
}


/* Estilos para los Íconos de Navegación */
.nav-icon {
    /* Define un tamaño fijo para todos */
    width: 40px; 
    height: 40px; 
    
    /* ¡La clave! Asegura que la imagen se ajuste dentro del espacio 30x30 
       sin cortarse, manteniendo sus proporciones. */
    object-fit: contain; 
    vertical-align: middle;
    transition: all 0.2s ease-out;
}

.nav-list li a,
.nav2-list li a {
    text-decoration: none;
    color: transparent; /* Mantenemos esto porque ahora son iconos */
    font-size: 18px; 
    padding: 0.5rem; /* Ajuste el padding para centrar mejor el icono */
    
    /* [AÑADIR ESTO] Esto es clave para posicionar el borde animado */
    position: relative; 
    overflow: hidden; /* Ocultamos el borde antes de que se dibuje */
}

/* Modificar la regla de hover del ícono (para quitar el levantamiento) */
.nav-list li a:hover .nav-icon {
    /* Quitamos el transform: translateY(-3px) y dejamos un sutil brillo */
    transform: none; /* Asegura que no se mueva */
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6)); /* Resplandor sutil */
}

/* ---------------------------------------------------- */
/* === EFECTO DE Borde ANIMADO COMPLETO (INNOVADOR) === */
/* ---------------------------------------------------- */

/* 1. Pseudo-elemento para Líneas Horizontales (Superior e Inferior) */
.nav-list li a::before {
    content: '';
    position: absolute;
    height: 1px; /* Altura de la línea */
    background: #007bff; /* Color del borde */
    transition: width 0.3s ease-in-out; /* Animamos el ancho */
    width: 0%; /* Inicia sin ancho */
}

/* Línea Superior */
.nav-list li a::before {
    top: 0;
    left: 0;
}

/* Línea Inferior (Se logra con una sombra interna que actúa como borde) */
/* Es más limpio usar box-shadow para el segundo borde horizontal */

/* 2. Pseudo-elemento para Líneas Verticales (Izquierda y Derecha) */
.nav-list li a::after {
    content: '';
    position: absolute;
    width: 1px; /* Ancho de la línea */
    background: #007bff; /* Color del borde */
    /* Animamos la altura y le damos un RETRASO para que empiece después de la línea horizontal */
    transition: height 0.3s ease-in-out 0.3s; 
    height: 0%; /* Inicia sin altura */
}

/* Línea Izquierda */
.nav-list li a::after {
    top: 0;
    left: 0;
}

/* ------------------------------------------- */
/* === ESTADO HOVER: Dibuja las cuatro líneas === */
/* ------------------------------------------- */

/* Dibuja la línea horizontal superior */
.nav-list li a:hover::before {
    width: 100%; 
    box-shadow: 0 55px 0 0 #007bff; /* <--- ¡ESTA ES LA CLAVE! Crea la línea inferior usando sombra. */
}

/* Dibuja las líneas verticales (derecha e izquierda) */
.nav-list li a:hover::after {
    height: 100%; 
    box-shadow: 55px 0 0 0 #007bff; /* <--- ¡ESTA ES LA CLAVE! Crea la línea derecha usando sombra. */
}

/* -------------------------------------------------------------------- */
/* === EFECTO ESTÁTICO DE BORDE EN LA PESTAÑA ACTIVA (.active-page) === */
/* -------------------------------------------------------------------- */

/* Estilo estático para el ícono de la pestaña activa */
.nav-list li a.active-page .nav-icon {
    /* Mantenemos el resplandor de forma permanente */
    transform: none; 
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6)); 
}


/* Dibuja las líneas horizontales de forma permanente */
.nav-list li a.active-page::before {
    width: 100%; /* La línea horizontal superior se dibuja */
    box-shadow: 0 55px 0 0 #007bff; /* La línea horizontal inferior se dibuja */
    /* Aseguramos que la transición de ancho esté completa */
    transition: none; 
}

/* Dibuja las líneas verticales de forma permanente */
.nav-list li a.active-page::after {
    height: 100%; /* La línea vertical izquierda se dibuja */
    box-shadow: 55px 0 0 0 #007bff; /* La línea vertical derecha se dibuja */
    /* Aseguramos que la transición de altura esté completa */
    transition: none;
}

/* 1. Posicionamiento del Contenedor Principal */
.user-menu {
    position: relative; /* Permite que el submenú se posicione correctamente */
}

/* 2. Estilo y Ocultamiento del Submenú */
.nav2-list {
    /* Mantén tus estilos de caja (fondo, sombra, borde) */
    list-style-type: none;
    position: absolute; 
    top: 100%; 
    right: 0; /* Lo alinea a la derecha del ícono */
    min-width: 180px; 
    background-color: #ffffff; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    padding: 5px 0;
    z-index: 1000; 
    flex-direction: column; 
    gap: 0; 
    
    /* CLAVE: Ocultar por defecto. El !important asegura que sobrescriba otros estilos */
    display: none !important; 
}

/* 3. Regla para MOSTRAR el menú con JavaScript */
/* JS añadirá la clase 'active' al contenedor .user-menu */
.user-menu.active .nav2-list {
    display: flex !important; 
}

/* 4. Resplandor para el ícono de perfil cuando está abierto (activo) */
/* JS añadirá la clase 'active' al ícono */
.nav-icon.active {
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.8));
}

/* 5. ¡SOLUCIÓN A LAS LÍNEAS EXTRAÑAS EN EL SUBMENÚ! */
.nav2-list li a {
    /* Desactivar el posicionamiento relativo necesario para las líneas */
    position: static !important; 
    
    /* Estilo para alinear los íconos (emojis) */
    display: flex;
    align-items: center;
    gap: 8px; 
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
}

/* CLAVE: Eliminar los pseudo-elementos (las líneas) en el submenú */
.nav2-list li a::before,
.nav2-list li a::after {
    content: none !important; 
}

/* ESTILO PARA EL ÍCONO DE PERFIL ACTIVO (User.png) */
/* CLAVE: Si la clase 'active' está en el <li> padre */
.user-menu.active .nav-icon,
.nav-icon.active {
    /* Aquí aplicamos el mismo efecto de resplandor y 'cuadrito' que tienen los otros */
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.8));
    /* Si tienes algún borde o sombreado para simular el 'cuadrito', ponlo aquí */
}

/* Para el ícono de perfil, que usa la clase 'active' en el <li>: */
.user-menu.active .nav-icon {
    border: 2px solid #007bff; 
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.8);
}
/* ===== ESTILOS PARA LA NUEVA PÁGINA DE INICIO ===== */

/* === FONDO ANIMADO PARA EL BODY === */
/*
body {
    margin: 0;
    padding: 0;
    background: #FFFFFF;
}

.hero-section {
    background: linear-gradient(
        to bottom,
        #AEE2E1 0%,
        #AEE2E1 95%,
        #FFFFFF 100%
    );
}

.featured-pets {
    background: linear-gradient(
        to bottom,
        #FFFFFF 0%,
        #FFFFFF 95%,
        #AEE2E1 100%
    );
}

.how-it-works {
    background: linear-gradient(
        to bottom,
        #AEE2E1 0%,
        #AEE2E1 90%,
        #000000 100%
    );
    color: #fff;
}

.final-cta {
    background: #000000;
    color: #ffffff;
}


.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 89px 20px;
    max-width: 1750px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1c1c1c;
}

.hero-title .highlight {
    color: #AEE2E1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #F9B864;
    color: #1c1c1c;
}

.btn-primary:hover {
    background-color: #F9B864;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #F9B864;
    color: #1c1c1c;
    border: 2px solid #F9B864;
}

.btn-secondary:hover {
    background-color: #F9B864;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1c1c1c;
    border: 2px solid #F9B864;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: #F9B864;
}

.btn-light {
    background-color: white;
    color: #1c1c1c;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #1c1c1c;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


.hero-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    min-height: 300px;
    text-align: center;
}

.hero-placeholder p {
    margin-top: 20px;
    color: #666;
    font-size: 1.1rem;
}


.stats-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 0;
    margin: 40px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #AEE2E1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
}


.featured-pets {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: #1c1c1c;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pet-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pet-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pet-card:hover .pet-image img {
    transform: scale(1.05);
}

.pet-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #AEE2E1;
    color: #1c1c1c;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pet-badge.featured {
    background-color: #FFDAC1;
}

.pet-info {
    padding: 20px;
}

.pet-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1c1c1c;
}

.pet-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.pet-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.pet-info p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}


.how-it-works {
    padding: 200px 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #AEE2E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #1c1c1c;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1c1c1c;
}

.step p {
    color: #666;
    line-height: 1.5;
}


.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #AEE2E1;
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: #1c1c1c;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}


.final-cta {
    padding: 100px 0;
    text-align: center;
    margin: 0 ;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}


@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stats-grid,
    .pets-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .stats-grid,
    .pets-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section {
        padding: 20px 10px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; 
    }

    .hero-image img {
        max-width: 70%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .pets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .pet-info h3 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .featured-pets,
    .how-it-works {
        padding: 50px 0;
    }
}
*/

/* Nuevo */

:root {
    /* ✅ 1. Paleta de Colores Definida */
    --color-mint: #AEE2E1;
    --color-mint-dark: #8acac9; /* Para bordes o hovers */
    --color-orange: #EC9C42;
    --color-orange-hover: #d68b38;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-dark-soft: #111111; /* ✅ 6. Negro suavizado */
    --color-text: #333333;
    --font-main: "Varela Round", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: #f9f9f9;
    color: var(--color-text);
    overflow-x: hidden;
}

/* ========================================= */
/* === 7. BOTONES ESTANDARIZADOS === */
/* ========================================= */

/* ⭐ Botón Principal (CTA) */
.btn-primary {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-black);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(236, 156, 66, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-3px); /* ✅ 9. Microinteracción */
    box-shadow: 0 6px 15px rgba(236, 156, 66, 0.4);
}

/* ⭐ Botón Secundario */
.btn-secondary {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    border: 2px solid var(--color-mint);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-mint);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ========================================= */
/* === SECCIÓN HERO (MEJORADA) === */
/* ========================================= */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* ✅ 2. Fondo con patrón suave */
    background-color: var(--color-mint);
    background-image: radial-gradient(rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 30px 30px; /* Patrón de puntitos */
    
    min-height: 100vh; /* Ocupa toda la pantalla */
    padding: 90px 5% 50px 5%; /* ✅ Top compensa navbar fijo */
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    /* ✅ 8. Tipografía con peso visual */
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark-soft);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    /* ✅ 9. Animación de entrada */
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ========================================= */
/* === SECCIÓN ESTADÍSTICAS === */
/* ========================================= */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 60px 20px;
    background: white;
    margin-top: -40px; /* Para compensar el clip-path del hero */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-orange); /* ✅ Acento naranja */
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 600;
}

/* ========================================= */
/* === SECCIÓN MASCOTAS (GRID MEJORADO) === */
/* ========================================= */
.featured-pets {
    padding: 80px 5%;
    background-color: #f4f4f4;
    /* ✅ 3. Transición suave superior */
    background: linear-gradient(to bottom, #FFFFFF 0%, #f4f4f4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark-soft);
    margin-bottom: 10px;
}

.pets-grid {
    display: grid;
    /* EL TRUCO: Cambiamos 1fr por 350px para que NUNCA se estiren más de eso */
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    justify-content: center; /* Agrupa y centra las tarjetas cuando son pocas */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenedor cuando no hay mascotas */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    border-top: 5px solid var(--color-mint); /* ✅ Borde superior menta */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pet-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease; /* ✅ 9. Microinteracción */
    border: 1px solid #eee;
}

.pet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.pet-info {
    padding: 20px;
    text-align: center;
}

.pet-info h3 {
    color: var(--color-dark-soft);
    margin-bottom: 10px;
}

.pet-info .btn-secondary {
    margin-top: 10px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================= */
/* === SECCIÓN CÓMO FUNCIONA === */
/* ========================================= */
.how-it-works {
    /* ✅ 5. Reducción visual */
    padding: 80px 5%;
    background: white;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px; /* Reducido el ancho máximo */
    margin: 0 auto;
}

.step {
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
}

.step:hover {
    transform: scale(1.05); /* ✅ 9. Microinteracción */
    border-color: var(--color-mint);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* ========================================= */
/* === FOOTER (Color #F5B66C) === */
/* ========================================= */
.site-footer {
    background-color: #F5B66C; 
    background-image: none; 
    color: #1c1c1c; 
    padding: 60px 5% 20px 5%;
    margin-top: 50px;
    border-top: 5px solid #ffffff; 
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-section h3 {
    color: #000000; 
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    /* ⬇️ LAS DOS LÍNEAS QUE ARREGLAN EL DESPLAZAMIENTO ⬇️ */
    padding: 0; 
    margin: 0;
}

.footer-section ul li a {
    color: #333333; 
    text-decoration: none;
    line-height: 2;
    font-weight: 500;
    transition: color 0.3s;
    /* ⬇️ ESTO ELIMINA EL MARGEN DE 15px QUE TENÍAS EN LA REGLA GENERAL 'a' ⬇️ */
    margin: 0; 
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #fff; 
}

.social-links a {
    color: #1c1c1c; 
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #fff; 
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1); 
    font-size: 0.9rem;
    color: #333;
}
.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-orange);
}

/* ========================================= */
/* === RESPONSIVE === */
/* ========================================= */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 75px; /* ✅ Compensar navbar fijo en móvil */
        min-height: auto;
        clip-path: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .pets-grid {
        /* Evitamos que en celular se estire de borde a borde y la centramos */
        grid-template-columns: minmax(280px, 380px) !important; 
        justify-content: center !important;
    }
}
/* ========================================= */
/* === ESTILOS PÁGINA DE INFORMACIÓN === */
/* ========================================= */

/* Hero de Información */
.info-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--color-mint); /* Fondo menta */
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 20px 20px;
    margin-bottom: 50px;
    border-radius: 0 0 50px 50px; /* Curva bonita abajo */
}

.info-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark-soft);
    margin-bottom: 15px;
}

.info-hero-content p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Preguntas Frecuentes */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.faq-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.faq-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--color-mint);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #fff4e6; /* Fondo naranja muy suave */
    color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.faq-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-dark-soft);
}

.faq-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sección de Contacto Destacada */
.contact-section {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

.contact-box {
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid var(--color-mint);
}

.contact-text {
    flex: 1;
    padding: 50px;
}

.contact-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-dark-soft);
}

.contact-text p {
    margin-bottom: 30px;
    color: #555;
}

/* Nuevo estilo para botón de Correo */
.btn-email {
    display: inline-block;
    /* Degradado Azul Profesional (Comunicación/Email) */
    background: linear-gradient(45deg, #2193b0 0%, #6dd5ed 100%); 
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Sombra azulada suave */
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.3);
    border: none;
}

.btn-email:hover {
    transform: translateY(-3px); /* Se eleva un poco */
    box-shadow: 0 8px 20px rgba(33, 147, 176, 0.5); /* La sombra crece */
    color: white;
}

.btn-email i {
    margin-right: 8px; /* Espacio entre el ícono del sobre y el texto */
}

.contact-image {
    flex: 1;
    height: 400px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    /* 1. Ocultar SIEMPRE el botón de hamburguesa */
    .menu-toggle {
        display: none !important;
    }

    /* 2. Forzar que la navegación sea horizontal y visible */
    .nav-list {
        display: flex !important;        /* Siempre visible */
        flex-direction: row !important;  /* Horizontal (fila) */
        position: static !important;     /* Quitar posición absoluta */
        background-color: transparent !important; /* Quitar fondo */
        box-shadow: none !important;     /* Quitar sombras del menú móvil */
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        
        /* 3. Ajustar espaciado para pantallas pequeñas */
        justify-content: center;         /* Centrar los iconos */
        gap: 8px;
        margin-top: 0;
    }

    /* 4. Ajustar tamaño de los iconos para móvil */
    .nav-icon {
        width: 35px;
        height: 35px;
    }
    
    .profile-img, #user-img {
        width: 35px;
        height: 35px;
    }

    /* 5. Reducir el área de clic para que no ocupen tanto espacio lateral */
    .nav-list li a {
        padding: 5px; 
    }
    
    /* Ajuste del Hero en móvil (para que no choque con el menú) */
    .hero-section {
        padding-top: 75px; /* ✅ Compensar navbar fijo en móvil */
    }
    
    /* Ajuste del submenú de usuario para que no se salga de la pantalla */
    .nav2-list {
        right: -50px; /* Mover un poco a la izquierda para que no se corte */
    }

    /* 1. Cambiar la dirección a columna (uno debajo del otro) */
    .contact-box {
        flex-direction: column; 
        height: auto; /* Dejar que la altura se ajuste al contenido */
    }

    /* 2. Ajustar el espacio del texto */
    .contact-text {
        padding: 30px 20px; /* Reducir el padding gigante de escritorio */
        text-align: center; /* Centrar el texto se ve mejor en móvil */
        width: 100%;
    }

    /* 3. Ajustar la imagen para que ocupe el ancho pero no sea tan alta */
    .contact-image {
        width: 100%;      /* Ancho completo */
        height: 250px;    /* Altura fija para que se vea la imagen */
        min-height: 200px;
    }
    
    /* 4. Asegurar que la imagen cubra bien el espacio */
    .contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Evita que la imagen se estire feo */
    }

    /* 5. Ajustar el botón para que sea fácil de tocar */
    .btn-email {
        width: 100%;       /* Botón de ancho completo */
        padding: 15px 10px; /* Ajuste de padding */
        font-size: 0.9rem; /* Texto un poco más pequeño si es muy largo */
        display: flex;     /* Para centrar icono y texto */
        justify-content: center;
        align-items: center;
    }
}

/* === FORZAR MISMO MENU QUE INICIO === */
@media (max-width: 768px) {

    /* No queremos menú móvil, así que: */
    .menu-toggle {
        display: none !important;
    }

    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
    }

    .nav-icon, #user-img {
        width: 35px;
        height: 35px;
    }

    .nav-list li a {
        padding: 5px;
    }

    /* Ajuste pequeño del dropdown */
    .nav2-list {
        right: -50px;
    }
}
/* ========================================= */
/* === TÉRMINOS Y CONDICIONES (REMODELADO) === */
/* ========================================= */

.terms-body {
    background-color: #f0f4f8;
    background-image: radial-gradient(#AEE2E1 1px, transparent 1px);
    background-size: 30px 30px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.terms-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.terms-card {
    background: white;
    max-width: 700px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid white;
}

/* Encabezado */
.terms-header {
    background: var(--color-mint); /* #AEE2E1 */
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.icon-header {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-orange); /* #EC9C42 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.terms-header h1 {
    margin: 0;
    font-size: 2rem;
    color: #005f5f;
    font-weight: 800;
}

.terms-header p {
    margin-top: 5px;
    color: #005f5f;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Contenido */
.terms-content {
    padding: 40px;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Lista de Términos */
.terms-list {
    list-style: none;
    padding: 0;
}

.terms-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.term-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff4e6; /* Naranja muy suave */
    color: var(--color-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.term-text strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.term-text p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Sub-lista (bullet points) */
.sub-list {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
    color: #666;
}

/* Nota importante */
.terms-note {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: #0d47a1;
    font-size: 0.9rem;
    margin-top: 30px;
}

.terms-note i {
    font-size: 1.5rem;
}

/* Pie de página (Botones) */
.terms-footer {
    padding: 20px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-accept {
    background: var(--color-orange);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(236, 156, 66, 0.4);
    transition: transform 0.2s;
    width: 100%;
    text-align: center;
    max-width: 350px;
}

.btn-accept:hover {
    background: #d68b38;
    transform: translateY(-2px);
    color: white;
}

.btn-cancel {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.btn-cancel:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 600px) {
    .terms-header { padding: 30px 20px; }
    .terms-content { padding: 25px; }
    .terms-list li { flex-direction: column; gap: 10px; }
    .term-icon { margin-bottom: 5px; }
}

/* Modal de Bloqueo */
.modal-blocked {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.blocked-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.blocked-card i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 15px;
}

.blocked-card h2 { color: #1e293b; margin-bottom: 10px; }
.blocked-card p { color: #64748b; font-size: 0.95rem; line-height: 1.5; }

.btn-appeal {
    display: inline-block;
    margin-top: 20px;
    background: #ec9c42;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-appeal:hover { background: #d98a35; transform: scale(1.05); }

.close-blocked {
    display: block;
    margin-top: 15px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
}

/* Estilo para el icono de error de contraseña */
.blocked-card i.fa-exclamation-triangle {
    color: #f59e0b; /* Color ámbar/naranja */
}

/* Animación de sacudida para indicar error */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Solo si quieres que Nombre y Apellido salgan en la misma fila */
#register-form {
    display: flex;
    flex-direction: column;
}

/* Contenedor opcional para ponerlos lado a lado */
.name-row {
    display: flex;
    gap: 10px;
}

.name-row .form-group {
    flex: 1;
}

/* 1. Contenedor principal */
.verified-foundations {
    width: 100% !important;
    padding: 20px 0;
}

/* 2. La Tarjeta (Base para PC) */
.fundacion-card-responsive {
    background: white;
    border-radius: 20px;
    padding: 40px !important; /* Más aire en PC */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    margin: 20px auto;
    width: 100% !important;
    max-width: 550px !important; /* Tarjeta grande y elegante en PC */
    min-width: 300px;
    transition: transform 0.3s ease;
}

/* 3. El Logo (Base para PC) */
.fundacion-logo-responsive {
    width: 160px !important; /* Grande en PC */
    height: 160px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff8c00;
    margin: 0 auto 20px auto;
    display: block;
}

/* 4. Flechas del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #ff8c00;
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

/* --- AJUSTES PARA CELULAR (Mobile) --- */
@media (max-width: 768px) {
    .fundacion-card-responsive {
        max-width: 90% !important; /* Ancho fluido en móvil */
        min-width: 280px !important; /* Evita que se comprima */
        padding: 25px !important; /* Menos espacio interno */
        margin: 10px auto !important;
    }

    .fundacion-logo-responsive {
        width: 100px !important; /* Tamaño moderado en móvil */
        height: 100px !important;
    }

    .fundacion-card-responsive h3 {
        font-size: 1.25rem !important;
    }
    
    .fundacion-card-responsive p {
        font-size: 0.85rem !important;
    }

    /* Ocultamos flechas en móvil para no estorbar el diseño */
    .carousel-control-prev, 
    .carousel-control-next {
        display: none !important;
    }
}

/* Forzar centrado de la slide activa */
.carousel-item.active {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.badge-dot {
    width: 12px;
    height: 12px;
    background-color: #ff4d4d;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.views-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 2;
    transition: 0.3s;
}

.views-badge i {
    font-size: 0.75rem;
}


.adopt-card:hover .views-badge {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.75);
}

/* ============================================
   NAVBAR FIJO — OVERRIDE FINAL
   Nav tiene altura fija de 60px.
   Hero necesita al menos 60px arriba.
   ============================================ */
.hero-section       { padding-top: 80px !important; }  /* desktop: igual al nav */

@media (max-width: 768px) {
    .hero-section   { padding-top: 78px !important; }  /* móvil: nav=60px + 18px gap */
}