/* Ors4Help Venezuela v2
   Web estática, mobile-first, sin dependencias externas.
*/

:root {
  --bg: #07111f;
  --bg-soft: #0f172a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --dark: #0f172a;
  --muted-dark: #475569;
  --line: rgba(255, 255, 255, 0.16);
  --line-light: #e2e8f0;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --accent: #38bdf8;
  --blue: #2563eb;
  --red: #dc2626;
  --warning: #f59e0b;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 197, 94, 0.20), transparent 34rem),
    radial-gradient(circle at 95% 12%, rgba(56, 189, 248, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section { padding: 76px 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: var(--dark);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.74);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #111827, #1f2937);
  color: #f8fafc;
  font-weight: 950;
  font-size: 1rem;
  letter-spacing: -0.08em;
  border: 2px solid rgba(239, 68, 68, 0.85);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  line-height: 1;
  overflow: hidden;
}

.brand-mark span {
  color: #ef4444;
  display: inline;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  color: #f8fafc;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.brand small {
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 750;
}

.brand small { color: var(--muted); font-weight: 700; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
  border-radius: 5px;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.58fr);
  gap: 36px;
  align-items: center;
}

.status-pill, .eyebrow, .badge, .banner-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 900;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.9);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 900px;
}

.hero-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions, .map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #86efac);
  color: #052e16;
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  width: fit-content;
}

.dark-secondary {
  background: rgba(15, 23, 42, 0.08);
  color: var(--dark);
  border-color: #cbd5e1;
}

.trust-note {
  max-width: 760px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.hero-card, .search-panel, .resource-banner, .map-card, .platform-card,
.security-card, .disclaimer-card, .share-panel, .volunteer-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.hero-card { padding: 24px; }

.card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-circle {
  min-width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  font-weight: 950;
  font-size: 1.05rem;
}

.card-head h2 { margin: 0; font-size: 1.28rem; }
.card-head p, .microcopy { color: var(--muted); margin: 6px 0 0; }

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 14px;
}

.emergency-number {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 20px;
  padding: 16px;
}

.emergency-number span, .emergency-number small { display: block; }
.emergency-number span {
  font-size: 1.9rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}
.emergency-number small { color: #fecaca; font-weight: 850; }

.text-link {
  display: inline-flex;
  color: #86efac;
  font-weight: 950;
}

.actions-section, .resources-section, .directory-section, .security-section {
  background: #f8fafc;
  color: var(--dark);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading.wide { max-width: 860px; }

.section-heading h2, .search-copy h2, .map-layout h2,
.split-section h2, .disclaimer-card h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 10px 0 12px;
}

.section-heading p, .search-copy p, .map-layout p,
.split-section p, .disclaimer-card p {
  color: var(--muted-dark);
  font-size: 1.04rem;
}

.actions-section .eyebrow,
.resources-section .eyebrow,
.directory-section .eyebrow,
.security-section .eyebrow,
.search-section .eyebrow,
.map-section .eyebrow,
.volunteers-section .eyebrow,
.guide-section .eyebrow {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.primary-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.action-card {
  min-height: 320px;
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.action-green { background: linear-gradient(180deg, #f0fdf4, #fff); }
.action-blue { background: linear-gradient(180deg, #eff6ff, #fff); }
.action-red { background: linear-gradient(180deg, #fef2f2, #fff); }

.action-icon {
  font-size: 2.4rem;
  margin-bottom: auto;
}

.action-card h3, .resource-card h3, .platform-card h3,
.security-card h3, .volunteer-card h3, .step h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.action-card p, .resource-card p, .platform-card p,
.security-card li, .volunteer-card p, .step p {
  color: var(--muted-dark);
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-actions a, .card-link, .volunteer-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  width: fit-content;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
  font-size: 0.92rem;
}

.search-section, .map-section, .volunteers-section, .guide-section {
  background: #ffffff;
  color: var(--dark);
}

.search-layout, .map-layout, .split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.search-copy {
  position: sticky;
  top: 110px;
}

.info-box {
  margin-top: 14px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  padding: 14px 16px;
  border-radius: 18px;
  display: grid;
  gap: 3px;
}

.muted-box {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: var(--muted-dark);
}

.search-panel {
  padding: 24px;
  background: #fff;
  border-color: var(--line-light);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
}

.search-box label {
  display: block;
  font-weight: 950;
  margin-bottom: 10px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
}

.search-row input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.result-state {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #f1f5f9;
  color: var(--muted-dark);
  font-weight: 750;
}

.results-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.result-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line-light);
  background: #fff;
}

.result-card h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.result-meta {
  color: var(--muted-dark);
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
}

.result-card a {
  display: inline-flex;
  margin-top: 12px;
  color: #166534;
  font-weight: 950;
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fallback-actions a {
  font-weight: 900;
  color: #1d4ed8;
}

.resource-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  margin-bottom: 20px;
}

.resource-banner h3 {
  margin: 8px 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.resource-banner p { margin: 0; color: var(--muted); max-width: 760px; }

.banner-label {
  background: rgba(255, 255, 255, 0.1);
  color: #bfdbfe;
}

.resource-grid, .volunteer-grid, .security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.resource-card, .volunteer-card, .security-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 22px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.resource-card span, .volunteer-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f1f5f9;
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.map-layout {
  align-items: center;
}

.map-card {
  overflow: hidden;
  background: #fff;
  border-color: var(--line-light);
  box-shadow: var(--shadow);
}

.fake-map {
  position: relative;
  min-height: 280px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 45% 45%, rgba(34, 197, 94, 0.22), transparent 10rem),
    radial-gradient(circle at 70% 35%, rgba(37, 99, 235, 0.18), transparent 8rem),
    #ecfeff;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px 999px 999px 0;
  background: var(--red);
  transform: rotate(-45deg);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.32);
}
.pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #fff;
}
.pin-1 { left: 18%; top: 40%; }
.pin-2 { left: 56%; top: 30%; background: var(--blue); }
.pin-3 { left: 72%; top: 58%; background: var(--primary); }
.pin-4 { left: 34%; top: 70%; background: var(--warning); }

.map-card-body {
  padding: 24px;
}

.map-card-body ul {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--muted-dark);
}

.volunteers-section {
  background: #f8fafc;
}

.volunteer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.privacy-warning {
  margin-top: 20px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  border-radius: var(--radius-lg);
  padding: 18px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.platform-card {
  padding: 22px;
  background: #fff;
  border-color: var(--line-light);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.platform-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.badge {
  padding: 6px 10px;
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
  font-size: 0.76rem;
}

.badge-green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge-blue { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.badge-red { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.platform-icon { font-size: 1.7rem; }

.guide-section {
  background: #fff;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: #f8fafc;
}

.step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--dark);
  color: #fff;
  font-weight: 950;
}

.step p { margin: 0; }

.security-grid {
  grid-template-columns: repeat(3, 1fr);
}

.security-card h3 { margin-bottom: 14px; }
.security-card ul { padding-left: 20px; margin: 0; }
.security-card li + li { margin-top: 9px; }

.share-panel {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--dark);
  color: #fff;
}

.share-panel h3 { margin: 0 0 6px; }
.share-panel p { margin: 0; color: var(--muted); }

.disclaimer-section {
  background: #f8fafc;
  color: var(--dark);
  padding-top: 0;
}

.disclaimer-card {
  background: #fff7ed;
  border-color: #fed7aa;
  box-shadow: none;
  padding: 28px;
}

.disclaimer-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.disclaimer-card a {
  color: #991b1b;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer-card a:hover {
  color: #dc2626;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #07111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 26px;
}

.footer-grid p { color: var(--muted); }
.footer-grid h3 { margin: 0 0 8px; }
.brand-footer { margin-bottom: 10px; }

@media (max-width: 1080px) {
  .hero-grid, .search-layout, .map-layout, .split-section, .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-copy { position: static; }

  .primary-actions,
  .directory-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .volunteer-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px; }

  .section { padding: 56px 0; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.45rem, 15vw, 4rem); }

  .primary-actions,
  .directory-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-banner,
  .share-panel,
  .search-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .action-card { min-height: 270px; }
  .emergency-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 440px) {
  .container, .nav-shell {
    width: min(100% - 22px, var(--container));
  }

  .hero-card, .search-panel, .resource-banner, .map-card,
  .platform-card, .security-card, .disclaimer-card, .share-panel,
  .volunteer-card, .action-card, .resource-card {
    border-radius: 22px;
  }

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