@font-face {
  font-family: "Samim";
  src: url("../fonts/Samim.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Samim";
  src: url("../fonts/Samim-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #e9ecee;
  --surface: #e9ecee;
  --surface-soft: #f1f3f4;
  --ink: #231f20;
  --muted: #5f6669;
  --accent: #18a893;
  --accent-strong: #0b6f61;
  --accent-soft: #ccece7;
  --success: #0b6f61;
  --danger: #4a5155;
  --line: rgba(95, 102, 105, .18);
  --shadow-dark: #c7cbcd;
  --shadow-light: #ffffff;
  --raised: 15px 15px 32px var(--shadow-dark), -15px -15px 32px var(--shadow-light);
  --raised-soft: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
  --raised-compact: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --max: 1200px;
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 4%, rgba(255,255,255,.9), transparent 27rem),
    radial-gradient(circle at 92% 28%, rgba(24,168,147,.1), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: "Samim", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset: 12px auto auto 12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 54px 0; }
.section-tight { padding: 28px 0; }
.stack { display: grid; gap: 22px; }
.surface {
  border: 1px solid rgba(255,255,255,.64);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  box-shadow: var(--raised);
}
.raised {
  border: 1px solid rgba(255,255,255,.58);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  box-shadow: var(--raised-soft);
}
.inset {
  border: 1px solid rgba(255,255,255,.48);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  box-shadow: var(--raised-compact);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow::before {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.section-heading h2,
.page-hero h1,
.hero h1 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.section-heading h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
.section-heading p { max-width: 640px; margin: 8px 0 0; color: var(--muted); }
.accent { color: var(--accent-strong); }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 21px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 700;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px) scale(.99); box-shadow: 4px 4px 10px var(--shadow-dark), -3px -3px 8px var(--shadow-light); }
.btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
}
.btn-primary:hover { background: linear-gradient(145deg, #139481, #075c50); }
.btn-soft {
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  color: var(--ink);
  box-shadow: var(--raised-soft);
}
.btn-quiet {
  min-height: 42px;
  padding: 8px 15px;
  background: transparent;
  color: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--line), var(--raised-compact);
}
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 700;
}
.link-arrow::after { content: "\2190"; transition: transform var(--ease); }
.link-arrow:hover::after { transform: translateX(-4px); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 18px 0;
  transition: padding var(--ease), background var(--ease);
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(233,236,238,.9);
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 20px;
  border-radius: 22px;
  box-shadow: var(--raised-soft);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  box-shadow: var(--raised-compact);
}
.brand-mark img { width: 31px; height: 31px; object-fit: contain; }
.brand-word { width: 90px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 9px 13px;
  border-radius: 12px;
  color: #3f484c;
  font-size: .92rem;
  font-weight: 700;
}
.nav-link:hover,
.nav-link.active { color: var(--accent-strong); box-shadow: var(--raised-compact); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  box-shadow: var(--raised-soft);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle span { margin: 5px 0; }

.hero { padding: 34px 0 62px; }
.hero-shell {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 55px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  position: relative;
}
.hero-shell::before,
.hero-shell::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-shell::before {
  width: 290px;
  height: 290px;
  inset: -130px -90px auto auto;
  border: 44px solid rgba(24,168,147,.1);
}
.hero-shell::after {
  width: 140px;
  height: 140px;
  inset: auto auto -75px 42%;
  background: rgba(255,255,255,.32);
  box-shadow: var(--raised-compact);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; font-size: clamp(2.35rem, 5.4vw, 4.5rem); }
.hero-lead { max-width: 630px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 30px; color: #3f484c; font-size: .9rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { color: var(--success); content: "\2713"; font-size: .68rem; }
.hero-visual { min-height: 390px; display: grid; place-items: center; position: relative; }
.code-window {
  width: min(100%, 430px);
  padding: 22px;
  transform: rotate(-2deg);
}
.window-bar { display: flex; gap: 7px; margin-bottom: 26px; direction: ltr; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c8d0d6; }
.window-bar i:first-child { background: var(--accent); }
.code-lines { display: grid; gap: 13px; padding: 22px; }
.code-lines span { height: 10px; border-radius: 8px; background: #cbd2d7; }
.code-lines span:nth-child(1) { width: 56%; background: var(--accent); opacity: .75; }
.code-lines span:nth-child(2) { width: 86%; }
.code-lines span:nth-child(3) { width: 71%; }
.code-lines span:nth-child(4) { width: 92%; }
.code-lines span:nth-child(5) { width: 45%; background: #77bdb2; }
.floating-badge {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  box-shadow: var(--raised-soft);
  font-weight: 700;
}
.badge-one { top: 16px; left: -4px; }
.badge-two { right: -12px; bottom: 20px; }
.badge-three { right: 10px; top: 72px; color: var(--accent-strong); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.card {
  min-height: 100%;
  padding: 26px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: 19px 19px 38px var(--shadow-dark), -19px -19px 38px var(--shadow-light); }
.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--accent-strong);
  box-shadow: var(--raised-compact);
  font-weight: 700;
}
.card h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.5; }
.card p { margin: 0 0 20px; color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: -9px -9px 22px;
  border-radius: 19px;
  box-shadow: var(--raised-compact);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .8rem;
}
.meta span {
  padding: 4px 9px;
  border-radius: 9px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 0 0 1px var(--line), var(--raised-compact);
}
.empty-state { padding: 44px; text-align: center; }
.empty-state p { color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-item { padding: 23px; }
.process-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--accent-strong);
  box-shadow: var(--raised-compact);
  font-weight: 700;
}
.process-item h3 { margin: 0 0 7px; font-size: 1.05rem; }
.process-item p { margin: 0; color: var(--muted); font-size: .9rem; }

.academy-banner,
.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 52px);
}
.academy-banner h2,
.cta-banner h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.45rem); }
.academy-banner p,
.cta-banner p { max-width: 680px; margin: 0; color: var(--muted); }

.page-hero { padding: 46px 0 22px; }
.page-hero .surface { padding: clamp(30px, 6vw, 66px); overflow: hidden; position: relative; }
.page-hero h1 { max-width: 850px; font-size: clamp(2rem, 4.8vw, 3.9rem); }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 1.04rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 25px; align-items: start; }
.panel { padding: clamp(24px, 4vw, 42px); }
.prose { color: #31434d; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.45; }
.prose h2 { margin: 1.7em 0 .65em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose img { border-radius: 20px; }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.prose ul { padding-right: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 11px; border-radius: 10px; color: #3f515b; box-shadow: var(--raised-compact); font-size: .82rem; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.form-panel { padding: clamp(25px, 4vw, 42px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  color: var(--ink);
  box-shadow: var(--raised-compact);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
  outline: 0;
}
.validation-summary-errors,
.field-error { color: var(--danger); font-size: .86rem; }
.validation-summary-errors ul { margin: 0; padding-right: 18px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px; }
.contact-item b { display: block; }
.contact-item > span:last-child { min-width: 0; }
.contact-item small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.contact-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; box-shadow: var(--raised-compact); color: var(--accent-strong); }
.alert {
  width: min(calc(100% - 36px), var(--max));
  margin: 14px auto;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: var(--raised-soft);
}
.search-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px; margin-bottom: 22px; }
.search-bar input {
  min-width: 0;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: transparent;
  color: var(--ink);
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter {
  padding: 8px 13px;
  border-radius: 11px;
  color: var(--muted);
  box-shadow: var(--raised-soft);
  font-size: .86rem;
}
.filter.active { color: var(--accent-strong); box-shadow: var(--raised-compact); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-button {
  width: 100%;
  padding: 10px;
  border: 0;
  text-align: right;
  cursor: zoom-in;
}
.gallery-button .card-media { margin: 0 0 14px; }
.gallery-button h3 { padding: 0 8px; }
.gallery-dialog {
  width: min(920px, calc(100% - 30px));
  padding: 16px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(145deg, var(--surface-soft), var(--surface));
  color: var(--ink);
  box-shadow: var(--raised);
}
.gallery-dialog::backdrop { background: rgba(23,37,46,.72); backdrop-filter: blur(5px); }
.gallery-dialog img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 18px; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 8px 4px 15px; }
.dialog-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--raised-soft); cursor: pointer; }

.site-footer { padding: 55px 0 28px; }
.footer-shell { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 35px; padding: clamp(30px, 5vw, 54px); }
.footer-brand p { max-width: 390px; color: var(--muted); }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin: 0 0 8px; font-size: 1rem; }
.footer-column a, .footer-column span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.footer-column a:hover { color: var(--accent-strong); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 8px 0;
  color: var(--muted);
  font-size: .84rem;
}
.socials { display: flex; gap: 10px; margin-top: 17px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; box-shadow: var(--raised-soft); color: var(--accent-strong); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: grid; margin-right: auto; }
  .nav-actions .btn-soft { display: none; }
  .nav-links {
    position: fixed;
    inset: 98px 18px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--surface-soft), var(--surface));
    box-shadow: var(--raised);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--ease), transform var(--ease);
  }
  body.nav-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { padding: 12px 15px; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .form-layout { grid-template-columns: 1fr; }
  .footer-shell { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 38px 0; }
  .site-header { padding: 10px 0; }
  .nav-shell { min-height: 62px; padding: 7px 9px 7px 13px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-word { width: 73px; }
  .nav-actions .btn-primary { display: none; }
  .nav-links { inset: 82px 12px auto; }
  .hero { padding-top: 20px; }
  .hero-shell { min-height: 0; padding: 30px 22px; border-radius: 27px; gap: 25px; }
  .hero h1 { font-size: clamp(2.05rem, 11vw, 3.05rem); }
  .hero-visual { min-height: 285px; }
  .floating-badge { font-size: .78rem; }
  .badge-one { left: 0; }
  .badge-two { right: 0; }
  .cards, .process-grid, .gallery-grid, .form-grid, .footer-shell { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .btn { margin-top: 18px; }
  .academy-banner, .cta-banner { grid-template-columns: 1fr; }
  .page-hero .surface { border-radius: 27px; }
  .footer-bottom { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

