:root {
  --primary: #0b3d73;
  --primary-dark: #082c52;
  --accent: #218dff;
  --accent-soft: #e6f3ff;
  --ink: #172033;
  --muted: #5d6f86;
  --line: #d8e3ef;
  --surface: #ffffff;
  --page: #f5f8fc;
  --success: #0f7b45;
  --danger: #b42318;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
}

a {
  color: inherit;
}

header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(8, 44, 82, 0.16);
}

.topbar,
nav,
main,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: min(320px, 48vw);
  height: auto;
  max-height: 82px;
  object-fit: contain;
  background: var(--primary-dark);
  border-radius: 8px;
  padding: 0;
}

.brand span {
  display: none;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.95rem;
}

.contact-row a,
nav a {
  color: #fff;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 16px;
}

nav a {
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 12px;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.13);
}

.lang-switch {
  position: relative;
  margin-inline-start: auto;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 13px;
}

.globe {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 0;
  position: relative;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  border-top: 0;
  border-bottom: 0;
  border-radius: 999px;
}

.globe::after {
  inset: 9px 2px auto;
  height: 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
}

.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 10;
  display: grid;
  min-width: 172px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  border: 1px solid rgba(11, 61, 115, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(8, 44, 82, 0.18);
  overflow: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.lang-menu a {
  color: var(--primary-dark);
  padding: 12px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.lang-menu a:hover,
.lang-menu a.current {
  background: var(--accent-soft);
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lang-button:hover,
.lang-button:focus-visible {
  background: var(--accent-soft);
}

main {
  padding: 34px 0 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 61, 115, 0.97), rgba(23, 99, 168, 0.92));
  color: #fff;
  padding: 42px;
  box-shadow: 0 20px 50px rgba(16, 42, 89, 0.14);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #bfe1ff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.page-title h1,
.section-intro h2,
.contact-box h2 {
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1;
}

.hero h2 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.hero p {
  margin: 18px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
  backdrop-filter: blur(8px);
}

.hero-panel strong {
  font-size: 1.6rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.hero-photo {
  align-self: stretch;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 37, 84, 0.06);
}

.visual-band img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.visual-copy {
  padding: 28px;
}

.visual-copy h2 {
  margin: 0 0 12px;
  color: var(--primary-dark);
}

.visual-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.button-group a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button-group a,
.button.primary,
.btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
}

.button.secondary,
.button-group a.secondary {
  background: #fff;
  color: var(--primary);
}

.button:hover,
.button-group a:hover,
.btn:hover {
  transform: translateY(-1px);
}

.section-intro {
  margin-top: 38px;
}

.section-intro > p,
.page-title p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 37, 84, 0.06);
}

.card-media {
  display: block;
  width: calc(100% + 48px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: -24px -24px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--accent-soft);
}

.card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 900;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1.14rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 10px 13px;
  text-decoration: none;
}

.video-link::before {
  content: "";
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-inline-start: 9px solid currentColor;
}

.video-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strip div {
  background: #fff;
  padding: 22px;
}

.strip strong {
  display: block;
  color: var(--primary);
  font-size: 1.35rem;
}

.strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  margin-top: 26px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 37, 84, 0.06);
}

.contact-box p,
.contact-box a {
  color: #334155;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6e2ee;
  border-radius: 8px;
  color: #0f1724;
  font: inherit;
  padding: 12px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.btn[disabled] {
  cursor: default;
  opacity: 0.62;
}

footer {
  background: var(--primary-dark);
  color: #fff;
}

.footer-inner {
  padding: 34px 0;
}

.page-cta {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 44, 82, 0.94), rgba(11, 61, 115, 0.78)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #fff;
}

.page-cta-inner {
  max-width: 760px;
  padding: 34px;
}

.page-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.page-cta p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand img {
  width: min(300px, 100%);
  border-radius: 8px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .contact-row {
  justify-content: flex-start;
}

@media (max-width: 820px) {
  .topbar,
  nav,
  .contact-row,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .lang-switch {
    margin-inline-start: 0;
  }

  .lang-button {
    width: 100%;
  }

  .lang-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero,
  .visual-band,
  .contact-grid,
  .strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 28px;
  }

  .hero-panel {
    display: none;
  }

  .hero-photo {
    min-height: 220px;
  }

  .visual-band img {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .topbar,
  nav,
  main,
  .page-cta,
  .footer-bottom,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: min(100%, 300px);
    max-height: 74px;
  }

  nav {
    gap: 6px;
  }

  nav a {
    width: 100%;
  }

  .hero,
  .card,
  .contact-box {
    padding: 20px;
  }

  .visual-copy,
  .page-cta-inner {
    padding: 22px;
  }

  .card-media {
    width: calc(100% + 40px);
    margin: -20px -20px 18px;
  }

  .button-group a,
  .button,
  .btn {
    width: 100%;
  }
}
