:root {
  --bg: #f0f6ff;
  --surface: #ffffff;
  --surface-soft: #e8f3ff;
  --surface-warm: #fff8ec;
  --line: #cddaee;
  --text: #0f2240;
  --muted: #506480;
  --primary: #0b5ea8;
  --primary-dark: #073f73;
  --primary-light: #d6ebff;
  --accent-teal: #0891b2;
  --accent-teal-light: #e0f7fc;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-green: #166534;
  --accent-green-light: #dcfce7;
  --accent-red: #be123c;
  --shadow: 0 12px 36px rgba(11, 37, 80, 0.10);
  --shadow-card: 0 4px 16px rgba(11, 37, 80, 0.07);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(240, 246, 255, 0.93);
  border-bottom: 2px solid var(--line);
}

header > div,
main > section,
footer {
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin: 0 auto;
}

header > div {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header > div > a {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

header > div > a span:first-child {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  font-weight: 700;
}

header > div > a span:last-child {
  font-size: 1.05rem;
}

header button[data-menu-toggle] {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary-light);
  border-radius: 0.9rem;
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  box-shadow: var(--shadow-card);
  color: var(--primary);
}

header button span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

header > div > nav {
  display: none;
}

header > div > nav a,
#mobile-menu a {
  font-weight: 600;
}

#mobile-menu {
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin: 0 auto 1rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 2px solid var(--primary-light);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

#mobile-menu a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  color: var(--primary-dark);
  font-weight: 600;
}

#mobile-menu a:hover,
#mobile-menu a:focus-visible {
  background: var(--surface-soft);
  color: var(--primary);
}

/* ── HERO SECTION ── */
/* Single-column: blue block spans full width, no aside */
main > section:first-child {
  display: block;
  padding: 2rem 0 1.5rem;
}

main > section:first-child > aside {
  display: none;
}

main > section:first-child > div {
  background: linear-gradient(135deg, #0b5ea8 0%, #0891b2 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(11, 94, 168, 0.30);
  position: relative;
  overflow: hidden;
}

main > section:first-child > div::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}

main > section:first-child > div::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 260px;
  height: 260px;
  background: rgba(8, 145, 178, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

main > section:first-child > div > p:first-child {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #e0f7ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  color: #0f2240;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 4rem);
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

main > section:first-child > div > p:nth-of-type(2) {
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  position: relative;
  z-index: 1;
}

main > section:first-child > div > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

main > section:first-child > div > div a {
  min-height: 48px;
  padding: 0.95rem 1.1rem;
  border-radius: 0.95rem;
  font-weight: 700;
  text-align: center;
}

main > section:first-child > div > div a:first-child {
  background: #fff;
  color: var(--primary-dark);
}

main > section:first-child > div > div a:last-child {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}

/* ── REVIEW SECTION ── */
#umsagnir {
  padding: 0.75rem 0 4rem;
}

#umsagnir article {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

#umsagnir article > p:first-child {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

#umsagnir article h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  color: var(--primary-dark);
  margin-bottom: 1.1rem;
}

#umsagnir article h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

#umsagnir article p {
  margin: 0 0 1.1rem;
  max-width: 82ch;  /* wider than before (was 70ch) */
  color: var(--text);
}

#umsagnir article ul,
#umsagnir article ol {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
}

#umsagnir article li {
  margin-bottom: 0.65rem;
  color: var(--muted);
}

#umsagnir article li strong {
  color: var(--text);
}

#umsagnir article blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--accent-gold);
  background: var(--surface-warm);
  color: #7a4a00;
  font-weight: 600;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

#umsagnir article table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  overflow: hidden;
  display: block;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

#umsagnir article thead {
  background: linear-gradient(90deg, var(--primary-light), var(--accent-teal-light));
}

#umsagnir article th {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

#umsagnir article th,
#umsagnir article td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  white-space: nowrap;
}

#umsagnir article tbody tr:nth-child(even) {
  background: var(--surface-soft);
}

#umsagnir article tr:last-child td {
  border-bottom: 0;
}

#umsagnir article strong {
  color: var(--primary-dark);
}

/* ── FOOTER ── */
footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 2px solid var(--line);
}

/* ── RESPONSIVE ── */

@media (max-width: 767px) {
  header button[data-menu-toggle] {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  header > div {
    min-height: 5rem;
  }

  header button,
  #mobile-menu {
    display: none !important;
  }

  header > div > nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  header > div > nav a {
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
  }

  header > div > nav a:hover,
  header > div > nav a:focus-visible {
    background: var(--primary-light);
    color: var(--primary-dark);
  }

  /* Hero: full width, no grid, wider padding */
  main > section:first-child {
    padding: 2.75rem 0 2rem;
  }

  main > section:first-child > div {
    padding: 2.75rem 3rem;
  }

  main > section:first-child > div > div {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #umsagnir article {
    padding: 2.5rem 3rem;
  }

  #umsagnir {
    padding-bottom: 5rem;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}