:root {
  --color-navy: #4a2b5c;
  --color-navy-2: #3a2149;
  --color-accent: #4a2b5c;
  --color-accent-2: #8b6b9c;
  --color-white: #ffffff;
  --color-bg: #f2eaf7;
  --color-text: #1a1a1a;
  --color-muted: #5c5266;
  --color-border: rgba(74, 43, 92, 0.12);
  --color-primary: var(--color-navy);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(74, 43, 92, 0.1);
  --shadow-sm: 0 6px 20px rgba(74, 43, 92, 0.08);
  --container: 1180px;
  --header-h: 84px;
  --space: 1rem;
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font-family: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  right: 1rem;
  top: -4rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head h1,
.section-head h2,
.about-copy h1,
.about-copy h2,
.contact-info h2,
.cta h2,
.hero h1 {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 800;
}

.eyebrow {
  display: inline-block;
  color: var(--color-accent-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.eyebrow.dark {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #3a2149;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  background: rgba(74, 43, 92, 0.96);
  box-shadow: 0 8px 24px rgba(74, 43, 92, 0.16);
  backdrop-filter: blur(12px);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(74, 43, 92, 0.97);
  box-shadow: 0 8px 24px rgba(74, 43, 92, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
}

.logo { display: flex; align-items: center; gap: 0.55rem; color: #fff; flex: 0 0 auto; min-width: 0; }
.logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; flex-shrink: 0; }
.logo-text { font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em; line-height: 1.45; white-space: nowrap; }
.logo-text span { color: #e8d8f0; font-weight: 600; }
.site-footer .logo-img { width: 56px; height: 56px; }

.nav-desktop { display: none; min-width: 0; }
.nav-desktop ul { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(0.55rem, 1vw, 1rem); white-space: nowrap; }
.nav-desktop a { display: inline-flex; align-items: center; min-height: 42px; color: rgba(255,255,255,.88); font-size: clamp(.78rem,.85vw,.9rem); font-weight: 500; transition: color .2s ease; }
.nav-desktop a:hover, .nav-desktop a.is-active, .nav-desktop a[aria-current="page"] { color: #fff; }
.nav-desktop a[aria-current="page"] { font-weight: 800; }
.header-cta { display: none; flex: 0 0 auto; min-height: 42px; padding: .55rem 1rem; white-space: nowrap; font-size: .85rem; }

.menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 45; display: block; overflow-y: auto; padding: 1.25rem 1rem 2rem; background: rgba(58,33,73,.99); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mobile-menu nav { width: min(100%, 520px); margin-inline: auto; }
.mobile-menu nav ul { display: grid; gap: .35rem; }
.mobile-menu nav li a:not(.btn) { display: block; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; font-size: 1rem; font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.mobile-menu nav li a:not(.btn):hover, .mobile-menu nav li a[aria-current="page"] { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; flex: 1 1 auto; justify-content: center; }
  .nav-desktop ul { gap: clamp(.5rem, .85vw, .9rem); }
  .nav-desktop a { font-size: clamp(.76rem, .82vw, .88rem); }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-inner { justify-content: space-between; }
}
@media (min-width: 1200px) {
  .nav-desktop ul { gap: 1rem; }
  .nav-desktop a { font-size: .88rem; }
  .header-cta { padding-inline: 1.15rem; }
}
@media (max-width: 1023px) {
  .site-header { --header-h: 76px; }
  .site-header.is-scrolled { --header-h: 68px; }
  .header-cta { display: none; }
  .logo-text { font-size: .95rem; }
}
@media (max-width: 420px) {
  .container.header-inner { width: calc(100% - 1.25rem); }
  .logo { gap: .4rem; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text { font-size: .82rem; }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--color-navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-navy);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(74, 43, 92, 0.78) 0%, rgba(74, 43, 92, 0.42) 48%, rgba(74, 43, 92, 0.18) 100%),
    linear-gradient(to top, rgba(74, 43, 92, 0.62) 0%, rgba(74, 43, 92, 0.12) 42%, rgba(74, 43, 92, 0.28) 100%);
}

.cable-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
  pointer-events: none;
}

.cable-path {
  fill: none;
  stroke: var(--color-accent-2);
  stroke-width: 1.2;
  stroke-dasharray: 8 14;
  animation: cable-move 18s linear infinite;
}

.cable-path.delay {
  animation-duration: 22s;
  opacity: 0.7;
}

.cable-path.delay-2 {
  animation-duration: 26s;
  opacity: 0.5;
}

.cable-node {
  fill: var(--color-accent-2);
}

.cable-node.pulse {
  animation: node-pulse 3.4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 8rem;
}

.hero-mobile-content {
  display: none;
}

.hero-content > * {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-actions .btn {
  flex: 1 1 180px;
}

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  z-index: 1;
  animation: hint-bounce 2.2s ease-in-out infinite;
}

.partners {
  background: var(--color-white);
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1.5rem;
}

.partners-inner {
  border-block: 1px solid var(--color-border);
  padding-block: 1rem;
}

.partners-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.partners-heading .eyebrow {
  margin: 0;
}

.partner-controls {
  display: flex;
  gap: 0.4rem;
}

.partner-control {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  padding: 0;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
}

.partner-control:hover,
.partner-control:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.partner-control svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.85rem 0 0.55rem;
  direction: rtl;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.partner-rail::-webkit-scrollbar {
  display: none;
}

.partner-rail:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 min(82vw, 18rem);
  min-height: 5.5rem;
  padding: 0.65rem 0.8rem;
  border-inline-start: 1px solid var(--color-border);
  scroll-snap-align: start;
}

.partner-mark {
  display: grid;
  place-items: center;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  aspect-ratio: 1;
  color: #fff;
  background: #3b3330;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
}

.partner-mark-green { background: #16754a; }
.partner-mark-amber { background: #b27616; }
.partner-mark-blue { background: #28617b; }
.partner-mark-red { background: #a94339; }
.partner-mark-teal { background: #23766d; }

.partner-mark.partner-symbol-image {
  display: block;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
  min-height: 0;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

.partner-item h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.7;
}

.services {
  background: var(--color-bg);
}

.services-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.service-card,
.project-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card {
  padding: 1.4rem;
}

.services-grid .service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 43, 92, 0.1);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: transform 0.22s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-3px);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.about-copy > p,
.contact-info > p {
  color: var(--color-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-accent);
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.service-card:hover .text-link span {
  transform: translateX(-4px);
}

.text-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-form {
  width: 100%;
  max-width: 42rem;
  min-width: 0;
  justify-self: stretch;
}

.contact-form .field {
  min-width: 0;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.about-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.project-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--color-bg);
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-thumb:hover img {
  transform: scale(1.04);
}

.project-body {
  padding: 0.7rem 0.15rem;
}

.project-card h3 {
  font-size: 1rem;
  margin: 0;
}

.about {
  background: var(--color-bg);
}

.advantage-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.advantage-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
}

.advantage-list h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.advantage-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.advantage-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(74, 43, 92, 0.1);
  color: var(--color-accent);
  display: grid;
  place-items: center;
}

.advantage-icon svg,
.social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-2);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}

.cta-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(74, 43, 92, 0.08) 41%, transparent 42%),
    repeating-linear-gradient(
      100deg,
      transparent 0,
      transparent 38px,
      rgba(53, 167, 255, 0.09) 39px,
      transparent 40px
    );
  opacity: 0.7;
}

.cta-inner {
  position: relative;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.4rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.contact-list li {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.contact-social-links,
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.contact-social-links {
  flex-direction: column;
}

.contact-social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-links {
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: var(--color-bg);
  color: var(--color-text);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  background: #fff;
  outline: none;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #c24141;
}

.field-error {
  min-height: 1.1rem;
  color: #c24141;
  font-size: 0.8rem;
  margin: 0.25rem 0 0;
}

.form-success {
  margin: 0.7rem 0 0;
  color: #0f7a4a;
  font-weight: 600;
}

.form-error {
  margin: 0.7rem 0 0;
  color: #c24141;
  font-weight: 600;
}

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a:hover {
  color: var(--color-accent-2);
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.footer-social-links .social-icon-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.footer-social-links .social-icon-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-contact-name {
  margin-top: 0.2rem;
  color: #fff;
  font-weight: 600;
}

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

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

@keyframes cable-move {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@media (min-width: 768px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }

  .partners-inner {
    padding-block: 1.25rem;
  }

  .partner-item {
    flex-basis: 18rem;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .about-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .nav-desktop ul {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
  }

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

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

}

@media (min-width: 1440px) {
  :root {
    --container: 1240px;
  }
}

@media (max-width: 767px) {
  .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(74, 43, 92, 0.75), transparent);
  }

  .hero-content {
    display: none;
  }

  .hero-mobile-content {
    display: block;
    margin-bottom: 4rem;
  }

  .hero-mobile-title {
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
  }

  .hero-mobile-content .hero-lead {
    color: var(--color-muted);
  }

  .hero-mobile-content .btn-ghost {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
  }

  .hero-mobile-content .btn-ghost:hover {
    background: #3a2149;
    border-color: #3a2149;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.project-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.project-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.about-brand {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.about-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.credentials {
  background: #fff;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
  gap: 1.25rem;
}

.credential-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1rem;
}

.credential-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  cursor: zoom-in;
}

.credential-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.credential-image span {
  position: absolute;
  inset: auto 0 0;
  padding: 0.7rem;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.72));
  color: #fff;
  font-size: 0.88rem;
  text-align: center;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.credential-image:hover span,
.credential-image:focus-visible span {
  opacity: 1;
}

.image-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: 96vw;
  max-height: 96vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.image-dialog::backdrop {
  background: rgba(20, 16, 24, 0.84);
}

.image-dialog > img {
  display: block;
  width: auto;
  max-width: 96vw;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.dialog-close {
  position: absolute;
  z-index: 1;
  top: 0.5rem;
  left: 0.5rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.credentials-more {
  margin-top: 1.5rem;
  text-align: center;
}

.projects-more {
  margin-top: 1.5rem;
  text-align: center;
}

.partners-section {
  background: #f2eaf7;
}

.about-page {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: #f8f7f9;
}

.about-layout {
  display: grid;
  gap: 5rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.65fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--color-navy-2);
  color: #fff;
}

.about-hero .eyebrow,
.about-route .eyebrow {
  color: #d8c5e0;
  margin: 0;
}

.about-hero-copy h1 {
  max-width: 17ch;
  margin: 0.85rem 0 1.1rem;
  font-size: 2.8rem;
  line-height: 1.35;
}

.about-lead,
.about-detail {
  max-width: 43rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2;
}

.about-lead {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
  font-weight: 500;
}

.about-detail {
  margin-bottom: 1.5rem;
  font-size: 0.96rem;
}

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.about-actions .btn-primary {
  background: #fff;
  color: var(--color-navy-2);
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 700;
}

.about-text-link span {
  transition: transform 0.2s ease;
}

.about-text-link:hover span {
  transform: translateX(-4px);
}

.about-hero .about-text-link {
  color: #fff;
}

.about-logo-figure {
  width: min(100%, 19rem);
  justify-self: center;
  margin: 0;
}

.about-logo-frame {
  padding: 0.65rem;
  background: #fff;
  border-radius: 8px;
}

.about-logo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.about-logo-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.about-section-heading h2,
.about-route-heading h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.8rem;
}

.about-route-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.about-route-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.about-route {
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  padding: 2.5rem;
  background: var(--color-navy-2);
  color: #fff;
}

.about-route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-route-list li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.about-route-list li > span {
  display: block;
  margin-bottom: 0.65rem;
  color: #d8c5e0;
  font-weight: 700;
}

.about-route-list p {
  color: rgba(255, 255, 255, 0.72);
}

.about-projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-image {
  min-width: 0;
  margin: 0;
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.7rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.about-image figcaption span:first-child {
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 700px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2rem;
  border-top: 1px solid var(--color-border);
}

.partner-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.partner-logo {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-muted);
  font-weight: 700;
}

.partner-logo img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.partner-copy {
  min-width: 0;
}

.partner-type {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.partner-card h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.6fr);
    gap: 2rem;
  }

  .about-route {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

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

@media (max-width: 640px) {
  .about-page {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  .about-layout {
    gap: 3.25rem;
  }

  .about-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
  }

  .about-hero-copy h1 {
    font-size: 2rem;
  }

  .about-logo-figure {
    width: min(100%, 15rem);
  }

  .about-gallery,
  .partners-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-route {
    padding: 1.5rem;
  }

  .about-route-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .about-route-list li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .about-route-list li > span {
    grid-row: span 2;
    margin: 0;
  }

  .about-projects-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-image figcaption {
    flex-direction: column;
    gap: 0.1rem;
  }

  .partner-card {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .partner-logo {
    width: 3rem;
    height: 3rem;
  }
}

.site-footer .footer-brand .logo {
  align-items: center;
  white-space: normal;
}

.site-footer .footer-brand .logo-img {
  width: 84px;
  height: 84px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.site-footer .footer-brand .logo-text {
  max-width: 14ch;
  white-space: normal;
}
