/* ============================================================
   La Congolaise des Mines — République du Congo
   Feuille de style principale
   ============================================================ */

/* ---- Variables ---- */
:root {
    --color-primary: #1a5632;
    --color-primary-dark: #0e3a20;
    --color-primary-light: #2d7a4a;
    --color-secondary: #c8a415;
    --color-secondary-light: #e6c832;
    --color-accent: #b8860b;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f6f0;
    --color-bg-dark: #1a2e1a;
    --color-border: #d4d4d4;
    --color-success: #27ae60;
    --color-error: #c0392b;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', Times, serif;
    --max-width: 1200px;
    --header-height: 80px;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

/* ---- Utility ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.mt-2 { margin-top: 2rem; }

.section {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
}

.section-intro {
    text-align: center;
    color: var(--color-text-light);
    max-width: 700px;
    margin: -1.5rem auto 2rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
}

.btn-sm:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: var(--shadow);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary-dark);
}

.logo:hover { color: var(--color-primary-dark); }

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

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

.main-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--color-primary);
    color: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

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

/* Page heroes */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ============================================================
   STATS
   ============================================================ */
.section-stats {
    background: var(--color-bg-alt);
}

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

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-secondary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================================
   RESOURCES
   ============================================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-left: 4px solid var(--color-primary);
}

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

.resource-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.resource-card h3 {
    margin-bottom: 0.5rem;
}

.resource-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================================
   MAP
   ============================================================ */
.map-container {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 1;
}

.map-large {
    height: 500px;
}

.map-small {
    height: 250px;
}

.map-legend {
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
}

.map-legend h4 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.news-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--color-secondary);
    transition: transform var(--transition);
}

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

.news-date {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.news-card h3 a {
    color: var(--color-primary-dark);
}

.news-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* News list (actualites page) */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
    padding-top: 0;
}

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

.news-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-event { background: #e8f5e9; color: #2e7d32; }
.tag-communique { background: #e3f2fd; color: #1565c0; }
.tag-publication { background: #fff3e0; color: #e65100; }
.tag-appel { background: #fce4ec; color: #c62828; }

.news-item h3 {
    margin-bottom: 0.75rem;
}

.news-item p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

/* Events */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    align-items: center;
}

.event-date-block {
    text-align: center;
    min-width: 80px;
    padding: 0.75rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
}

.event-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.event-year {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.event-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.event-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ============================================================
   CTA
   ============================================================ */
.section-cta {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    padding: 4rem 0;
}

.section-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.section-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* ============================================================
   INSTITUTION PAGE
   ============================================================ */
.minister-block {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.minister-photo {
    flex-shrink: 0;
    width: 250px;
}

.minister-photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--color-bg-alt);
}

.minister-text blockquote {
    font-style: italic;
    color: var(--color-text-light);
    border-left: 3px solid var(--color-secondary);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.minister-text blockquote p {
    margin-bottom: 0.75rem;
}

.minister-name {
    color: var(--color-primary-dark);
}

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

.mission-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-primary);
}

.mission-card h3 {
    margin-bottom: 0.5rem;
}

.mission-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Two columns */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.two-cols p,
.two-cols li {
    margin-bottom: 0.5rem;
}

.two-cols ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.values-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.values-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* Organigramme */
.organigramme {
    text-align: center;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.org-box {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-primary);
    min-width: 200px;
}

.org-minister {
    background: var(--color-primary);
    color: #fff;
    border-left-color: var(--color-secondary);
    font-size: 1rem;
}

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

.legal-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-card h3 {
    margin-bottom: 0.5rem;
}

.legal-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ============================================================
   GISEMENTS PAGE
   ============================================================ */
.deposit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.deposit-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.deposit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-alt);
    border-bottom: 2px solid var(--color-primary);
}

.deposit-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.deposit-k   { background: #8e44ad; }
.deposit-cu  { background: #d35400; }
.deposit-au  { background: #b8860b; }
.deposit-p   { background: #27ae60; }
.deposit-dia { background: #2980b9; }

.deposit-header h3 {
    margin: 0;
}

.deposit-table {
    width: 100%;
    border-collapse: collapse;
}

.deposit-table tr {
    border-bottom: 1px solid var(--color-border);
}

.deposit-table tr:last-child {
    border-bottom: none;
}

.deposit-table th,
.deposit-table td {
    padding: 0.6rem 1.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.deposit-table th {
    color: var(--color-text-light);
    font-weight: 600;
    width: 40%;
}

/* Documents */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--color-primary);
    transition: transform var(--transition), box-shadow var(--transition);
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary-dark);
}

.doc-card svg {
    color: var(--color-secondary);
}

.doc-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================================
   PERMIS PAGE
   ============================================================ */
.permits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.permit-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 3px solid var(--color-secondary);
}

.permit-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.permit-card h3 {
    margin-bottom: 0.75rem;
}

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

.permit-card ul {
    text-align: left;
    list-style: disc;
    padding-left: 1.5rem;
}

.permit-card li {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Steps timeline */
.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary);
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1;
}

.step-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Schedule table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.schedule-table thead {
    background: var(--color-primary);
    color: #fff;
}

.schedule-table thead th {
    font-weight: 600;
    border-bottom: none;
}

.schedule-table tbody tr:hover {
    background: var(--color-bg-alt);
}

/* ============================================================
   STATISTIQUES PAGE
   ============================================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    padding: 0.75rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.data-table thead {
    background: var(--color-primary);
    color: #fff;
}

.data-table thead th {
    font-weight: 600;
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--color-bg-alt);
}

/* Bar chart */
.bar-chart {
    margin-top: 1rem;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.bar-label {
    min-width: 40px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius);
    transition: width 1s ease;
}

.bar-value {
    min-width: 35px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* ============================================================
   ENVIRONNEMENT PAGE
   ============================================================ */
.env-highlight {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-primary);
}

.env-highlight h3 {
    margin-bottom: 0.75rem;
}

.env-highlight ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.env-highlight li {
    margin-bottom: 0.3rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

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

.env-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-primary);
}

.env-card h3 {
    margin-bottom: 1rem;
}

.env-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.env-card li {
    margin-bottom: 0.4rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

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

.community-card, .partner-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.community-card h3, .partner-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.community-card p, .partner-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    margin-bottom: 1.5rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
}

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

/* Info blocks */
.info-block {
    margin-bottom: 1.5rem;
}

.info-block h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.info-block p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.info-block a {
    color: var(--color-primary);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

.alert-error ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-bg-dark);
    color: #ccc;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-col p {
    margin-bottom: 0.3rem;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ccc;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-secondary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
    }

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

    .hero-lead {
        font-size: 1.1rem;
    }

    .minister-block {
        flex-direction: column;
    }

    .minister-photo {
        width: 100%;
        max-width: 300px;
    }

    .two-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .steps-timeline::before {
        display: none;
    }

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

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }

    .section {
        padding: 2.5rem 0;
    }

    .hero {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .resources-grid,
    .permits-grid,
    .missions-grid,
    .env-cards {
        grid-template-columns: 1fr;
    }

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

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.75rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}
