:root {
  --black: #131313;
  --white: #E7E2D6;
  --primary: #20113C;
  --secondary: #540C29;
}

body {
  background: linear-gradient(172.29deg, #131313 15.72%, #20113C 68.5%);
  font-family: "DM Sans", system-ui, sans-serif;
  color: #fff;
}


header {
  align-items: center;
  background-color: var(--black);
  display: flex;
  height: 152px;
  justify-content: space-between;
  padding: 45px 156px 45px 44px;
  width: 100%;
}

header ul {
  display: flex;
  list-style: none;
  gap: 67px;
}

header a {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  height: 810px;
  padding: 78px 56px 24px 79px;
  position: relative;
}

.hero::before {
  background-image: url("assets/images/hero-background.png");
  content: '';
  height: 100%;
  left: 0;
  opacity: 0.32;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.hero__content-container {
  background: linear-gradient(124.42deg, rgba(0, 0, 0, 0.648) 5.12%, rgba(0, 0, 0, 0.1215) 102.99%);
  border-radius: 24px;
  display: flex;
  height: 705px;
  gap: 84px;
  justify-content: space-between;
  padding: 45px 27px 0 36px;
  max-width: 1305px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 96px;
  font-weight: bold;
  line-height: 104px;
  max-width: 641px;
}
.hero h1.mobile {
  display: none;
}

.hero__content-container div:nth-child(1) img {
  margin-bottom: 32px;
  margin-left: 8px;
  opacity: .8;
}

.hero__content-container div:nth-child(2) {
  margin-top: 167px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero p:nth-child(1) {
  font-weight: 400;
  font-size: 36px;
  max-width: 517px;
}

.hero p:nth-child(2) {
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
  line-height: 54px;
  max-width: 473px;
}

.parallax {
  position: relative;
  display: flex;
  height: 100vh;
  /* background-color: var(--primary); */
  /* --parallax-movement: -800px;
  animation: parallax linear;
  animation-timeline: view(); */
}

.parallax div:nth-child(1) {
  width: 53%;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.parallax div:nth-child(2) {
  width: 47%;
}

.parallax p {
  font-weight: 700;
  font-weight: bold;
  font-size: 55px;
  line-height: 63px;
}

.parallax .right p {
  max-width: 500px;
  margin-top: 90px;
  margin-left: 86px;
}

.parallax .left p {
  max-width: 533px;
  margin-top: 180px;
  margin-right: 50px;
}

.parallax .right img {
  /* --parallax-movement: -800px;
  animation: parallax linear;
  animation-timeline: view(); */
}

.parallax .left img {
  /* transform: translateY(-600px);
  --parallax-movement: 2000px;
  animation: parallax linear;
  animation-timeline: view(); */
}

/* @keyframes parallax {
  to {
    transform: translateY(var(--parallax-movement));
  }
}  */

.content {
  /* background-color: var(--primary); */
  position: relative;
  z-index: 1;
  --parallax-movement: -800px;
  animation: parallax linear;
  animation-timeline: scroll();
  margin-top: 240px;
}

.principles {
  user-select: none;
  display: flex;
  gap: 82px;
  overflow: hidden;
  transform: translateY(-80px);
}

.principles ul {
  display: flex;
  gap: 82px;
  list-style: none;
  justify-content: space-between;
  flex-shrink: 0;
  min-width: 100%;
  animation: scroll-principles 20s linear infinite;
}

.principles ul li span {
  font-size: 103px;
  font-weight: 700;
  color: #AEB6FB99;
}

@keyframes scroll-principles {
  to {
    transform: translateX(calc(-100% - 82px));
  }
}

.services {
  max-width: 1286px;
  margin: 0 auto;
  padding: 80px 0 58px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services .title {
  display: flex;
  align-items: center;
  gap: 32px;
}

.services .description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  margin: 0;
}

.services article.show .description {
  max-height: 200px; /* ajustá según lo que necesites */
  opacity: 1;
  margin-top: 8px;
}

.services h2 {
  font-size: 37px;
  line-height: 82px;
  font-weight: 700;
  margin-left: 26px;
}

.services h3 {
  font-size: 33px;
  line-height: 47px;
  font-weight: 700;
  line-height: 100%;
}

.services .button-primary {
  font-size: 23px;
  line-height: 18px;
  width: 506px;
}

.services .service-container {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 42px;
  /* background-color: red; */
  border-radius: 32px;
  border: 1px solid #fff;
  backdrop-filter: blur(8px);
  padding: 24px 56px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.services article {
  max-width: 262px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services article h3 {
  font-size: 24px;
}

.services .service-cta-row-container {
  display: flex;
  gap: 44px;
}

.services .service-cta-row-container .service-container {
  max-height: 160px;
}

.services .service-cta-row-container .service-cta {
  max-width: 533px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.services .service-cta-row-container .service-cta .cta {
  line-height: 47px;
}

.steps {
  max-width: 1362px;
  margin: 0 auto;
}

.steps .number {
  font-weight: 600;
  font-size: 102px;
  line-height: 100%;
}

.steps .title {
  font-size: 25px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: -1.1%;
}

.steps h2 {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 37px;
  line-height: 82px;
  margin-left: 35px;
}

.steps div {
  display: flex;
  gap: 22px;
}

.steps article {
  width: 324px;
  height: 397px;
  border-radius: 16px;
  background-size: cover;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 73px 24px;
  position: relative;
  overflow: hidden;
}

article .number, article .title {
  position: relative;
    z-index: 2;
}

.steps article .description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}
.steps article:hover .description {
  opacity: 1;
  transform: translateY(0);
}
.steps article:hover {
  height: 397px;
}
.steps article:hover .description {
  max-height: 300px;
  opacity: 1;
}


.steps article.step-1 {
  background-image: url("./assets/images/step1.jpg");
}

.steps article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #540c297a 0%, rgba(19, 19, 19, 0.466) 100%);
}

.steps article.step-2 {
  background-image: url("./assets/images/step2.jpg");
}
.steps article.step-3 {
  background-image: url("./assets/images/step3.jpg");
}
.steps article.step-4 {
  background-image: url("./assets/images/step4.jpg");
}

.steps article.step-1:hover,
.steps article.step-2:hover,
.steps article.step-3:hover,
.steps article.step-4:hover {
  background: linear-gradient(180deg, #540C29 0%, #131313 100%);
}

.form {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  margin: 0 auto;
  margin-top: 90px;
  max-width: 1362px;
  border-radius: 32px;
  padding: 52px;
  border: 1px solid #fff;
}

.form form {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
}

.form form .left-input {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 344px;
}


.form form .left-input input {
  margin-bottom: 12px;
}

.form form .right-input {
  width: 408px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.form form .right-input textarea {
  margin-bottom: 20px;
  width: 100%;
}

.form form label {
  font-size: 14px;
}

.form form input,
.form form textarea {
  border: none;
  background-color: var(--primary);
  border: 1px solid #D9D9D9;
  padding: 12px 16px;
  border-radius: 8px;
  color: #B3B3B3;
  font-size: 16px;
}

.form form button {
  border-radius: 12px;
  height: 42px;
  width: 206px;
  font-size: 21px;
}

.form h3 {
  font-weight: 700;
  font-size: 43px;
  line-height: 54px;
  max-width: 274px;
}

footer {
  background-color: var(--black);
  padding-top: 50px;
  padding-bottom: 70px;
  margin-top: 94px;
}

footer .footer-container {
  max-width: 1268px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 98px;
}

footer img {
  max-width: 360px;
  margin-bottom: 16px;
}

footer h2 {
  font-weight: 700;
  font-size: 93px;
  line-height: 104px;
}

footer .links {
  margin-bottom: 8px;
}

footer .links a {
  font-weight: 700;
  font-size: 16px;
  line-height: 39px;
  color: #FFFFFF;
}

footer .mail p {
  font-weight: 700;
  font-size: 16px;
  line-height: 39px;
}

footer .mail {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

footer .social {
  display: flex;
  gap: 25px;
}

/* navbar */
@media only screen and (max-width: 1100px) {
  header nav {
    display: none;
  }
  .hero {
    background-color: var(--black);
  }
}

/* header */
@media only screen and (max-width: 1305px) {
  .hero {
    height: unset;
  }
  .hero__content-container {
    height: unset;
    padding-bottom: 45px;
  }
  .hero .hero__content-container div:nth-child(2) {
    margin-top: 0;
  }
  .hero h1.mobile {
    display: block;
    font-size: 38px;
    line-height: 46px;
  }
  .hero h1.desktop {
    display: none;
  }
  .hero p:nth-child(1) {
    font-size: 16px;
  }
  .hero p:nth-child(2) {
    font-size: 20px;
    line-height: 29px;
  }
}
@media only screen and (max-width: 990px) {
  header {
    padding: 12px 6px;
  }
  .hero {
    padding: 0;
  }
  .hero__content-container {
    display: flex;
    flex-direction: column;
    max-width: 330px;
    gap: 10px;
  }
  .hero .hero__content-container div:nth-child(2) {
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .hero__content-container div:nth-child(1) img {
    display: none;
  }
  .hero__content-container button {
    font-size: 18px;
    width: 267px;
  }
}

/* services mobile accordion */
.services-mobile {
  display: none;
}

.services-mobile h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 24px;
  padding: 0 20px;
}

.services-mobile .accordion {
  max-width: 360px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid #fff;
  border-radius: 32px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.services-mobile .accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
}

.services-mobile .accordion-item:last-child {
  border-bottom: none;
}

.services-mobile .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.services-mobile .accordion-title {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.services-mobile .accordion-title h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  margin: 0;
}

.services-mobile .accordion-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.services-mobile .accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.services-mobile .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.services-mobile .accordion-item.active .accordion-content {
  max-height: 200px;
  margin-top: 16px;
}

.services-mobile .accordion-content p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding-left: 58px;
}

.services-mobile-cta {
  margin-top: 32px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-mobile-cta h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 20px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.services-mobile-cta .button-primary {
  width: 100%;
  max-width: 320px;
  font-size: 18px;
  padding: 12px 24px;
}

/* services */
@media only screen and (max-width: 1000px) {
  .services {
    display: none;
  }

  .services-mobile {
    display: block;
    padding: 40px 20px;
  }
}

@media only screen and (max-width: 990px) {
  .steps h2 {
    font-size: 19px;
    line-height: 25px;
  }
  .content .steps div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
  }
  .content .steps div article {
    width: 100%;
  }
}
@media only screen and (max-width: 580px) {
  .content .steps div article {
    height: 313px;
    padding-bottom: 12px;
  }
}

/* form */
@media only screen and (max-width: 1420px) {
  .content .form {
    margin-left: 32px;
    margin-right: 32px;
  }
}
@media only screen and (max-width: 1080px) {
  .content .form {
    margin: 0 auto;
    margin-top: 90px;
  }

  .form h3 {
    font-size: 23px;
    line-height: 29px;
  }
}
@media only screen and (max-width: 940px) {
  .form {
    max-width: 500px;
  }
  .form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
  }
}
@media only screen and (max-width: 560px) {
  .content .form {
    max-width: 320px;
    padding: 28px;
  }
  .form form .left-input {
    width: 263px;
  }
  .form form .right-input {
    width: 263px;
  }
}

/* footer */
@media only screen and (max-width: 990px) {
  footer h2 {
    font-size: 32px;
    line-height: 36px;
    max-width: 296px;
    text-align: center;
  }

  footer .footer-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 26px;
    align-items: center;
  }

  footer .footer-container div {
    text-align: center;
  }

  footer .footer-container div .mail,
  footer .footer-container div .social {
    display: flex;
    justify-content: center;
  }
}

/* @media only screen and (max-width: 1160px) { 
  body {
    background: linear-gradient(172.29deg, #131313 15.72%, #20113C 68.5%);
  }

  .hero {
    background-color: var(--black);
    height: unset;
  }
  .hero img {
    display: none;
  }
  .hero h1.mobile {
    display: block;
    font-size: 38px;
    line-height: 48px;
  } 
  .hero h1.desktop {
    display: none;
  }
  .hero__content-container {
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    height: unset;
    padding: 40px;
  }
  .hero__content-container div:nth-child(2) {
    margin-top: 0;
  }
  .hero p:nth-child(1) {
    font-size: 16px;
  }
  .hero p:nth-child(2) {
    font-size: 20px;
  }
  .header .button-primary {
    width: 267px;
    height: 43px;
    font-size: 18px;
  }
  .parallax .right p {
    font-size: 19px;
    line-height: 24px;
  }
  .parallax .left p {
    font-size: 19px;
    line-height: 24px;
  }


  .content .title button {
   display: none; 
  }
  .content .title h2, .steps h2 {
    font-size: 19px;
    line-height: 25px;
  }

  .steps div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
  }

  .steps div article {
    width: 100%;
  }

  .form form {
    display: flex;
    flex-direction: column;
    gap: 0;
    
  }
  .form h3 {
    font-size: 23px;
    line-height: 29px;
  } 
} */
