:root {
  /* Colors */
  --pure-white: #fff;
  --pure-black: #000;
  --primary-color: #0e163a;
  --secondary-color: #00117a;
  --background-color: #e8e8e9;
  --typography-primary-color: #fbfbfb;
  --typography-secondary-color: #0e0e0e;

  /* Fonts */
  --primary-font: "Montserrat", sans-serif;
  --secondary-font: "Inter", sans-serif;

  /* Font sizes */
  --h1-font-size: clamp(3.5rem, 5.33vw, 6.4rem);
  --h2-font-size: clamp(2.5rem, 3.33vw, 4rem);
  --h3-font-size: clamp(2rem, 2vw, 2.4rem);
  --lead-font-size: clamp(1.6rem, 1.67vw, 2rem);
  --p-font-size: clamp(1.4rem, 1.33vw, 1.6rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: 62.5%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero {
  position: relative;
  height: 100vh;
  background-image: url("../static/images/handShakeBG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(14, 22, 58, 0.3) 0%,
      rgba(14, 22, 58, 0.5) 50%,
      rgba(14, 22, 58, 1) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--pure-white);
  padding: 0px 360px 0 100px;
}

.hero__title {
  font-size: var(--h1-font-size);
  font-family: var(--primary-font);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--lead-font-size);
  font-family: var(--secondary-font);
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  gap: 24px;
}

.hero__cta {
  display: inline-block;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: var(--p-font-size);
  font-family: var(--secondary-font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;

  &:nth-of-type(1) {
    background: var(--secondary-color);
    color: var(--pure-white);

    &:hover {
      background: #27337e;
    }
  }

  &:nth-of-type(2) {
    background: var(--background-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);

    &:hover {
      background: #c8c8c8;
    }
  }
}

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

@media (max-width: 768px) {
  .hero__content {
    margin-top: 100px;

    padding: 0px 30px;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero__content {
    margin-top: 100px;
  }
}

.section {
  background: var(--primary-color);
  color: var(--pure-white);
  padding: 100px;
  text-align: center;
}

.section.process-section {
  overflow: visible !important;
}

.services__content {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: var(--h2-font-size);
  font-family: var(--primary-font);
  font-weight: 600;
  margin-bottom: 16px;
}

.section p {
  font-size: var(--lead-font-size);
  font-family: var(--secondary-font);
}

@media (max-width: 480px) {
  .section {
    padding: 60px 20px;
  }
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 54px;
}

@media (max-width: 800px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--background-color);
  border-radius: 16px;
  padding: 40px 48px;
}

.service-card__icon {
  display: flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);

  & img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
}

.service-card__title {
  font-size: var(--h3-font-size);
  font-family: var(--primary-font);
  color: var(--pure-black);
  margin: 16px 0;
  font-weight: 600;
  text-wrap: balance;
}

.service-card__content {
  align-self: stretch;
  width: 100%;
  text-align: left;
  margin-left: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__desc {
  color: var(--pure-black);
  font-family: var(--secondary-font);
  font-weight: 500;
  font-size: var(--lead-font-size);
  margin-bottom: 24px;
}

.service-card__list {
  color: var(--pure-black);
  font-family: var(--secondary-font);
  font-weight: 400;
  font-size: var(--p-font-size);
  margin-bottom: 24px;
  text-align: left;
  padding-left: 20px;
  list-style-type: disc;
}

.service-card__list li {
  margin: 8px 0;
  text-align: left;
}

.service-card__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: auto;
}

.process-section {
  background: var(--background-color);
  overflow: visible !important;
  position: relative;
}

.section.process-section {
  overflow: visible !important;
  position: relative;
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 480px) {
  .section.process-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.process__content {
  color: var(--typography-secondary-color);
}

.steps {
  overflow: visible !important;
  padding: 0 40px;
  position: relative;
}

.steps__grid {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 54px;
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: visible !important;
}

.step-card {
  position: relative;
  background: var(--pure-white);
  border-radius: 16px;
  padding: 32px 24px;
  color: var(--pure-black);
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 100%;
  transform: translateX(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-color);
  color: var(--pure-white);
  font-weight: 500;
  font-size: var(--lead-font-size);
  box-shadow: 0 0 0 4px #fff;
  font-family: var(--secondary-font);
  overflow: visible;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: calc(-1 * 24px);
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  z-index: 1;
}

.step-card:nth-child(4n)::after {
  display: none;
}

.step-card:last-child::after {
  display: none;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--background-color);
  margin: 0 auto 16px auto;

  & img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
}

.step-title {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: var(--h3-font-size);
  margin-bottom: 8px;
}

.step-desc {
  color: var(--pure-black);
  font-family: var(--secondary-font);
  font-weight: 500;
  font-size: var(--lead-font-size);
  margin-bottom: 16px;
  text-align: left;
}

.step-list {
  font-family: var(--secondary-font);
  font-weight: 400;
  font-size: var(--lead-font-size);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.step-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 24px;
}

.step-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .step-card::after {
    display: none;
  }
}

.why-container {
  padding-top: 100px;
}

.why {
  background: var(--primary-color);
  color: var(--pure-white);
  border-radius: 48px;
  padding: 32px;
}

.why__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  text-align: left;
  align-items: center;
}

.why__title {
  font-size: var(--h2-font-size);
  font-family: var(--primary-font);
  font-weight: 600;
  margin-bottom: 16px;
}

.why__lead {
  font-size: clamp(1.6rem, 1.2vw, 1.8rem);
  margin-top: 40px;
  max-width: 52ch;
}

.why__cta {
  margin-top: 40px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: var(--p-font-size);
  font-family: var(--secondary-font);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: var(--background-color);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  transition: all 0.3s ease;

  &:hover {
    background: #c8c8c8;
    transform: translateY(-2px);
  }
}

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

.why-card {
  background: var(--pure-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.why-card__body {
  padding: 16px;
}

.why-card__body h3 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: var(--h3-font-size);
  margin-bottom: 16px;
  color: var(--pure-black);
}

.why-card__body p {
  font-family: var(--secondary-font);
  color: var(--pure-black);
  font-size: var(--p-font-size);
}

@media (max-width: 980px) {
  .why__inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .why__cards {
    grid-template-columns: 1fr;
  }
}

.contact {
  margin-top: 54px;
}

.contact__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.4fr 1.15fr;
  gap: 40px;
}

.card {
  background: var(--background-color);
  color: var(--pure-black);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.contact-info__title {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: var(--h3-font-size);
  margin-bottom: 32px;
}

.contact-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
  font-family: var(--secondary-font);
}

.contact-info__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
}

.contact-info__item .ico {
  font-size: var(--h3-font-size);
}

.contact-info__item strong {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: var(--lead-font-size);
}

.contact-info__item p {
  font-weight: 400;
  font-size: var(--p-font-size);
}

.contact-info.card {
  display: flex;
  flex-direction: column;
}

.contact-info__direct {
  font-family: var(--secondary-font);
  margin-top: 32px;
}

.contact-info .btn--whatsapp {
  margin-top: auto;
  align-self: flex-start;
}

.contact-info__direct h4 {
  margin-bottom: 8px;
  font-size: var(--lead-font-size);
  font-weight: 500;
}

.contact-info__direct p {
  font-weight: 400;
  font-size: var(--p-font-size);
  margin-bottom: 16px;
}

.contact-form>h3 {
  font-weight: 600;
  font-family: var(--primary-font);
  font-size: var(--h3-font-size);
  margin-bottom: 16px;
}

.contact-form>p {
  font-family: var(--secondary-font);
  font-size: var(--p-font-size);
  margin-bottom: 16px;
}

.contact-form__lead .emph {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-family: var(--secondary-font);
  font-size: var(--p-font-size);
  font-weight: 500;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  color: inherit;
  background: var(--pure-white);
  border: 1px solid #5e5e5e;
  border-radius: 10px;
  padding: 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: #b7bdf2;
}

textarea {
  resize: vertical;
}

p.contact-form__legal {
  grid-column: 1 / -1;
  font-size: var(--p-font-size);
}

.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--p-font-size);
}

.check a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.btn {
  padding: 16px 24px;
  border-radius: 8px;
  font-size: var(--p-font-size);
  font-family: var(--secondary-font);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: var(--secondary-color);
  color: var(--pure-white);
  border: 1px solid var(--secondary-color);
  transition: all 0.3s ease;
  width: 100%;

  &:hover {
    background: #27337e;
    transform: translateY(-2px);
  }
}

.actions {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  display: none;
}

@media (max-width: 1024px) {
  .whatsapp-float {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .whatsapp-float:hover {
    transform: scale(1.1);
  }

  .whatsapp-float:active {
    transform: scale(0.95);
  }

  .whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
  }
}