:root {
  --bg: #f7f2ea;
  --bg-soft: #fbf6ee;
  --surface: #fffdf8;
  --surface-warm: #fff8ee;
  --text: #1d2833;
  --muted: #607080;
  --accent: #17324d;
  --accent-2: #b7793e;
  --accent-3: #6f8f82;
  --border: rgba(183, 121, 62, 0.22);
  --glass-border: rgba(255, 255, 255, 0.62);
  --shadow: 0 24px 68px rgba(29, 40, 51, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.46);
  --shadow-hover: 0 38px 90px rgba(23, 50, 77, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --max: 1360px;
  --radius: 30px;
  --body-size: clamp(17px, 1.18vw, 20px);
  --lead-size: clamp(17px, 1.18vw, 20px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body[dir="rtl"] {
  font-family: Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  border-bottom: 1px solid rgba(226, 214, 200, 0.72);
  box-shadow: 0 10px 30px rgba(23, 50, 77, 0.04);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px clamp(22px, 3vw, 54px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.nav-links {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.nav-links a {
  text-decoration: none;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lang-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-button::after {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.lang-button[data-lang="sv"]::after {
  content: "Svenska";
}

.lang-button[data-lang="en"]::after {
  content: "English";
}

.lang-button[data-lang="es"]::after {
  content: "Espanol";
}

.lang-button[data-lang="ar"]::after {
  content: "\0627\0644\0639\0631\0628\064a\0629";
}

.lang-button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--accent), #274c68);
  color: #ffffff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 124px) clamp(22px, 3vw, 54px) clamp(46px, 5vw, 78px);
  text-align: center;
  direction: ltr;
  overflow: hidden;
}

.hero-symbol {
  display: none;
}

.hero-logo {
  display: block;
  width: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(64px, 11.8vw, 166px);
  line-height: 0.88;
  letter-spacing: clamp(0.002em, 0.08vw, 0.016em);
  font-weight: 950;
  color: #050505;
  text-transform: uppercase;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  text-shadow: 0 14px 30px rgba(23, 50, 77, 0.08);
}

.hero-tagline {
  margin: clamp(16px, 1.8vw, 26px) 0 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.1;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #24364a;
  direction: ltr;
  unicode-bidi: isolate;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.16);
}

section {
  padding: 66px clamp(22px, 3vw, 54px);
  background: transparent;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 1240px;
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.03;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 1040px;
  margin: 18px auto 0;
  color: var(--text);
  font-size: var(--lead-size);
  font-weight: 520;
  line-height: 1.66;
}

.intro-card,
.future-text,
.audience-card,
.contact-card {
  max-width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(34px, 4vw, 58px) clamp(34px, 5vw, 78px);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.intro-card,
.future-text,
.contact-card {
  text-align: center;
}

.intro-card:hover,
.future-text:hover,
.audience-card:hover,
.contact-card:hover,
.card:hover,
.step-card:hover,
.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.68);
}

.intro-card p,
.future-text p,
.card p,
.step-card p,
.contact-card p,
.contact-method a,
.audience-card li {
  font-size: var(--body-size);
  color: var(--text);
}

.intro-card p,
.future-text p {
  margin: 0 0 18px;
}

.intro-card p:last-child,
.future-text p:last-child {
  margin-bottom: 0;
}

.quote {
  display: block;
  width: 100%;
  max-width: none;
  margin: 28px auto 0;
  padding-top: 0;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.12vw, 19px) !important;
  color: var(--muted) !important;
}

.quote::before {
  content: "";
  display: block;
  width: 110px;
  height: 1px;
  margin: 0 auto 24px;
  background: var(--accent-2);
  opacity: 0.46;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: clamp(24px, 2.2vw, 34px);
  box-shadow: 0 18px 46px rgba(29, 40, 51, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(14px) saturate(1.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.22;
  font-weight: 900;
  color: var(--accent);
}

.future {
  background: transparent;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.08);
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
  transition: transform 180ms ease, background 180ms ease;
}

.step-card:hover span {
  transform: scale(1.05);
  background: rgba(183, 121, 62, 0.13);
}

.audience-card ul {
  margin: 0;
  padding-left: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 38px;
  color: var(--text);
}

body[dir="rtl"] .audience-card ul {
  padding-left: 0;
  padding-right: 24px;
}

.contact-card {
  border-radius: 32px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}

.contact-method {
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(22px, 2.3vw, 34px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-method strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 900;
}

.contact-method a {
  text-decoration: none;
}

.contact-method a:hover,
.contact-method a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.contact-value {
  display: inline-block;
  margin-bottom: 13px;
  direction: ltr;
  unicode-bidi: isolate-override;
  font-weight: 500;
  text-align: center;
  color: var(--text) !important;
  white-space: nowrap;
}

.contact-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
}

.contact-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent) !important;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.contact-mini-link:hover,
.contact-mini-link:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 26px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
  }

  .nav-links,
  .language-switcher {
    grid-column: 1;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .language-switcher {
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .hero-logo {
    font-size: clamp(42px, 13.8vw, 72px);
    letter-spacing: 0.01em;
  }

  .hero-tagline {
    font-size: clamp(18px, 5.2vw, 28px);
  }

  .grid,
  .services-grid,
  .process-grid,
  .contact-methods,
  .audience-card ul {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 20px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .intro-card,
  .future-text,
  .contact-card,
  .audience-card {
    padding: 26px;
  }

  .button {
    width: 100%;
    max-width: 340px;
  }
}
