@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-tr-teal: #00b39a;
  --color-tr-teal-dark: #009882;
  --color-tr-charcoal: #1f2933;
  --color-tr-gray: #666666;
  --color-tr-light-gray: #d9d9d9;
  --color-tr-off-white: #f8fafb;
  --color-tr-white: #ffffff;
  --color-dark-section: #15232b;
  --color-darker: #0f171c;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-fa: "Vazirmatn", Tahoma, sans-serif;
  --container: 1120px;
  --space-section: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-fa);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-tr-gray);
  background: var(--color-tr-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-tr-teal);
  text-decoration: none;
}

a:hover {
  color: var(--color-tr-teal-dark);
}

h1,
h2,
h3 {
  color: var(--color-tr-charcoal);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ——— Top bar ——— */
.topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-tr-light-gray);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.topbar__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar__brand img {
  height: 46px;
  width: auto;
  display: block;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
}

.topbar__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-tr-charcoal);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.topbar__nav a:hover {
  color: var(--color-tr-teal);
  border-bottom-color: var(--color-tr-teal);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.topbar__phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-tr-charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.topbar__phone:hover {
  color: var(--color-tr-teal);
}

.topbar__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-tr-teal);
  border: 1px solid var(--color-tr-teal);
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.topbar__cta:hover {
  background: var(--color-tr-teal-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 179, 154, 0.25);
}

@media (max-width: 900px) {
  .topbar__nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar__brand img {
    height: 40px;
  }

  .topbar__phone {
    display: none;
  }
}

/* ——— Section title ——— */
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-tr-teal),
    transparent
  );
  border-radius: 2px;
}

/* ——— About ——— */
.about {
  background: var(--color-tr-off-white);
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.about__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-tr-teal);
}

.about__title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 0.85rem;
}

.about__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--color-tr-teal);
}

.about__text {
  margin: 0 0 1.75rem;
  text-align: justify;
  font-size: 0.98rem;
}

.about__media {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 51, 0.06);
  box-shadow: 0 14px 40px rgba(31, 41, 51, 0.12);
  background: #e8eef0;
}

.about__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-tr-light-gray);
}

.value {
  text-align: center;
  padding-top: 1.1rem;
}

.value__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.45rem;
  border: 1px solid rgba(0, 179, 154, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 179, 154, 0.06);
}

.value__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-tr-teal);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-tr-charcoal);
}

/* ——— Services ——— */
.services {
  padding: var(--space-section) 0;
  background: var(--color-tr-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 10px;
  transition: background 0.25s;
}

.service:hover {
  background: var(--color-tr-off-white);
}

.service__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(0, 179, 154, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.service__icon::before,
.service__icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-tr-teal);
  opacity: 0.65;
}

.service__icon::before {
  top: 2px;
  inset-inline-end: 12px;
}

.service__icon::after {
  bottom: 8px;
  inset-inline-start: 6px;
}

.service__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-tr-teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.service p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ——— Stats / Why ——— */
.why {
  background: var(--color-dark-section);
  padding: var(--space-section) 0;
  color: #e8eef2;
}

.why .section-title {
  color: #fff;
}

.why .section-title::after {
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-tr-teal),
    transparent
  );
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--color-tr-teal);
}

.stat__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat__value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-tr-teal);
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.stat__value.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Projects ——— */
.projects {
  padding: var(--space-section) 0;
  background: var(--color-tr-white);
}

.projects .container {
  width: min(100% - 2rem, 1200px);
}

.projects .section-title {
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 1rem;
  /* Keep left/right arrows on physical sides (page is RTL) */
  direction: ltr;
}

/* Nav children join the carousel grid on desktop */
.carousel__nav {
  display: contents;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-width: 0;
  direction: ltr;
  grid-column: 2;
  grid-row: 1;
}

.carousel__btn[data-carousel-left] {
  grid-column: 1;
  grid-row: 1;
}

.carousel__btn[data-carousel-right] {
  grid-column: 3;
  grid-row: 1;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  position: relative;
  flex: 0 0 calc((100% - 3.75rem) / 4);
  width: calc((100% - 3.75rem) / 4);
  aspect-ratio: 3 / 4;
  min-height: 280px;
  height: auto;
  margin: 0;
  scroll-snap-align: start;
  border-radius: 6px;
  overflow: hidden;
  background: #e8eef0;
}

.carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.carousel__slide:hover img {
  transform: scale(1.03);
}

.carousel__btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-tr-charcoal);
  color: var(--color-tr-white);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.carousel__btn:hover {
  background: var(--color-tr-teal);
}

.carousel__btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

/* ——— Video ——— */
.video-section {
  background: var(--color-dark-section);
  padding: var(--space-section) 0;
  color: #e8eef2;
}

.video-section__grid {
  display: grid;
  /* RTL: copy (right) | poster (left) — ~40% / 60% */
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.video-section__copy h2 {
  color: var(--color-tr-white);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 1rem;
}

.video-section__copy > p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  max-width: 28rem;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(0, 179, 154, 0.35);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #0d151a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.video-poster:hover {
  border-color: rgba(0, 179, 154, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.video-poster__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.78);
  transition:
    filter 0.35s,
    transform 0.45s;
}

.video-poster:hover .video-poster__bg {
  filter: saturate(0.95) brightness(0.88);
  transform: scale(1.03);
}

.video-poster__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    70% 70% at 50% 50%,
    rgba(8, 14, 18, 0.12) 0%,
    rgba(8, 14, 18, 0.5) 100%
  );
  pointer-events: none;
}

/* Subtle corner accent — professional, not neon HUD */
.video-poster__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  z-index: 2;
  pointer-events: none;
  border-top: 2px solid var(--color-tr-teal);
  border-left: 2px solid var(--color-tr-teal);
  border-top-left-radius: 10px;
  opacity: 0.9;
}

.video-poster__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-poster__play-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 28, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.video-poster:hover .video-poster__play-circle {
  transform: scale(1.06);
  background: rgba(0, 179, 154, 0.55);
  border-color: #fff;
}

.video-poster__play-circle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .video-poster:hover,
  .video-poster:hover .video-poster__play-circle,
  .video-poster:hover .video-poster__bg {
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.btn--video {
  gap: 0.65rem;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.3;
  color: var(--color-tr-teal);
  background: transparent;
  border: 1.5px solid var(--color-tr-teal);
  box-shadow: none;
  text-shadow: none;
}

.btn--video:hover {
  color: #fff;
  background: var(--color-tr-teal);
  border-color: var(--color-tr-teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 179, 154, 0.25);
}

.btn--video:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn__play {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: inherit;
}

.btn__play svg {
  width: 28px;
  height: 28px;
  display: block;
}

.btn__play circle {
  fill: rgba(0, 179, 154, 0.08);
  transition: fill 0.25s;
}

.btn--video:hover .btn__play circle {
  fill: rgba(255, 255, 255, 0.15);
}

.btn__play path {
  transform: translateX(0.4px);
}

.video-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  min-height: 1.4em;
}

/* ——— Downloads ——— */
.downloads {
  padding: var(--space-section) 0;
  background: var(--color-tr-white);
}

.downloads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--color-tr-light-gray);
  border-radius: var(--radius-lg);
  background: var(--color-tr-off-white);
  color: var(--color-tr-charcoal);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  text-align: center;
}

.download-card:not(.is-disabled):hover {
  border-color: var(--color-tr-teal);
  box-shadow: 0 8px 24px rgba(0, 179, 154, 0.1);
  color: var(--color-tr-charcoal);
}

.download-card.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.download-card__icon {
  width: 52px;
  height: 52px;
  color: var(--color-tr-teal);
}

.download-card__icon svg {
  width: 100%;
  height: 100%;
}

.download-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.download-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-tr-teal);
  border: 1px solid rgba(0, 179, 154, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.download-card__soon {
  font-size: 0.8rem;
  color: var(--color-tr-gray);
}

/* ——— Footer / Contact ——— */
.contact {
  background: var(--color-dark-section);
  color: rgba(255, 255, 255, 0.88);
  padding: var(--space-section) 0 0;
}

.contact__title {
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.35rem;
  min-height: 10.5rem;
  padding: 1.5rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.contact__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.45rem;
  color: var(--color-tr-teal);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 179, 154, 0.35);
  background: rgba(0, 179, 154, 0.08);
}

.contact__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.contact__link,
.contact__copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.contact__link {
  direction: ltr;
  unicode-bidi: isolate;
}

.contact__link:hover {
  color: var(--color-tr-teal);
}

.contact__copy--muted {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.contact__bar strong {
  color: var(--color-tr-teal);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact__bar span {
  color: rgba(255, 255, 255, 0.5);
}

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.modal__dialog {
  position: relative;
  width: min(100%, 860px);
  background: #0d151a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.modal__dialog video {
  width: 100%;
  display: block;
  max-height: 80vh;
  background: #000;
}

.modal__empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

body.modal-open {
  overflow: hidden;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stat__value {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .carousel__slide img,
  .video-poster__play-circle {
    transition: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .carousel__slide {
    flex-basis: calc((100% - 2.5rem) / 3);
    width: calc((100% - 2.5rem) / 3);
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 3.25rem;
  }

  .about__grid,
  .video-section__grid {
    grid-template-columns: 1fr;
  }

  .video-section__grid .video-poster {
    order: -1;
  }

  .video-section__copy > p {
    max-width: none;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .downloads__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact__card {
    min-height: 0;
  }

  .contact__bar {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile: one full-width slide; arrows centered below (no side squeeze) */
  .carousel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .carousel__track {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    gap: 0.75rem;
  }

  .carousel__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
  }

  .carousel__btn[data-carousel-left],
  .carousel__btn[data-carousel-right] {
    grid-column: auto;
    grid-row: auto;
  }

  .carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: min(420px, 58vh);
    scroll-snap-align: center;
  }

  .carousel__btn {
    width: 40px;
    height: 40px;
  }

  .carousel__btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .carousel__slide {
    aspect-ratio: 3 / 4;
    max-height: min(380px, 55vh);
  }
}
