.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section--alt {
  background: var(--offwhite);
}

/* ── Header / Nav ── */
.jom-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 101;
}

.jom-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.jom-brand img { display: block; height: 40px; width: auto; }
.jom-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .jom-brand span { display: none; }
}

.jom-navbar {
  background: var(--secondary);
  position: sticky;
  top: 72px;
  z-index: 100;
}
.jom-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px 16px;
}
.jom-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.jom-nav a:hover {
  background: rgba(255,255,255,0.15);
}
.jom-nav a[aria-current="page"] {
  background: var(--primary);
  color: var(--text);
}

.jom-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.jom-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.jom-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.jom-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.jom-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.jom-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .jom-header-donar { display: none; }
  .jom-nav-toggle { display: flex; }

  .jom-navbar {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .jom-navbar.is-open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .jom-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px 16px 16px;
  }
  .jom-nav a {
    text-align: center;
    color: var(--text);
  }
  .jom-nav a:hover {
    background: var(--offwhite);
  }
  .jom-nav a[aria-current="page"] {
    background: var(--primary);
    color: var(--text);
  }
}

/* ── Hero ── */
.jom-hero {
  background: var(--text);
  color: var(--white);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.jom-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--primary);
}
.jom-hero--imagen {
  background-size: cover;
  background-position: center;
}
.jom-hero--imagen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239,105,113,0.55), rgba(230,201,81,0.35));
}
.jom-hero--gradient {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.jom-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.jom-hero-inner h1,
.jom-hero-inner p {
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
}

/* ── Footer-CTA ── */
.jom-footer-cta {
  background: var(--offwhite);
  color: var(--text);
  text-align: center;
  padding: 56px 24px;
}
.jom-footer-cta p {
  color: var(--muted);
}
.jom-footer-cta h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  color: var(--text);
}
.jom-footer-cta .btn {
  display: block;
  width: max-content;
  margin: 18px auto 0;
}
.jom-footer-cta h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 1px;
  background: var(--muted);
}

.jom-footer {
  background: var(--offwhite);
  color: var(--text);
  padding: 48px 24px 24px;
  border-top: 1px solid var(--border);
}
.jom-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.jom-footer-cols h4 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text);
}
.jom-footer-cols a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.jom-footer-cols a:hover { color: var(--secondary); }

@media (max-width: 760px) {
  .jom-footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .jom-footer-cols > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .jom-footer-cols h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  .jom-footer-cols a {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }
}

.jom-copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.jom-copyright a {
  color: var(--muted);
  text-decoration: underline;
}
.jom-copyright a:hover {
  color: var(--secondary);
}
