/* =====================================================
   LAYOUT — Header, Hero, About, Footer, Page Shells
   ===================================================== */

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-primary);
  height: var(--header-height);
  box-shadow: 0 2px 16px rgba(7, 21, 36, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-inverse);
  line-height: var(--leading-snug);
}

.site-logo__tagline {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.1);
}

/* Special pill link for travel insurance */
.nav-travel {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.3rem 0.9rem !important;
  color: var(--color-gold-light) !important;
}
.nav-travel:hover {
  border-color: var(--color-gold-light) !important;
  background: rgba(9, 174, 206, 0.12) !important;
  color: #fff !important;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: color var(--transition-fast);
  direction: ltr;
  white-space: nowrap;
}

.header-phone:hover { color: var(--color-gold-light); }
.header-phone svg { color: var(--color-gold-light); flex-shrink: 0; }

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  color: #25d366;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-bounce);
}

.header-wa:hover { background: rgba(37, 211, 102, 0.25); transform: scale(1.08); color: #25d366; }
.header-wa svg { width: 18px; height: 18px; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-inverse);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  background: var(--color-primary-dark);
  padding: var(--space-4) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-1);
  z-index: calc(var(--z-sticky) - 1);
  border-bottom: 3px solid var(--color-gold);
  box-shadow: 0 8px 32px rgba(7, 21, 36, 0.5);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav a:hover { color: var(--color-text-inverse); background: rgba(255, 255, 255, 0.08); }

.mobile-nav .mobile-nav__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-block: var(--space-2);
}

.mobile-nav .mobile-nav__actions {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

/* Mobile Sticky Bottom CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--z-sticky);
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-3) var(--space-4);
  gap: var(--space-3);
  box-shadow: 0 -4px 20px rgba(7, 21, 36, 0.4);
}


/* ── HERO SECTION ── */
.hero {
  background: linear-gradient(140deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #1e3d6a 100%);
  padding-top: var(--space-20);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  min-height: 560px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(201, 146, 42, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  right: 5%;
  width: 260px;
  height: 260px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-bottom: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.hero-title em {
  font-style: normal;
  color: var(--color-gold-light);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  padding-top: var(--space-2);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust__stars {
  display: flex;
  gap: 2px;
}

.hero-trust__stars svg {
  width: 15px;
  height: 15px;
  fill: #f59e0b;
  color: #f59e0b;
}

.hero-trust__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--leading-snug);
}

.hero-trust__text strong {
  display: block;
  color: var(--color-text-inverse);
  font-weight: var(--weight-semibold);
}

/* Hero image column */
.hero-image-wrap {
  position: relative;
  align-self: center;
  margin-bottom: -40px;
  transform: translate(28px, -34px);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-position: top center;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  display: block;
  position: relative;
  z-index: 1;
  /* matt grey glow — wide spread, low opacity */
  filter: drop-shadow(0 0 50px rgba(150, 150, 150, 0.25)) drop-shadow(0 0 18px rgba(200, 200, 200, 0.12));
}

/* Glow behind image — removed, replaced by drop-shadow on img */
.hero-image-wrap::before {
  display: none;
}

/* Floating card on hero image */
.hero-card {
  position: absolute;
  bottom: var(--space-8);
  left: calc(-1 * var(--space-6));
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
  min-width: 185px;
}

.hero-card__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(201, 146, 42, 0.15), rgba(201, 146, 42, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card__icon svg { width: 20px; height: 20px; color: var(--color-gold); }

.hero-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.hero-card__value {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}


/* ── ABOUT SECTION ── */
.about-section { background: var(--color-surface); }

/* Logo mark inline with the מי אני? heading row */
.about-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.about-logo-inline {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  order: 2; /* in RTL flex, order:2 renders on the LEFT of the heading */
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-16);
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-content p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.about-image-wrap {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: 0 0 0 4px #ffffff, 0 0 32px rgba(201,146,42,0.30), var(--shadow-xl);
  object-fit: cover;
  object-position: center 20%;
  aspect-ratio: 3 / 4;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(0.85);
  transform-origin: top center;
}

/* Subtle accent behind photo — stays within the clipping boundary */
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 146, 42, 0.10), rgba(13, 33, 55, 0.04));
  border-radius: var(--radius-2xl);
  z-index: 0;
}


/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding-block: var(--space-16);
  text-align: center;
}

.page-hero__breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-4);
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.page-hero__breadcrumb a:hover { color: rgba(255, 255, 255, 0.9); }

.page-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.72);
  max-width: 55ch;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}


/* ── SITE FOOTER ── */
.site-footer {
  background: #0a1929;
  color: rgba(255, 255, 255, 0.68);
  padding-top: var(--space-20);
  padding-bottom: var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: var(--space-8);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.footer-logo img { height: 38px; width: auto; object-fit: contain; }

.footer-logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: #ffffff;
  line-height: 1.2;
}

.footer-logo__tagline {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.48);
  font-weight: var(--weight-regular);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.footer-brand > p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 42ch;
}

/* Inline quick-nav inside brand column */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  margin-top: var(--space-1);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover { color: rgba(201,146,42,0.9); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: var(--space-5);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--space-4);
}

.footer-contact-item:last-child { margin-bottom: 0; }

.footer-icon {
  font-size: 16px;
  line-height: 1.5;
  flex-shrink: 0;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover { color: rgba(201,146,42,0.9); }

.footer-contact-item .ltr { direction: ltr; display: inline-block; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.7;
  max-width: 80ch;
}

.footer-bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-copyright-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.38);
}

.footer-a11y {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.30);
}

.footer-a11y a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-a11y a:hover { color: rgba(255, 255, 255, 0.75); }

.footer-credit {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.26);
  margin-top: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  flex-shrink: 0;
  align-items: flex-start;
}

.footer-links a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.82); }
