@font-face {
  font-family: "Yekan";
  src:
    url("assets/fonts/Yekan.woff2") format("woff2"),
    url("assets/fonts/Yekan.woff") format("woff"),
    url("assets/fonts/Yekan.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12313d;
  --ink-soft: #1b4a5b;
  --sage: #7ea6a0;
  --sea: #5a8e9c;
  --mist: #eef4f5;
  --sand: #f6f2ee;
  --leaf: #7f9f95;
  --accent: #2f6f79;
  --shadow: 0 20px 50px rgba(18, 49, 61, 0.12);
  --radius: 24px;
  --header-offset: 90px;
  --wave-graphic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'><path fill='%23e3eeec' d='M0 120C60 80 120 90 180 115C230 135 280 150 320 120V0H0Z'/><path fill='none' stroke='%23c8dcda' stroke-width='4' opacity='0.6' d='M0 140C70 95 150 125 210 110C260 95 300 75 320 60'/></svg>");
  --leaf-graphic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M40 150C90 120 130 90 160 60' fill='none' stroke='%237ea6a0' stroke-width='3' stroke-linecap='round'/><path fill='%23d6e7e4' d='M45 148C30 122 38 96 64 84C88 72 110 90 108 112C84 130 66 144 45 148Z'/><path fill='%23c4ddd9' d='M90 118C76 94 84 70 110 60C134 50 154 66 152 88C130 108 112 120 90 118Z'/></svg>");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Yekan", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(126, 166, 160, 0.18), transparent 50%),
    radial-gradient(circle at 88% 12%, rgba(90, 142, 156, 0.14), transparent 55%),
    linear-gradient(150deg, #fbfdfd 0%, #f1f6f6 45%, #f7f2ee 100%);
  line-height: 1.9;
}

html {
  scroll-padding-top: var(--header-offset);
}

body.is-en {
  direction: ltr;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header,
.hero,
.section,
.contact,
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-header .container,
.hero .container,
.section .container,
.contact .container,
.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-header::before,
.site-header::after,
.hero::before,
.hero::after,
.contact::before,
.contact::after,
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(249, 251, 251, 0.82);
  border-bottom: 1px solid rgba(18, 49, 61, 0.08);
}

.site-header::before {
  top: -34px;
  left: -70px;
  width: 240px;
  height: 160px;
  background-image: var(--wave-graphic);
  opacity: 0.45;
}

.site-header::after {
  top: -24px;
  right: -45px;
  width: 150px;
  height: 150px;
  background-image: var(--leaf-graphic);
  opacity: 0.45;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stack {
  display: block;
}

.site-header,
.hero,
.section,
.site-footer {
  scroll-margin-top: var(--header-offset);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(18, 49, 61, 0.12);
  box-shadow: 0 12px 30px rgba(47, 111, 121, 0.18);
}

.brand-title {
  font-size: 20px;
}

.brand-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 49, 61, 0.12);
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 28px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn[aria-pressed="true"] {
  box-shadow: 0 8px 18px rgba(47, 111, 121, 0.2);
  transform: translateY(-1px);
}

.lang-flag {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(18, 49, 61, 0.12);
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(18, 49, 61, 0.15);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(47, 111, 121, 0.08);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(47, 111, 121, 0.25);
}

body.is-en .nav {
  justify-content: flex-start;
}

body.is-en .section,
body.is-en .hero,
body.is-en .contact,
body.is-en .site-footer,
body.is-en .site-header {
  text-align: left;
}

.hero {
  padding: 70px 0 30px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(126, 166, 160, 0.35), transparent 55%),
    radial-gradient(circle at 82% 8%, rgba(47, 111, 121, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 238, 0.7));
  z-index: 0;
}

.hero::before {
  top: 30px;
  right: -40px;
  width: 200px;
  height: 200px;
  background-image: var(--leaf-graphic);
  opacity: 0.4;
}

.hero::after {
  bottom: -55px;
  left: -60px;
  width: 300px;
  height: 190px;
  background-image: var(--wave-graphic);
  opacity: 0.45;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
}

.hero-text {
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 35px rgba(47, 111, 121, 0.25);
}

.btn.ghost {
  border-color: rgba(18, 49, 61, 0.2);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(47, 111, 121, 0.22);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-highlights div {
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-highlights div:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(18, 49, 61, 0.18);
}

.hero-highlights span {
  font-weight: 600;
}

.hero-highlights small {
  display: block;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  padding: 20px;
  display: grid;
  place-items: center;
}

.hero-frame {
  position: relative;
  padding: 16px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 245, 0.9));
  box-shadow: 0 28px 70px rgba(18, 49, 61, 0.18);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 40px;
  border: 1px solid rgba(126, 166, 160, 0.35);
  opacity: 0.7;
}

.hero-visual img {
  border-radius: 28px;
  background: #f7fbfb;
  box-shadow: 0 18px 45px rgba(18, 49, 61, 0.16);
  filter: grayscale(0.05);
  animation: float 6s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(47, 111, 121, 0.25);
  animation: orbit 12s linear infinite;
}

.hero-orbit-one {
  width: 280px;
  height: 280px;
  top: 18px;
  right: 10px;
}

.hero-orbit-two {
  width: 200px;
  height: 200px;
  bottom: 10px;
  left: 0;
  animation-duration: 16s;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 49, 61, 0.08);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 49, 61, 0.14);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
  animation: drift 8s ease-in-out infinite;
}

.hero-card strong {
  font-size: 14px;
  color: var(--ink);
}

.hero-card-one {
  top: 12%;
  right: -6%;
}

.hero-card-two {
  bottom: 12%;
  left: -4%;
  animation-delay: 1.5s;
}


.section {
  padding: 70px 0;
}

.section.muted {
  background: rgba(126, 166, 160, 0.08);
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
}

.section-head p {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(18, 49, 61, 0.16);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

.card ul {
  padding-right: 18px;
  margin: 0;
}

body.is-en .card ul {
  padding-right: 0;
  padding-left: 18px;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.1fr);
  gap: 70px;
  align-items: center;
}

.about-media img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 220px;
}

.about-content h3 {
  margin-top: 0;
}

@media (max-width: 820px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-media img {
    min-height: 200px;
  }
}


.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pill-item {
  background: #fff;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(18, 49, 61, 0.08);
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pill-item:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 49, 61, 0.18);
  box-shadow: 0 20px 40px rgba(18, 49, 61, 0.14);
}

.pill-item .pill {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: right;
  font-weight: 600;
}

body.is-en .pill-item .pill {
  text-align: left;
}

.pill-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.pill {
  background: #fff;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(18, 49, 61, 0.08);
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pill:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 49, 61, 0.18);
  box-shadow: 0 20px 40px rgba(18, 49, 61, 0.14);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.counter-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(18, 49, 61, 0.08);
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
  padding: 16px 14px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.counter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 49, 61, 0.18);
  box-shadow: 0 20px 40px rgba(18, 49, 61, 0.14);
}

.counter-value {
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  direction: ltr;
  unicode-bidi: plaintext;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 15px;
  color: var(--ink-soft);
}

.contact {
  background: #f9fbfb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: start;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(18, 49, 61, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 24px rgba(18, 49, 61, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.is-en .contact-card {
  text-align: left;
}

.contact-card strong {
  direction: ltr;
  unicode-bidi: plaintext;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 49, 61, 0.18);
  box-shadow: 0 20px 44px rgba(18, 49, 61, 0.14);
}

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(18, 49, 61, 0.08);
  background: #f2f7f7;
}

.site-footer::before {
  bottom: -60px;
  left: -60px;
  width: 320px;
  height: 200px;
  background-image: var(--wave-graphic);
  opacity: 0.5;
}

.site-footer::after {
  top: -34px;
  right: -50px;
  width: 170px;
  height: 170px;
  background-image: var(--leaf-graphic);
  opacity: 0.45;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-visual img {
    animation: none;
  }
}

@media (max-width: 820px) {
  .site-header::before,
  .site-header::after,
  .hero::before,
  .hero::after,
  .site-footer::before,
  .site-footer::after {
    transform: scale(0.75);
    opacity: 0.35;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand {
    order: 1;
  }

  .lang-switcher {
    order: 2;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: center;
    order: 3;
  }

  .nav {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 49, 61, 0.08);
    border-radius: 18px;
    padding: 0 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 12px 16px 16px;
  }

  .nav a {
    padding: 10px 12px;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .hero-visual {
    order: -1;
  }


  .hero-card-one {
    right: 4%;
  }

  .hero-card-two {
    left: 6%;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-visual img {
    max-width: 360px;
  }

  .section {
    padding: 56px 0;
  }

  .card {
    padding: 22px;
  }

  .hero-highlights {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(1100px, 90vw);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 100%;
    padding: 6px 0 18px;
  }

  .hero-frame {
    width: min(320px, 82vw);
    padding: 10px;
    border-radius: 26px;
  }

  .hero-frame::before {
    inset: -6px;
    border-radius: 30px;
  }

  .hero-visual img {
    max-width: 100%;
  }

  .hero-card {
    width: min(220px, 70vw);
    font-size: 12px;
  }

  .hero-card-one {
    top: -6%;
    right: 8%;
  }

  .hero-card-two {
    bottom: -6%;
    left: 8%;
  }

  .pill {
    padding: 14px 16px;
  }

  .section {
    padding: 48px 0;
  }

  .card {
    padding: 20px;
  }

  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .contact-card span {
    text-align: right;
  }

  body.is-en .contact-card span {
    text-align: left;
  }

  .contact-card strong {
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: left;
  }
}
