﻿:root {
  color-scheme: light;
  --bg: #fffaf2;
  --ink: #25313d;
  --muted: #65717f;
  --line: #eadfce;
  --teal: #c9e7df;
  --blue: #d8e8f8;
  --coral: #f6d5cc;
  --gold: #f5e7ba;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(37, 49, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: var(--teal);
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(234, 223, 206, 0.8);
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--ink);
}

.language-toggle {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  padding: 9px 15px;
  box-shadow: 0 8px 24px rgba(37, 49, 61, 0.08);
  text-decoration: none;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(37, 49, 61, 0.28);
  outline: none;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.86fr);
  padding: clamp(52px, 8vw, 104px) clamp(20px, 5vw, 64px);
  background: linear-gradient(135deg, var(--bg) 0%, rgba(201, 231, 223, 0.2) 48%, rgba(246, 213, 204, 0.34) 100%);
}

.hero-content {
  max-width: 720px;
  width: min(100%, 720px);
}

.hero-photo {
  justify-self: center;
  margin: 0;
  max-width: min(38vw, 470px);
  width: 100%;
}

.hero-photo img {
  aspect-ratio: 1;
  border: 12px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.eyebrow,
.section-kicker {
  color: #586d66;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .section-kicker {
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(100%, 10ch);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-copy,
.section-copy,
.contact-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 640px;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.hero-point {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 49, 61, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(37, 49, 61, 0.08);
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: center;
  padding: 11px 14px;
}

.hero-point::before {
  background: var(--point-accent, var(--teal));
  border-radius: 999px;
  content: "";
  height: 24px;
  width: 5px;
}

.hero-point:nth-child(1) {
  --point-accent: #7ac8b9;
}

.hero-point:nth-child(2) {
  --point-accent: #82b8ee;
}

.hero-point:nth-child(3) {
  --point-accent: #e59b8b;
}

.step-card:nth-child(1) {
  background: var(--teal);
}

.step-card:nth-child(2) {
  background: var(--blue);
}

.step-card:nth-child(3) {
  background: var(--coral);
}

.step-card:nth-child(4) {
  background: var(--gold);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.section-inner,
.contact-inner {
  margin: 0 auto;
  max-width: 1120px;
}

.pastel-band {
  background: linear-gradient(135deg, rgba(201, 231, 223, 0.55), rgba(216, 232, 248, 0.58) 52%, rgba(246, 213, 204, 0.48));
}

.step-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.step-card,
.credentials {
  border: 1px solid rgba(37, 49, 61, 0.08);
  border-radius: 8px;
  padding: 22px;
}

.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.credentials {
  background: var(--white);
  box-shadow: var(--shadow);
}

.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credential-item {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 0;
}

.credential-item:first-child {
  border-top: 0;
}

.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.contact-section .section-kicker,
.contact-copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section .button.primary {
  background: var(--gold);
  color: var(--ink);
}

.email-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 5px;
}


[dir="rtl"] h1 {
  max-width: min(100%, 8.5ch);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: min(76vw, 360px);
    order: -1;
  }

  .step-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
    max-width: min(100%, 9ch);
  }

  [dir="rtl"] h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
    max-width: min(100%, 8ch);
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 58px;
  }

  .hero-photo {
    max-width: min(72vw, 300px);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .email-link {
    width: 100%;
  }

  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-card,
  .credentials {
    padding: 18px;
  }
}


html {
  overflow-x: hidden;
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
  }

  .brand,
  .hero-content {
    text-align: center;
  }

  .header-nav,
  .hero-points {
    justify-content: center;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
  }

  h1,
  [dir="rtl"] h1 {
    margin-left: auto;
    margin-right: auto;
  }
}
