:root {
    --ink: #181411;
    --ink-soft: #382e27;
    --muted: #6e645a;
    --cream: #fbf9f5;
    --paper: #ffffff;
    --sand: #f3ede2;
    --gold: #f5b716;
    --gold-light: #ffd000;
    --gold-dark: #c88a16;
    --copper: #9e6738;
    --barber-red: #d22926;
    --leaf: #064334;
    --leaf-light: #107558;
    --line: rgba(24, 20, 17, 0.12);
    --shadow: 0 22px 60px rgba(24, 20, 17, 0.12);
    --shadow-soft: 0 12px 34px rgba(24, 20, 17, 0.08);
    --radius: 8px;
    --font-main: "Manrope", "Segoe UI", Arial, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--ink-soft);
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 255, 255, 0.98) 34%),
        radial-gradient(circle at top left, rgba(201, 149, 53, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(47, 107, 87, 0.12), transparent 30%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

main {
    min-height: 60vh;
}

.section-space {
    padding: 96px 0;
}

.section-title span,
.section-center span,
.hero-modern-badge,
.event-date,
.post-category,
.featured-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title h2,
.section-center h2,
.cta-box h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    margin: 12px 0 18px;
}

.section-description,
.contact-form-intro {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

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

.topbar {
    background: #17130f;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    padding: 9px 0;
}

.topbar-content,
.topbar-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-right a {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.topbar-right a:hover {
    color: var(--gold);
}

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 241, 0.88);
    border-bottom: 1px solid rgba(23, 19, 15, 0.08);
    backdrop-filter: blur(18px);
    transition: var(--transition);
}

.main-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(54, 40, 25, 0.10);
}

.navbar {
    padding: 14px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand-symbol {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--ink), var(--copper));
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(167, 95, 61, 0.26);
}

.brand-mark strong,
.footer-logo-text {
    display: block;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.brand-mark small {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.navbar-nav {
    gap: 2px;
}

.nav-link {
    position: relative;
    color: var(--ink-soft) !important;
    border-radius: 999px;
    padding: 10px 13px !important;
    font-size: 0.93rem;
    font-weight: 800;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink) !important;
    background: rgba(201, 149, 53, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 18px;
}

.public-menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.public-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    transition: var(--transition);
}

.public-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.public-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.public-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn-register,
.btn-login,
.btn-main,
.btn-cta,
.btn-hero-primary,
.btn-hero-secondary,
.btn-contact-submit,
.btn-outline-dark-custom,
.footer-affiliate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    transition: var(--transition);
}

.btn-register,
.btn-main,
.btn-cta,
.btn-hero-primary,
.btn-contact-submit,
.footer-affiliate-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--gold), var(--copper));
    box-shadow: 0 14px 30px rgba(167, 95, 61, 0.22);
}

.btn-register:hover,
.btn-main:hover,
.btn-cta:hover,
.btn-hero-primary:hover,
.btn-contact-submit:hover,
.footer-affiliate-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(167, 95, 61, 0.28);
}

.btn-login,
.btn-hero-secondary,
.btn-outline-dark-custom {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
}

.btn-login:hover,
.btn-hero-secondary:hover,
.btn-outline-dark-custom:hover {
    color: #fff;
    background: var(--ink);
}

.home-hero-modern {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(23, 19, 15, 0.92), rgba(67, 39, 27, 0.78)),
        linear-gradient(45deg, rgba(201, 149, 53, 0.20), rgba(47, 107, 87, 0.18));
}

.home-hero-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.05) 18% 19%, transparent 19% 42%, rgba(255, 255, 255, 0.04) 42% 43%, transparent 43%),
        radial-gradient(circle at 80% 20%, rgba(201, 149, 53, 0.28), transparent 26%);
    opacity: 0.9;
}

.home-hero-modern .container {
    position: relative;
    z-index: 2;
}

.hero-modern-content {
    max-width: 760px;
    color: #fff;
}

.hero-modern-badge {
    color: #f0cf8a;
    padding: 10px 14px;
    border: 1px solid rgba(240, 207, 138, 0.30);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-modern-content h1 {
    max-width: 820px;
    margin: 22px 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.7rem);
    font-weight: 800;
    line-height: 0.95;
}

.hero-modern-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.14rem;
    line-height: 1.8;
}

.hero-modern-actions,
.documents-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-modern-card,
.modern-about-image,
.about-page-image,
.chapters-intro-image,
.benefits-intro-image,
.institutional-image,
.structure-image,
.regulations-image,
.featured-post-image,
.blog-list-image,
.blog-detail-image,
.regional-chapter-image {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(201, 149, 53, 0.70), rgba(47, 107, 87, 0.62)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 18px);
    box-shadow: var(--shadow);
}

.hero-modern-card img,
.modern-about-image img,
.about-page-image img,
.chapters-intro-image img,
.benefits-intro-image img,
.institutional-image img,
.structure-image img,
.regulations-image img,
.featured-post-image img,
.blog-list-image img,
.blog-detail-image img,
.regional-chapter-image img,
.chapter-card img,
.blog-card-home img,
.gallery-grid-home img,
.board-card img {
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

img.is-missing {
    display: none !important;
}

.image-fallback {
    display: grid;
    place-items: center;
    min-height: 220px;
}

.image-fallback-label {
    max-width: 82%;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-floating-box {
    position: absolute;
    right: 22px;
    bottom: 22px;
    max-width: 270px;
    padding: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.hero-floating-box strong,
.hero-floating-box span {
    display: block;
}

.hero-floating-box span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
}

.stats-section {
    margin-top: -54px;
    position: relative;
    z-index: 5;
}

.stats-box,
.contact-form-card,
.blog-sidebar,
.documents-box,
.benefits-highlight-box,
.regional-map-box,
.structure-chapters-box,
.ethics-box {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.stat-item h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
}

.stat-item p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.chapter-card,
.benefit-card,
.purpose-card,
.mission-card,
.value-card,
.agreement-card,
.regional-chapter-card,
.chapter-function-card,
.objective-card,
.org-card,
.board-card,
.committee-card,
.regulation-card,
.role-card,
.blog-card-home,
.blog-list-card,
.featured-post-card,
.contact-info-card,
.contact-type-card,
.event-preview-card,
.sidebar-widget,
.post-nav-card,
.recent-post {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.chapter-card:hover,
.benefit-card:hover,
.purpose-card:hover,
.agreement-card:hover,
.blog-card-home:hover,
.contact-type-card:hover,
.event-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.chapter-card img,
.blog-card-home img {
    min-height: 210px;
}

.chapter-content,
.featured-post-content,
.blog-list-content,
.blog-card-home > div,
.regional-chapter-content,
.purpose-card,
.mission-card,
.value-card,
.agreement-card,
.chapter-function-card,
.objective-card,
.committee-card,
.regulation-card,
.role-card,
.contact-info-card,
.contact-type-card,
.event-preview-card,
.sidebar-widget,
.post-nav-card {
    padding: 26px;
}

.benefit-card {
    padding: 30px;
}

.benefit-card i,
.purpose-card i,
.agreement-icon,
.chapter-function-card i,
.objective-card i,
.committee-card i,
.regulation-card i,
.role-card i,
.contact-info-icon,
.contact-type-card i {
    display: inline-grid;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--leaf));
    font-size: 1.2rem;
}

.chapter-content h3,
.benefit-card h3,
.purpose-card h3,
.mission-card h3,
.value-card h3,
.agreement-card h3,
.regional-chapter-content h3,
.chapter-function-card h3,
.objective-card h3,
.org-card h3,
.board-card h3,
.committee-card h3,
.regulation-card h3,
.role-card h3,
.blog-card-home h3,
.blog-list-card h3,
.featured-post-card h2,
.contact-info-card h3,
.contact-type-card h3,
.event-preview-card h3 {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.chapter-content p,
.benefit-card p,
.purpose-card p,
.mission-card p,
.value-card p,
.agreement-card p,
.regional-chapter-content p,
.chapter-function-card p,
.objective-card p,
.org-card p,
.board-card p,
.committee-card p,
.regulation-card p,
.role-card p,
.blog-card-home p,
.blog-list-card p,
.featured-post-card p,
.contact-info-card p,
.contact-type-card p,
.event-preview-card p {
    color: var(--muted);
    line-height: 1.7;
}

.chapter-content a,
.blog-card-home a,
.event-preview-card a,
.contact-info-card a,
.sidebar-affiliate-box a,
.regional-chapter-content a {
    color: var(--gold-dark);
    font-weight: 900;
}

.events-home,
.chapters-modern,
.benefits-list-section,
.organization-section,
.committees-section,
.regulations-blocks,
.contact-types-section {
    background: rgba(244, 234, 217, 0.42);
}

.event-preview-card {
    min-height: 280px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(23, 19, 15, 0.94), rgba(47, 107, 87, 0.88)),
        linear-gradient(45deg, rgba(201, 149, 53, 0.24), transparent);
}

.event-preview-card h3,
.event-preview-card p,
.event-preview-card a {
    color: #fff;
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-grid-home > * {
    min-height: 230px;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(201, 149, 53, 0.70), rgba(167, 95, 61, 0.66)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 16px);
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    color: #fff;
    background-color: #181411;
    background-image:
        linear-gradient(135deg, rgba(24, 20, 17, 0.94) 0%, rgba(44, 33, 26, 0.88) 100%),
        url('/assets/img/hero-asocolppa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-hero-content {
    max-width: 760px;
}

.inner-hero-content span {
    color: #f0cf8a;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inner-hero-content h1 {
    margin: 12px 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;
}

.inner-hero-content p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    line-height: 1.8;
}

.breadcrumb-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.70);
}

.breadcrumb-section nav {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
}

.breadcrumb-section a {
    color: var(--gold-dark);
}

.dark-card,
.dark-contact-card,
.cta-box {
    color: #fff;
    background:
        linear-gradient(135deg, var(--ink), #342218),
        linear-gradient(45deg, rgba(201, 149, 53, 0.16), transparent);
}

.dark-card h3,
.dark-card p,
.dark-contact-card h3,
.dark-contact-card p,
.dark-contact-card span,
.dark-contact-card a,
.cta-box h2,
.cta-box p {
    color: #fff;
}

.cta-section {
    padding: 64px 0 96px;
}

.cta-box {
    padding: clamp(34px, 6vw, 64px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.blog-search-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.72);
    outline: none;
    transition: var(--transition);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.blog-search-form input:focus {
    border-color: rgba(201, 149, 53, 0.70);
    box-shadow: 0 0 0 4px rgba(201, 149, 53, 0.12);
}

.privacy-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-weight: 700 !important;
}

.privacy-check input {
    width: auto;
    min-height: auto;
    margin-top: 5px;
}

.contact-info-wrapper {
    display: grid;
    gap: 18px;
}

.blog-sidebar {
    display: grid;
    gap: 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.category-list li,
.benefits-highlight-item,
.regional-map-item,
.regional-item,
.ethics-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-weight: 800;
}

.blog-pagination {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

.blog-pagination a,
.blog-pagination span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    font-weight: 900;
}

.blog-pagination .active {
    color: #fff;
    background: var(--ink);
}

.org-chart {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.org-level,
.org-grid {
    display: grid;
    width: 100%;
    gap: 18px;
}

.org-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.org-card {
    padding: 22px;
    text-align: center;
}

.main-org {
    max-width: 420px;
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), var(--ink));
}

.main-org h3,
.main-org p {
    color: #fff;
}

.org-line {
    width: 1px;
    height: 28px;
    background: var(--line);
}

.documents-table-wrapper {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.documents-table {
    margin: 0;
}

.status-badge,
.table-action {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.status-badge.pending {
    color: var(--gold-dark);
    background: rgba(201, 149, 53, 0.14);
}

.table-action.disabled {
    color: var(--muted);
    background: rgba(117, 107, 97, 0.10);
}

.main-footer {
    padding-top: 86px;
    color: rgba(255, 255, 255, 0.72);
    background: #100d0a;
}

.footer-logo-text {
    margin-bottom: 18px;
    color: #fff;
    font-size: 1.6rem;
}

.footer-title {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover,
.footer-contact i {
    color: var(--gold);
}

.footer-contact p {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin: 24px 0;
}

.footer-social a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    margin-top: 70px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.fade-in-base {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* ASOCOLPPA home, aligned to the official logo palette */
:root {
    --asoc-ebony: #181411;
    --asoc-ebony-dark: #100d0b;
    --asoc-green: #064334;
    --asoc-green-2: #0a5442;
    --asoc-gold: #f5b716;
    --asoc-gold-light: #ffd000;
    --asoc-gold-2: #c88a16;
    --asoc-bronze: #9e6738;
    --asoc-red: #d22926;
    --asoc-black: #181411;
    --asoc-border: #e8e1d5;
    --asoc-soft: #fbf9f5;
}

.topbar {
    background: linear-gradient(90deg, #181411 0%, #261f1a 50%, #064334 100%);
    border-bottom: 1px solid rgba(245, 183, 22, 0.25);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-left a,
.topbar-right a,
.topbar-right span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.topbar-left span {
    font-weight: 700;
}

.topbar i {
    color: #fff;
    font-size: 13px;
}

.main-navbar {
    background: #fff;
    border-bottom: 2px solid rgba(245, 183, 22, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.navbar {
    min-height: 96px;
    padding: 12px 0;
}

.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-mark {
    gap: 13px;
    min-width: 265px;
}

.brand-mark strong {
    color: var(--asoc-gold-2);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
}

.brand-mark small {
    max-width: 185px;
    color: var(--asoc-ebony);
    font-size: 12px;
    line-height: 1.35;
}

.nav-link {
    color: #111 !important;
    padding: 12px 10px !important;
    border-radius: 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nav-link i {
    margin-left: 3px;
    font-size: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--asoc-gold-2) !important;
    background: transparent;
}

.btn-login,
.btn-register {
    min-height: 48px;
    border-radius: 6px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-login {
    color: var(--asoc-ebony) !important;
    border: 1.5px solid var(--asoc-gold-2);
    background: #fff;
}

.btn-login:hover {
    background: var(--asoc-ebony);
    color: #fff !important;
    border-color: var(--asoc-ebony);
}

.btn-register {
    background: linear-gradient(135deg, var(--asoc-gold-light) 0%, var(--asoc-gold) 45%, var(--asoc-gold-2) 100%);
    color: var(--asoc-ebony) !important;
    border: 1px solid var(--asoc-gold-2);
    box-shadow: 0 4px 14px rgba(245, 183, 22, 0.35);
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--asoc-gold) 0%, var(--asoc-gold-2) 100%);
    color: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 183, 22, 0.45);
}

.asoc-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background-color: #181411;
}

.asoc-hero-slides {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    min-height: 540px;
}

.asoc-hero-slide {
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
    pointer-events: none;
    background-color: #181411;
    background-image:
        linear-gradient(90deg, rgba(24, 20, 17, 0.96) 0%, rgba(24, 20, 17, 0.86) 42%, rgba(24, 20, 17, 0.45) 72%, rgba(24, 20, 17, 0.2) 100%),
        var(--hero-bg-fallback);
    background-image:
        linear-gradient(90deg, rgba(24, 20, 17, 0.96) 0%, rgba(24, 20, 17, 0.86) 42%, rgba(24, 20, 17, 0.45) 72%, rgba(24, 20, 17, 0.2) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

.asoc-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 25%, rgba(245, 183, 22, 0.16), transparent 45%),
        linear-gradient(180deg, transparent 70%, rgba(24, 20, 17, 0.85) 100%);
    opacity: 0.95;
    pointer-events: none;
    z-index: 1;
}

.asoc-hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.asoc-hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.asoc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 72px 0 88px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 183, 22, 0.16);
    border: 1px solid rgba(245, 183, 22, 0.45);
    color: var(--asoc-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-badge-history {
    background: rgba(43, 114, 186, 0.28);
    border-color: rgba(142, 197, 252, 0.5);
    color: #a5d2ff;
}

.hero-badge-edu {
    background: rgba(40, 167, 69, 0.25);
    border-color: rgba(117, 224, 148, 0.5);
    color: #92eeb1;
}

.asoc-hero-content h1 {
    margin: 0 0 20px;
    color: #fff;
    font-family: var(--font-main);
    font-size: clamp(38px, 4.8vw, 54px);
    font-weight: 900;
    line-height: 1.15;
}

.asoc-hero-content h1 span {
    display: block;
    color: var(--asoc-gold);
}

.asoc-hero-content p {
    max-width: 535px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.asoc-hero .btn-hero-primary,
.asoc-hero .btn-hero-secondary {
    min-width: 150px;
    min-height: 50px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.asoc-hero .btn-hero-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.68);
    background: transparent;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background: var(--asoc-gold);
    color: #000;
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow:focus-visible {
    outline: 2px solid var(--asoc-gold);
    outline-offset: 3px;
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots .hero-dot,
.hero-dots span {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .hero-dot.active,
.hero-dots span.active {
    width: 32px;
    border-radius: 999px;
    border-color: var(--asoc-gold);
    background: var(--asoc-gold);
    box-shadow: 0 0 10px rgba(245, 183, 22, 0.5);
}

.hero-dots .hero-dot:focus-visible {
    outline: 2px solid var(--asoc-gold);
    outline-offset: 2px;
}

.quick-panel-section {
    position: relative;
    z-index: 6;
    margin-top: -38px;
}

.quick-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.quick-panel-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: 132px;
    padding: 26px 24px;
    color: #222;
    border-right: 1px solid #dedbd5;
}

.quick-panel-item:last-child {
    border-right: 0;
}

.quick-panel-item > i {
    color: var(--asoc-gold);
    font-size: 38px;
    line-height: 1;
}

.quick-panel-item:nth-child(even) > i {
    color: var(--asoc-green);
}

.quick-panel-item h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.quick-panel-item p {
    margin: 0 0 12px;
    color: #5d5d5d;
    font-size: 12px;
    line-height: 1.45;
}

.quick-panel-item span {
    color: #111;
    font-size: 12px;
    font-weight: 900;
}

.asoc-about-section,
.asoc-blog-section,
.asoc-chapters-section {
    background: #fff;
}

.asoc-about-section {
    padding: 36px 0 30px;
}

.asoc-about-grid {
    display: grid;
    grid-template-columns: 38% 1fr 275px;
    gap: 38px;
    align-items: stretch;
}

.asoc-about-photo {
    position: relative;
    min-height: 270px;
    border-radius: 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at 34% 36%, rgba(246, 207, 154, 0.45), transparent 13%),
        linear-gradient(135deg, #21140f 0%, #77442c 58%, #b47a45 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.asoc-about-photo::after,
.asoc-post-image::after,
.chapter-thumb::after,
.phone-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 40% 26%, rgba(20, 16, 12, 0.72), transparent 18%),
        radial-gradient(circle at 58% 35%, rgba(217, 140, 76, 0.44), transparent 18%),
        linear-gradient(130deg, rgba(0, 0, 0, 0.18), transparent);
}

.photo-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 132px;
    padding: 16px 14px;
    color: #fff;
    border-radius: 4px;
    background: var(--asoc-green);
}

.photo-badge strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.05;
    text-transform: uppercase;
}

.photo-badge strong::first-line {
    font-size: 14px;
}

.photo-badge span {
    display: block;
    margin-top: 5px;
    color: var(--asoc-gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-kicker {
    display: block;
    color: var(--asoc-gold-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.asoc-about-copy h2,
.section-row-heading h2 {
    position: relative;
    margin: 5px 0 18px;
    color: #111;
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 900;
}

.asoc-about-copy h2::after,
.section-row-heading h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 11px;
    background: var(--asoc-gold);
}

.asoc-about-copy p {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}

.about-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 24px;
    margin: 22px 0;
}

.about-checks span {
    color: #4c4c4c;
    font-size: 13px;
    font-weight: 700;
}

.about-checks i {
    margin-right: 9px;
    color: var(--asoc-gold);
}

.btn-dark-green,
.btn-gold-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 18px;
    border-radius: 4px;
    color: #fff;
    background: var(--asoc-green);
    font-size: 12px;
    font-weight: 900;
}

.btn-gold-small {
    margin-top: 16px;
    background: linear-gradient(135deg, #dda03b, #c28020);
}

.asoc-links-card {
    padding: 25px;
    border-radius: 8px;
    background: #f5f4f1;
}

.asoc-links-card h3 {
    margin-bottom: 19px;
    color: #111;
    font-size: 18px;
    font-weight: 900;
}

.asoc-links-card a:not(.btn-gold-small) {
    display: block;
    margin-bottom: 15px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.asoc-blog-section {
    padding: 8px 0 38px;
}

.section-row-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-row-heading a {
    color: #111;
    font-size: 14px;
    font-weight: 800;
}

.asoc-blog-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
}

.blog-cards-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.asoc-post-card,
.chapter-mini-card {
    overflow: hidden;
    border: 1px solid var(--asoc-border);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.asoc-post-image {
    position: relative;
    height: 138px;
    background:
        linear-gradient(135deg, rgba(10, 49, 38, 0.85), rgba(185, 124, 24, 0.35)),
        linear-gradient(45deg, #261710, #7b513a);
}

.post-date {
    position: absolute;
    left: 13px;
    bottom: -18px;
    z-index: 2;
    display: grid;
    width: 52px;
    height: 62px;
    place-items: center;
    border-radius: 4px;
    color: #111;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.post-date strong {
    margin-top: 7px;
    font-size: 18px;
}

.post-date span {
    margin-top: -12px;
    font-size: 11px;
    font-weight: 800;
}

.asoc-post-body {
    padding: 34px 16px 18px;
}

.asoc-post-body h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.asoc-post-body p {
    color: #585858;
    font-size: 13px;
    line-height: 1.55;
}

.asoc-post-body a {
    color: #111;
    font-size: 13px;
    font-weight: 900;
}

.newsletter-phone-wrap {
    position: relative;
    min-height: 350px;
}

.newsletter-card {
    width: 255px;
    padding: 26px 22px;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, #073528, #001f18);
}

.newsletter-card i {
    color: var(--asoc-gold);
    font-size: 30px;
}

.newsletter-card h3 {
    margin: 13px 0 10px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.6;
}

.newsletter-card input,
.newsletter-card button {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    padding: 9px 11px;
    font-size: 12px;
}

.newsletter-card button {
    margin-top: 8px;
    color: #fff;
    background: var(--asoc-gold);
    font-weight: 900;
}

.phone-preview {
    position: absolute;
    right: 0;
    top: -34px;
    width: 210px;
    min-height: 440px;
    padding: 12px;
    border-radius: 34px;
    background: #0b0b0b;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.26);
}

.phone-screen {
    overflow: hidden;
    min-height: 416px;
    border-radius: 24px;
    background: #fff;
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.phone-top img {
    width: 86px;
    height: 38px;
    object-fit: contain;
}

.phone-hero {
    padding: 20px 12px;
    color: #fff;
    background: linear-gradient(135deg, #0b0b0b, #6b4027);
}

.phone-hero strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
}

.phone-hero span {
    color: var(--asoc-gold);
}

.phone-hero a {
    display: inline-flex;
    margin-top: 13px;
    padding: 8px 10px;
    color: #fff;
    border-radius: 3px;
    background: var(--asoc-gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #eee;
}

.phone-grid span {
    display: grid;
    gap: 4px;
    min-height: 64px;
    place-items: center;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    color: #111;
    font-size: 10px;
    font-weight: 800;
}

.phone-grid i {
    color: var(--asoc-green);
    font-size: 17px;
}

.phone-screen h4 {
    margin: 13px 10px 8px;
    color: #111;
    font-size: 17px;
    font-weight: 900;
}

.phone-photo {
    position: relative;
    height: 95px;
    margin: 0 10px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(135deg, #281710, #a6673d);
}

.phone-screen p {
    margin: 9px 10px;
    color: #444;
    font-size: 10px;
    line-height: 1.45;
}

.asoc-chapters-section {
    padding: 0 0 28px;
}

.chapter-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.chapter-mini-card {
    text-align: center;
}

.chapter-thumb {
    position: relative;
    height: 78px;
    background:
        linear-gradient(135deg, rgba(215, 154, 39, 0.55), rgba(0, 45, 35, 0.45)),
        linear-gradient(45deg, #b26d2e, #e4b35a);
}

.chapter-mini-card strong {
    display: block;
    padding: 13px 8px 4px;
    color: #111;
    font-size: 14px;
    font-weight: 900;
}

.chapter-mini-card span {
    display: block;
    padding: 0 8px 14px;
    color: #111;
    font-size: 12px;
    font-weight: 700;
}

.asoc-metrics-band {
    padding: 27px 0;
    color: #fff;
    background:
        linear-gradient(90deg, #032d23, #06100d),
        var(--asoc-green);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.metric-item i {
    color: var(--asoc-gold);
    font-size: 42px;
}

.metric-item strong,
.metric-item span {
    display: block;
}

.metric-item strong {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.metric-item span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.footer-logo-row img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.footer-logo-row strong,
.footer-logo-row span {
    display: block;
}

.footer-logo-row strong {
    color: #e1a73a;
    font-size: 18px;
    font-weight: 900;
}

.footer-logo-row span {
    max-width: 170px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    line-height: 1.35;
}

/* Final layout fixes requested: ordered top nav, clean newsletter, stronger footer */
@media (min-width: 992px) {
    .main-navbar .navbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 18px;
    }

    .main-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        min-width: 0;
    }

    .main-navbar .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 4px;
        min-width: 0;
    }

    .main-navbar .nav-item {
        flex: 0 0 auto;
    }

    .main-navbar .nav-actions {
        flex: 0 0 auto;
        margin-left: 0;
    }
}

.navbar {
    min-height: 94px;
}

.brand-mark {
    min-width: 250px;
    flex: 0 0 auto;
}

.nav-link {
    padding: 10px 9px !important;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(215, 154, 39, 0.10);
}

.has-submenu {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 1100;
    min-width: 235px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-submenu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #1d2b27;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.nav-submenu a:hover,
.nav-submenu a.active {
    color: var(--asoc-gold-2);
    background: rgba(215, 154, 39, 0.11);
}

.btn-login,
.btn-register {
    padding: 13px 14px;
    font-size: 11px;
}

.newsletter-phone-wrap {
    min-height: auto;
}

.newsletter-card {
    width: 100%;
    padding: 30px 24px;
    box-shadow: 0 16px 32px rgba(0, 45, 35, 0.18);
}

.phone-preview {
    display: none !important;
}

.main-footer {
    padding-top: 76px;
    color: rgba(255, 255, 255, 0.76);
    background:
        linear-gradient(90deg, rgba(0, 45, 35, 0.94), rgba(12, 15, 13, 0.98)),
        #100d0a;
}

.main-footer .row {
    align-items: flex-start;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.7;
}

.footer-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 10px;
    background: var(--asoc-gold);
}

.footer-links a {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--asoc-gold);
    transform: translateX(3px);
}

.footer-social a:hover {
    border-color: rgba(215, 154, 39, 0.65);
    background: rgba(215, 154, 39, 0.16);
}

.footer-affiliate-btn {
    border-radius: 4px;
    background: linear-gradient(135deg, #e2ab3b, #c8871d);
}

.footer-bottom {
    margin-top: 64px;
    background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(160px, 0.8fr) minmax(150px, 0.7fr) minmax(230px, 1fr);
    gap: 38px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-col-contact {
    justify-self: end;
    width: 100%;
    max-width: 280px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-contact {
    display: grid;
    gap: 12px;
}

.footer-contact p {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .asoc-hero {
        min-height: 480px;
    }
    .asoc-hero-slides {
        min-height: 480px;
    }
    .asoc-hero-slide {
        background-image:
            linear-gradient(180deg, rgba(24, 20, 17, 0.95) 0%, rgba(24, 20, 17, 0.88) 55%, rgba(24, 20, 17, 0.96) 100%),
            var(--hero-bg-fallback);
        background-image:
            linear-gradient(180deg, rgba(24, 20, 17, 0.95) 0%, rgba(24, 20, 17, 0.88) 55%, rgba(24, 20, 17, 0.96) 100%),
            var(--hero-bg);
        background-position: center;
    }
    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .hero-arrow-left {
        left: 8px;
    }
    .hero-arrow-right {
        right: 8px;
    }
    .asoc-hero-content {
        padding: 56px 0 76px;
        text-align: center;
    }
    .hero-badge {
        margin: 0 auto 16px;
    }
    .asoc-hero .hero-modern-actions {
        justify-content: center;
    }
}

/* ==========================================================================
   CONVENIOS Y ALIANZAS ESTRATÉGICAS
   ========================================================================== */
.portal-convenios-page {
    background: #fbfaf8;
    color: #2b2520;
}

.convenios-hero-banner {
    position: relative;
    padding: 56px 0 46px;
    background: linear-gradient(135deg, #181411 0%, #29221b 60%, #1d1814 100%);
    color: #fff;
    border-bottom: 3px solid var(--asoc-gold);
}

.convenios-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
}

.convenios-breadcrumb .breadcrumb-item.active {
    color: var(--asoc-gold);
    font-size: 13px;
}

.convenios-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 183, 22, 0.15);
    border: 1px solid rgba(245, 183, 22, 0.4);
    color: var(--asoc-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.convenios-main-title {
    font-family: var(--font-main);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 16px;
}

.convenios-main-title span {
    color: var(--asoc-gold);
}

.convenios-main-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 0;
}

.convenios-share-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 18px 20px;
    display: inline-block;
    text-align: left;
}

.share-box-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--asoc-gold);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.share-buttons-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-share {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

.btn-share-wa { background: #25d366; }
.btn-share-fb { background: #1877f2; }
.btn-share-x  { background: #000; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-share-li { background: #0a66c2; }
.btn-share-copy { background: #555; }

.copy-feedback-msg {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #75e094;
    font-weight: 600;
}

/* Filtros */
.convenios-filter-section {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ede9e3;
    position: sticky;
    top: 72px;
    z-index: 10;
}

.convenios-filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #ded9d1;
    background: #f7f5f1;
    color: #4a4036;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--asoc-gold);
    border-color: var(--asoc-gold);
    color: #181411;
    box-shadow: 0 3px 10px rgba(245, 183, 22, 0.35);
}

/* Tarjetas de Convenio */
.convenio-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8e3dc;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.convenio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.convenio-card-destacado {
    border: 2px solid var(--asoc-gold);
    background: #fffdf9;
}

.convenio-destacado-ribbon {
    position: absolute;
    top: 14px;
    right: 18px;
    background: linear-gradient(135deg, #f5b716, #d49800);
    color: #181411;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 999px;
}

.convenio-header-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.convenio-logo-container {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 12px;
    border: 1px solid #ebe5dc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.convenio-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.convenio-meta-head {
    flex: 1;
}

.convenio-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--asoc-gold-dark, #b58000);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.convenio-company-title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: #181411;
    margin-bottom: 8px;
    line-height: 1.3;
}

.convenio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.convenio-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f4efe8;
    color: #55483b;
    font-size: 11px;
    font-weight: 600;
}

.convenio-tag-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #e6f7ec;
    color: #198754;
    font-size: 11px;
    font-weight: 700;
}

.convenio-desc-lead {
    font-size: 14.5px;
    color: #443a31;
    line-height: 1.6;
    margin-bottom: 16px;
}

.convenio-benefit-box {
    background: #fbf9f5;
    border: 1px dashed #ded6ca;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 22px;
}

.convenio-benefit-box h4 {
    font-size: 13px;
    font-weight: 800;
    color: #181411;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.convenio-benefit-box h4 i {
    color: var(--asoc-gold);
}

.convenio-benefit-box p {
    font-size: 13.5px;
    color: #554b41;
    line-height: 1.55;
    margin-bottom: 0;
}

.convenio-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #f0eae1;
}

.btn-convenio-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 6px;
    background: #181411;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-convenio-action:hover {
    background: var(--asoc-gold);
    color: #181411;
}

.convenio-card-share {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-share-label {
    font-size: 12px;
    color: #8c8276;
    font-weight: 600;
}

.card-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #ded7ce;
    background: #fff;
    color: #4a4036;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-share-btn:hover {
    border-color: var(--asoc-gold);
    color: #181411;
    transform: scale(1.08);
}

.card-share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.card-share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }

/* CTA Sección */
.convenio-cta-section {
    padding: 60px 0;
    background: #f5f1eb;
}

.convenio-cta-box {
    background: linear-gradient(135deg, #181411 0%, #2b231c 100%);
    border-radius: 16px;
    padding: 42px 48px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(245, 183, 22, 0.3);
}

.cta-mini-label {
    display: inline-block;
    color: var(--asoc-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.convenio-cta-box h2 {
    color: #fff;
    font-family: var(--font-main);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 12px;
}

.convenio-cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}

.btn-convenio-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 8px;
    background: var(--asoc-gold);
    color: #181411;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(245, 183, 22, 0.4);
    transition: all 0.2s ease;
}

.btn-convenio-cta:hover {
    background: #fff;
    color: #181411;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .convenio-header-row {
        flex-direction: column;
    }
    .convenio-logo-container {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    .convenio-cta-box {
        padding: 28px 22px;
        text-align: center;
    }
    .btn-convenio-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   FASE K: PROGRAMAS, FORMACIÓN DIGITAL Y AFILIACIÓN CONTEXTUAL
   ========================================================================== */

.asoc-programs-section {
    padding: 85px 0;
    background: linear-gradient(180deg, #faf7f2 0%, #f4ede1 100%);
    border-top: 1px solid #ebdcc5;
    border-bottom: 1px solid #ebdcc5;
}

.asoc-programs-header {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.asoc-programs-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #181411;
    margin: 10px 0 16px;
    letter-spacing: -0.5px;
}

.asoc-programs-header p {
    font-size: 16px;
    color: #5d5d5d;
    line-height: 1.65;
}

.programs-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.program-pillar-card {
    background: #ffffff;
    border: 1px solid #e7ded0;
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.program-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.pillar-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(215, 154, 39, 0.12);
    color: var(--asoc-gold-2, #b88628);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.program-pillar-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #181411;
    margin: 0 0 10px;
}

.program-pillar-card p {
    font-size: 13.5px;
    color: #5d5d5d;
    line-height: 1.55;
    margin-bottom: 0;
    flex-grow: 1;
}

.programs-banner-alliance {
    background: #ffffff;
    border: 2px solid var(--asoc-gold, #f5b716);
    border-radius: 16px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(215, 154, 39, 0.12);
}

.alliance-info {
    flex: 1;
    min-width: 300px;
}

.alliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #181411;
    color: #f5b716;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.alliance-info h4 {
    font-size: 20px;
    font-weight: 800;
    color: #181411;
    margin: 0 0 6px;
}

.alliance-info p {
    font-size: 14px;
    color: #5d5d5d;
    margin: 0;
    line-height: 1.5;
}

/* SECCIÓN 8: AFILIACIÓN CONTEXTUAL */
.asoc-affiliate-section {
    padding: 80px 0;
    background: #181411;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.asoc-affiliate-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(215, 154, 39, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.affiliate-box-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.affiliate-kicker {
    display: inline-block;
    color: var(--asoc-gold, #f5b716);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.affiliate-box-inner h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.affiliate-box-inner p.affiliate-intro {
    font-size: 17px;
    color: #d1d5db;
    line-height: 1.65;
    margin-bottom: 24px;
}

.affiliate-clarification {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(215, 154, 39, 0.35);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 auto 32px;
    max-width: 780px;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.affiliate-clarification i {
    font-size: 24px;
    color: var(--asoc-gold, #f5b716);
    flex-shrink: 0;
    margin-top: 2px;
}

.affiliate-clarification p {
    font-size: 13.5px;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.55;
}

.affiliate-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* RESPONSIVE PARA NUEVAS SECCIONES */
@media (max-width: 991px) {
    .programs-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .asoc-programs-header h2 {
        font-size: 28px;
    }
    .affiliate-box-inner h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .programs-pillars-grid {
        grid-template-columns: 1fr;
    }
    .programs-banner-alliance {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
    }
    .affiliate-clarification {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .affiliate-actions {
        flex-direction: column;
    }
    .affiliate-actions a {
        width: 100%;
    }
}
