.text-\[1\.75rem\] {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  .md\:text-\[2\.9rem\] {
    font-size: 2.9rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-\[3\.5rem\] {
    font-size: 3.5rem;
  }
}

.service-visual {
  position: relative;
  padding-bottom: 1.5rem;
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1.75rem;
}

.service-copy > p {
  min-height: 3.25rem;
}

.service-copy > ul {
  min-height: 7.25rem;
}

@media (min-width: 768px) {
  .service-copy {
    padding: 0.75rem 2rem 2rem;
  }
}

.service-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.75rem;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

#inicio :focus-visible,
.site-dark :focus-visible {
  outline-color: #ffffff;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.contact-input {
  height: 52px;
}

.contact-phone {
  display: flex;
  align-items: center;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: #262626;
}

.contact-phone > span {
  padding-left: 0.75rem;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  user-select: none;
}

.contact-phone input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 0.75rem;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.contact-phone input::placeholder {
  color: #737373;
}

.contact-phone input:focus,
.contact-phone input:focus-visible {
  outline: none;
}

.contact-phone:focus-within {
  box-shadow: 0 0 0 2px #c5e063;
}

.contact-field.is-invalid .contact-input,
.contact-field.is-invalid .contact-phone {
  border-color: #fca5a5;
}

.contact-submit {
  position: relative;
  margin-top: 0.75rem;
}

.contact-submit-button {
  display: flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #525252;
  color: #d4d4d4;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.contact-submit-button.is-ready {
  background: #c5e063;
  color: #1a1a1a;
  cursor: pointer;
  animation: contact-submit-ready 0.28s ease;
}

.contact-submit-button.is-ready:hover {
  background: #b6d355;
}

.contact-submit.is-blocked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  cursor: pointer;
}

@keyframes contact-submit-ready {
  from {
    transform: scale(0.985);
  }
  to {
    transform: scale(1);
  }
}

.contact-done {
  display: flex;
  min-height: calc(100vh - 4.5rem);
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
  text-align: center;
}

.contact-pfp {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto;
}

.contact-pfp img {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  animation: contact-pfp-in 0.45s 1.05s ease forwards;
}

.contact-check {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  z-index: 1;
  width: 1.7rem;
  height: 1.7rem;
  transform: translate(-2.05rem, -2.05rem) scale(4.1);
  animation: contact-check-settle 0.7s 1.2s cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}

.contact-check svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-check circle {
  fill: #c5e063;
  stroke: none;
}

.contact-check path {
  fill: none;
  stroke: #171717;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: contact-tick 0.4s 0.15s ease forwards;
}

.contact-received,
.contact-soon {
  opacity: 0;
  animation: contact-fade 0.4s ease both;
}

.contact-received { animation-delay: 0.2s; }
.contact-soon { animation-delay: 0.4s; }

@keyframes contact-pfp-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes contact-check-settle {
  to { transform: translate(0, 0) scale(1); }
}

@keyframes contact-tick {
  to { stroke-dashoffset: 0; }
}

@keyframes contact-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-pfp img,
  .contact-check,
  .contact-received,
  .contact-soon,
  .contact-check path {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 28rem);
    column-gap: 4.5rem;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    padding-left: 0;
    padding-right: 0;
  }
}

.fit-band {
  position: relative;
  display: grid;
  background: #f4f4f2;
  overflow: hidden;
}

.fit-shape {
  position: absolute;
  z-index: 0;
  background: #171717;
  pointer-events: none;
}

.fit-title,
.fit-photo,
.fit-list {
  position: relative;
  z-index: 1;
}

.fit-title {
  padding: 2.75rem 1.25rem 0.25rem;
}

.fit-title h2 {
  max-width: 16rem;
  margin: 0;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fit-photo {
  min-height: 14rem;
  margin: 0 1.25rem;
}

.fit-photo img {
  display: block;
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
  object-position: center bottom;
}

.fit-list {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 1.5rem 1.25rem 2.75rem;
  list-style: none;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fit-list p {
  margin: 0;
  color: #1a1a1a;
  font-size: 17px;
  line-height: 1.5;
}

.fit-check {
  display: flex;
  flex: none;
  margin-top: 0.05rem;
  color: #2f9e44;
}

.fit-check svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 767px) {
  .fit-shape,
  .fit-photo {
    display: none;
  }

  .fit-title {
    padding-bottom: 0;
  }

  .fit-title h2 {
    color: #1a1a1a;
  }

  .fit-list {
    gap: 1.85rem;
    padding-top: 1.75rem;
    padding-bottom: 3rem;
  }

  .fit-list li {
    gap: 0.9rem;
  }
}

@media (min-width: 768px) {
  .fit-band {
    grid-template-columns: minmax(13rem, 0.9fr) minmax(13rem, 20rem) minmax(16rem, 1.05fr);
    align-items: stretch;
    min-height: 26rem;
  }

  .fit-shape {
    top: 0;
    bottom: 0;
    left: 0;
    width: 54%;
    clip-path: polygon(0 0, 100% 0, 64% 100%, 0 100%);
  }

  .fit-title {
    align-self: center;
    padding: 3rem 1rem 3rem max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem));
  }

  .fit-title h2 {
    font-size: 2.35rem;
    max-width: 13.5rem;
  }

  .fit-photo {
    z-index: 2;
    align-self: end;
    min-height: 24rem;
    margin: 0;
  }

  .fit-photo img {
    width: auto;
    max-width: 100%;
    height: 26rem;
    max-height: none;
    margin: 0 auto;
  }

  .fit-list {
    align-self: center;
    padding: 3rem max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem)) 3rem 0.5rem;
  }
}

.vis-section {
  overflow-x: clip;
}

@media (min-width: 768px) {
  .vis-layout {
    max-width: none;
    grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
    column-gap: 1.75rem;
    align-items: center;
    padding-left: max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem));
    padding-right: 1.5rem;
  }

  .vis-figure {
    width: 90%;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    align-self: center;
  }

  .vis-figure img {
    display: block;
    transform: translateY(-2.4%);
  }
}

.work-steps {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.work-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  row-gap: 0.35rem;
  padding-bottom: 1.5rem;
}

.work-steps li:last-child {
  padding-bottom: 0;
}

.work-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 3.15rem;
  bottom: 0;
  width: 1px;
  background: #deded8;
}

.work-head {
  display: contents;
}

.work-num {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 1px solid #e4e4e0;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
}

.work-label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

.work-desc,
.work-ex {
  grid-column: 2;
  margin: 0;
}

.work-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #5c5c5c;
}

.work-ex {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #1a1a1a;
}

.work-ex span {
  font-weight: 600;
  color: #5c5c5c;
}

@media (min-width: 768px) {
  .work-steps {
    margin-top: 4.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2.75rem;
    align-items: stretch;
  }

  .work-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0;
  }

  .work-steps li:not(:last-child)::before {
    content: none;
  }

  .work-steps li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 0.05rem;
    right: -1.7rem;
    color: #8a8a8a;
    font-size: 1.05rem;
    line-height: 1;
  }

  .work-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .work-ex {
    margin-top: auto;
    padding-top: 0.85rem;
  }

  .work-num {
    width: auto;
    height: auto;
    grid-column: auto;
    grid-row: auto;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    color: #2f9e44;
  }

  .work-label {
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
    display: block;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
  }

  .work-desc,
  .work-ex {
    grid-column: auto;
  }

  .work-desc {
    font-size: 0.9rem;
  }
}

.offer-visual {
  padding: 0.35rem 0.35rem 0;
}

@media (min-width: 768px) {
  .offer-visual { padding: 0.85rem 1.25rem 0; }
}

@media (min-width: 768px) {
  .service-shot-1 { background-image: url("../img/services-1.webp"); }
  .service-shot-2 { background-image: url("../img/services-2.webp"); }
  .service-shot-3 { background-image: url("../img/services-3.webp"); }
}
