@font-face {
  font-family: 'Montserrat Armenian';
  src: url('assets/fonts/MontserratArm-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Armenian';
  src: url('assets/fonts/MontserratArm-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Armenian';
  src: url('assets/fonts/MontserratArm-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Armenian';
  src: url('assets/fonts/MontserratArm-SemiBold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* real Google Fonts Montserrat (OFL-licensed), used for plain-English
   content where Figma specifies "Montserrat" rather than the Armenian
   variant — the Armenian font's Latin glyphs are drawn differently and
   look noticeably heavier for this content */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Bokonique is a proprietary font (Renderforest) with no freely licensed
   webfont source found — falls back to a similar humanist sans until a
   licensed font file is supplied. Drop files into assets/fonts/ and add
   an @font-face rule to use the real one. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: #212121;
  font-family: 'Montserrat Armenian', 'Montserrat', Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* opt-out of the site-wide "no scroll" rule for pages whose content is
   genuinely taller than one screen (e.g. a portfolio project's photo
   gallery) rather than a fixed single-screen nav grid */
body.scrollable-page {
  overflow: auto;
}

body.scrollable-page .page {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  max-width: 1920px;
  height: 100vh;
  margin: 0 auto;
  padding: 0 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}

body.drawer-open .page {
      transform: translateX(-298px);
}

/* the page itself shifts left to make room for the drawer, so the logo
   (a descendant of .page) gets an equal-and-opposite shift to stay put
   on screen instead of sliding with the rest of the content */
body.drawer-open .logo {
  transform: translateX(298px);
}

body.drawer-open .nav .contact-trigger,
body.drawer-open .nav .nav-lang {
  display: none;
}

body.drawer-open .header {
  padding-right: 32px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 122.67px;
  flex: 0 0 auto;
}

.logo {
  transition: transform 0.35s ease;
}

.logo img {
  height: 44px;
  width: auto;
  aspect-ratio: 173 / 44;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 26.67px;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.56px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
      text-transform: uppercase;
}

.nav-pill--filled {
  background: rgba(235, 235, 235, 0.09);
  backdrop-filter: blur(5px);
}

.nav-pill--filled:hover {
  background: rgba(235, 235, 235, 0.18);
}

.nav-lang {
  color: #ebebeb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 16px;
}

.nav-pill--active {
  background: #fdb72d;
      color: #212121;
}

.nav-pill--active:hover {
  background: #fdb72d;
}

.nav-pill--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.nav-pill--disabled:hover {
  background: rgba(235, 235, 235, 0.09);
}

/* Cards */
.cards {
  display: flex;
  gap: 10px;
  margin-top: 0;
  flex: 1;
  min-height: 0;
}

.card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 105.33px;
  overflow: hidden;
  display: block;
  background: #161616;
  text-decoration: none;
}

.card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card__tint--amber {
  background: rgba(253, 183, 45, 0.1);
}

.card__tint--red {
  background: rgba(214, 0, 0, 0.15);
}

.card__tint--green {
  background: rgba(113, 140, 117, 0.15);
}

.card__tint--dark {
  background: rgba(0, 0, 0, 0.15);
}

.card__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.card__icon-wrap {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 200px;
  max-width: 85%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}


.card__icon {
  display: none;
}

.card__icon--static {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__lottie {
  position: absolute;
  inset: 0;
  filter: brightness(0) invert(1);
}

.card__lottie svg {
  width: 100%;
  height: 100%;
}



/* Responsive */
@media (max-width: 1200px) {
  html, body {
    height: auto;
  }
  body {
    overflow: auto;
  }
  .page {
    height: auto;
  }
  .cards {
    flex-wrap: wrap;
    flex: none;
  }
  .card {
    flex: 1 1 calc(50% - 7.11px);
    height: auto;
    aspect-ratio: 334.48 / 695;
  }
}

@media (max-width: 640px) {

  
  html, body {
    height: auto;
  }
  body {
    overflow: auto;
  }
  .page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 14px 16px;
  }
  .header {
    height: 58px;
    flex-wrap: nowrap;
    padding: 14px 0;
  }
  .logo img {
    height: 20px;
    aspect-ratio: 85 / 20;
  }
  .nav {
    gap: 6px;
  }
  .nav-pill {
    height: 28px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .nav-lang {
    font-size: 10px;
    padding: 0 8px;
  }
  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    flex: none;
    margin: auto 0;
  }
  .card {
    aspect-ratio: 176 / 288;
    border-radius: 40px;
    height: auto;
    width: 100%;
  }
  .card__icon {
    width: 120px;
    max-width: 68%;
  }
}

/* Login page */

.login__icon:last-child {
    width: 18px;
    height: 18px;
}

.login {
  display: flex;
  gap: 18.67px;
  margin-top: 0;
  flex: 1;
  min-height: 0;
}

.login__form {
  flex: 0 0 725.33px;
  height: 100%;
  background: #1c1c1c;
  border-radius: 79px;
  padding: 52px 68px;
  display: flex;
  flex-direction: column;
}

.login__label {
  display: block;
  color: #fff;
  font-family: 'Bokonique', 'Segoe UI', system-ui, sans-serif;
  font-weight: 300;
  font-size: 18.67px;
  letter-spacing: 0.56px;
  margin-bottom: 13.33px;
}

.login__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  background: #2c2c2c;
  border-radius: 12px;
  padding: 0 15px;
  margin-bottom: 40px;
}

.login__icon {
  width: 24px;
  height: 24px;
  margin-right: 10.67px;
  flex-shrink: 0;
  opacity: 0.8;
}



.login__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.56px;
  font-family: 'Bokonique', 'Segoe UI', system-ui, sans-serif;
  font-weight: 300;
}

.login__input::placeholder {
  color: #7d7d7d;
}

.login__submit {
  align-self: flex-start;
    height: 40px;
    padding: 0 22px;
    border: none;
    border-radius: 20px;
    background: #fdb72d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.56px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 2px;
    transition: background 0.2s ease;
}

.login__submit:hover {
  background: #e5a41f;
}

.login__panel {
  flex: 1;
  min-width: 0;
  height: 100%;
  /* background: #1c1c1c; */
  border-radius: 79px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login__logos {
  position: relative;
  width: 75%;
  max-width: 914.67px;
  aspect-ratio: 686 / 615;
}

.login__logo-cell {
  position: absolute;
}

.login__logo--static {
  transition: opacity 0.25s ease;
}

.login__logo--lottie {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.login__logo-cell:hover .login__logo--static {
  opacity: 0;
}

.login__logo-cell:hover .login__logo--lottie {
  opacity: 1;
}

.login__logo-cell--tl {
  left: 0%;
  top: 0%;
  width: 43.63%;
}

.login__logo-cell--tr {
  left: 50.92%;
  top: 3.66%;
  width: 45.43%;
}

.login__logo-cell--bl {
  left: 0.75%;
  top: 50.38%;
  width: 43.31%;
}

.login__logo-cell--br {
  left: 47.26%;
  top: 49.67%;
  width: 52.74%;
}

.login__logo {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .login {
    flex-wrap: wrap;
    flex: none;
  }
  .login__form {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 544 / 694;
    padding: 53.33px;
  }
  .login__panel {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 810 / 694;
    padding: 53.33px;
  }
}

@media (max-width: 640px) {
  .login__form {
    padding: 28px;
    border-radius: 40px;
    flex-basis: auto;
    aspect-ratio: auto;
  }
  .login__label {
    font-size: 14px;
  }
  .login__field {
    height: 44px;
    margin-bottom: 16px;
  }
  .login__input {
    font-size: 14px;
  }
  .login__submit {
    height: 40px;
    font-size: 14px;
  }
  .login__panel {
    border-radius: 40px;
    padding: 24px;
    aspect-ratio: 1.3 / 1;
  }
}

/* Service page */
.service {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  min-height: 0;
}

.service__icon {
  position: relative;
  flex: 0 0 55%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service__icon-static {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service__icon--lottie {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.25s ease;
  overflow: hidden;
  contain: paint;
  /* purely decorative — the animation's raw svg geometry can briefly
     extend far beyond its cropped/clipped visual bounds mid-playback,
     which would otherwise intercept taps/clicks meant for content below */
  pointer-events: none;
}

.service__icon--lottie svg {
  width: 100%;
  height: 100%;
}

.service__content {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 56px;
}

.service__text {
  text-align: right;
  max-width: 644px;
}

.service__subtitle {
  color: #ffeac2;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service__title {
      color: #FFC85D;
    text-align: right;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 136%;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service__description {
  color: rgba(255, 255, 255, 0.87);
  font-size: 16px;
  line-height: 1.48;
  letter-spacing: 0.43px;
  margin-bottom: 24px;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 5.33px;
  color: #f7d38e;
  font-size: 18.67px;
  letter-spacing: 0.37px;
  text-decoration: none;
}

.service__link img {
  width: 32px;
  height: 32px;
}

.service__link:hover {
  text-decoration: underline;
}

.service__nav {
  position: relative;
  width: 350.67px;
  aspect-ratio: 263 / 236;
}

.service__nav-icon-cell {
  position: absolute;
  display: block;
}

.service__nav-icon-cell--tl {
  left: 0%;
  top: 0%;
  width: 43.63%;
}

.service__nav-icon-cell--tr {
  left: 50.92%;
  top: 3.66%;
  width: 45.43%;
}

.service__nav-icon-cell--bl {
  left: 0.75%;
  top: 50.38%;
  width: 43.31%;
}

.service__nav-icon-cell--br {
  left: 47.26%;
  top: 49.67%;
  width: 52.74%;
}

.service__nav-icon {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.25s ease;
}

.portfolio-filter .portfolio-filter__icon:nth-child(3){
  height: 35px;
}





.service__nav-icon--lottie {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service__nav-icon--lottie svg {
  width: 100%;
  height: 100%;
}

.service__nav-icon-cell:not(.service__nav-icon-cell--active):hover .service__nav-icon {
  opacity: 0;
}

.service__nav-icon-cell:not(.service__nav-icon-cell--active):hover .service__nav-icon--lottie {
  opacity: 1;
}

.service__nav-icon-cell--active .service__nav-icon {
  opacity: 0;
}

.service__nav-icon-cell--active .service__nav-icon--lottie {
  opacity: 1;
}

.service--landscaping .service__subtitle,
.service--landscaping .service__title,
.service--landscaping .service__link {
  color: #b0beb2;
}

.service--cleaning .service__subtitle {
  color: #fff;
}

.service--cleaning .service__title {
  color: #afc9de;
}

.service--cleaning .service__link {
  color: #d0dce7;
}

.service--security .service__subtitle,
.service--security .service__title,
.service--security .service__link {
  color: #fff;
}



@media (max-width: 1200px) {
  .service {
    flex-wrap: wrap;
    flex: none;
    height: auto;
    padding: 40px 0;
  }
  .service__icon {
    flex: 1 1 100%;
    height: 320px;
  }
  .service__content {
    flex: 1 1 100%;
    height: auto;
    align-items: center;
    text-align: center;
  }
  .service__text {
    text-align: center;
  }
}

@media (max-width: 640px) {

  .service__nav-icon-cell:nth-child(3) .service__nav-icon {
    height: 55px;
  }

  

  .service {
    flex: 1;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 8px 0 12px;
    gap: 12px;
  }
  .service__icon {
    order: 2;
    flex: 0 0 auto;
    height: auto;
    width: 66%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    margin: auto 0;
    overflow: hidden;
    /* the lottie svg forces a GPU compositing layer (translate3d), which
       can visually escape a plain overflow:hidden ancestor in Chromium —
       paint containment clips to the border box regardless of any
       descendant's own compositing/transform */
    contain: paint;
  }
  .service__content {
    display: contents;
  }
  .service__text {
    order: 1;
    text-align: right;
    max-width: 100%;
  }
  .service__subtitle {
    font-size: 13px;
  }
  .service__title {
    font-size: 21px;
  }
  .service__description {
    font-size: 11px;
    line-height: 1.35;
  }
  .service__link {
    font-size: 12px;
  }
  .service__link img {
    width: 24px;
    height: 24px;
  }
  .service__nav {
    order: 3;
    position: static;
    width: auto;
    aspect-ratio: auto;
    display: flex;
    justify-content: center;
    gap: 26px;
  }
  .service__nav-icon-cell {
    position: relative;
    width: 25%;
    left: 0%;
    top: 0%;
  }

  .service__nav-icon {
        height: 70px;
  }

  .service--landscaping .service__subtitle {
    color: #e9ffec;
  }

  .service--landscaping .service__title {
    color: #708c75;
  }
}

/* Contact drawer — slides in from the right; .page shifts left via transform (see above), not resizing */
body {
  overflow-x: hidden;
}

.contact-toggle-slot {
  position: static;
}

.contact-toggle {
  position: fixed;
  top: 42px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 298px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 26.67px 0 0 26.67px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  /* transition: opacity 0.05s ease; */
}

.contact-toggle.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-toggle img {
  width: 29px;
    height: 26px;
  /* transition: transform 0.35s ease; */
}

.contact-toggle.is-open img {
  /* transform: rotate(180deg); */
}

.contact-toggle__icon--mobile {
  display: none;
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 298px;
  max-width: 90vw;
  height: 100vh;
  background: #212121;
  border-left: 1px solid #fff;
  z-index: 19;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.contact-drawer.is-open {
  transform: translateX(0);
}

.contact-drawer__inner {
  width: 100%;
  padding: 92px 30px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-drawer__divider {
  border: none;
  border-top: 0.5px solid rgb(255 255 255);
  margin: 0;
  flex-shrink: 0;
}

.contact-drawer__lang {
  position: absolute;
  top: 52px;
  right: 53.33px;
  color: #ebebeb;
  font-size: 18.67px;
  font-weight: 600;
  line-height: 1;
}

.contact-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-drawer__list a{
  display: flex;
}

.contact-drawer__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-drawer__list img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-drawer__list span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}

.contact-drawer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-drawer__social img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-drawer__social > :last-child img,
.contact-drawer__social > img:last-child {
  width: 25px;
  height: 25px;
}



.contact-drawer__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-drawer__form input,
.contact-drawer__form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  height: 40px;
  color: #fff;
  font-size: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.contact-drawer__form input::placeholder,
.contact-drawer__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-drawer__form input:focus,
.contact-drawer__form textarea:focus {
  outline: none;
  border-color: #fff;
  background: transparent;
}

.contact-drawer__form textarea {
  height: 92px;
  padding-top: 11px;
  resize: none;
}

.contact-drawer__submit {
  align-self: stretch;
  margin-top: 12px;
  height: 36px;
  padding: 0 20px;
  background: #fff;
  color: #212121;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}

.contact-drawer__map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 232 / 186;
}

.contact-drawer__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-drawer__map-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68.1%;
  height: 19.4%;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #212121;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact-drawer__logos {
  display: none;
}

.contact-drawer__mobile-header {
  display: none;
}

.contact-drawer__row {
  display: contents;
}

@media (max-width: 640px) {
  .contact-drawer {
    top: 58px;
    width: 100vw;
    max-width: 100vw;
    height: 0;
    overflow-y: hidden;
    transform: none;
    transition: height 0.35s ease;
  }
  .contact-drawer.is-open {
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    overflow-y: auto;
  }
  .contact-toggle {
    top: 53px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 50%;
  }
  .contact-toggle.is-open {
    right: 16px;
  }
  .contact-toggle__icon--desktop {
    display: none;
  }
  .contact-toggle__icon--mobile {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(90deg);
  }
  .contact-toggle.is-open .contact-toggle__icon--mobile {
    transform: rotate(-90deg);
  }
  .contact-drawer__mobile-header {
    display: none;
  }
  .contact-drawer__lang {
    display: none;
  }
  .contact-drawer__inner {
    width: 100%;
    padding: 16px 16px 0;
    gap: 22px;
    border-top: 0.5px solid #fff;
  }
  .contact-drawer__list {
    gap: 9px;
  }
  .contact-drawer__list img {
    width: 26px;
    height: 26px;
  }
  .contact-drawer__list span {
    font-size: 13px;
  }
  .contact-drawer__social {
    gap: 10px;
  }
  .contact-drawer__social img {
    width: 26px;
    height: 26px;
  }
  .contact-drawer__row {
    display: flex;
    gap: 8px;
  }
  .contact-drawer__row input {
    flex: 1;
    min-width: 0;
  }
  .contact-drawer__form {
    gap: 10px;
  }
  .contact-drawer__form input,
  .contact-drawer__form textarea {
    height: 32px;
  }
  .contact-drawer__form textarea {
    height: 70px;
    padding-top: 8px;
  }
  .contact-drawer__submit {
    height: 36px;
    border-radius: 20px;
    margin-top: 10px;
  }
  .contact-drawer__map-wrap {
    aspect-ratio: auto;
    height: 190px;
    margin: 0 -16px;
    width: auto;
  }
  body.drawer-open {
    overflow: hidden;
  }
  body.drawer-open .page {
    transform: none;
  }
  body.drawer-open .logo {
    transform: none;
  }
  body.drawer-open .nav .nav-lang {
    display: inline;
  }
  body.drawer-open .header {
    padding-right: 0;
  }
  .contact-drawer {
    border-left: none;
  }
  
  .card__icon-wrap {
    width: 100px;
  }
}

/* Portfolio page */
.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding-bottom: 12px;
  gap: 40px;
  overflow-y: auto;
}

.portfolio-filters {
  display: flex;
  gap: 22.67px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-filter {
  display: flex;
  align-items: center;
    gap: 4px;
    height: 42px;
  padding: 13.33px 24px 13.33px 13.33px;
  border-radius: 29.33px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
  font-family: 'Montserrat Armenian', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.portfolio-filter--active {
  background: #fff;
  color: #212121;
}

.portfolio-filter__icon {
  width: 42.67px;
  height: 42.67px;
  padding: 10px 0;
    padding-right: 0;
      object-fit: contain;
  flex-shrink: 0;
}

.portfolio-slider {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  margin: auto 0;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  margin-top: 0;
}

.portfolio-slider--dragging {
  cursor: grabbing;
}

.portfolio-slider img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.portfolio-slider__track {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  gap: 54px;
  transition: transform 0.4s ease;
}

.portfolio-slider__track > .portfolio-grid {
  flex: 0 0 100%;
  width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 260px);
  gap: 36px 54px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.portfolio-card__image {
  width: 260px;
  height: 186px;
  border-radius: 53.33px;
  overflow: hidden;
  background: #d9d9d9;
}

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

.portfolio-card__title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.43px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-card__subtitle {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.37px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-pagination__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(217, 217, 217, 0.28);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.portfolio-pagination__dot--active {
  background: #d9d9d9;
}

@media (max-width: 1200px) {
  .portfolio {
    padding-bottom: 32px;
    gap: 24px;
  }
  .portfolio-filters {
    gap: 17px;
  }
  .portfolio-filter {
    height: 42px;
    padding: 10px 18px 10px 10px;
    border-radius: 22px;
    font-size: 14px;
    letter-spacing: 0.42px;
    gap: 4px;
  }
  .portfolio-filter__icon {
    width: 32px;
    height: 32px;
  }
  .portfolio-slider__track {
    gap: 12px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 12px;
    max-width: 1380px;
  }
  .portfolio-card {
    gap: 6px;
  }
  .portfolio-card__image {
    width: 100%;
    height: 130px;
    border-radius: 40px;
  }
  .portfolio-card__title {
    font-size: 16px;
    letter-spacing: 0.32px;
  }
  .portfolio-card__subtitle {
    font-size: 14px;
    letter-spacing: 0.28px;
  }
  .portfolio-pagination {
    gap: 12px;
  }
  .portfolio-pagination__dot {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 640px) {
  .portfolio {
    padding-bottom: 24px;
    gap: 16px;
  }
  .portfolio-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .portfolio-filter {
    height: 34px;
    padding: 0 10px;
    border-radius: 17px;
    /* background: #2a2a2a; */
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .portfolio-filter__icon {
    width: 24px;
    height: 24px;
    padding: 0;
  }
  .portfolio-slider__track {
    gap: 9px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 9px;
    width: 100%;
  }
  .portfolio-card {
    gap: 4px;
  }
  .portfolio-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 176 / 125.908;
    border-radius: 25px;
  }
  .portfolio-card__title {
    font-size: 12px;
  }
  .portfolio-card__subtitle {
    font-size: 8px;
  }
}

/* Portfolio detail page */
.portfolio-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.portfolio-detail__hero {
  position: relative;
  width: 100%;
}

.portfolio-detail__hero > img {
  display: block;
  width: 100%;
  height: 290.67px;
  object-fit: cover;
  border-radius: 53.33px;
  background: #d9d9d9;
}

.portfolio-detail__badge {
  position: absolute;
  right: 28px;
  bottom: -16px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-detail__badge img {
  width: 56px;
  height: auto;
  display: block;
}

.portfolio-detail__intro {
  display: flex;
  justify-content: space-between;
  gap: 45.33px;
  margin-top: 32px;
}

.portfolio-detail__intro-col {
  max-width: 738.67px;
}

.portfolio-detail__intro-col--stat {
  text-align: right;
}

.portfolio-detail__title {
  color: #fff;
  font-family: 'Montserrat Armenian', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.43px;
  text-transform: capitalize;
  margin-bottom: 13.33px;
}

.portfolio-detail__subtitle {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.portfolio-detail__description {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.42px;
  opacity: 0.9;
}

.portfolio-detail__stat {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.48px;
  text-transform: capitalize;
  margin-bottom: 2.67px;
}

.portfolio-detail__stat-count {
  margin-right: 8px;
}

.portfolio-detail__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 21.33px;
  margin-top: 61.33px;
}

.portfolio-detail__gallery-item {
  aspect-ratio: 676 / 346;
  border-radius: 53.33px;
  overflow: hidden;
  background: #d9d9d9;
}

.portfolio-detail__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-detail__gallery-item--mobile-only {
  display: none;
}

.portfolio-detail__related {
  margin-top: 160px;
}

.portfolio-detail__related-title {
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 1.28px;
  margin-bottom: 42.67px;
}

.portfolio-detail__related-strip {
  display: flex;
  gap: 18.67px;
  background: rgba(217, 217, 217, 0.04);
  padding: 42.67px 50.67px;
}

.portfolio-detail__related-item {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 330 / 200;
  border-radius: 53.33px;
  overflow: hidden;
  position: relative;
  background: #d9d9d9;
}

.portfolio-detail__related-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.portfolio-detail__related-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1200px) {
  .portfolio-detail__intro {
    flex-direction: column;
    gap: 24px;
  }
  .portfolio-detail__intro-col,
  .portfolio-detail__intro-col--stat {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .portfolio-detail__hero > img {
    height: 108px;
    border-radius: 25px;
  }
  .portfolio-detail__badge {
    width: 44px;
    height: 44px;
    right: 6px;
    bottom: -15px;
  }
  .portfolio-detail__badge img {
    width: 30.67px;
  }
  .portfolio-detail__intro {
    margin-top: 12px;
    gap: 10px;
  }
  .portfolio-detail__intro-col--stat {
    display: none;
  }
  .portfolio-detail__title {
    font-size: 16px;
    letter-spacing: 0.32px;
    margin-bottom: 10px;
  }
  .portfolio-detail__subtitle {
    font-size: 12px;
    letter-spacing: 0.24px;
    margin-bottom: 6px;
  }
  .portfolio-detail__description {
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .portfolio-detail__gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .portfolio-detail__gallery-item {
    aspect-ratio: 361 / 185;
    border-radius: 25px;
  }
  .portfolio-detail__gallery-item--desktop-only {
    display: none;
  }
  .portfolio-detail__gallery-item--mobile-only {
    display: block;
  }
  .portfolio-detail__related {
    display: none;
  }
}
