/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #0E3D6B;
    --primary-light: #1a5a9a;
    --secondary: #2E7D32;
    --accent: #FBC02D;
    --surface: #F5F5F7;
    --surface-2: #ECEEF2;
    --border: #DDE1E9;
    --text: #0D1B2A;
    --text-secondary: #4A5568;
    --text-muted: #8896A5;
    --white: #FFFFFF;

    /* Gradients */
    --logo-gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    --hero-overlay: linear-gradient(105deg, rgba(9,45,82,0.92) 0%, rgba(14,61,107,0.78) 45%, rgba(14,61,107,0.55) 100%);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 68px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.65;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text);
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-size: 17px;
    margin-bottom: 1rem;
}

strong {
    font-weight: 700;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

.section-label {
    display: inline-block;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    background-color: rgba(14,61,107,0.08);
    border: 1px solid rgba(14,61,107,0.15);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 48px; }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(52px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 24px rgba(14,61,107,0.08);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: color 0.3s ease;
}

header.is-scrolled .logo-wrapper {
    color: var(--primary);
}

.logo-square {
    width: 38px;
    height: 38px;
    background: var(--logo-gradient);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(14,61,107,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.04em;
}

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

.logo-text-line1 { font-weight: 700; font-size: 13.5px; }
.logo-text-line2 { font-weight: 500; font-size: 12.5px; opacity: 0.8; }

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.85);
}

header.is-scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.12);
}

header.is-scrolled .nav-link:hover {
    color: var(--primary);
    background-color: var(--surface);
}

.fb-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    margin-left: 8px;
}

header.is-scrolled .fb-link {
    border-color: var(--border);
    color: var(--primary);
}

.fb-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
header.is-scrolled .fb-link:hover {
    background-color: var(--surface);
}

.hamburger {
    display: none;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}
header.is-scrolled .hamburger {
    color: var(--text);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Změna z flex-end na center pro vertikální zarovnání */
    background-color: var(--primary);
    background-image: url('../img/hero-bg.jpg'); /* placeholder */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    padding: 120px 0 80px;
    max-width: 640px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(251,192,45,0.15);
    border: 1px solid rgba(251,192,45,0.35);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.hero-badge span {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}
.hero h1 strong {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 19px;
    color: #dce8f4;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--primary) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(251,192,45,0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251,192,45,0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all var(--transition-fast);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.6);
}

/* Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(9,45,82,0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
}

.stat-item {
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: #b8c8d8;
}

/* Timeline / Lišovský příběh */
.tab-strip {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tab-strip::-webkit-scrollbar { display: none; }

.tab-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 12px 24px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}
.tab-btn:hover {
    color: var(--text-secondary);
}
.tab-btn.active {
    font-weight: 700;
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.timeline-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    animation: fadeIn 0.4s ease;
}
.timeline-content.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.timeline-item-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.timeline-item-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    object-fit: cover;
    background-color: var(--surface-2);
}

/* Villages / Moje obec */
.village-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.village-pill {
    border: 2px solid var(--border);
    background-color: var(--white);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: 100px;
    padding: 9px 18px;
    transition: 0.18s ease;
}
.village-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.village-pill.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
}

.village-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.village-content.active {
    display: block;
}

.village-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.village-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.village-header h3 {
    margin-bottom: 4px;
}
.village-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.village-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.v-card {
    border-radius: 16px;
    padding: 32px;
}
.v-card.done {
    background-color: var(--surface);
}
.v-card.planned {
    background-color: rgba(14,61,107,0.04);
    border: 1.5px dashed var(--border);
}

.v-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}
.v-card.done .v-card-header { color: var(--secondary); }
.v-card.planned .v-card-header { color: var(--primary); }

.v-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v-list-item {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.v-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.v-card.done .v-list-item::before { background-color: var(--secondary); }
.v-card.planned .v-list-item::before { background-color: var(--accent); }

/* Pillars / Pilíře úspěchu */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    border: 1.5px solid var(--border);
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: var(--transition-medium);
    cursor: pointer;
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pillar-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pillar-title {
    font-size: 17px;
    margin-bottom: 4px;
}

.pillar-subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pillar-expand-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
}
.pillar-expand-btn svg {
    transition: transform 0.2s ease;
}
.pillar-card.is-expanded .pillar-expand-btn svg {
    transform: rotate(180deg);
}

.pillar-commitments {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
}
.pillar-card.is-expanded .pillar-commitments {
    display: block;
}

.pillar-commitments-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.pillar-commitments ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pillar-commitments li {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}
.pillar-commitments li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

/* Candidates / Naši lidé */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.candidate-card {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    background-color: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: 0.22s ease;
}
.candidate-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(14,61,107,0.12);
    transform: translateY(-3px);
}

.c-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--surface);
}
.c-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.c-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46,125,50,0.93);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    text-align: center;
}

.c-content {
    padding: 14px 16px 18px;
}
.c-name {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}
.c-role {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 8px;
}
.c-bio-short {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-more {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9,29,52,0.72);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(12px);
    transition: transform var(--transition-spring);
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.modal-overlay.is-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background-color: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: 0.2s;
}
.modal-close:hover {
    background-color: var(--border);
    color: var(--text);
}

.modal-photo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
    background-color: var(--surface);
}

.modal-header-info {
    flex: 1;
    padding-right: 40px;
}

.modal-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.modal-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
}

.modal-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}
.modal-role {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-body {
    padding: 24px 28px 32px;
}
.modal-bio {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal-projects-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 16px;
}

.modal-project-item {
    background-color: var(--surface);
    border-left: 3px solid var(--primary);
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.55;
}

/* Contact Form */
.contact-card {
    max-width: 760px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background-color: var(--white);
    color: var(--text);
    transition: var(--transition-fast);
}
.form-control::placeholder {
    color: var(--text-muted);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--secondary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 32px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(46,125,50,0.35);
    transition: var(--transition-fast);
    width: 100%;
}
.btn-submit:hover {
    background-color: #1b5e20;
}
.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.form-success.is-visible {
    display: block;
    animation: fadeIn 0.4s ease;
}
.success-icon {
    width: 64px;
    height: 64px;
    color: var(--secondary);
    margin: 0 auto 24px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 64px;
}

.f-col-1 .logo-square {
    background: rgba(255,255,255,0.15);
    box-shadow: none;
}
.f-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}
.f-contact a {
    color: inherit;
}
.f-contact a:hover {
    color: var(--white);
}
.f-fb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.f-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 24px;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.f-links a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}
.f-links a:hover {
    color: var(--white);
}

.f-transparency-text {
    font-size: 13px;
    opacity: 0.55;
    line-height: 1.65;
    margin-bottom: 24px;
}

.f-info-box {
    background-color: rgba(251,192,45,0.1);
    border: 1px solid rgba(251,192,45,0.25);
    border-radius: 8px;
    padding: 12px 16px;
}
.f-info-line1 {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}
.f-info-line2 {
    font-size: 12px;
    opacity: 0.6;
}

.copyright-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.4;
}

/* Responsive Breakpoints */
@media (max-width: 1000px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
    
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .candidates-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile, handled by JS if needed */
    }
    .hamburger { display: block; }
    
    .timeline-content { grid-template-columns: 1fr; gap: 32px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .copyright-bar { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 640px) {
    .village-cards { grid-template-columns: 1fr; }
    .candidates-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-item:last-child { border-bottom: none; }
    
    .candidates-grid { grid-template-columns: 1fr; }
}
