.hero {
  background: #fafafa;
  min-height: var(--home-section-height, 36rem);
  padding: 4.8rem 0 5rem;
}

.hero-copy {
  max-width: 900px;
}


main h1 {
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5rem;
  color: rgb(75, 75, 75);
}

main p {
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.9rem;
  color: rgb(38, 38, 38);
  overflow-wrap: anywhere;
}



.hero h1 {
  font-size: 3.5rem;
  line-height: var(--line-heading);
  letter-spacing: -0.015em;
  font-weight: 400;
  font-style: normal;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: rgb(75, 75, 75);
  margin: 1rem 0 0.75rem;
}


.hero-flow {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-process-image {
  width: min(1000px, 100%);
  height: auto;
  display: block;
}

.hero-process-labels {
  width: min(840px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
}

.hero-process-labels span {
  text-align: center;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.03rem);
  line-height: var(--line-compact);
  color: #2e3848;
}

/* Keep copy and process graphics on the same horizontal alignment */
.hero .hero-copy,
.hero .hero-flow {
  width: min(1000px, 100%);
  max-width: 1000px;
}

.hero .hero-process-labels {
  width: 100%;
}

.flow-step {
  width: 132px;
}

.flow-icon {
  width: 118px;
  height: 118px;
}

.flow-icon img {
  width: 66px;
  height: 66px;
}

.flow-arrow {
  width: 42px;
  height: 72px;
  margin-top: 24px;
}


.section {
  padding: 4rem 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}


section.what-we-do {
  background: #fefefe;
  padding: 0 0 3rem;
}

.what-we-do-separator {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}

.what-we-do-content {
  padding-top: 3.5rem;
}

.what-we-do-content h2 {
  margin: 0;
  max-width: 100%;
  color: #4b4b4b;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: var(--line-heading);
}

.what-we-do-content > p {
  color: #262626;
}


.what-we-do-blocks-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.credibility {
  background: #f3f3f3;
  padding: 2.8rem 0 2.4rem;
}

.credibility-title {
  margin: 0;
  text-align: center;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5rem;
  color: rgb(75, 75, 75);
}

.credibility-logos-strip {
  margin-top: 2.1rem;
  background: #fefefe;
  border-top: 1px solid #ececef;
  border-bottom: 1px solid #ececef;
}

.credibility-logos {
  display: block;
  width: 100%;
  margin: 1rem auto;
  padding: 0.75rem 0;
  height: auto;
}

.credibility-content {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.credibility-map {
  width: min(230px, 32vw);
  height: auto;
  display: block;
}

.credibility-metric h2 {
  margin: 0 0 0.5rem;
  color: rgb(23, 146, 164);
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.8rem, 2.6vw, 3rem);
}

.credibility-metric:last-child {
  justify-self: end;
  text-align: left;
  padding-left: 6rem
}

.alt {
  background: var(--surface-alt);
}

.services-section {
  background: #fafafa;
}

.services-content {
  max-width: 980px;
}

.services-content h1 {
  white-space: nowrap;
}

.services-content h2 {
  margin: 0;
  color: #4b4b4b;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: var(--line-heading);
}

.services-content > p {
  color: #000000;
  overflow-wrap: anywhere;
}


.services-list {
  color: #262626;
  border-top: 1px solid #d5d5d8;
}

.service-row {
  display: grid;
  grid-template-columns: 96px minmax(220px, 1fr) minmax(220px, 1fr);
  align-items: center;
  border-bottom: 1px solid #d5d5d8;
}

.service-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  justify-self: center;
}

.service-row h3 {
  margin: 0;
  color: #262626;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: var(--line-heading);
  overflow-wrap: anywhere;
}


.how-we-work {
  background: #fafafa;
}

.how-we-work-content {
  max-width: 1000px;
}

.how-we-work-content h2 {
  margin: 0 0 1.6rem;
  color: #4b4b4b;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: var(--line-heading);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.how-step {
  position: relative;
  padding-left: 0.2rem;
}

.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 110px;
  background-color: #31B2C2;
}

.how-step-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 600;
  color: #f0674c;
  margin-bottom: 0.4rem;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}



.how-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 60px;
  border-radius: 50%;        
  background: #d9d9d9;
  color: #000000;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1rem;
}

.how-steps .how-step p {
  font-size: 1.2rem;
  color: #000000;
  overflow-wrap: anywhere;
}


.how-we-work-graphic {
  width: min(860px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.differentiators {
  background: #fafafa;
  padding: 0 0 5rem;
}

.differentiators-separator {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}

.differentiators-content {
  padding-top: 3.2rem;
}

.differentiators-content h2 {
  margin: 0 0 1.5rem;
  color: #4b4b4b;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: var(--line-heading);
  text-align: center;
}

.differentiators-strip {
  background: #e6e6e6;
  padding: 2rem 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.differentiators-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  color: #000000;
}

.differentiator {
  display: flex;
  flex-direction: column;  /* ? �cono arriba, texto abajo */
  gap: 0.5rem;
  align-items: flex-start;
}

.differentiator-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
}

.differentiator-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.differentiator strong {
  font-weight: 700;
}

.testimonials-section {
  background: #fafafa;
  min-height: var(--home-section-height, 36rem);
  padding: 4.8rem 0 5rem;
  display: flex;
  align-items: center;
}

.testimonials-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.testimonials-section h2 {
  color: #4b4b4b;
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: var(--line-heading);
  grid-column: 1;
}

.testimonials-section .container > p {
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  color: #000000;
  overflow-wrap: anywhere;
  margin-top: 0;
}


.testimonials-section img {
  width: min(230px, 100%);
  height: auto;
  justify-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.cta-section {
  background: #fafafa;
  min-height: var(--home-section-height, 30rem);
  padding: 3.2rem 0 5.6rem;
  text-align: left;
}

.cta-content h1 {
  margin: 0 0 0.8rem;
  color: rgb(23, 146, 164);
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: var(--line-heading);
}

.cta-content > p {
  font-family: "Brinnan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #4b4b4b;
}


.cta-logo {
  width: min(180px, 60vw);
  height: auto;
  display: block;
  padding-top: 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn:hover {
  background: var(--primary-dark);
}
@media (max-width: 980px) {
  main h1,
  .hero h1,
  .credibility-title {
    font-size: 2.5rem;
  }

  main p {
    font-size: 1.25rem;
  }

  .service-row {
    grid-template-columns: 82px minmax(190px, 1fr) minmax(180px, 1fr);
  }

  .how-step-pill {
    min-width: 0;
    width: min(100%, 220px);
    height: 56px;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 3.1rem;
  }

  .testimonials-section {
    align-items: flex-start;
  }

  .hero-flow {
    align-items: center;
  }

  .hero .hero-copy,
  .hero .hero-flow {
    width: 100%;
    max-width: 100%;
  }

  .hero-process-labels {
    gap: 0.25rem;
  }

  .credibility {
    padding: 2.2rem 0 2rem;
  }

  .credibility-logos-strip {
    margin-top: 1.4rem;
  }

  .credibility-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .credibility-map {
    width: min(240px, 70vw);
    margin: 0 auto;
  }

  .credibility-metric:last-child {
    justify-self: center;
    text-align: center;
  }

  .what-we-do {
    padding-bottom: 2.4rem;
  }

  .what-we-do-content {
    padding-top: 2rem;
  }

  .service-row {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }

  .services-content h1 {
    white-space: normal;
  }

  .service-row p {
    grid-column: 2;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .how-step:not(:last-child)::after {
    display: none;
  }

  .how-step-number {
    font-size: 1.8rem;
  }

  .how-we-work-graphic {
    width: min(520px, 100%);
  }

  .differentiators {
    padding-bottom: 2.2rem;
  }

  .differentiators-content {
    padding-top: 2rem;
  }

  .differentiators-strip {
    padding: 1.2rem 0;
  }

  .differentiators-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .testimonials-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonials-section .container > p {
    margin: 0 auto;
  }

  .testimonials-section img {
    grid-column: 1;
    grid-row: auto;
  }

  .cta-section {
    text-align: center;
  }

  .cta-logo {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  main h1,
  .hero h1,
  .credibility-title {
    font-size: 2rem;
    line-height: var(--line-heading);
  }

  main p {
    font-size: 1.1rem;
  }

  .service-row {
    grid-template-columns: 64px 1fr;
    gap: 0.65rem 0.9rem;
  }

  .service-row h3 {
    font-size: clamp(1.08rem, 5vw, 1.32rem);
  }

  .service-row p {
    grid-column: 2;
    margin: 0;
    font-size: 1rem;
  }

  .how-step-pill {
    width: min(100%, 240px);
    height: 52px;
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .what-we-do-blocks-image {
    margin-top: 1.4rem;
  }

  .testimonials-section {
    padding: 3.1rem 0 5rem;
  }
}
