/* ====================================
HERO
==================================== */

.about-hero {
  padding: 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: auto 920px;
  gap: 120px;
}

.hero-label {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -2%;
  color: #F25E35;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-title {
  font-size: 55px;
  line-height: 1.22;
  font-weight: 400;
  margin-bottom: 34px;
  letter-spacing: -2%;
}

.hero-text {
  max-width: 470px;
  color: #555;
  line-height: 1.22;
  margin-bottom: 38px;
  font-size: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid #f0b3a1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
  color: #F25E35;
  font-weight: 600;
  font-size: 18px;
}

.hero-btn:hover {
  background: #F25E35;
  color: #fff;
}

/* ====================================
CAROUSEL
==================================== */

.carousel-section {
  position: relative;
  width: 100%;
  height: min(760px, 90vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-carousel {
  position: relative;
  width: min(100%, 1400px);
  height: 100%;
  overflow: hidden;
}

/* CARD */

.about-slide {
  position: absolute;
  top: 50%;
  left: 50%;

  width: min(408px, 90vw);
  height: auto;
  aspect-ratio: 4 / 7;

  border-radius: 30px;
  background: #ffffff;

  /* border:1px solid rgba(0,0,0,.06); */



  overflow: hidden;

  transition:
    transform .9s cubic-bezier(.19, 1, .22, 1),
    opacity .9s cubic-bezier(.19, 1, .22, 1),
    filter .9s;

  user-select: none;
}

.about-slide.hidden {
  opacity: 0;
  pointer-events: none;

  transform:
    translate(-50%, -50%) scale(.5);

  z-index: 0;
}

/* IMAGE */

.card-image {
  width: 100%;
  aspect-ratio: 4/6;
  overflow: hidden;
  box-shadow: 0 6px 7px #00000027;
  border-radius: 30px;
  transition: 0.3s;
}

.card-image img {
  width: 100%;
  aspect-ratio: 4/6;
  object-fit: cover;
  display: block;
}

/* INFO */

.card-info {
  padding: 30px 50px 0 50px;
}

.card-number {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #ff6b3d;
}

.card-info h3 {
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin-bottom: 10px;
}

.card-info .card-discription {
  opacity: 0;
  font-size: 16px;
  font-weight: 300;
}

/* POSITIONS */

.about-slide.center {
  transform:
    translate(-50%, -50%) scale(1);

  z-index: 10;
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 0 21px #ff896869;
}

.about-slide.center:hover .card-image {
  aspect-ratio: 4/5.2;
}

.about-slide.center:hover .card-info .card-discription {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.about-slide.left-1 {
  transform:
    translate(-108%, -50%) scale(.7);

  z-index: 7;
  opacity: .7;
  filter: blur(1px);
}

.about-slide.right-1 {
  transform:
    translate(8%, -50%) scale(.7);

  z-index: 7;
  opacity: .7;
  filter: blur(1px);
}

.about-slide.left-2 {
  transform:
    translate(-138%, -50%) scale(.5);

  z-index: 4;
  opacity: .5;
  filter: blur(2px);
}

.about-slide.right-2 {
  transform:
    translate(38%, -50%) scale(.5);

  z-index: 4;
  opacity: .5;
  filter: blur(2px);
}

/* ARROWS */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 70px;
  height: 70px;

  border: none;
  border-radius: 10px;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, .08);

  cursor: pointer;
  z-index: 50;

  transition: .3s;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 21px #ff896869;
}

.carousel-arrow:hover svg path {
  fill: #F25E35;
}


.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* ====================================
PROCESS
==================================== */

.process {
  padding: 120px 0;
  background: #f5f5f5;
  border-top: 1px solid #cfcfcf;
}

.process__container {
  max-width: 1280px;
  padding: 0 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 33px;
}

.process__item {
  height: 200px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;

  overflow: hidden;
  padding-left: 45px;
}

.process__left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
}

.process__number {
  font-size: 64px;
  line-height: 1.22;
  font-weight: 400;
  color: #f15a29;
  min-width: 84px;
}

.process__content {
  position: relative;
  padding-left: 34px;
  max-width: 400px;
}

.process__content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: #d9d9d9;
}

.process__content h3 {
  font-size: 24px;
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  color: #24262A;
}

.process__content p {
  font-size: 14px;
  line-height: 1.22;
  color: #7d7d7d;
  max-width: 90%;
}

.process__image {
  width: 58%;
  height: 100%;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
}

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

/* ====================================
ABOUT TEXT
==================================== */

.about-section {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
  padding: 120px 0;
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 120px;
}

.about-decor {
  position: absolute;
  left: 50%;
  bottom: 0;

  transform: translateX(-50%);

  width: 100%;

  z-index: 1;
  pointer-events: none;
}

.about-decor svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-design-label {
  display: inline-block;
  margin-bottom: 40px;

  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f15a24;
}

.about-title {
  margin: 0;

  font-size: 96px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000;
}

.about-right {
  padding-top: 12px;
}

.about-role,
.about-sign {
  display: inline-block;

  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: #111;
}

.about-text {
  margin: 42px 0 56px;
}

.about-text p {
  margin: 0 0 34px;

  font-size: 24px;
  line-height: 1.22;
  font-weight: 400;
  color: #777;
}

/* ====================================
1024
==================================== */

@media (max-width: 1024px) {

  /* HERO */

  .about-hero {
    padding: 50px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 520px;
    gap: 50px;
    align-items: center;
  }

  .hero-label {
    font-size: 12px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 24px;
    max-width: 520px;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 420px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-btn {
    padding: 10px 15px;
    font-size: 12px;
    height: 46px;
  }

  /* CAROUSEL */

  .carousel-section {
    height: min(700px, 75vh);
  }

  .about-slide {
    width: min(320px, 32vw);
    border-radius: 24px;
  }

  .card-image {
    border-radius: 24px;
    aspect-ratio: 4/5.5;
  }

  .about-slide.center:hover .card-image {
    aspect-ratio: 4/5;
  }

  .card-info {
    padding: 25px 25px 0;
  }

  .card-number {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .card-info h3 {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .card-info .card-discription {
    font-size: 12px;
    line-height: 1.2;
  }

  .about-slide.left-1 {
    transform: translate(-95%, -50%) scale(.72);
  }

  .about-slide.right-1 {
    transform: translate(-5%, -50%) scale(.72);
  }

  .about-slide.left-2 {
    transform: translate(-120%, -50%) scale(.55);
  }

  .about-slide.right-2 {
    transform: translate(20%, -50%) scale(.55);
  }

  /* PROCESS */

  .process {
    padding: 50px 0;
  }

  .process__container {
    gap: 24px;
  }

  .process__item {
    height: 170px;
    padding-left: 24px;
  }

  .process__left {
    gap: 18px;
  }

  .process__number {
    font-size: 20px;
    min-width: 45px;
  }

  .process__content {
    padding-left: 24px;
    max-width: 320px;
  }

  .process__content h3 {
    font-size: 18px;
    max-width: 260px;
  }

  .process__content p {
    font-size: 12px;
    max-width: 100%;
  }

  .process__image {
    width: 48%;
  }

  /* ABOUT */

  .about-section {
    padding: 50px 0;
  }

  .about-container {
    grid-template-columns: 1fr 360px;
    gap: 50px;
    padding: 0 24px;
  }

  .about-design-label {
    margin-bottom: 50px;
    font-size: 20px;
  }

  .about-title {
    font-size: 56px;
    max-width: 700px;
  }

  .about-role,
  .about-sign {
    font-size: 20px;
  }

  .about-text {
    margin: 50px 0;
  }

  .about-text p {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .about-decor svg {
    width: 140%;
  }
}

/* ====================================
768
==================================== */

@media (max-width: 768px) {

  /* HERO */

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
  }

  /* CAROUSEL */

  .carousel-section {
    height: 520px;
  }

  .about-slide {
    width: min(260px, 48vw);
  }

  .about-slide.left-1 {
    transform: translate(-88%, -50%) scale(.68);
  }

  .about-slide.right-1 {
    transform: translate(-12%, -50%) scale(.68);
  }

  .about-slide.left-2 {
    transform: translate(-108%, -50%) scale(.48);
  }

  .about-slide.right-2 {
    transform: translate(8%, -50%) scale(.48);
  }

  /* PROCESS */

  .process__item {
    height: auto;
    position: relative;
    padding-left: 0;
  }

  .process__left {
    align-items: flex-start;
    height: 100%;
    position: relative;
    z-index: 10;
    border-radius: 0 999px 999px 0;
    background: white;
    padding: 24px 0;
  }

  .process__number {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
  }

  .process__content {
    margin-left: 78px;
    max-width: 55vw;
    padding: 0 24px;
  }

  .process__content h3 {
    max-width: 100%;
  }

  .process__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    width: 46%;
    height: 100%;
  }

  /* ABOUT */

  .about-container {
    display: flex;
    flex-direction: column;
  }

  .about-title {
    font-size: 48px;
  }

  .about-decor svg {
    width: 180%;
  }
}

@media (max-width: 430px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 50px 0;
  }

  .hero-label {
    font-size: 12px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-btn {
    padding: 10px 15px;
    font-size: 12px;
  }

  .about-hero {
    padding: 50px 0;
  }

  /* ====================================
CAROUSEL
==================================== */

  .carousel-section {
    height: min(100vh, 430px);
  }

  .about-carousel {
    width: min(100%, 430px);
  }

  /* CARD */

  .about-slide {
    width: min(408px, 55vw);
  }

  /* INFO */

  .card-info {
    padding: 25px 25px 0;
  }

  .card-number {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .card-info h3 {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .card-info .card-discription {
    font-size: 12px;
    line-height: .5;
  }

  .card-image {
    aspect-ratio: 4/5.5;
  }

  .about-slide.center:hover .card-image {
    aspect-ratio: 4/4.3;
  }

  .carousel-arrow {
    width: 70px;
    height: 70px;
  }


  .process {
    padding: 50px 0;
  }

  .process__item {
    padding-left: 0;
    height: auto;
    position: relative;
  }


  .process__content h3 {
    font-size: 18px;
  }

  .process__left {
    padding: 24px 0;
    display: flex;
    align-items: flex-start;
    height: 100%;
    position: relative;
    z-index: 10;
    border-radius: 0 999px 999px 0;
    background: white;
  }

  .process__number {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    font-size: 20px;
    min-width: 45px;
  }

  .process__content {
    margin-left: 78px;
    padding: 0 24px;
    max-width: 60vw;
  }

  .process__content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #d9d9d9;
  }

  .process__content h3 {
    max-width: 40vw;
  }

  .process__content p {
    font-size: 12px;
    display: block;
  }

  .process__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    width: 50%;
    height: 100%
  }

  .about-container {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .about-section {
    padding: 50px 0;
  }

  .about-design-label {
    margin-bottom: 50px;
    font-size: 20px;
  }

  .about-title {
    font-size: 36px;
  }

  .about-role,
  .about-sign {
    font-size: 20px;
  }

  .about-text {
    margin: 50px 0;
  }

  .about-text p {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .about-decor {
    position: absolute;
    left: 0;
    bottom: 0;

    transform: translateX(0);
  }

  .about-decor svg {
    width: 225%;
    height: auto;
    display: block;
  }
}