/* ==========================================================================
   VITALCENIT - ESTILOS OFICIALES
   Entidad Sin Ánimo de Lucro · San Gil, Santander
   ========================================================================== */

:root {
    --forest-950: #0f1c16;
    --forest-900: #162a21;
    --forest-800: #1f3b2e;
    --forest-700: #284c3b;
    --forest-600: #35624d;
    --emerald-500: #427c62;
    --sage-400: #6ea087;
    --sage-200: #b8d4c6;
    --sage-100: #e4efe9;
    --sage-50: #f2f7f4;

    --gold-500: #c69b5c;
    --gold-600: #ae8346;
    --gold-100: #f9f3e9;
    
    --sand-50: #faf8f4;
    --sand-100: #f3efe7;
    --sand-200: #e5ded2;
    
    --text-primary: #17241f;
    --text-secondary: #4a5c53;
    --text-muted: #6f8077;
    --text-inverse: #ffffff;

    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2ded4;
    --border-light: rgba(31, 59, 46, 0.08);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(15, 28, 22, 0.05);
    --shadow-md: 0 10px 25px rgba(15, 28, 22, 0.07);
    --shadow-lg: 0 20px 45px rgba(15, 28, 22, 0.12);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--sand-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* CONTENEDOR */
.container {
    width: 100%;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* TOP BAR INSTITUCIONAL */
.top-bar {
    background-color: var(--forest-950);
    color: var(--sand-200);
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e5ded2;
}

.esal-tag {
    background: rgba(198, 155, 92, 0.2);
    color: #f7eedf;
    border: 1px solid rgba(198, 155, 92, 0.4);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-links a {
    color: #ded7cb;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
}

.top-bar-links a:hover {
    color: var(--white);
}

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(15, 28, 22, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
    color: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(26, 51, 40, 0.25);
    border: 1.5px solid var(--gold-500);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--forest-900);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--forest-600);
    letter-spacing: 0.7px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-700);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--forest-900);
    cursor: pointer;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.75rem 1.45rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--forest-800);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(31, 59, 46, 0.25);
}

.btn-primary:hover {
    background-color: var(--forest-950);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 28, 22, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(198, 155, 92, 0.35);
}

.btn-gold:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--forest-900);
    border: 1.5px solid var(--forest-800);
}

.btn-outline:hover {
    background-color: var(--forest-800);
    color: var(--white);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest-950);
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 5rem 0 5.5rem;
    background: radial-gradient(circle at top right, rgba(110, 160, 135, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(198, 155, 92, 0.12), transparent 40%),
                var(--sand-50);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sage-100);
    color: var(--forest-800);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid var(--sage-200);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    line-height: 1.2;
    color: var(--forest-950);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.hero-title span {
    color: var(--forest-700);
    font-style: italic;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--forest-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--forest-900);
}

.trust-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.hero-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-card:hover img {
    transform: scale(1.03);
}

.floating-badge {
    position: absolute;
    bottom: -1.25rem;
    left: -1.25rem;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 270px;
}

.floating-badge-icon {
    width: 42px;
    height: 42px;
    background: var(--sand-100);
    color: var(--forest-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.floating-badge-text h5 {
    font-size: 0.9rem;
    color: var(--forest-900);
    margin-bottom: 0.15rem;
}

.floating-badge-text p {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* SECCIONES COMUNES */
.section {
    padding: 5rem 0;
}

.section-bg-sand {
    background-color: var(--sand-100);
}

.section-bg-forest {
    background-color: var(--forest-900);
    color: var(--sand-50);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--forest-700);
    background: var(--sage-100);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.85rem;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sand-200);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--forest-950);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.section-desc.light {
    color: var(--sand-200);
}

/* QUIÉNES SOMOS / INSTITUCIONAL */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--white);
    height: 440px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esal-verified-stamp {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 28, 22, 0.92);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-500);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.esal-stamp-icon {
    color: var(--gold-500);
    font-size: 1.4rem;
}

.esal-stamp-text strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.esal-stamp-text span {
    font-size: 0.72rem;
    color: var(--sand-200);
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--forest-900);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.chamber-box {
    background: var(--white);
    border-left: 4px solid var(--forest-700);
    padding: 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.75rem 0;
    box-shadow: var(--shadow-sm);
}

.chamber-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--forest-900);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.chamber-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.chamber-list li strong {
    color: var(--forest-900);
}

/* PILARES */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-400);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--sage-100);
    color: var(--forest-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--forest-800);
    color: var(--gold-500);
}

.pillar-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--forest-950);
    margin-bottom: 0.85rem;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.pillar-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.pillar-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.pillar-features li i {
    color: var(--forest-700);
}

/* PROGRAMAS */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.program-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrapper img {
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 28, 22, 0.85);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.program-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-body h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--forest-900);
    margin-bottom: 0.6rem;
}

.program-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--sand-200);
    padding-top: 1rem;
}

/* GALERIA DE IDENTIDAD */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 28, 22, 0.9) 0%, rgba(15, 28, 22, 0.2) 60%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    opacity: 0.95;
    transition: var(--transition);
}

.gallery-overlay h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.gallery-overlay p {
    font-size: 0.82rem;
    color: var(--sand-200);
}

/* FAQ */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--forest-900);
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    color: var(--forest-700);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.94rem;
    color: var(--text-secondary);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CONTACTO */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-card {
    background: var(--forest-900);
    color: var(--sand-50);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198, 155, 92, 0.2), transparent 70%);
    pointer-events: none;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-info-card > p {
    color: var(--sand-200);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-bottom: 2.5rem;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.channel-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.channel-details span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--sand-200);
    letter-spacing: 0.5px;
}

.channel-details a, .channel-details strong {
    font-size: 0.98rem;
    color: var(--white);
    font-weight: 600;
}

.contact-form-card {
    background: var(--white);
    padding: 2.75rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-form-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--forest-900);
    margin-bottom: 0.4rem;
}

.contact-form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-900);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    background-color: var(--sand-50);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--forest-700);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(35, 68, 54, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-top: 0.2rem;
}

.form-checkbox a {
    color: var(--forest-700);
    text-decoration: underline;
}

/* FOOTER */
.site-footer {
    background-color: var(--forest-950);
    color: var(--sand-200);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col-brand .logo-title {
    color: var(--white);
}

.footer-col-brand .logo-subtitle {
    color: var(--sand-200);
}

.footer-col-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 1.25rem 0;
    color: #c9c2b5;
}

.footer-esal-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(198, 155, 92, 0.3);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--sand-100);
}

.footer-esal-badge strong {
    color: var(--gold-500);
    display: block;
    font-size: 0.82rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-500);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: #c9c2b5;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    font-size: 0.86rem;
    color: #c9c2b5;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.footer-contact-list i {
    color: var(--gold-500);
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #a39c8f;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

/* PAGINAS LEGALES */
.legal-header {
    background: var(--forest-900);
    color: var(--white);
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-header p {
    color: var(--sand-200);
    font-size: 0.95rem;
}

.legal-body {
    max-width: 860px;
    margin: 3.5rem auto;
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--forest-950);
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--sand-200);
    padding-bottom: 0.4rem;
}

.legal-body h2:first-of-type {
    margin-top: 0;
}

.legal-body p, .legal-body li {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-body ul, .legal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-highlight-box {
    background: var(--sage-50);
    border-left: 4px solid var(--forest-700);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

.legal-highlight-box strong {
    color: var(--forest-900);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-light);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-trust-row, .pillars-grid, .programs-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .legal-body {
        padding: 1.75rem;
        margin: 1.5rem 1rem;
    }
}
