:root {
  --primary: #2d2b76;
  --accent: #ec6519;
  --accent-soft: #fff1ea;
  --text: #24264f;
  --muted: #666b8f;
  --line: #e8e8f4;
  --bg: #ffffff;
  --card: #ffffff;
  --shadow: 0 18px 60px rgba(45, 43, 118, .08);
  --shadow-soft: 0 10px 35px rgba(45, 43, 118, .06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
  --header-h: 92px;
  --shell-pad: clamp(16px, 2.4vw, 28px);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden
}

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

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

button,
input,
textarea {
  font: inherit
}

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

.section {
  padding: 96px 0;
  position: relative
}

.page-shell {
  padding-top: var(--header-h)
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(236, 101, 25, .08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase
}

.kicker-main-unique {
  background: rgb(255 255 255 / 65%);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent)
}

.section-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.04em
}

.section-text {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted)
}

.section-text-about {
  max-width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .25s ease;
  cursor: pointer;
  white-space: nowrap
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 34px rgba(236, 101, 25, .22)
}

.btn-primary:hover {
  box-shadow: 0 22px 42px rgba(236, 101, 25, .28)
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(45, 43, 118, .14)
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(45, 43, 118, .08)
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  /* background: var(--accent); */
  display: grid;
  place-items: center;
  /* box-shadow: 0 14px 32px rgba(236, 101, 25, .22); */
  overflow: hidden;
  padding: 7px
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.brand-meta {
  display: flex;
  align-items: center
}

.brand-meta img {
  height: 40px;
  width: auto;
  display: block;
  max-width: min(220px, 30vw)
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center
}

.nav a {
  font-size: 16px;
  font-weight: 700;
  color: rgba(45, 43, 118, .74);
  transition: color .2s ease
}

.nav a:hover,
.nav a.active {
  color: var(--accent)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(45, 43, 118, .12);
  background: #fff;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: .25s ease
}

.menu-toggle {
  position: relative
}

.menu-toggle span {
  position: absolute
}

.menu-toggle::before {
  position: absolute;
  transform: translateY(-6px)
}

.menu-toggle::after {
  position: absolute;
  transform: translateY(6px)
}

.menu-toggle.is-open span {
  opacity: 0
}

.menu-toggle.is-open::before {
  transform: rotate(45deg)
}

.menu-toggle.is-open::after {
  transform: rotate(-45deg)
}

.mobile-panel {
  position: fixed;
  inset: var(--header-h) 20px auto 20px;
  z-index: 999;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(45, 43, 118, .1);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: none
}

.mobile-panel.is-open {
  display: block
}

.mobile-panel nav {
  display: grid;
  gap: 12px
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--primary)
}

.mobile-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent)
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
  background: #f7f7fb
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .22) 45%, rgba(255, 255, 255, .62) 78%, rgba(255, 255, 255, .9) 100%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-h));
  height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-bottom: 46px
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal .8s ease 2s forwards
}

.hero-stack .btn {
  min-width: 190px;
  font-size: 16px;
  padding: 16px 30px
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.page-hero {
  padding: 104px 0 80px;
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(45, 43, 118, .05)
}

.page-head {
  max-width: 980px;
  margin-inline: auto;
  padding-inline: var(--shell-pad)
}

.page-section-spaced {
  padding-top: 52px
}

.detail-wrap {
  max-width: 980px;
  margin-inline: auto;
  padding-inline: var(--shell-pad)
}

.page-hero+.section {
  padding-top: 72px !important
}

.section-intro-center {
  text-align: center
}

.section-intro-center .section-text,
.section-intro-center .section-title {
  margin-inline: auto
}

.section-actions-below {
  display: flex;
  justify-content: center;
  margin-top: 34px
}

.grid-2,
.cards-3,
.cards-2,
.media-list,
.footer-top {
  display: grid;
  gap: 24px
}

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

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: .3s ease
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(236, 101, 25, .26)
}

.card h3 {
  margin: 18px 0 0;
  font-size: 29px;
  line-height: 1.15;
  color: var(--primary)
}

.card p {
  margin: 14px 0 14px 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted)
}

.card .actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(236, 101, 25, .18)
}

.soft-accent {
  background: linear-gradient(180deg, #fff, #fff8f4)
}

.feature-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.feature-box {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fafaff);
  border: 1px solid var(--line)
}

.feature-box strong {
  display: block;
  font-size: 20px;
  color: var(--primary)
}

.feature-box p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted)
}

.project-thumb,
.blog-thumb,
.service-thumb {
  height: 220px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 43, 118, .06);
  background: radial-gradient(circle at center, rgba(236, 101, 25, .24), transparent 34%), linear-gradient(135deg, rgba(45, 43, 118, .08), rgba(45, 43, 118, .16))
}

.project-thumb::after,
.blog-thumb::after,
.service-thumb::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .18));
  backdrop-filter: blur(6px)
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-thumb::after {
  display: none;
}

.link-accent {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px
}

.media-album {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px
}

.media-album img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 18px;
  object-fit: cover;
  background: #f7f7fb
}

.media-item h3 {
  margin: 0;
  font-size: 26px;
  color: var(--primary)
}

.media-item p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted)
}

.section-actions-center {
  display: flex;
  justify-content: center;
  margin-top: 30px
}

.contact-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px
}

.contact-panel-soft {
  background: linear-gradient(180deg, #fff, #fff8f4)
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 26px
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.contact-row:first-child {
  border-top: 0;
  padding-top: 0
}

.contact-label {
  min-width: 110px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary)
}

.contact-value {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted)
}

.form-box {
  display: grid;
  gap: 20px
}

.form-copy {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted)
}

.media-home-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: start
}

.media-stack {
  display: grid;
  gap: 18px
}

.media-stack .card {
  padding: 24px
}

.media-stack .media-album {
  margin-bottom: 16px
}

@media (max-width:1080px) {

  .media-home-grid,
  .contact-split {
    grid-template-columns: 1fr
  }
}

.detail-wrap {
  display: grid;
  gap: 30px
}

.detail-hero {
  height: 320px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(236, 101, 25, .24), transparent 34%), linear-gradient(135deg, rgba(45, 43, 118, .08), rgba(45, 43, 118, .16));
  border: 1px solid rgba(45, 43, 118, .06)
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent)
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  background: #fff;
  margin-top: 12px
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(45, 43, 118, .62);
  font-size: 14px
}

.footer-links,
.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  transition: .2s ease
}

.social-links a:hover {
  color: var(--accent);
  border-color: rgba(236, 101, 25, .24);
  transform: translateY(-2px)
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.hidden {
  display: none !important
}

@media (max-width:1080px) {

  .nav,
  .header-actions .btn {
    display: none
  }

  .menu-toggle {
    display: inline-flex
  }

  .cards-3,
  .cards-2,
  .grid-2 {
    grid-template-columns: 1fr
  }

  .section {
    padding: 78px 0
  }

  .hero-inner {
    padding-bottom: 44px
  }

  .section-intro-center-v2 {
  text-align: center;
  }

  .section-intro-center-v2 .section-text,
  .section-intro-center-v2 .section-title {
    margin-inline: auto
  }
}

@media (max-width:720px) {
  :root {
    --header-h: 84px;
    --shell-pad: 14px
  }

  .container {
    width: min(var(--container), calc(100% - 16px))
  }

  .page-hero {
    padding: 82px 0 56px
  }

  .page-head,
  .detail-wrap {
    padding-inline: var(--shell-pad)
  }

  .brand-meta img {
    height: 28px;
    max-width: 160px
  }

  .hero-stack .btn {
    min-width: 180px;
    font-size: 16px;
    padding: 16px 28px
  }

  .kicker {
    font-size: 11px;
    letter-spacing: .18em;
    padding: 9px 14px
  }

  .card,
  .feature-box {
    padding: 24px
  }

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


/* Team page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch
}

.team-card {
  height: 420px;
  perspective: 1200px
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .75s ease;
  transform-style: preserve-3d
}

.team-card:hover .team-card-inner {
  transform: rotateY(180deg)
}

.team-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backface-visibility: hidden;
  background: #fff
}

.team-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95)
}

.team-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 43, 118, 0) 42%, rgba(45, 43, 118, .55) 100%)
}

.team-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
  background: linear-gradient(180deg, #fff, #fff8f4);
  transform: rotateY(180deg)
}

.team-back h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  color: var(--primary)
}

.team-back p {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted)
}

@media (max-width:900px) {
  .team-grid {
    grid-template-columns: 1fr
  }

  .team-card {
    height: 380px
  }
}

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

.btn-unique {
  letter-spacing: 2px;
}

.article-project {
  display: flex;
  flex-direction: column;
}

.article-project-button {
  margin-top: auto !important;
}

@media (max-width: 549px) {
  .feature-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-label {
    min-width: 0;
  }

  .contact-value {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}


.team-card.is-flipped .team-card-inner {
  transform: rotateY(180deg);
}

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

@media (max-width: 500px) {
  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .team-card {
    cursor: pointer;
  }
}