.landing-hero {
  --hero-black: #0b0b0b;
  --hero-ink: #111111;
  --hero-cream: #eee4d3;
  --hero-white: #f5f2ea;
  --hero-red: #c63d2f;
  --hero-red-dark: #a93025;
  --hero-gold: #c6a15b;
  --hero-stone: #d8cdbb;
  --hero-muted: #90a1b9;
  --fs-section-title: var(--fs-h2);
  --fs-section-text: var(--fs-body-large);
  --fs-card-title: var(--fs-h5);
  --lh-copy: var(--lh-body);
  --hero-form-overlap: 96px;
  --hero-form-gap: 12px;
  position: relative;
  background: var(--hero-black);
  color: var(--hero-white);
  font-family: var(--font-display);
}

.landing-hero__stage {
  position: relative;
  min-height: 861px;
  overflow: visible;
  border-bottom: 6px solid #4f4840;
  background: var(--hero-cream);
}

.landing-hero__stage::before,
.landing-hero__stage::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  content: "";
  background: #4f4840;
}

.landing-hero__stage::before {
  bottom: 16px;
}

.landing-hero__stage::after {
  bottom: 10px;
  height: 3px;
}

.landing-hero__background,
.landing-hero__background picture,
.landing-hero__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-hero__background-image {
  object-fit: cover;
  object-position: center top;
}

.landing-hero__background--fallback {
  background:
    linear-gradient(90deg, rgba(238, 228, 211, 0.88) 0%, rgba(238, 228, 211, 0.62) 50%, rgba(238, 228, 211, 0.28) 100%),
    linear-gradient(110deg, #ece2d2 0%, #e0e6e3 48%, #cfdadc 100%);
}

.landing-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 228, 211, 0.8) 0%, rgba(238, 228, 211, 0.6) 45%, rgba(238, 228, 211, 0.18) 100%),
    linear-gradient(180deg, rgba(46, 37, 25, 0.28) 0%, rgba(46, 37, 25, 0) 61%),
    rgba(238, 228, 211, 0.32);
}

.landing-hero__bottom-fade,
.landing-hero__rings {
  display: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 660px);
  grid-template-areas: "copy visual";
  column-gap: clamp(36px, 5vw, 90px);
  align-items: end;
  width: min(1480px, calc(100% - 48px));
  min-height: 560px;
  margin: 0 auto;
  padding-top: clamp(160px, 13.25vw, 229px);
  padding-bottom: 0;
}

.landing-hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 704px;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  padding-bottom: clamp(24px, 3vw, 56px);
}

.landing-hero__eyebrow {
  position: relative;
  margin: 0 0 24px;
  padding: 8px 12px 8px 25px;
  border: 1px solid var(--hero-stone);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(11, 11, 11, 0.8);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.landing-hero__eyebrow::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  content: "";
  background: var(--hero-gold);
  transform: translateY(-50%);
}

.landing-hero__title {
  margin: 0;
  width: min(704px, 100%);
  padding-left: 0;
  border-left: 0;
  color: #111111;
  font-family: var(--font-display);
  font-size: clamp(41px, 4vw, 57px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.landing-hero__title span,
.landing-hero__title strong {
  display: block;
  max-width: 704px;
  font-weight: 500;
}

.landing-hero__title strong {
  color: currentColor;
}

.landing-hero__subtitle {
  margin: 32px 0 0;
  max-width: 630px;
  color: #111111;
  font-size: var(--fs-hero-subtitle);
  font-weight: var(--fw-medium);
  line-height: 1.6;
}

.landing-hero__action-row {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: start;
  row-gap: 12px;
  width: min(100%, 360px);
  margin-top: 28px;
}

.landing-hero__cta,
.landing-hero__submit,
.landing-hero__form-placeholder .landing-hero__submit {
  position: relative;
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 32px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--hero-red);
  clip-path: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition:
    background-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.landing-hero__cta {
  width: min(100%, 360px);
  min-width: 0;
}

.landing-hero__cta::before,
.landing-hero__submit::before,
.landing-hero__form-placeholder .landing-hero__submit::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.landing-hero__cta:hover,
.landing-hero__cta:focus-visible,
.landing-hero__submit:hover,
.landing-hero__submit:focus-visible {
  background: var(--hero-red-dark);
  transform: translateY(-1px);
}

.landing-hero__cta:focus-visible,
.landing-hero__submit:focus-visible {
  outline: 2px solid var(--hero-white);
  outline-offset: 4px;
}

.landing-hero__mobile-sticky-cta {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  left: 16px;
  z-index: 999;
  width: auto;
  min-height: 54px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  color: #ffffff;
  background: var(--hero-red);
  text-decoration: none;
  transition:
    opacity var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.landing-hero__mobile-sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

body.landing-hero-sticky-cta-active {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.landing-hero__review {
  display: inline-flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-body);
}

.landing-hero__copy .landing-hero__action-row {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
}

.landing-hero__copy .landing-hero__review {
  margin-left: 0;
}

.landing-hero__review-mark {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}

.landing-hero__review-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #1a1714;
  font-size: clamp(13px, 0.84vw, 14px);
  font-weight: 600;
  line-height: var(--lh-copy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (min-width: 1024px) {
  .landing-hero__review-summary {
    white-space: nowrap;
  }
}

.landing-hero__review-summary {
  display: block;
}

.landing-hero__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.landing-hero__star {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.landing-hero__visual-stack {
  grid-area: visual;
  position: relative;
  z-index: 4;
  display: grid;
  width: min(100%, 660px);
  justify-items: center;
  align-self: end;
  justify-self: end;
  margin-bottom: calc(-1 * var(--hero-form-overlap));
}

.landing-hero__portrait {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: start;
  width: min(100%, 660px);
  pointer-events: none;
}

.landing-hero__inner > .landing-hero__portrait,
.landing-hero__inner > .landing-hero__form-card {
  grid-area: visual;
  align-self: start;
  justify-self: center;
}

.landing-hero__inner > .landing-hero__portrait {
  width: min(100%, 660px);
}

.landing-hero__inner > .landing-hero__form-card {
  margin-top: clamp(250px, 19vw, 330px);
  margin-bottom: calc(-1 * var(--hero-form-overlap));
}

.landing-hero__portrait picture,
.landing-hero__portrait-image {
  display: block;
  width: 100%;
  height: auto;
}

.landing-hero__form-card {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  align-self: start;
  width: min(100%, 580px);
  margin-top: clamp(250px, 19vw, 330px);
  padding: 33px;
  border: 1px solid var(--hero-stone);
  border-radius: 10px;
  color: #ffffff;
  background: #202020;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

@media (min-width: 1181px) {
  .landing-hero__inner > .landing-hero__form-card {
    margin-top: clamp(296px, 21.8vw, 376px);
  }

  .landing-hero__form-card {
    margin-top: clamp(296px, 21.8vw, 376px);
  }
}

.landing-hero__form-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--fs-card-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.landing-hero__form {
  color: #ffffff;
}

.landing-hero__form form,
.landing-hero__form .wpcf7-form,
.landing-hero__form-placeholder {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-hero__form p {
  margin: 0;
}

.landing-hero__form label {
  display: block;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  line-height: 1.4;
}

.landing-hero__form input:not([type="submit"]),
.landing-hero__form textarea,
.landing-hero__form select,
.landing-hero__form-placeholder div {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #5c6b78;
  border-radius: 16px;
  background: #ffffff;
  color: #1c2a36;
  font-family: var(--font-body);
  font-size: var(--fs-form-field);
  font-weight: 400;
  line-height: 1.5;
}

.landing-hero__form textarea {
  min-height: 108px;
}

/* Some CF7 variants use a text input for the optional message field. */
.landing-hero__form input[name="text-492"],
.landing-hero__form input[name="your-message"],
.landing-hero__form input[name*="message"] {
  min-height: 190px;
  height: auto;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.landing-hero__form input::placeholder,
.landing-hero__form textarea::placeholder,
.landing-hero__form-placeholder div {
  color: #617080;
}

.landing-hero__form-actions,
.landing-hero__form-placeholder .landing-hero__submit {
  width: 100%;
  margin-top: 7px;
}

.landing-hero__form-actions {
  display: flex;
  justify-content: center;
}

.landing-hero__submit {
  width: min(100%, 360px);
  min-width: 240px;
  min-height: 56px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c74d32 0%, #982e1b 100%);
  box-shadow: 0 10px 22px rgba(151, 45, 24, 0.24);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: normal;
}

.landing-hero__submit:hover,
.landing-hero__submit:focus-visible {
  box-shadow: 0 14px 28px rgba(151, 45, 24, 0.32);
  filter: brightness(1.03);
}

.landing-hero__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(191, 75, 50, 0.16), 0 12px 24px rgba(151, 45, 24, 0.3);
}

.landing-hero__form .wpcf7-spinner {
  display: none;
}

.landing-hero__form .wpcf7-not-valid-tip,
.landing-hero__form .wpcf7-response-output {
  margin: 8px 0 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  line-height: 1.4;
}

.landing-hero__badges {
  display: none;

  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 14px 20px 0;
  border-top: 1px solid #4a4a4a;
}

.landing-hero__badge {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #62748e;
  font-family: var(--font-body);
  font-size: var(--fs-form-caption);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
}

.landing-hero__badge-icon {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: #8ca0bd;
}

.landing-hero__badge-svg {
  display: block;
  width: 24px;
  height: 24px;
}

.landing-hero__badge-svg--shield {
  width: 21px;
  height: 26px;
}

.landing-hero__process {
  position: relative;
  z-index: 1;
  background: var(--hero-black);
  color: var(--hero-white);
}

.landing-hero__process-inner {
  width: min(1216px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--hero-form-overlap) + var(--hero-form-gap)) 0 80px;
}

.landing-hero__process-title {
  max-width: 600px;
  margin: 0 0 48px;
  color: var(--hero-white);
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.landing-hero__service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.landing-hero__service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #d8d2c7;
  font-family: var(--font-display);
  font-size: var(--fs-body-large);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

a.landing-hero__service {
  transition:
    color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

a.landing-hero__service:hover,
a.landing-hero__service:focus-visible {
  color: var(--hero-red);
  transform: translateY(-2px);
}

.landing-hero__service-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.landing-hero__service-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .landing-hero__stage {
    min-height: auto;
  }

  .landing-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    grid-template-areas: "copy visual";
    column-gap: clamp(16px, 2.5vw, 32px);
    row-gap: 0;
    min-height: 0;
    padding: 126px 0 0;
    align-items: center;
  }

  .landing-hero__copy {
    max-width: 600px;
    align-self: center;
    padding-bottom: 0;
    transform: translateY(-24px);
  }

  .landing-hero__visual-stack {
    justify-self: end;
    width: min(100%, 520px);
    margin-top: 0;
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }

  .landing-hero__inner > .landing-hero__portrait {
    width: 100%;
    margin-top: 0;
  }

  .landing-hero__inner > .landing-hero__form-card {
    margin-top: clamp(214px, 23vw, 268px);
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }

  .landing-hero__form-card {
    width: min(100%, 460px);
    margin-top: clamp(214px, 23vw, 268px);
  }

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

@media (max-width: 900px) and (min-width: 761px) {
  .landing-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    column-gap: 14px;
  }

  .landing-hero__title {
    font-size: clamp(32px, 3.9vw, 42px);
    line-height: 1.05;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .landing-hero__subtitle {
    font-size: clamp(15px, 1.65vw, 18px);
    line-height: 1.4;
  }

  .landing-hero__eyebrow {
    white-space: nowrap;
    font-size: clamp(12px, 1.35vw, 14px);
    line-height: 1.05;
    padding: 5px 9px 5px 19px;
    left: -19px;
  }

  .landing-hero__eyebrow::before {
    left: 9px;
  }

  .landing-hero__copy .landing-hero__action-row {
    width: min(100%, 300px);
  }

  .landing-hero__copy .landing-hero__cta {
    min-height: 44px;
    padding: 12px 10px;
    gap: 6px;
    white-space: nowrap;
    font-size: clamp(12px, 1.35vw, 14px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .landing-hero__copy .landing-hero__cta span {
    font-size: 0;
  }

  .landing-hero__copy .landing-hero__cta span::after {
    content: "Comience su Evaluacion";
    font-size: clamp(12px, 1.35vw, 14px);
    line-height: 1.05;
  }

  .landing-hero__visual-stack {
    width: min(100%, 360px);
  }

  .landing-hero__form-card {
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  .landing-hero {
    --hero-form-overlap: 110px;
    --hero-form-gap: 14px;
  }

  .landing-hero__inner,
  .landing-hero__process-inner {
    width: min(100% - 32px, 540px);
  }

  .landing-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    padding-top: 104px;
    padding-bottom: 0;
    row-gap: 0;
  }

  .landing-hero__title {
    padding-left: 0;
  }

  .landing-hero__action-row {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 36px;
  }

  .landing-hero__cta,
  .landing-hero__submit {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 15px 22px;
    font-size: var(--fs-cta);
    letter-spacing: 1px;
  }

  /* When sticky CTA mode is active, hide the inline hero CTA copy. */
  body.landing-hero-sticky-cta-active .landing-hero__copy .landing-hero__cta {
    display: none;
  }

  body.landing-hero-sticky-cta-active .landing-hero__copy .landing-hero__action-row {
    margin-top: 0;
  }

  .landing-hero__mobile-sticky-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    min-width: 0;
    max-width: none;
    padding: 15px 22px;
    font-size: var(--fs-cta);
    letter-spacing: 1px;
    text-align: center;
    background: var(--hero-red) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    z-index: 9999;
  }

  .landing-hero__visual-stack {
    justify-self: center;
    width: min(100%, 400px);
    margin-top: 8px;
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }

  .landing-hero__inner > .landing-hero__portrait {
    width: 100%;
    margin-top: 8px;
  }

  .landing-hero__inner > .landing-hero__form-card {
    margin-top: clamp(198px, 52vw, 243px);
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }

  .landing-hero__form-card {
    justify-self: center;
    width: 100%;
    margin-top: clamp(190px, 52vw, 235px);
    padding: 24px 20px 26px;
  }

  .landing-hero__form form,
  .landing-hero__form .wpcf7-form,
  .landing-hero__form-placeholder {
    gap: 18px;
  }

  .landing-hero__badges {
    gap: 8px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .landing-hero__process-inner {
    padding: calc(var(--hero-form-overlap) + var(--hero-form-gap)) 0 70px;
  }

  .landing-hero__process-title {
    margin-bottom: 38px;
  }

  .landing-hero__service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (min-width: 761px) {
  .landing-hero__mobile-sticky-cta {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .landing-hero__inner {
    padding-top: clamp(120px, 9.2vw, 168px);
  }
}

@media (max-width: 520px) {
  .landing-hero__visual-stack {
    width: min(100%, 360px);
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }

  .landing-hero__form-card {
    width: 100%;
    margin-top: clamp(170px, 52vw, 205px);
  }


  .landing-hero__inner > .landing-hero__portrait {
    width: 100%;
  }

  .landing-hero__inner > .landing-hero__form-card {
    margin-top: clamp(170px, 52vw, 205px);
    margin-bottom: calc(-1 * var(--hero-form-overlap));
  }
}
