|
374 | 374 | color: rgba(255,255,255,0.95); |
375 | 375 | } |
376 | 376 |
|
377 | | -/* Eficiencia hero metrics (match sequía background + grid) */ |
| 377 | +/* Eficiencia hero metrics: light mode by default, dark overrides below */ |
378 | 378 | #hero-metrics { |
379 | | - background-color: #002b4d; /* deep navy (slightly darker than #003366) */ |
380 | | - color: white; |
| 379 | + background-color: var(--prob-light); /* light background in default (light mode) */ |
| 380 | + color: #111827; /* dark text for light mode */ |
381 | 381 | position: relative; |
382 | 382 | overflow: hidden; |
383 | 383 | } |
384 | 384 |
|
| 385 | +.dark #hero-metrics { |
| 386 | + background-color: #002b4d; /* deep navy for dark mode */ |
| 387 | + color: white; |
| 388 | +} |
| 389 | + |
385 | 390 | #hero-metrics .sequia-overlay { |
386 | 391 | position: absolute; |
387 | 392 | inset: 0; |
|
395 | 400 | } |
396 | 401 |
|
397 | 402 | #hero-metrics .features-item { |
| 403 | + padding: 1.8rem 1.25rem; |
| 404 | + border-radius: 12px; |
| 405 | + background: linear-gradient(180deg, rgba(37,99,235,0.06), rgba(14,165,233,0.03)); |
| 406 | + border: 1px solid rgba(37,99,235,0.12); |
| 407 | + color: var(--prob-dark); |
| 408 | + transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.2s ease; |
| 409 | +} |
| 410 | + |
| 411 | +.dark #hero-metrics .features-item { |
398 | 412 | background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); |
399 | 413 | border: 1px solid rgba(255,255,255,0.06); |
400 | 414 | color: white; /* Cards should have white text on deep blue */ |
401 | 415 | } |
402 | 416 |
|
403 | 417 | #hero-metrics .features-title { |
404 | | - color: #ffffff !important; |
| 418 | + color: #111827 !important; |
405 | 419 | } |
406 | 420 |
|
407 | 421 | #hero-metrics .features-description { |
408 | | - color: rgba(255,255,255,0.92) !important; |
| 422 | + color: #374151 !important; |
| 423 | +} |
| 424 | + |
| 425 | +.dark #hero-metrics .features-title { |
| 426 | + color: #f3f4f6 !important; /* Gray 100/white for dark mode */ |
| 427 | +} |
| 428 | + |
| 429 | +.dark #hero-metrics .features-description { |
| 430 | + color: #d1d5db !important; /* Gray 300 for dark mode */ |
409 | 431 | } |
410 | 432 |
|
411 | 433 | /* hero metrics title and paragraph overrides */ |
412 | 434 | #hero-metrics h2, #hero-metrics .text-xl, #hero-metrics p { |
| 435 | + color: #111827 !important; |
| 436 | +} |
| 437 | +.dark #hero-metrics h2, .dark #hero-metrics .text-xl, .dark #hero-metrics p { |
413 | 438 | color: rgba(255,255,255,0.95) !important; |
414 | 439 | } |
415 | 440 |
|
416 | 441 | #hero-metrics .features-title span { |
417 | | - color: rgba(255,255,255,0.9) !important; /* units pale white */ |
| 442 | + color: rgba(0,0,0,0.8) !important; /* units pale for light mode */ |
| 443 | +} |
| 444 | +.dark #hero-metrics .features-title span { |
| 445 | + color: rgba(255,255,255,0.9) !important; |
418 | 446 | } |
419 | 447 |
|
420 | 448 | #hero-metrics .features-item .features-icon { |
| 449 | + background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(14,165,233,0.95)); |
| 450 | + color: var(--prob-secondary); |
| 451 | +} |
| 452 | +.dark #hero-metrics .features-item .features-icon { |
421 | 453 | background: rgba(255,255,255,0.08); |
422 | 454 | color: #ffffff; |
423 | 455 | } |
|
0 commit comments