@font-face {
    font-family: 'Acumit';
    src: url('../fonts/Adobe\ -\ Acumin\ Pro\ ExtraCondensed\ Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helbetica Neue';
    src: url('../fonts/HelveticaNeueLTStd-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helbetica Neue', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

h1, h2 {
    font-family: 'Acumit', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

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

/* Skip Link para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #DC143C;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #6c757d;
    font-size: 1.1rem;
}

.breadcrumb-item a {
    color: #DC143C;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: #B91C3C;
    text-decoration: underline;
}

.breadcrumb-item.current span {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Header */
.header {
    background-color: #DC143C;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: #DC143C;
    font-weight: bold;
    font-size: 1.25rem;
}

.header-info h1 {
    font-family: 'Acumit', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.header-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.header-badge {
    background-color: white;
    color: #DC143C;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    background-color: white;
    border-bottom: 2px solid #DC143C;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
}

.nav-desktop {
    display: flex;
    gap: 0.25rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
    font-size: 0.875rem;
}

.nav-btn:hover {
    color: #DC143C;
    background-color: rgba(220, 20, 60, 0.05);
}

.nav-btn.active {
    background-color: #DC143C;
    color: white;
}

.nav-btn.active:hover {
    background-color: #B91C3C;
}

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

.mobile-menu-btn button {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    border-top: 1px solid #e5e7eb;
    background-color: white;
    padding: 0.5rem 0;
}

.nav-btn-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
    text-align: left;
}

.nav-btn-mobile:hover {
    color: #DC143C;
    background-color: rgba(220, 20, 60, 0.05);
}

.nav-btn-mobile.active {
    background-color: #DC143C;
    color: white;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 64rem;
    margin: 0 auto 1.5rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
}

.badge-item i {
    color: #10b981;
}

/* Services Grid */
.services-section {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #DC143C;
    transition: all 0.2s;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(220, 20, 60, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    color: #DC143C;
    font-size: 1.5rem;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.service-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.service-benefits p {
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.service-benefits li::before {
    content: '•';
    color: #DC143C;
    font-weight: bold;
    width: 1rem;
}

/* CPC Benefits */
.cpc-benefits {
    margin-top: 2rem;
}

.cpc-card {
    background: rgba(220, 20, 60, 0.05);
    border: 1px solid #DC143C;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.cpc-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #DC143C;
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-item i {
    color: #10b981;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Directory Section */
.directory-section {
    margin-top: 3rem;
}

/* Filter Card */
.filter-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #DC143C;
    margin-bottom: 1rem;
}

.filter-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.filter-controls select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    font-size: 0.875rem;
}

.filter-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Search */
.search-container {
    margin-bottom: 1.5rem;
}

.search-input {
    position: relative;
    max-width: 24rem;
}

.search-input i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-input input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.search-input input:focus {
    outline: none;
    border-color: #DC143C;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* Contadores Grid */
.contadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.contador-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #DC143C;
    transition: all 0.2s;
}

.contador-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contador-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contador-avatar {
    width: 4rem;
    height: 4rem;
    background-color: #DC143C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    /* width: 64px;
    height: 64px; */
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contador-info h3 {
    font-weight: 600;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.contador-info .colegiatura {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.contador-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.contador-location i {
    color: #DC143C;
}

.contador-details {
    margin-top: 1rem;
}

.specialty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.specialty-badge i {
    color: #DC143C;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    color: #6b7280;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.whatsapp-link:hover {
    color: #25D366;
}

.fa-whatsapp {
    color: #25D366 !important;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #DC143C;
}

.stat-card i {
    color: #DC143C;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #6b7280;
}

/* Mission Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #DC143C;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Values Card */
.values-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.values-card h3 {
    color: #DC143C;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.value-item {
    text-align: center;
}

.value-badge {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Services Content */
.services-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-category h3 {
    color: #DC143C;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service-item {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Normativa Content */
.normativa-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.norm-category h3 {
    color: #DC143C;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.norm-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.norm-item {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #DC143C;
}

.norm-item h4 {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.norm-item p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.norm-date {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #DC143C;
    transition: all 0.2s;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    border-left-color: #DC143C;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, white 100%);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    background-color: #DC143C;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.news-card h3 {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-author {
    color: #6b7280;
    font-size: 0.875rem;
}

.read-more {
    background-color: #DC143C;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.read-more:hover {
    background-color: #B91C3C;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #DC143C;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info .contact-item i {
    color: #DC143C;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info .contact-item h4 {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info .contact-item p {
    color: #6b7280;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DC143C;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.submit-btn {
    background-color: #DC143C;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background-color: #B91C3C;
}

/* Regional Offices */
.regional-offices {
    margin-top: 3rem;
}

.regional-offices h3 {
    color: #DC143C;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.office-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.office-card h4 {
    color: #DC143C;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.office-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background-color: #DC143C;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        text-align: center;
        gap: 1rem;
    }

    .header-left {
        flex-direction: column;
        text-align: center;
    }

    .header-info h1 {
        font-size: 1.5rem;
    }

    .nav-desktop {
        display: none;
    }

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

    .nav-mobile.active {
        display: block;
    }

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

    .hero-section p {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
    }

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

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

    .filter-controls {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .filter-info {
        justify-self: start;
    }

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

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

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .header-info h1 {
        font-size: 1.25rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.5rem;
    }

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

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