:root {
    --primary: #0044cc;
    --primary-dark: #002a80;
    --accent: #00aaff;
    --red: #d32f2f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f7fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem;
    margin: 15px 0 5px;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero .mission {
    max-width: 700px;
    margin: 0 auto 30px;
    font-style: italic;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 5px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.stats-section {
    background: var(--white);
    transform: translateY(-30px);
}

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

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 4px solid var(--accent);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.status-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: #fdecea;
    color: var(--red);
}

.status-tag.ok {
    background: #e6f4ea;
    color: #1e7e34;
}

.info-box {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 18px 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-box i {
    color: var(--primary);
    margin-top: 3px;
}

.accordion {
    background-color: var(--primary);
    color: var(--white);
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
}

.accordion:after {
    content: '\002B';
    font-weight: bold;
}

.accordion.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-radius: 0 0 var(--radius) var(--radius);
}

.legal-list {
    list-style: none;
    padding: 20px 0;
}

.legal-list > li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.legal-list ul {
    list-style: none;
    margin: 8px 0 0 18px;
}

.legal-list ul li {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.legal-caput {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 20px;
}

.panel .legal-caput {
    margin-top: 20px;
}

.legal-source {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legal-source a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.legal-source a:hover {
    text-decoration: underline;
}

.accordion-wrapper {
    margin-bottom: 15px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-block h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.check-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.check-list li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.check-list li strong {
    color: var(--text-dark);
}

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list a {
    color: var(--accent);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.gov-logo-placeholder {
    margin-top: 15px;
    padding: 10px;
    border: 1px dashed #555;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.lead-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
}

.lead-card .avatar {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.lead-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.lead-name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 4px 0 12px;
}

.lead-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lead-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background 0.3s;
}

.lead-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pasta-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 10px;
}

.pasta-chip {
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pasta-chip:hover {
    background: var(--primary);
    color: var(--white);
}

.team-group {
    margin-top: 40px;
    scroll-margin-top: 20px;
}

.team-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.team-count {
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.person-card {
    background: var(--white);
    border: 1px solid #e6ecf2;
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.person-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-info {
    min-width: 0;
}

.person-name {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.person-pasta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.person-email {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.person-email:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

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

    .btn {
        display: block;
        margin: 10px auto;
        max-width: 260px;
    }

    .lead-card {
        flex-direction: column;
        text-align: center;
    }

    .lead-links {
        justify-content: center;
    }
}
