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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

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

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background: #000;
    min-height: 60vh;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 100px 0;
    }

    .hero-video iframe {
        width: 177.78vh;
        height: 100vh;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Form */
.contact {
    background: var(--bg-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero variations */
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.cta-button {
    text-decoration: none;
    display: inline-block;
}

/* Intro Section */
.intro-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Etapas Section */
.etapas-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.etapas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.etapa-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    position: relative;
    overflow: hidden;
}

.etapa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.etapa-card:hover::before {
    transform: scaleX(1);
}

.etapa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.etapa-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.etapa-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.etapa-distance {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.etapa-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.etapa-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.etapa-highlights span {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Features Section */
.features-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Page Hero (for internal pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 0 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Etapa Hero */
.etapa-hero {
    color: var(--white);
    padding: 100px 0 60px;
}

.etapa-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.etapa-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Etapa Content */
.etapa-content {
    padding: 60px 0;
}

.etapa-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.etapa-main {
    min-width: 0;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Puntos de Interés */
.puntos-interes {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.punto-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.punto-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.punto-card p {
    color: var(--text-light);
    margin: 0;
}

/* Mapa */
.mapa-container {
    margin-top: 1.5rem;
}

.mapa-interactivo {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.mapa-desactivado {
    min-height: 320px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 2px dashed #d1d5db;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.mapa-desactivado p {
    margin: 0;
    font-weight: 600;
}

.mapa-placeholder {
    background: var(--bg-light);
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.mapa-placeholder span {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.mapa-note {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Leyenda del mapa */
.mapa-leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 1rem;
}

.leyenda-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.leyenda-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.leyenda-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Estilos para marcadores personalizados de Leaflet */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Control de información del mapa */
.info-control {
    background: transparent;
    border: none;
    box-shadow: none;
}

.info-control div {
    font-size: 0.9rem;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .mapa-interactivo {
        height: 400px;
    }

    .mapa-desactivado {
        min-height: 240px;
    }

    .mapa-leyenda {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Galería */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.galeria-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galeria-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 0.85rem;
}

.galeria-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

.galeria-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.galeria-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

/* Consejos */
.consejos-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.consejo-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    line-height: 1.6;
}

.consejo-item strong {
    color: var(--text-color);
}

/* Sidebar */
.etapa-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-light);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: var(--text-color);
}

/* Navegación entre etapas */
.nav-etapas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-etapa {
    display: block;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, transform 0.3s;
}

.nav-etapa:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

.nav-etapa.prev:hover {
    transform: translateX(-5px);
}

.nav-etapa span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-etapa strong {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
}

.servicios-list {
    list-style: none;
}

.servicios-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Final Message */
.final-message {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.final-message h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.final-message p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Historia Page */
.historia-content {
    padding: 60px 0;
}

.historia-layout {
    max-width: 900px;
    margin: 0 auto;
}

.historia-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.historia-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pueblos-historia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pueblo-historia-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.pueblo-historia-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pueblo-historia-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Recursos Page */
.recursos-content {
    padding: 60px 0;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recurso-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.recurso-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.recurso-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.recurso-info h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.recurso-info h3:first-child {
    margin-top: 0;
}

.recurso-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.recurso-info ul {
    list-style: none;
    padding-left: 0;
}

.recurso-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.recurso-info ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.recurso-info strong {
    color: var(--text-color);
}

/* Contacto Page */
.contacto-content {
    padding: 60px 0;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.contacto-main {
    min-width: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.horario-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.horario-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-light);
}

.horario-list li:last-child {
    border-bottom: none;
}

.horario-list strong {
    color: var(--text-color);
}

.contact-sidebar .sidebar-card p a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-sidebar .sidebar-card p a:hover {
    text-decoration: underline;
}

/* Admin Page */
.admin-content {
    padding: 60px 0;
}

.admin-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.admin-card-wide {
    max-width: 1200px;
    width: 100%;
}

.admin-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.admin-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-top: 1rem;
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-color);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.toggle-switch {
    position: relative;
    width: 54px;
    height: 30px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e5e7eb;
    border-radius: 999px;
    transition: background 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    top: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.poi-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.poi-group {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.poi-group-header {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
}

.poi-group-list {
    display: grid;
    gap: 0.75rem;
}

.poi-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 10px;
}

.poi-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.poi-title {
    font-weight: 600;
    color: var(--text-color);
}

.poi-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.admin-card-spaced {
    margin-top: 2.5rem;
}

.admin-auth {
    padding: 60px 0;
}

.admin-login-card {
    max-width: 480px;
}

.admin-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
}

.admin-logout {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.admin-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.admin-form {
    margin-top: 1.5rem;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-address-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.admin-address-row input {
    flex: 1;
}

.admin-address-btn {
    background: var(--text-color);
    color: var(--white);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.admin-address-btn:hover {
    opacity: 0.85;
}

.admin-help {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.admin-submit {
    width: auto;
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
}

.poi-remove {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text-light);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.poi-remove:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .services-grid,
    .etapas-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .etapa-layout {
        grid-template-columns: 1fr;
    }

    .etapa-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .etapa-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pueblos-historia {
        grid-template-columns: 1fr;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .contacto-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .poi-list {
        grid-template-columns: 1fr;
    }
}
