/* ════════════════════════════════════════════════════════════
   LAYOUT — hero, issues strip, documents grid, contact, footer
   ════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  flex-direction: row;

  body.lang-en & { flex-direction: row-reverse; }

  /* Decorative circle */
  &::before {
    content: '';
    position: absolute;
    left: -80px;
    top: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--sky);
    opacity: 0.7;
    pointer-events: none;

    body.lang-en & { left: auto; right: -80px; }
  }
}

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  border-right: 3px solid var(--red);
  border-left: none;

  body.lang-en & {
    border-right: none;
    border-left: 3px solid var(--red);
  }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.25rem;

  & em { font-style: italic; color: var(--red); }
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-lg-primary {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;

  &:hover { background: var(--navy-lt); }
}

.btn-lg-outline {
  background: none;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--border-dk);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
  display: inline-block;

  &:hover { border-color: var(--navy); }
}

.hero-photo {
  width: 300px;
  height: 360px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--sky) 0%, var(--border) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.hero-photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(44,74,46,0.85);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
}

.hero-silhouette {
  width: 160px;
  height: 260px;
  background: rgba(44,74,46,0.12);
  border-radius: 80px 80px 0 0;
}

/* ─── ISSUES STRIP ─── */
.issues-strip {
  background: var(--navy);
  padding: 3rem 2rem;
}

.issues-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.issues-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.issue-card {
  background: rgba(255,255,255,0.04);
  padding: 1.5rem;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;

  &:hover { background: rgba(255,255,255,0.1); }
}

.issue-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.issue-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.issue-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  font-weight: 300;
}

/* ─── DOCUMENTS / NEWS SECTION ─── */
.news-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}

.section-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;

  &:hover { text-decoration: underline; }
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;

  &:hover { box-shadow: 0 6px 24px rgba(44,74,46,0.1); }
}

.news-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.news-headline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  flex: 1;

  &.lg { font-size: 1.2rem; }
}

.news-date {
  font-size: 0.72rem;
  color: var(--text-lt);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ─── CONTACT BAND ─── */
.contact-band {
  background: var(--sky);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
  text-align: center;

  & h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
  }

  & p {
    font-size: 1rem;
    color: var(--text-md);
    margin-bottom: 1.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
  }
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border-dk);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;

  &:hover {
    border-color: var(--navy);
    box-shadow: 0 2px 8px rgba(44,74,46,0.1);
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 2rem;
}

.footer-top {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  flex: 1;
  min-width: 200px;

  & a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.8125rem;
    text-decoration: none;
    margin-top: 0.4rem;
    transition: color 0.15s;
    font-weight: 300;

    &:hover { color: #fff; }
  }
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-office {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  display: block;
  margin-top: 0.4rem;
}

.footer-col {
  & h4 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.75rem;
  }

  & a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.8125rem;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.15s;
    font-weight: 300;

    &:hover { color: #fff; }
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── SUBSCRIBE MODAL ─── */
.subscribe-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,40,32,0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;

  &.active {
    opacity: 1;
    pointer-events: auto;
  }
}

.subscribe-modal {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 560px;
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 40px rgba(30,40,32,0.18);
  max-height: 90vh;
  overflow-y: auto;

  body.lang-en & {
    right: auto;
    left: 0;
    transform: translateY(-50%) translateX(-100%);
  }

  .subscribe-modal-overlay.active & {
    right: auto;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }
}

.subscribe-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: auto;
  background: none;
  border: none;
  color: var(--text-lt);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;

  body.lang-he & {
    left: auto;
    right: 1rem;
  }

  &:hover { color: var(--navy); }
}

.subscribe-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  padding-top: 0.25rem;
}

.subscribe-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Field styles come from .bf-field / .bf-labels etc. in content.css */
}

.subscribe-modal-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 0.25rem;

  &:hover { background: var(--navy-lt); }

  &:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    animation: btn-pulse 1.2s ease-in-out infinite;
  }
}

.subscribe-modal-note {
  font-size: 0.75rem;
  color: var(--text-lt);
  text-align: center;
  font-weight: 300;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.subscribe-modal-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  padding: 0.5rem 0;

  & p { margin: 0; font-weight: 500; font-size: 0.9375rem; }
}

.subscribe-modal-error {
  background: #fff0ed;
  border: 1px solid #f5c0b0;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  color: var(--red);
  font-size: 0.8rem;
}
