html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
}

.lgc-public-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f6f8f4;
    color: #1f2937;
}

.lgc-public-main {
    flex: 1 0 auto;
    padding-bottom: 0;
}

 /* NAVBAR */
.lgc-navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.lgc-navbar {
    min-height: 84px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: none;
}

.lgc-public-main {
    flex: 1 0 auto;
    padding-top: 84px;
    padding-bottom: 0;
}

section[id] {
    scroll-margin-top: 104px;
}

.lgc-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
}

.lgc-navbar .container {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lgc-navbar .nav-link {
    color: #4b5563;
    font-weight: 500;
}

.lgc-navbar .nav-link:hover {
    color: #198754;
}

.lgc-btn-nav {
    border-radius: 0.75rem;
    font-weight: 600;
}

.logo {
    height: 64px;
    width: auto;
    display: block;
}

/* HERO */
.lgc-hero {
    position: relative;
    padding: 6rem 0 5.5rem;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-image: url('../img/hero-compost-hands.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.lgc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.60) 36%,
        rgba(15, 23, 42, 0.32) 62%,
        rgba(15, 23, 42, 0.10) 82%,
        rgba(15, 23, 42, 0.00) 100%
    );
}

.lgc-hero .container {
    position: relative;
    z-index: 1;
}

.lgc-hero-content {
    max-width: 760px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lgc-kicker,
.lgc-section-kicker,
.lgc-cta-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lgc-kicker {
    color: #bbf7d0;
    margin-bottom: 1rem;
}

.lgc-section-kicker {
    color: #198754;
    margin-bottom: 0.75rem;
}

.lgc-cta-kicker {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.5rem;
}

.lgc-hero-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 0.98;
    color: #ffffff;
    margin: 0 0 1.5rem;
    max-width: 700px;
}

.lgc-hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.lgc-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.lgc-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    z-index: 1;
}

.lgc-hero-wave svg {
    display: block;
    width: 100%;
    height: 84px;
}

.lgc-hero-wave path {
    fill: #ffffff;
}


/* SECTIONS */
.lgc-section {
    padding: 5.5rem 0;
}

.lgc-section-soft {
    background: #eef3ee;
}

.lgc-section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.08;
}

.lgc-section-text {
    color: #6b7280;
    max-width: 760px;
    line-height: 1.75;
    font-size: 1.05rem;
}

 /* CARDS */
.lgc-card {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: auto;
}

.lgc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    border-color: rgba(25, 135, 84, 0.14);
}

.lgc-card-equal {
    height: 100%;
}

.lgc-card .h5 {
    font-weight: 700;
    color: #1f2937;
}

.lgc-icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 1.35rem;
}

.lgc-step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #198754;
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(25, 135, 84, 0.2);
}

/* CTA */
.lgc-cta {
    background: linear-gradient(135deg, #198754, #2f9e44);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 1rem 2rem rgba(25, 135, 84, 0.18);
}

.lgc-cta .btn-light,
.lgc-cta .btn-outline-light {
    font-weight: 600;
    border-radius: 0.8rem;
}

/* FAQ */
.lgc-faq .accordion-item {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.05);
    margin-bottom: 1rem;
}

.lgc-faq .accordion-button {
    font-weight: 700;
    color: #1f2937;
    background: #ffffff;
    box-shadow: none;
    padding: 1.2rem 1.25rem;
}

.lgc-faq .accordion-button:not(.collapsed) {
    background: #ffffff;
    color: #198754;
}

.lgc-faq .accordion-body {
    color: #6b7280;
    line-height: 1.7;
    padding-top: 0;
}

/* FOOTER */
.lgc-footer {
    flex-shrink: 0;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 40px;
}

.lgc-footer .row {
    align-items: flex-start;
}

.lgc-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 420px;
}

.footer-logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.lgc-footer-description {
    max-width: 340px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 0;
}

.lgc-footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.lgc-footer-links li + li {
    margin-top: 0.45rem;
}

.lgc-footer-links a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lgc-footer-links a:hover {
    color: #198754;
}

.lgc-footer-divider {
    margin-top: 40px;
    margin-bottom: 20px;
    opacity: 0.1;
    border-color: #e5e7eb;
}

.lgc-footer-bottom {
    display: flex;
    align-items: center;
    color: #6b7280;
}

/* UTIL */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* MOBILE */
@media (max-width: 991.98px) {
    .lgc-navbar .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .lgc-navbar-nav {
        align-items: stretch !important;
    }

    .lgc-navbar-nav .btn {
        width: 100%;
    }

    .lgc-hero {
        min-height: auto;
        padding: 5rem 0 4.5rem;
        background-position: 62% center;
    }

    .lgc-hero::before {
        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.82) 0%,
            rgba(15, 23, 42, 0.64) 55%,
            rgba(15, 23, 42, 0.35) 100%
        );
    }
}

@media (max-width: 575.98px) {
    .lgc-section {
        padding: 3.75rem 0;
    }

    .lgc-hero-title {
        font-size: 2.15rem;
    }

    .lgc-hero-text {
        font-size: 1rem;
    }

    .lgc-card .card-body {
        padding: 1.25rem !important;
    }

    .lgc-cta {
        padding: 1.5rem;
    }

    .footer-logo {
        height: 46px;
    }
}


.lgc-form-card {
    border-radius: 1.25rem;
}

.lgc-alert-soft {
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.04);
}

.lgc-form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.lgc-form-section-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lgc-form-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.lgc-form-section-text {
    color: #6b7280;
    line-height: 1.5;
}

.lgc-form-card .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.45rem;
}

.lgc-form-card .form-control,
.lgc-form-card .form-select {
    min-height: 48px;
    border-radius: 0.8rem;
    border-color: #d1d5db;
}

.lgc-form-card textarea.form-control {
    min-height: auto;
    border-radius: 0.8rem;
}

.lgc-form-card .form-control:focus,
.lgc-form-card .form-select:focus {
    border-color: rgba(25, 135, 84, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.12);
}

.lgc-form-card .form-text {
    color: #6b7280;
}

.lgc-form-card .form-check {
    padding-top: 0.25rem;
}

@media (max-width: 575.98px) {
    .lgc-form-section-heading {
        gap: 0.75rem;
    }

    .lgc-form-section-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .lgc-form-section-title {
        font-size: 1.1rem;
    }
}

.lgc-review-card {
    border-radius: 1.25rem;
}

.lgc-review-status {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(25, 135, 84, 0.14);
    background: rgba(25, 135, 84, 0.05);
    border-radius: 1rem;
}

.lgc-review-status-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.lgc-review-status-title {
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.lgc-review-status-text {
    color: #6b7280;
    line-height: 1.5;
}

.lgc-review-section {
    height: 100%;
}

.lgc-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lgc-review-item {
    padding: 0.95rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
}

.lgc-review-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.lgc-review-value {
    color: #1f2937;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}

.lgc-review-note {
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
}

.lgc-review-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.lgc-inline-form {
    margin: 0;
}

@media (min-width: 576px) {
    .lgc-review-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .lgc-inline-form .btn {
        width: 100%;
    }
}

.lgc-success-card {
    border-radius: 1.25rem;
}

.lgc-success-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 2rem;
    box-shadow: 0 1rem 2rem rgba(25, 135, 84, 0.12);
}

.lgc-success-summary {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(25, 135, 84, 0.14);
    background: rgba(25, 135, 84, 0.05);
    border-radius: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.lgc-success-summary-title {
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.lgc-legal-card {
    border-radius: 1.25rem;
}

.lgc-legal-card .card-body {
    line-height: 1.75;
    color: #4b5563;
}

.lgc-legal-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.lgc-legal-card h2:first-child {
    margin-top: 0;
}

.lgc-legal-card p,
.lgc-legal-card li {
    color: #4b5563;
}

.lgc-legal-card ul {
    padding-left: 1.2rem;
}

.lgc-legal-note {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(25, 135, 84, 0.14);
    background: rgba(25, 135, 84, 0.05);
    border-radius: 1rem;
    color: #4b5563;
}

.lgc-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    z-index: 9999;
    padding: 0 1rem;
}

.lgc-cookie-inner {
    max-width: 1100px;
    margin: 0 auto;

    background: rgba(31, 41, 55, 0.92); /* gris oscuro elegante */
    backdrop-filter: blur(10px);

    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.35);

    padding: 1.25rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lgc-cookie-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e5e7eb;
    max-width: 700px;
}

.lgc-cookie-text a {
    color: #22c55e;
    font-weight: 500;
    text-decoration: underline;
}

.lgc-cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.lgc-cookie-actions .btn {
    min-width: 110px;
}

.logo {
    height: 64px;
    width: auto;
}

.lgc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.lgc-cta-btn {
    min-height: 56px;
    padding: 0 1.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .lgc-cta-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .lgc-cta-btn {
        width: 100%;
        min-width: 0;
    }
}

.lgc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.lgc-hero-btn {
    min-height: 56px;
    padding: 0 1.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    line-height: 1;
}

.lgc-section-intro {
    max-width: 820px;
    margin: 0 auto 3rem;
}

@media (max-width: 575.98px) {
    .lgc-hero-actions {
        gap: 0.75rem;
    }

    .lgc-hero-btn {
        min-width: 150px;
    }
}

.lgc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .lgc-cta-actions {
        justify-content: flex-end;
    }
}

.lgc-aportacion-card {
    border-radius: 1.4rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

.lgc-aportacion-intro {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.lgc-aportacion-pcc {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(25, 135, 84, 0.14);
    background: rgba(25, 135, 84, 0.06);
    border-radius: 1rem;
}

.lgc-aportacion-pcc-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #198754;
    margin-bottom: 0.25rem;
}

.lgc-aportacion-pcc-name {
    font-weight: 700;
    color: #1f2937;
    line-height: 1.45;
}

.lgc-aportacion-input {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.lgc-aportacion-input::placeholder {
    font-weight: 400;
    letter-spacing: 0;
}

.lgc-aportacion-submit {
    min-height: 54px;
    border-radius: 0.95rem;
    font-weight: 700;
}

.lgc-aportacion-note {
    line-height: 1.5;
}

.lgc-aportaciones-landing-card {
    border-radius: 1.4rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

.lgc-aportaciones-landing-intro {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.lgc-aportaciones-pcc-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lgc-aportaciones-pcc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(25, 135, 84, 0.14);
    background: #ffffff;
    border-radius: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.lgc-aportaciones-pcc-item:hover {
    transform: translateY(-2px);
    border-color: rgba(25, 135, 84, 0.28);
    background: rgba(25, 135, 84, 0.04);
    box-shadow: 0 0.75rem 1.75rem rgba(15, 23, 42, 0.05);
}

.lgc-aportaciones-pcc-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lgc-aportaciones-pcc-content {
    flex: 1;
    min-width: 0;
}

.lgc-aportaciones-pcc-name {
    font-weight: 700;
    font-size: 1.02rem;
    color: #1f2937;
    line-height: 1.4;
}

.lgc-aportaciones-pcc-arrow {
    color: #9ca3af;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.lgc-aportaciones-landing-note {
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .lgc-aportaciones-pcc-item {
        padding: 0.95rem 1rem;
        gap: 0.85rem;
    }

    .lgc-aportaciones-pcc-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
    }
}

.lgc-aportacion-gracias-card {
    border-radius: 1.4rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

.lgc-aportacion-gracias-icon {
    transform: scale(1.05);
}

.lgc-aportacion-gracias-text {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.lgc-aportacion-secondary-btn {
    min-height: 48px;
    border-radius: 0.95rem;
    font-weight: 600;
}

/* Cards interactivas SOLO donde toca */
.lgc-home .lgc-card:hover,
.lgc-listing .lgc-card:hover {
    transform: translateY(-4px);
}

/* Formularios: cero movimiento */
.lgc-participa-page .lgc-card,
.lgc-aportaciones-page .lgc-card,
.lgc-legal-page .lgc-card,
.lgc-participa-page .lgc-card:hover,
.lgc-aportaciones-page .lgc-card:hover,
.lgc-legal-page .lgc-card:hover {
    transition: none;
    transform: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.05);
}

.lgc-public-section
{
    margin-top: 55px;
}

.lgc-aportaciones-municipio-title {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--tblr-body-color);
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.lgc-aportaciones-municipio-group {
    margin-bottom: 2.25rem;
}

.lgc-aportaciones-municipio-group:last-child {
    margin-bottom: 0;
}

.lgc-aportaciones-municipio-title {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--tblr-body-color);
    padding-bottom: .75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.lgc-aportaciones-pcc-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lgc-aportaciones-municipio-group {
    margin-bottom: 2.25rem;
}

.lgc-aportaciones-municipio-title {
    padding-bottom: .75rem;
    margin-bottom: 1.25rem;
}

.lgc-aportaciones-landing-note {
    margin-top: 2rem !important;
}