*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #1a56db;--primary-dark: #1e429f;--primary-light: #e1effe;--secondary: #c81e1e;--secondary-light: #fde8e8;--success: #057a55;--success-light: #def7ec;--warning: #c27803;--warning-light: #fdf6b2;--background: #f9fafb;--surface: #ffffff;--text: #111928;--text-secondary: #6b7280;--text-muted: #9ca3af;--border: #e5e7eb;--border-light: #f3f4f6;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--radius-sm: 6px;--radius: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-full: 9999px;--transition: .15s cubic-bezier(.4, 0, .2, 1)}html{font-size:16px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--background);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{min-height:100vh;display:flex;flex-direction:column;padding-bottom:80px}.header{background:var(--surface);padding:.875rem 1rem;box-shadow:var(--shadow);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-light)}.header-content{max-width:640px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.header-logo{display:flex;align-items:center}.header-logo-img{height:56px;width:auto;object-fit:contain;border-radius:8px}.header-back{background:var(--background);border:1px solid var(--border);color:var(--text);font-size:1.25rem;cursor:pointer;padding:.5rem .75rem;border-radius:var(--radius);display:flex;align-items:center;transition:all var(--transition)}.header-back:hover{background:var(--border-light);border-color:var(--text-muted)}.main{flex:1;padding:1.25rem 1rem;max-width:640px;margin:0 auto;width:100%}.page-header{margin-bottom:1.25rem}.page-title{font-size:1.5rem;font-weight:700;color:var(--text);letter-spacing:-.025em;margin-bottom:.25rem}.page-subtitle{font-size:.9375rem;color:var(--text-secondary)}.projects-summary{display:flex;align-items:center;justify-content:center;gap:1.5rem;background:var(--surface);padding:1rem 1.5rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);margin-bottom:1.5rem}.summary-item{display:flex;flex-direction:column;align-items:center;text-align:center}.summary-number{font-size:1.5rem;font-weight:700;color:var(--primary);line-height:1.2}.summary-label{font-size:.75rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-weight:500}.summary-divider{width:1px;height:40px;background:var(--border)}.projects-list{display:flex;flex-direction:column;gap:1rem}.project-card{background:var(--surface);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border-light);cursor:pointer;transition:all var(--transition)}.project-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-light)}.project-card:active{transform:scale(.99)}.project-card-image-container{position:relative;width:100%;height:180px;overflow:hidden}.project-card-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.project-card:hover .project-card-image{transform:scale(1.05)}.project-card-overlay{position:absolute;top:0;left:0;right:0;padding:.75rem;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,transparent 100%)}.project-card-category{display:inline-flex;align-items:center;gap:.375rem;background:#fffffff2;color:var(--text);padding:.375rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.project-card-deadline{display:inline-flex;align-items:center;gap:.25rem;background:#000000b3;color:#fff;padding:.375rem .625rem;border-radius:var(--radius-full);font-size:.6875rem;font-weight:500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.deadline-icon{font-size:.75rem}.project-card-content{padding:1rem 1.25rem 1.25rem}.project-card-header{margin-bottom:.625rem}.project-card-status{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:var(--radius-full);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.project-card-status.status-active{background:var(--success-light);color:var(--success)}.project-card-status.status-closed{background:var(--border-light);color:var(--text-secondary)}.project-card-status.status-completed{background:#e8f5e9;color:#2e7d32}.project-card-status.status-analysis{background:#fff3e0;color:#e65100}.project-card-title{font-size:1.125rem;font-weight:700;color:var(--text);margin-bottom:.5rem;line-height:1.3;letter-spacing:-.01em}.project-card-location{display:flex;align-items:center;gap:.375rem;color:var(--text-secondary);font-size:.875rem;margin-bottom:1rem}.location-icon{width:16px;height:16px;flex-shrink:0}.project-card-progress{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem}.progress-votes{font-size:.875rem;color:var(--text-secondary)}.progress-votes strong{color:var(--text);font-weight:600}.progress-goal{font-size:.75rem;color:var(--text-muted)}.progress-bar{height:8px;background:var(--border-light);border-radius:var(--radius-full);overflow:hidden;margin-bottom:.375rem}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary) 0%,var(--primary-dark) 100%);border-radius:var(--radius-full);transition:width .5s ease}.progress-percentage{font-size:.75rem;color:var(--text-muted);text-align:right}.project-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--border-light)}.project-card-budget{display:flex;flex-direction:column}.budget-label{font-size:.6875rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:500}.budget-value{font-size:1.125rem;font-weight:700;color:var(--primary)}.card-vote-btn{display:inline-flex;align-items:center;gap:.375rem;background:var(--primary);color:#fff;padding:.625rem 1rem;border-radius:var(--radius);font-size:.875rem;font-weight:600;border:none;cursor:pointer;transition:all var(--transition)}.card-vote-btn:hover{background:var(--primary-dark)}.btn-arrow{width:16px;height:16px}.project-detail{padding-bottom:calc(200px + env(safe-area-inset-bottom,0px))}.project-hero{width:calc(100% + 2rem);margin:0 -1rem 1rem;height:240px;object-fit:cover;border-radius:0 0 var(--radius) var(--radius)}.project-badges{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.badge-active{background:var(--success-light);color:var(--success)}.badge-completed{background:#e8f5e9;color:#2e7d32}.badge-analysis{background:#fff3e0;color:#e65100}.badge-closed{background:var(--border-light);color:var(--text-secondary)}.badge-category{background:var(--primary-light);color:var(--primary)}.project-title{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;line-height:1.3;letter-spacing:-.025em}.project-proposer{font-size:.9375rem;color:var(--text-secondary);margin-bottom:1.25rem}.project-stats-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.5rem}.project-stat-box{background:var(--background);padding:1rem;border-radius:var(--radius-lg);text-align:center;border:1px solid var(--border-light)}.project-stat-icon{font-size:1.5rem;margin-bottom:.25rem}.project-stat-label{font-size:.6875rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:500}.project-stat-value{font-size:1.25rem;font-weight:700;color:var(--text)}.section-title{font-size:1rem;font-weight:700;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem;color:var(--text)}.project-description{font-size:.9375rem;line-height:1.7;margin-bottom:1.5rem;color:var(--text-secondary)}.benefits-box{background:var(--primary-light);border-radius:var(--radius-lg);padding:1rem 1.25rem;margin-bottom:1.5rem;border:1px solid rgba(26,86,219,.1)}.benefits-title{font-size:.9375rem;font-weight:700;margin-bottom:.75rem;color:var(--primary-dark)}.benefit-item{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.625rem;font-size:.875rem;color:var(--text)}.benefit-item:last-child{margin-bottom:0}.benefit-icon{color:var(--success);font-size:1.125rem;flex-shrink:0;margin-top:.125rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.25rem;border-radius:var(--radius);font-size:1rem;font-weight:600;border:none;cursor:pointer;transition:all var(--transition);width:100%;text-decoration:none}.btn:active{transform:scale(.98)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-success{background:var(--success);color:#fff}.btn-success:hover{background:#046c4e}.btn-outline{background:var(--surface);color:var(--text);border:2px solid var(--border)}.btn-outline:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}.fixed-bottom{position:fixed;bottom:80px;left:0;right:0;padding:1rem;background:var(--surface);box-shadow:0 -4px 12px #00000014;border-top:1px solid var(--border-light);z-index:90}.fixed-bottom .btn{display:block;width:100%;max-width:640px;margin:0 auto;text-align:center}.modal-overlay{position:fixed;inset:0;background:#11192899;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{background:var(--surface);border-radius:var(--radius-xl);width:100%;max-width:400px;overflow:hidden;box-shadow:var(--shadow-lg)}.modal-image{width:100%;height:160px;object-fit:cover}.modal-content{padding:1.25rem}.modal-badge{display:inline-flex;align-items:center;background:var(--success-light);color:var(--success);padding:.25rem .625rem;border-radius:var(--radius-full);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;margin-bottom:.75rem}.modal-title{font-size:1.125rem;font-weight:700;margin-bottom:.375rem;color:var(--text)}.modal-location{font-size:.875rem;color:var(--text-secondary);margin-bottom:1rem;display:flex;align-items:center;gap:.375rem}.modal-warning{background:var(--warning-light);border-radius:var(--radius);padding:.875rem;margin-bottom:1rem;display:flex;gap:.625rem;border:1px solid rgba(194,120,3,.2)}.modal-warning-icon{font-size:1.125rem;flex-shrink:0}.modal-warning-text{font-size:.8125rem;color:#92400e;line-height:1.5}.modal-checkbox{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;cursor:pointer}.modal-checkbox input{width:22px;height:22px;accent-color:var(--success);cursor:pointer}.modal-checkbox label{font-size:.875rem;cursor:pointer;color:var(--text)}.modal-buttons{display:flex;flex-direction:column;gap:.625rem}.success-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70vh;text-align:center;padding:2rem}.success-icon{width:88px;height:88px;background:linear-gradient(135deg,var(--success) 0%,#046c4e 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#fff;margin-bottom:1.5rem;box-shadow:0 8px 24px #057a554d}.success-title{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:var(--text)}.success-message{font-size:.9375rem;color:var(--text-secondary);margin-bottom:1rem;max-width:280px;line-height:1.6}.success-note{background:var(--success-light);color:var(--success);padding:.875rem 1rem;border-radius:var(--radius);font-size:.875rem;margin-bottom:2rem;max-width:280px;border:1px solid rgba(5,122,85,.15)}.success-buttons{display:flex;flex-direction:column;gap:.625rem;width:100%;max-width:280px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--border);padding:.5rem 0 calc(.5rem + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:100}.nav-item{display:flex;flex-direction:column;align-items:center;padding:.5rem 1.25rem;color:var(--text-muted);text-decoration:none;font-size:.6875rem;font-weight:500;transition:color var(--transition);background:none;border:none;cursor:pointer;position:relative}.nav-item.active{color:var(--primary)}.nav-item.active:before{content:"";position:absolute;top:-.5rem;left:50%;transform:translate(-50%);width:24px;height:3px;background:var(--primary);border-radius:0 0 3px 3px}.nav-item-icon{font-size:1.375rem;margin-bottom:.25rem;line-height:1}.text-center{text-align:center}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.loading{display:flex;justify-content:center;align-items:center;min-height:200px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;gap:1rem;color:var(--text-secondary)}.loading-spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}.spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:3rem 1.5rem;color:var(--text-secondary)}.project-progress-bar{width:100%;height:6px;background:var(--border);border-radius:var(--radius-full);margin-top:.5rem;overflow:hidden}.project-progress-fill{height:100%;background:linear-gradient(90deg,var(--primary) 0%,var(--success) 100%);border-radius:var(--radius-full);transition:width .3s ease}.homepage{padding-bottom:calc(200px + env(safe-area-inset-bottom,0px))}.hero-banner{background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff;border-radius:var(--radius);margin-bottom:1.5rem;position:relative;overflow:hidden;min-height:140px}.hero-overlay{background:linear-gradient(135deg,#00000073,#00000040);padding:2rem 1.5rem;min-height:140px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:var(--radius)}.hero-greeting{font-size:.875rem;opacity:.9;margin-bottom:.25rem;text-shadow:0 1px 3px rgba(0,0,0,.4)}.hero-title{font-size:1.75rem;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.4)}.alert-card{background:var(--surface);border-left:4px solid #d32f2f;border-radius:var(--radius);padding:1.25rem;margin-bottom:1.5rem;box-shadow:var(--shadow)}.alert-card-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.alert-card-icon{background:#d32f2f;color:#fff;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.alert-card-title{font-weight:700;font-size:1rem;color:var(--text)}.alert-card-text{color:var(--text-secondary);font-size:.875rem;line-height:1.5;margin-bottom:1rem}.alert-card-btn{display:block;width:100%;background:#d32f2f;color:#fff;border:none;padding:.75rem;border-radius:var(--radius);font-weight:600;font-size:.875rem;cursor:pointer;text-align:center}.alert-card-btn:hover{background:#b71c1c}.section-heading{font-size:1.25rem;font-weight:700;color:var(--text);margin-bottom:.25rem}.section-subtitle{font-size:.875rem;color:var(--text-muted);margin-bottom:1rem}.quick-access-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}.quick-access-card{display:flex;align-items:center;gap:1rem;background:var(--surface);padding:1rem 1.25rem;border-radius:var(--radius);box-shadow:var(--shadow);cursor:pointer;border:1px solid var(--border-light);transition:all .2s;width:100%;text-align:left}.quick-access-card:hover{border-color:var(--primary);box-shadow:0 4px 12px #00000014}.quick-access-icon{width:44px;height:44px;border-radius:12px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.quick-access-icon svg{width:22px;height:22px}.quick-access-info{flex:1}.quick-access-title{font-weight:600;font-size:.9375rem;color:var(--text)}.quick-access-desc{font-size:.8125rem;color:var(--text-muted)}.quick-access-arrow{color:var(--text-muted);flex-shrink:0}.quick-access-arrow svg{width:18px;height:18px}.news-card{background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border-light);margin-bottom:1.5rem}.news-card-image{width:100%;height:180px;object-fit:cover}.news-card-content{padding:1.25rem}.news-card-title{font-weight:700;font-size:1.0625rem;color:var(--text);margin-bottom:.5rem}.news-card-text{font-size:.875rem;color:var(--text-secondary);line-height:1.5;margin-bottom:1rem}.news-card-btn{display:block;width:100%;background:transparent;color:var(--primary);border:2px solid var(--primary);padding:.75rem;border-radius:var(--radius);font-weight:600;font-size:.875rem;cursor:pointer;text-align:center}.news-card-btn:hover{background:var(--primary-light)}@media(max-width:380px){html{font-size:15px}.project-card-image-container{height:160px}.projects-summary{padding:.875rem 1rem;gap:1rem}}@media(min-width:640px){.main{padding:1.5rem}.project-card-image-container{height:200px}}.header-actions{display:flex;align-items:center;gap:.75rem}.header-page-title{font-size:1rem;font-weight:600;color:var(--primary)}.theme-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--background);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-secondary);cursor:pointer;transition:all var(--transition)}.theme-toggle:hover{background:var(--border-light);color:var(--text);border-color:var(--text-muted)}.theme-toggle svg{width:20px;height:20px}.language-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--background);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:all var(--transition);padding:6px;overflow:hidden}.language-toggle:hover{background:var(--border-light);border-color:var(--text-muted);transform:scale(1.05)}.flag-icon{width:100%;height:100%;border-radius:2px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--background: #111827;--surface: #1f2937;--text: #f9fafb;--text-secondary: #9ca3af;--text-muted: #6b7280;--border: #374151;--border-light: #1f2937;--primary-light: rgba(26, 86, 219, .2);--success-light: rgba(5, 122, 85, .2);--warning-light: rgba(194, 120, 3, .2);--secondary-light: rgba(200, 30, 30, .2)}:root:not([data-theme=light]) .project-card-category{background:#1f2937f2;color:var(--text)}:root:not([data-theme=light]) .header{border-bottom-color:var(--border)}}:root[data-theme=dark]{--background: #111827;--surface: #1f2937;--text: #f9fafb;--text-secondary: #9ca3af;--text-muted: #6b7280;--border: #374151;--border-light: #1f2937;--primary-light: rgba(26, 86, 219, .2);--success-light: rgba(5, 122, 85, .2);--warning-light: rgba(194, 120, 3, .2);--secondary-light: rgba(200, 30, 30, .2)}:root[data-theme=dark] .project-card-category{background:#1f2937f2;color:var(--text)}:root[data-theme=dark] .header{border-bottom-color:var(--border)}.alert-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:flex-end;justify-content:center;z-index:300;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.alert-modal{background:var(--surface);border-radius:1.25rem 1.25rem 0 0;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;padding:1.5rem;position:relative;animation:slideUp .3s ease}.alert-modal-close{position:absolute;top:1rem;right:1rem;background:var(--background);border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary);z-index:1}.alert-modal-header{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1rem;padding-right:2.5rem}.alert-modal-icon{flex-shrink:0;background:#fef2f2;color:#dc2626;width:40px;height:40px;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.alert-modal-title{font-size:1.05rem;font-weight:700;color:var(--text);line-height:1.4;margin:0}.alert-modal-image{width:100%;height:180px;object-fit:cover;border-radius:.75rem;margin-bottom:1rem}.alert-modal-body{font-size:.9rem;line-height:1.7;color:var(--text-secondary);margin-bottom:1.5rem}.alert-modal-contacts{background:var(--background);border-radius:.75rem;padding:1rem;margin-bottom:1rem}.alert-modal-contacts-title{font-size:.95rem;font-weight:700;color:var(--text);display:flex;align-items:center;gap:.5rem;margin:0 0 .75rem}.emergency-services-list{display:flex;flex-direction:column;gap:.5rem}.emergency-service-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--surface);border:none;border-radius:.625rem;text-decoration:none;color:inherit;cursor:pointer;width:100%;text-align:left;font-family:inherit;font-size:inherit;transition:background .15s}.emergency-service-item:hover{background:var(--border-light)}.emergency-service-icon{font-size:1.25rem;flex-shrink:0}.emergency-service-info{flex:1;display:flex;flex-direction:column}.emergency-service-name{font-size:.85rem;font-weight:600;color:var(--text)}.emergency-service-number{font-size:.8rem;color:var(--text-secondary)}.emergency-service-call{font-size:.8rem;font-weight:600;color:#dc2626;background:#fef2f2;padding:.35rem .75rem;border-radius:1rem;white-space:nowrap}.alert-modal-close-btn{width:100%;padding:.875rem;background:var(--background);color:var(--text);border:1px solid var(--border);border-radius:.75rem;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .15s}.alert-modal-close-btn:hover{background:var(--border-light)}
