:root {
  --navy-950: #06152d;
  --navy-900: #0b2348;
  --navy-800: #123667;
  --navy-700: #1a4a82;
  --blue-600: #246ad3;
  --cyan-500: #22b8c7;
  --cyan-100: #dff8fa;
  --gold-500: #e9ac3b;
  --gold-100: #fff3d4;
  --green-500: #38a986;
  --green-100: #ddf5ec;
  --slate-900: #152035;
  --slate-700: #46556d;
  --slate-500: #718096;
  --slate-300: #cbd5e1;
  --slate-200: #e6ebf2;
  --slate-100: #f4f7fa;
  --white: #fff;
  --shadow-sm: 0 8px 24px rgba(10, 36, 73, 0.08);
  --shadow-md: 0 18px 45px rgba(10, 36, 73, 0.13);
  --shadow-lg: 0 30px 80px rgba(7, 30, 65, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--slate-900);
  background: var(--white);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  color: #dcecff;
  background: var(--navy-950);
  font-size: 0.8125rem;
  text-align: center;
}

.demo-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #62d6c4;
  box-shadow: 0 0 0 4px rgba(98, 214, 196, 0.15);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  min-height: 78px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(203, 213, 225, 0.5);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(9, 34, 70, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-800), var(--blue-600));
  box-shadow: 0 8px 20px rgba(25, 79, 146, 0.22);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--slate-500);
  font-size: 0.8125rem;
  font-weight: 500;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-inline: auto;
}

.primary-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--slate-700);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  inset-block-end: 4px;
  height: 2px;
  border-radius: 9px;
  background: var(--cyan-500);
  transition: inset 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--navy-800);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  inset-inline: 8px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  border-radius: 4px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.875rem;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  box-shadow: 0 10px 24px rgba(30, 89, 165, 0.22);
}

.button-primary:hover {
  box-shadow: 0 14px 30px rgba(30, 89, 165, 0.3);
}

.button-ghost {
  color: var(--navy-800);
  border-color: #cfd9e7;
  background: rgba(255, 255, 255, 0.72);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--navy-700);
  background: var(--white);
}

.button-outline {
  min-height: 46px;
  color: var(--navy-800);
  border-color: var(--slate-300);
  background: transparent;
}

.button-light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(2, 15, 34, 0.2);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 0;
  background:
    linear-gradient(115deg, rgba(244, 249, 255, 0.98), rgba(247, 252, 253, 0.9)),
    radial-gradient(circle at 14% 20%, rgba(36, 106, 211, 0.1), transparent 35%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: radial-gradient(rgba(27, 71, 126, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to left, #000, transparent 50%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  width: 350px;
  height: 350px;
  inset-inline-start: -230px;
  inset-block-start: 70px;
  background: rgba(34, 184, 199, 0.1);
}

.hero-orb-two {
  width: 180px;
  height: 180px;
  inset-inline-end: 46%;
  inset-block-start: 18px;
  border: 34px solid rgba(233, 172, 59, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 800;
}

.eyebrow > span {
  width: 25px;
  height: 3px;
  border-radius: 9px;
  background: var(--cyan-500);
}

.hero h1 {
  max-width: 620px;
  margin: 16px 0 20px;
  color: var(--navy-950);
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, var(--blue-600), var(--cyan-500));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy > p {
  max-width: 600px;
  margin: 0;
  color: var(--slate-700);
  font-size: 1.0875rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 30px 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  color: var(--green-500);
  background: var(--green-100);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 485px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 490px);
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}

.visual-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.75rem;
  font-weight: 600;
}

.visual-dots {
  display: flex;
  direction: ltr;
  gap: 5px;
}

.visual-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-300);
}

.visual-dots i:first-child { background: #ff8b7c; }
.visual-dots i:nth-child(2) { background: #f5c456; }
.visual-dots i:last-child { background: #5cd2af; }

.campus-scene {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: linear-gradient(#dff4ff 0 66%, #d6eee4 66% 100%);
}

.sun {
  position: absolute;
  inset-inline-start: 52px;
  inset-block-start: 42px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffd46f;
  box-shadow: 0 0 0 12px rgba(255, 212, 111, 0.22);
}

.cloud {
  position: absolute;
  width: 64px;
  height: 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.85);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before { width: 30px; height: 30px; inset-inline-start: 10px; }
.cloud::after { width: 24px; height: 24px; inset-inline-end: 7px; }
.cloud-one { inset-inline-end: 44px; inset-block-start: 43px; }
.cloud-two { inset-inline-end: 145px; inset-block-start: 89px; transform: scale(0.7); opacity: 0.7; }

.building {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 37px;
  width: 280px;
  height: 185px;
  border-radius: 8px 8px 0 0;
  background: #fbfcff;
  box-shadow: 0 16px 30px rgba(21, 62, 108, 0.18);
  transform: translateX(50%);
}

.building::before {
  content: "";
  position: absolute;
  inset-inline: -18px;
  inset-block-start: -18px;
  height: 28px;
  border-radius: 9px 9px 4px 4px;
  background: var(--navy-800);
}

.building::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 54px;
  height: 5px;
  background: #e6ad45;
}

.building-sign {
  position: absolute;
  inset-block-start: 14px;
  inset-inline: 0;
  color: var(--navy-800);
  font-size: 0.875rem;
  font-weight: 900;
  text-align: center;
}

.building-windows {
  position: absolute;
  inset-inline: 26px;
  inset-block-start: 77px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
}

.building-windows i {
  height: 35px;
  border: 5px solid #c6e4ec;
  border-radius: 4px 4px 0 0;
  background: #8fc9dd;
}

.building-door {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 0;
  width: 44px;
  height: 61px;
  border-radius: 22px 22px 0 0;
  background: var(--navy-800);
  transform: translateX(50%);
}

.ground {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 39px;
  background: #a9d4bf;
}

.tree {
  position: absolute;
  z-index: 2;
  inset-block-end: 35px;
  width: 50px;
  height: 108px;
}

.tree i {
  position: absolute;
  inset-inline-start: 20px;
  inset-block-end: 0;
  width: 11px;
  height: 52px;
  border-radius: 5px;
  background: #a66d47;
}

.tree b {
  position: absolute;
  inset-block-start: 0;
  width: 50px;
  height: 66px;
  border-radius: 50% 50% 43% 43%;
  background: #4cae86;
  box-shadow: inset -12px -5px rgba(19, 123, 86, 0.15);
}

.tree-one { inset-inline-start: 23px; transform: scale(0.8); }
.tree-two { inset-inline-end: 20px; }

.visual-caption {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
}

.caption-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--blue-600);
  background: #eaf2ff;
}

.caption-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-caption div {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.visual-caption strong { font-size: 0.9rem; }
.visual-caption small { color: var(--slate-500); font-size: 0.75rem; }

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}

.floating-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
}

.floating-card svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-card div { display: flex; flex-direction: column; line-height: 1.45; }
.floating-card small { color: var(--slate-500); font-size: 0.7rem; }
.floating-card strong { font-size: 0.8rem; }
.floating-card-one { inset-inline-start: -18px; inset-block-start: 77px; }
.floating-card-one > span { color: var(--blue-600); background: #eaf2ff; }
.floating-card-two { inset-inline-end: -22px; inset-block-end: 78px; animation-delay: -2.2s; }
.floating-card-two > span { color: var(--green-500); background: var(--green-100); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.quick-access-wrap {
  position: relative;
  z-index: 4;
  margin-block-start: 75px;
  transform: translateY(50%);
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(214, 222, 233, 0.8);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.quick-access a,
.quick-access button {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border: 0;
  border-inline-end: 1px solid var(--slate-200);
  background: var(--white);
  text-align: start;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quick-access > :last-child { border-inline-end: 0; }
.quick-access a:hover,
.quick-access button:hover { background: #f8fbff; }

.quick-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
}

.quick-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-blue { color: var(--blue-600); background: #e9f1ff; }
.quick-cyan { color: #1197a5; background: var(--cyan-100); }
.quick-gold { color: #bd7a08; background: var(--gold-100); }
.quick-green { color: #208e6d; background: var(--green-100); }

.quick-access a > span:last-child,
.quick-access button > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.quick-access strong { font-size: 0.875rem; }
.quick-access small { overflow: hidden; color: var(--slate-500); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }

.section {
  padding: 115px 0;
}

.branches-section {
  padding-block-start: 170px;
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-block-end: 48px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 10px 0 12px;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.section-heading p,
.about-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--slate-700);
  line-height: 2;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.branch-card {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.branch-illustration {
  height: 172px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.branch-illustration svg {
  width: 78%;
  max-height: 145px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-card-blue .branch-illustration { color: #3972bd; background: #eaf3ff; }
.branch-card-cyan .branch-illustration { color: #158d9b; background: #e4f8f8; }
.branch-card-gold .branch-illustration { color: #b47a13; background: #fff5db; }
.branch-card-blue:hover { border-color: #b9d5f8; }
.branch-card-cyan:hover { border-color: #aee0e3; }
.branch-card-gold:hover { border-color: #ecd38f; }

.branch-body { padding: 24px; }

.demo-label {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-600);
  background: #eaf2ff;
  font-size: 0.7rem;
  font-weight: 800;
}

.branch-body h3 {
  margin: 12px 0 6px;
  color: var(--navy-900);
  font-size: 1.4rem;
}

.branch-body p {
  min-height: 82px;
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 0.9rem;
  line-height: 1.9;
}

.text-button {
  display: inline-flex;
  padding: 5px 0;
  border: 0;
  border-bottom: 2px solid rgba(36, 106, 211, 0.25);
  color: var(--blue-600);
  background: transparent;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.text-button:hover {
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.content-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
  color: var(--slate-500);
  font-size: 0.8rem;
  text-align: center;
}

.content-note svg {
  width: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-section {
  overflow: hidden;
  background: var(--slate-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 90px;
}

.about-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
}

.about-shape-one {
  width: 380px;
  height: 380px;
  background: #dceafd;
}

.about-shape-two {
  width: 330px;
  height: 330px;
  border: 1px dashed #83b8d7;
  animation: spin 45s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.about-board {
  position: relative;
  z-index: 2;
  width: min(88%, 390px);
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 27px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.board-header {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 15px;
  background: var(--white);
}

.board-header span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-300); }
.board-content { min-height: 270px; padding: 35px; color: var(--white); }
.board-star { color: #ffd46f; font-size: 2.3rem; line-height: 1; }
.board-content strong { display: block; max-width: 250px; margin: 14px 0 22px; font-size: 1.45rem; line-height: 1.65; }
.board-line { width: 58%; height: 7px; margin-block: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.18); }
.board-line.long { width: 85%; }
.board-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.board-tags i { padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d6e8ff; font-size: .7rem; font-style: normal; }

.about-mini-card {
  position: absolute;
  z-index: 3;
  min-width: 188px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  line-height: 1.45;
}

.about-mini-card b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.about-mini-card span { font-size: .8rem; font-weight: 800; }
.about-mini-card small { color: var(--slate-500); font-size: .7rem; font-weight: 500; }
.mini-card-top { inset-inline-start: -12px; inset-block-start: 70px; }
.mini-card-top b { color: var(--green-500); background: var(--green-100); }
.mini-card-bottom { inset-inline-end: -8px; inset-block-end: 65px; }
.mini-card-bottom b { color: #bd7a08; background: var(--gold-100); }

.about-copy h2 { max-width: 600px; }
.about-copy > p { max-width: 650px; }

.value-list {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.value-list > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.value-list > div > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--blue-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.value-list svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-list p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.65;
}

.value-list strong { font-size: .9375rem; }
.value-list small { margin-top: 3px; color: var(--slate-500); font-size: .8rem; }

.news-section { background: var(--white); }
.heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.heading-row > div { max-width: 700px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.news-card {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-art { position: relative; height: 205px; display: grid; place-items: center; overflow: hidden; }
.news-art::before { content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -55px; inset-block-start: -70px; border: 25px solid currentColor; border-radius: 50%; opacity: .08; }
.news-art svg { width: 75%; max-height: 170px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.news-art-blue { color: #356fb9; background: #e8f2ff; }
.news-art-cyan { color: #138b98; background: #e1f6f7; }
.news-art-gold { color: #b57c17; background: #fff4d7; }
.news-art-badge { position: absolute; z-index: 2; inset-inline-start: 14px; inset-block-start: 14px; padding: 4px 9px; border-radius: 999px; color: var(--slate-700); background: rgba(255,255,255,.86); font-size: .67rem; font-weight: 800; backdrop-filter: blur(6px); }
.news-body { padding: 23px; }
.news-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--slate-500); font-size: .72rem; }
.news-meta span { color: var(--blue-600); font-weight: 800; }
.news-body h3 { min-height: 59px; margin: 10px 0 8px; color: var(--navy-900); font-size: 1.06rem; line-height: 1.75; }
.news-body p { min-height: 76px; margin: 0 0 13px; color: var(--slate-700); font-size: .82rem; line-height: 1.85; }

.admission-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800) 60%, #155989);
}

.admission-pattern {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff), linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 55px 95px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
}

.admission-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 85px; }
.admission-kicker { display: inline-block; margin-bottom: 10px; color: #7ee0d4; font-size: .82rem; font-weight: 800; }
.admission-copy h2 { max-width: 620px; margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.45; }
.admission-copy p { max-width: 600px; margin: 0; color: #c9dcf1; }
.admission-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 27px; }
.admission-contact-link { padding-block: 8px; border-bottom: 1px solid rgba(255,255,255,.35); color: #e9f4ff; font-size: .875rem; font-weight: 700; }
.admission-steps { display: grid; gap: 10px; }
.admission-steps > div { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.admission-steps > div > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--navy-900); background: #7ee0d4; font-weight: 900; }
.admission-steps p { display: flex; flex-direction: column; margin: 0; line-height: 1.5; }
.admission-steps strong { font-size: .875rem; }
.admission-steps small { color: #bbd0e8; font-size: .73rem; }
.admission-steps > i { width: 2px; height: 11px; margin-inline-start: 35px; background: rgba(126,224,212,.5); }

.contact-section { background: #f7f9fc; }
.contact-grid { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 85px; }
.contact-list { display: grid; gap: 13px; margin-top: 29px; }
.contact-list > div { display: flex; align-items: center; gap: 12px; }
.contact-list > div > span { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--blue-600); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-list svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list p { display: flex; flex-direction: column; margin: 0; line-height: 1.55; }
.contact-list small { color: var(--slate-500); font-size: .73rem; }
.contact-list strong { font-size: .85rem; }

.map-placeholder {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 28px;
  background: #e6edf2;
  box-shadow: var(--shadow-md);
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #d4e6dc;
}

.map-placeholder::before { width: 260px; height: 260px; inset-inline-start: -80px; inset-block-start: -50px; }
.map-placeholder::after { width: 210px; height: 210px; inset-inline-end: -60px; inset-block-end: -40px; }
.map-road { position: absolute; z-index: 1; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #d9e2e8; }
.road-one { width: 130%; height: 40px; inset-inline-start: -15%; inset-block-start: 44%; transform: rotate(12deg); }
.road-two { width: 42px; height: 130%; inset-inline-start: 56%; inset-block-start: -15%; transform: rotate(17deg); }
.road-three { width: 80%; height: 25px; inset-inline-start: -10%; inset-block-start: 70%; transform: rotate(-24deg); }
.map-pin { position: absolute; z-index: 3; inset-inline-start: 52%; inset-block-start: 35%; width: 66px; height: 66px; display: grid; place-items: center; border: 7px solid rgba(255,255,255,.85); border-radius: 50% 50% 50% 12px; color: var(--white); background: var(--blue-600); box-shadow: var(--shadow-md); transform: rotate(-45deg); }
.map-pin svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(45deg); }
.map-label { position: absolute; z-index: 4; inset-inline-start: 26px; inset-block-end: 24px; display: flex; flex-direction: column; max-width: calc(100% - 52px); padding: 14px 18px; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); line-height: 1.65; }
.map-label strong { font-size: .9rem; }
.map-label small { color: var(--slate-500); font-size: .73rem; }

.site-footer { color: #d6e3f3; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1fr; gap: 60px; padding: 65px 0 50px; }
.brand-light .brand-copy strong { color: var(--white); }
.brand-light .brand-copy small { color: #a8bfd9; }
.footer-brand > p { max-width: 330px; margin: 18px 0 0; color: #9fb4cd; font-size: .82rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links strong { margin-bottom: 7px; color: var(--white); font-size: .9rem; }
.footer-links a,
.footer-links button { padding: 2px 0; border: 0; color: #a8bfd9; background: transparent; font-size: .8rem; cursor: pointer; transition: color .2s ease; }
.footer-links a:hover,
.footer-links button:hover { color: var(--white); }
.footer-note { padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.04); }
.footer-note span { display: inline-block; padding: 3px 8px; border-radius: 999px; color: #8ee6dc; background: rgba(126,224,212,.1); font-size: .67rem; font-weight: 800; }
.footer-note p { margin: 10px 0 0; color: #9fb4cd; font-size: .75rem; line-height: 1.8; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #7892af; font-size: .72rem; }
.footer-bottom p { margin: 0; }

.modal {
  width: min(calc(100% - 32px), 560px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--slate-900);
  background: var(--white);
  box-shadow: 0 35px 100px rgba(0, 13, 33, .32);
}

.modal::backdrop { background: rgba(3, 15, 34, .68); backdrop-filter: blur(5px); }
.modal[open] { animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-shell { position: relative; overflow: auto; max-height: calc(100dvh - 32px); padding: 34px; }
.modal-close { position: absolute; inset-inline-end: 18px; inset-block-start: 18px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--slate-200); border-radius: 11px; background: var(--white); cursor: pointer; transition: background .2s ease; }
.modal-close:hover { background: var(--slate-100); }
.modal-close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 15px; color: var(--blue-600); background: #eaf2ff; }
.modal-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modal h2 { margin: 12px 0 7px; padding-inline-end: 30px; color: var(--navy-900); font-size: 1.65rem; line-height: 1.5; }
.modal-shell > p { margin: 0 0 20px; color: var(--slate-700); font-size: .875rem; }
.modal-features { display: grid; gap: 9px; margin: 20px 0 24px; }
.modal-features span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 11px; color: var(--slate-700); background: var(--slate-100); font-size: .8rem; }
.modal-features span::before { content: "✓"; width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #1d8a6a; background: var(--green-100); font-weight: 900; }
.modal-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 9px; }
.modal-heading .modal-icon { margin: 0; flex: 0 0 auto; }
.modal-heading h2 { margin: 4px 0 0; padding: 0; }
.registration-modal form { display: grid; gap: 14px; }
.registration-modal label { display: grid; gap: 6px; color: var(--slate-700); font-size: .78rem; font-weight: 700; }
.registration-modal input,
.registration-modal select { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--slate-300); border-radius: 11px; color: var(--slate-900); background: var(--white); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.registration-modal input:focus,
.registration-modal select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(36,106,211,.1); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; inset-inline-end: 16px; inset-block-start: 50%; width: 8px; height: 8px; border-inline-end: 2px solid var(--slate-500); border-block-end: 2px solid var(--slate-500); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.registration-modal select { appearance: none; padding-inline-end: 40px; }
.registration-modal .check-label { grid-template-columns: auto 1fr; align-items: flex-start; gap: 8px; padding-block: 5px; font-weight: 500; line-height: 1.7; }
.check-label input { width: 18px; min-height: 18px; margin-top: 4px; accent-color: var(--blue-600); }
.news-modal-note { display: flex; flex-direction: column; gap: 5px; padding: 15px; border-radius: 13px; color: var(--slate-700); background: var(--slate-100); font-size: .8rem; }
.news-modal-note strong { color: var(--navy-800); }

.toast {
  position: fixed;
  z-index: 1000;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  width: min(calc(100% - 48px), 400px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid #b8e4d6;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.toast.is-visible { opacity: 1; transform: none; }
.toast > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #208e6d; background: var(--green-100); }
.toast svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.toast div { display: flex; flex-direction: column; line-height: 1.55; }
.toast strong { font-size: .82rem; }
.toast small { color: var(--slate-500); font-size: .7rem; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(36, 106, 211, 0.4);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 35px; }
  .hero h1 { font-size: clamp(2.55rem, 5vw, 4rem); }
  .quick-access a,
  .quick-access button { padding: 17px 15px; gap: 9px; }
  .quick-icon { width: 42px; height: 42px; }
  .about-grid,
  .contact-grid { gap: 55px; }
  .footer-main { gap: 35px; }
}

@media (max-width: 920px) {
  .header-inner { gap: 15px; }
  .header-action { margin-inline-start: auto; }
  .menu-toggle { display: flex; order: 3; }
  .primary-nav {
    position: fixed;
    z-index: 99;
    inset-inline: 20px;
    inset-block-start: 126px;
    display: grid;
    justify-content: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .primary-nav a { padding: 10px 12px; border-radius: 10px; }
  .primary-nav a:hover { background: var(--slate-100); }
  .primary-nav a::after { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow,
  .hero-actions,
  .hero-trust { justify-content: center; }
  .hero h1,
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { width: min(100%, 560px); margin-inline: auto; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .quick-access > :nth-child(2) { border-inline-end: 0; }
  .quick-access > :nth-child(-n+2) { border-bottom: 1px solid var(--slate-200); }
  .branch-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-card:last-child,
  .news-card:last-child { grid-column: span 2; width: calc(50% - 11px); justify-self: center; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-copy { order: -1; }
  .about-visual { width: min(100%, 570px); margin-inline: auto; }
  .admission-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .demo-strip { min-height: 39px; padding-inline: 14px; font-size: .7rem; line-height: 1.6; }
  .site-header,
  .header-inner { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark svg { width: 29px; }
  .brand-copy strong { max-width: 170px; font-size: .82rem; line-height: 1.45; }
  .brand-copy small { font-size: .7rem; }
  .header-action { display: none; }
  .menu-toggle { margin-inline-start: auto; }
  .primary-nav { inset-inline: 15px; inset-block-start: 116px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); line-height: 1.28; }
  .hero-copy > p { font-size: 1rem; line-height: 1.9; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-trust { align-items: center; gap: 9px 15px; }
  .hero-visual { min-height: 390px; margin-top: 15px; }
  .visual-frame { width: 94%; border-width: 5px; border-radius: 24px; }
  .campus-scene { height: 245px; }
  .building { width: 220px; height: 155px; }
  .building-windows { gap: 13px; inset-inline: 20px; }
  .floating-card { padding: 9px 10px; }
  .floating-card-one { inset-inline-start: -6px; inset-block-start: 45px; }
  .floating-card-two { inset-inline-end: -4px; inset-block-end: 36px; }
  .floating-card > span { width: 33px; height: 33px; }
  .floating-card small { font-size: .62rem; }
  .floating-card strong { font-size: .7rem; }
  .quick-access-wrap { margin-top: 45px; transform: translateY(30px); }
  .quick-access { border-radius: 18px; }
  .quick-access a,
  .quick-access button { min-height: 92px; padding: 13px; }
  .quick-icon { width: 39px; height: 39px; border-radius: 12px; }
  .quick-access strong { font-size: .78rem; }
  .quick-access small { font-size: .67rem; }
  .section { padding: 82px 0; }
  .branches-section { padding-top: 118px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 { font-size: 2rem; }
  .branch-grid,
  .news-grid { grid-template-columns: 1fr; }
  .branch-card:last-child,
  .news-card:last-child { grid-column: auto; width: auto; }
  .branch-body p { min-height: 0; }
  .content-note { align-items: flex-start; text-align: start; }
  .about-visual { min-height: 410px; }
  .about-shape-one { width: 310px; height: 310px; }
  .about-shape-two { width: 280px; height: 280px; }
  .board-content { min-height: 230px; padding: 28px; }
  .about-mini-card { min-width: 160px; }
  .mini-card-top { inset-inline-start: -5px; inset-block-start: 52px; }
  .mini-card-bottom { inset-inline-end: -5px; inset-block-end: 42px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .news-body h3,
  .news-body p { min-height: 0; }
  .admission-section { padding: 65px 0; }
  .admission-copy h2 { font-size: 2rem; }
  .admission-actions { align-items: stretch; flex-direction: column; }
  .admission-contact-link { align-self: center; }
  .map-placeholder { min-height: 330px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand,
  .footer-note { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding-block: 14px; }
  .modal-shell { padding: 28px 21px 22px; }
  .modal h2 { font-size: 1.35rem; }
  .modal-heading { align-items: flex-start; flex-direction: column; }
  .toast { inset-inline: 15px; inset-block-end: 15px; width: auto; }
}

@media (max-width: 420px) {
  .brand-copy strong { max-width: 145px; font-size: .76rem; }
  .hero h1 { font-size: 2.25rem; }
  .quick-access { grid-template-columns: 1fr; }
  .quick-access > * { border-inline-end: 0 !important; border-bottom: 1px solid var(--slate-200); }
  .quick-access > :last-child { border-bottom: 0; }
  .quick-access a,
  .quick-access button { min-height: 78px; }
  .about-mini-card { min-width: 145px; padding: 9px 10px; }
  .about-mini-card b { width: 32px; height: 32px; }
  .about-mini-card span { font-size: .7rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
