:root {
  --c-bg: #23252a;
  --c-surface: #1b2435;
  --c-border: #0f2d5e;
  --c-text: #e6edf7;
  --c-white: #ffffff;
  --c-muted: #9aa6bd;
  --c-red-primary: #f21d44;
  --c-blue-primary: #048abf;
  --c-accent7: #f8c0c8;
  --c-red-fondo: #5e1020;
  --font-head: 'Poppins', sans-serif;
  --font-mono: 'Urbanist', sans-serif;
  --font-body: 'Urbanist', sans-serif;

  --azul1:#1A5276;
  --azul2:#1F618D;
  --azul3:#2471A3;
  --azul4:#2980B9;
  --azul5:#339de2;
  --verde1:#117A65;
  --verde2:#148A61;
  --verde3:#1A7A5E;
  --verde4:#0E6655;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--c-blue-primary);
  color: var(--c-bg);
}

.container {
  max-width: 100% !important;
  padding-left: 2rem;
  padding-right: 2rem;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
}

h4,
h5 {
  font-family: var(--font-mono);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8em;
}

.hero-tag5 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-red-fondo);
  border: 1px solid var(--c-red-fondo);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-accent7);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.headhunting-tag {
  padding: 0.3rem 1rem;
  border-radius: 100px;
}

.tag-dot4 {
  width: 7px;
  height: 7px;
  background: var(--c-accent7);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.c-red {
  color: #e81b2e;
  text-shadow: 0 0 12px rgba(197, 34, 50, 0.523);
}

.c-blue {
  color: #048abf;
  text-shadow: 0 0 12px rgba(4, 138, 191, 0.233);
}

.c-yellow {
  color: #ffc605;
  text-shadow: 0 0 12px rgba(255, 198, 5, 0.4);
}

.c-green {
  color: #76b500;
  text-shadow: 0 0 12px rgba(148, 197, 60, 0.4);
}

.c-redClaro {
  color: #ec5b5b;
  text-shadow: 0 0 12px rgba(236, 111, 123, 0.4);
}

.c-amarilloClaro {
  color: #ffe485;
  text-shadow: 0 0 12px rgba(255, 198, 5, 0.4);
}

.c-blueClaro {
  color: #44cfd9;
  text-shadow: 0 0 12px rgba(46, 164, 223, 0.4);
}

.color {
  color: var(--c-red-primary);
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down {
  opacity: 0;
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
  will-change: opacity, transform;
  filter: blur(8px);
}

.reveal {
  transform: translateY(58px) scale(0.98);
}

.reveal-left {
  transform: translateX(-70px) scale(0.98);
}

.reveal-right {
  transform: translateX(78px) scale(0.98);
}

.reveal-up {
  transform: translateY(68px);
}

.reveal-down {
  transform: translateY(-68px);
}

.reveal.show,
.reveal-left.show,
.reveal-right.show,
.reveal-up.show,
.reveal-down.show,
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal-down.visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.typing-hero-title {
  min-height: 1.1em;
  opacity: 0;
  transform: translateY(-48px);
  animation: titleDropIn 0.75s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.typing-text {
  display: inline-block;
  min-width: 0.18em;
  white-space: pre;
}

.typing-caret {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  margin-left: 8px;
  background: var(--c-red-primary);
  border-radius: 999px;
  vertical-align: -0.04em;
  box-shadow: 0 0 18px rgba(242, 29, 68, 0.55);
  animation: caret-blink 0.9s steps(1) infinite;
}

.typing-on-scroll {
  min-height: 1.15em;
}

.typing-on-scroll .typing-caret {
  display: none;
  opacity: 0;
}

.typing-on-scroll.is-typing-active .typing-caret {
  opacity: 1;
}

.profile-types-title > .typing-text,
.contract-modalities-title > .typing-text {
  color: var(--c-white);
  font-style: normal;
}

.headhunting-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 50%, rgba(4, 138, 191, 0.22), transparent 30%),
    radial-gradient(circle at 80% 35%, rgba(4, 138, 191, 0.1), transparent 28%),
    linear-gradient(90deg, #1d1f23 0%, #07182d 42%, #020b17 100%);
}

.headhunting-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0%,
      rgba(4, 138, 191, 0.05) 25%,
      rgba(4, 138, 191, 0.02) 50%,
      rgba(4, 138, 191, 0.05) 75%,
      rgba(255, 255, 255, 0.01) 100%
    );
  pointer-events: none;
}

.headhunting-box {
  max-width: 100% !important;
  padding-top: 2rem;
  padding-left: 7%;
  padding-right: 7%;
  padding-bottom: 4rem;
}

.headhunting-top {
  margin-bottom: 4rem;
}

.headhunting-content {
  animation: none;
}

.headhunting-desc {
  font-family: var(--font-body);
  color: var(--c-muted);
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 700;
  line-height: 1.85;
  max-width: 760px;
  text-align: justify;
  animation: none;
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.headhunting-desc.typing-desc-pending {
  opacity: 0;
  transform: translateY(64px);
}

.headhunting-desc.typing-desc-enter {
  opacity: 1;
  transform: translateY(0);
}

.headhunting-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: none;
  opacity: 0;
  transform: translateX(86px) scale(0.94);
  transition:
    opacity 0.95s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.headhunting-visual.typing-visual-pending {
  opacity: 0;
  transform: translateX(86px) scale(0.94);
}

.headhunting-visual.typing-visual-enter {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.headhunting-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  animation: floating 4.5s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.headhunting-visual:hover .headhunting-img {
  transform: scale(1.04);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
}

.headhunting-bottom {
  margin-top: 2.5rem;
}

.headhunting-bottom .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4.5rem 2rem;
  margin: 0;
}

.headhunting-col {
  flex: 0 1 calc(25% - 2rem);
  max-width: calc(25% - 2rem);
}

.headhunting-col.reveal {
  transform: translateY(74px) scale(0.9);
  transform-origin: center top;
}

.headhunting-col.reveal.show,
.headhunting-col.reveal.visible {
  transform: translateY(0) scale(1);
}

.headhunting-card {
  width: 100%;
  height: 100%;
  transform: translateY(0);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.headhunting-col:hover .headhunting-card {
  transform: translateY(-6px);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.2));
}

.headhunting-icon {
  font-size: 3rem;
  color: var(--c-red-primary);
  margin-bottom: 14px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.headhunting-col:hover .headhunting-icon {
  transform: scale(1.12);
}

.headhunting-card h4 {
 
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .5rem;

}

.headhunting-card p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--c-muted);
  text-align: justify;
}

.profile-types-section {
  position: relative;
  padding: 4.75rem 0 6rem;
  background:
    radial-gradient(circle at 14% 18%, rgba(4, 138, 191, 0.16), transparent 28%),
    radial-gradient(circle at 85% 28%, rgba(242, 29, 68, 0.12), transparent 30%),
    linear-gradient(90deg, #1d1f23 0%, #07182d 42%, #020b17 100%);
  overflow: hidden;
}

.profile-types-section::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 192, 200, 0.35), transparent);
}

.profile-types-box {
  position: relative;
  z-index: 1;
  padding-left: 7%;
  padding-right: 7%;
}

.profile-types-tag {
  margin-bottom: 1.4rem;
}

.profile-types-header {
  max-width: 100%;
  margin-bottom: 1.6rem;
}

.profile-types-header.reveal,
.recruitment-process-header.reveal {
  transform: none;
  filter: none;
}

.profile-types-header.reveal .profile-types-title,
.recruitment-process-header.reveal .profile-types-title {
  opacity: 0;
  transform: translateY(-58px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-types-header.reveal .profile-types-desc,
.recruitment-process-header.reveal .recruitment-process-desc {
  opacity: 0;
  transform: translateY(58px);
  transition: opacity 0.85s 0.14s ease, transform 0.85s 0.14s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-types-header.reveal.show .profile-types-title,
.profile-types-header.reveal.visible .profile-types-title,
.recruitment-process-header.reveal.show .profile-types-title,
.recruitment-process-header.reveal.visible .profile-types-title,
.profile-types-header.reveal.show .profile-types-desc,
.profile-types-header.reveal.visible .profile-types-desc,
.recruitment-process-header.reveal.show .recruitment-process-desc,
.recruitment-process-header.reveal.visible .recruitment-process-desc {
  opacity: 1;
  transform: translateY(0);
}

.profile-types-title {
  max-width: 100%;
  color: var(--c-white);
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-wrap: balance;
  overflow-wrap: normal;
}

.profile-types-title span {
  color: var(--c-red-primary);
  font-style: italic;
}

.profile-types-desc {
  max-width: 1100px;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.75;
  text-wrap: pretty;
}

.profile-types-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--c-red-fondo) rgba(255, 255, 255, 0.08);
}

.profile-types-table-wrap.reveal {
  transform: translateY(90px) scale(0.94);
  transform-origin: center top;
}

.profile-types-table-wrap.reveal.show,
.profile-types-table-wrap.reveal.visible {
  transform: translateY(0) scale(1);
}

.profile-types-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--c-accent7);
  box-shadow:
    0 32px 68px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(248, 192, 200, 0.22);
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.profile-types-table-wrap:hover .profile-types-table {
  transform: translateY(-4px);
  box-shadow:
    0 42px 86px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(242, 29, 68, 0.18);
}

.profile-types-table th {
  position: relative;
  overflow: hidden;
  background: var(--c-red-fondo);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 700;
  line-height: 1.55;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.profile-types-table th::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 42%,
    transparent 72%
  );
  transform: translateX(-120%);
}

.profile-types-table-wrap.visible .profile-types-table th::after,
.profile-types-table-wrap.show .profile-types-table th::after {
  animation: tableHeaderSweep 1.05s 0.35s ease both;
}

.profile-types-table th,
.profile-types-table td {
  border-right: 1px solid rgba(94, 16, 32, 0.55);
}

.profile-types-table th:last-child,
.profile-types-table td:last-child {
  border-right: 0;
}

.profile-types-table td {
  padding: 1.25rem 1.15rem 2.8rem;
  vertical-align: top;
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease;
}

.profile-types-table-wrap.visible .profile-types-table td,
.profile-types-table-wrap.show .profile-types-table td {
  opacity: 1;
  transform: translateY(0);
}

.profile-types-table-wrap.visible .profile-types-table td:nth-child(1),
.profile-types-table-wrap.show .profile-types-table td:nth-child(1) {
  transition-delay: 0.06s;
}

.profile-types-table-wrap.visible .profile-types-table td:nth-child(2),
.profile-types-table-wrap.show .profile-types-table td:nth-child(2) {
  transition-delay: 0.16s;
}

.profile-types-table-wrap.visible .profile-types-table td:nth-child(3),
.profile-types-table-wrap.show .profile-types-table td:nth-child(3) {
  transition-delay: 0.26s;
}

.profile-types-table-wrap.visible .profile-types-table td:nth-child(4),
.profile-types-table-wrap.show .profile-types-table td:nth-child(4) {
  transition-delay: 0.36s;
}

.profile-types-table td:hover {
  background: #ffd6dc;
}

.profile-types-table ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-types-table li {
  color: #07182d;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
}

.profile-types-table li::before {
  content: ">";
  color: var(--c-red-fondo);
  margin-right: 0.35rem;
}

.recruitment-process-section {
  position: relative;
  padding: 6rem 0 7rem;
  background:
    radial-gradient(circle at 8% 18%, rgba(4, 138, 191, 0.12), transparent 28%),
    linear-gradient(90deg, #07182d 0%, #051121 48%, #020b17 100%);
  overflow: hidden;
}

.recruitment-process-section::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(4, 138, 191, 0.55), transparent);
}


.recruitment-process-box {
  position: relative;
  z-index: 1;
  padding-left: 7%;
  padding-right: 7%;
}

.recruitment-process-tag {
  margin-bottom: 1.25rem;
}

.recruitment-process-header {
  max-width: 100%;
  margin-bottom: 2.4rem;
}

.recruitment-process-title {
  max-width: 100%;
  color: var(--c-white);
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

.recruitment-process-desc {
  max-width: 1180px;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.65;
  text-wrap: pretty;
  text-align: justify;
}

.recruitment-steps {
  position: relative;
  display: grid;
  gap: 3.25rem;
  width: 100%;
  max-width: 100%;
  margin-top: 2.5rem;
  padding-left: 4.9rem;
}

.recruitment-steps::before {
  display: none;
}

.recruitment-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 110px;
}

.recruitment-step.reveal {
  transform: translateX(66px);
}

.recruitment-step.reveal.show,
.recruitment-step.reveal.visible {
  transform: translateX(0);
}

.recruitment-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: -2.55rem;
  top: 5rem;
  bottom: -2.85rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0,
    rgba(255, 255, 255, 0.64) 10px,
    rgba(255, 255, 255, 0.64) calc(100% - 10px),
    transparent 100%
  );
  border-radius: 999px;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.85s 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.recruitment-step.show:not(:last-child)::before,
.recruitment-step.visible:not(:last-child)::before {
  transform: scaleY(1);
}

.recruitment-step-node {
  position: absolute;
  left: -4.9rem;
  top: 0.15rem;
  width: 4.7rem;
  height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.32));
  transform: scale(0.72) rotate(-10deg);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s ease;
}

.recruitment-step.show .recruitment-step-node,
.recruitment-step.visible .recruitment-step-node {
  transform: scale(1) rotate(0);
}

.recruitment-step-node::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  background: #061426;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  z-index: 0;
}

.recruitment-step-node img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.recruitment-step-node span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.recruitment-step-content {
  width: 100%;
  min-width: 0;
  padding-left: 0.7rem;
  transform: translateY(28px);
  transition: transform 0.85s 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.recruitment-step.show .recruitment-step-content,
.recruitment-step.visible .recruitment-step-content {
  transform: translateY(0);
}

.recruitment-step-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.45rem;
}

.recruitment-step h3 {
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.recruitment-step p {
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
  text-align: justify;
}

.recruitment-step-time-a1{
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azul1);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-a2{
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azul2);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-a3 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azul3);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-a4 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azul4);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-a5 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--azul5);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-v1 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--verde1);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-v2 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--verde2);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-v3 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--verde3);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.recruitment-step-time-v4 {
  justify-self: end;
  min-width: 126px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--verde4);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}


@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

@keyframes titleDropIn {
  from {
    opacity: 0;
    transform: translateY(-48px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes caret-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes tableHeaderSweep {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1400px) {
  .headhunting-col {
    flex: 0 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
  }
}

@media (min-width: 1400px) {
  .headhunting-box {
    padding: 3rem 7rem 4rem;
  }

  .profile-types-box {
    padding-left: 7rem;
    padding-right: 7rem;
  }

  .recruitment-process-box {
    padding-left: 7rem;
    padding-right: 7rem;
  }

  .recruitment-process-section::before {
    left: 7rem;
    right: 7rem;
  }

  .recruitment-process-section::after {
    right: 7rem;
  }

  .headhunting-img {
    max-width: 620px;
  }

  .headhunting-desc {
    max-width: 820px;
    font-size: 1.6rem;
  }

  .headhunting-card h4 {
    font-size: 2.4rem;
  }

  .headhunting-card p {
    font-size: 1.12rem;
  }
}

@media (max-width: 992px) {
  .headhunting-col {
    flex: 0 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (max-width: 991px) {
  .headhunting-section {
    padding: 95px 0 55px;
  }

  .headhunting-box {
    padding: 1.25rem 2.5rem 2.5rem;
  }

  .headhunting-top {
    margin-bottom: 2.8rem;
  }

  .headhunting-desc {
    max-width: 100%;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
  }

  .headhunting-visual {
    margin-top: 1rem;
  }

  .headhunting-img {
    max-width: 360px;
  }

  .headhunting-card h4 {
    font-size: 1.7rem;
  }

  .headhunting-card p {
    font-size: 1rem;
    text-align: left;
  }

  .profile-types-section {
    padding: 3.75rem 0 4.5rem;
  }

  .profile-types-box {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .profile-types-section::before {
    left: 2.5rem;
    right: 2.5rem;
  }

  .profile-types-table-wrap {
    overflow: visible;
  }

  .profile-types-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
    background: transparent;
    box-shadow: none;
  }

  .profile-types-table thead {
    display: none;
  }

  .profile-types-table tbody,
  .profile-types-table tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
  }

  .profile-types-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: var(--c-accent7);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  }

  .profile-types-table-wrap:hover .profile-types-table {
    transform: none;
  }

  .profile-types-table td::before {
    display: block;
    padding: 0.9rem 1rem;
    background: var(--c-red-fondo);
    color: var(--c-white);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .profile-types-table td:nth-child(1)::before {
    content: "Dirección y C-Suite";
  }

  .profile-types-table td:nth-child(2)::before {
    content: "Gerencias y mandos medios";
  }

  .profile-types-table td:nth-child(3)::before {
    content: "Perfiles técnicos TI";
  }

  .profile-types-table td:nth-child(4)::before {
    content: "Especialistas y profesionales";
  }

  .profile-types-table ul {
    padding: 1rem 1rem 1.25rem;
  }

  .recruitment-process-section {
    padding: 4.75rem 0 5.25rem;
  }

  .recruitment-process-box {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .recruitment-process-section::before {
    left: 2.5rem;
    right: 2.5rem;
  }

  .recruitment-process-section::after {
    right: 2.5rem;
    height: 24%;
  }

  .recruitment-steps {
    gap: 2.5rem;
    padding-left: 4.35rem;
  }

  .recruitment-steps::before {
    display: none;
  }

  .recruitment-step:not(:last-child)::before {
    left: -2.28rem;
    top: 4.45rem;
    bottom: -2.15rem;
  }

  .recruitment-step-node {
    left: -4.35rem;
    width: 4.15rem;
    height: 4.15rem;
  }

  .recruitment-step-head {
    gap: 0.7rem;
  }

  .recruitment-step-time {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .headhunting-card {
    text-align: center;
  }

  .headhunting-icon {
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .headhunting-card h4 {
    margin-top: 10px;
  }

  .headhunting-card p {
    text-align: center;
  }

  .profile-types-title {
    max-width: 100%;
    font-size: clamp(1.85rem, 7vw, 2.55rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .profile-types-desc {
    font-size: 1rem;
    line-height: 1.75;
    text-align: justify;
    text-align-last: left;
  }

  .profile-types-table {
    min-width: 0;
    width: 100%;
  }

  .profile-types-table tbody,
  .profile-types-table tr {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-types-table th {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .profile-types-table td {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .profile-types-table li {
    font-size: 0.95rem;
  }

  .recruitment-process-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 7vw, 2.75rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .recruitment-process-desc {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .recruitment-step-content {
    min-width: 0;
    padding-left: 0.45rem;
  }

  .recruitment-step-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .recruitment-step h3,
  .recruitment-step p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .recruitment-step h3 {
    max-width: none;
    margin: 0;
  }

  .recruitment-step [class^="recruitment-step-time-"] {
    justify-self: end;
    max-width: max-content;
    min-width: 0;
    white-space: nowrap;
    line-height: 1;
  }

  .recruitment-step p {
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media (max-width: 576px) {
  .headhunting-col {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .headhunting-section {
    padding: 100px 0 45px;
  }

  .headhunting-box {
    padding: 0.75rem 1.5rem 2rem;
  }

  .headhunting-top {
    margin-bottom: 2.2rem;
  }

  .headhunting-desc {
    font-size: 1rem;
    line-height: 1.75;
    text-align: justify;
  }

  .headhunting-img {
    max-width: 240px;
    width: 80%;
    margin: 1rem auto 0;
  }

  .headhunting-icon {
    font-size: 2.5rem;
  }

  .headhunting-card h4 {
    font-size: 1.45rem;
  }

  .headhunting-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    text-align: center;
  }

  .profile-types-section {
    padding: 3.5rem 0 4rem;
  }

  .profile-types-box {
    padding-left: clamp(1rem, 5vw, 1.5rem);
    padding-right: clamp(1rem, 5vw, 1.5rem);
  }

  .profile-types-section::before {
    left: clamp(1rem, 5vw, 1.5rem);
    right: clamp(1rem, 5vw, 1.5rem);
  }

  .profile-types-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .profile-types-desc {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .recruitment-process-section {
    padding: 3.75rem 0 4.25rem;
  }

  .recruitment-process-box {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .recruitment-process-section::before {
    left: 1.5rem;
    right: 1.5rem;
  }

  .recruitment-process-section::after {
    display: none;
  }

  .profile-types-header {
    margin-bottom: 1.15rem;
  }

  .profile-types-table {
    min-width: 0;
    width: 100%;
  }

  .profile-types-table tbody,
  .profile-types-table tr {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-types-table td {
    width: 100%;
    min-width: 0;
  }

  .recruitment-process-header {
    margin-bottom: 1.6rem;
  }

  .recruitment-steps {
    gap: 2.15rem;
    margin-top: 1.75rem;
    padding-left: clamp(2.75rem, 12vw, 3.25rem);
  }

  .recruitment-steps::before {
    display: none;
  }

  .recruitment-step:not(:last-child)::before {
    left: calc(-1 * clamp(2.75rem, 12vw, 3.25rem) + 1.575rem);
    top: 3.45rem;
    bottom: -1.75rem;
    width: 1.5px;
  }

  .recruitment-step {
    min-height: auto;
  }

  .recruitment-step-node {
    left: calc(-1 * clamp(2.75rem, 12vw, 3.25rem));
    width: 3.15rem;
    height: 3.15rem;
  }

  .recruitment-step-node span {
    font-size: 1.05rem;
  }

  .recruitment-step h3 {
    font-size: 1.05rem;
  }

  .recruitment-step-time {
    min-width: auto;
    padding: 0.42rem 0.85rem;
    font-size: 0.72rem;
  }

  .recruitment-step [class^="recruitment-step-time-"] {
    padding: 0.42rem 0.85rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .recruitment-step h3 {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-down,
  .hero-actions,
  .typing-hero-title,
  .headhunting-desc,
  .headhunting-visual,
  .recruitment-step-node,
  .recruitment-step-content,
  .profile-types-header.reveal .profile-types-title,
  .profile-types-header.reveal .profile-types-desc,
  .recruitment-process-header.reveal .profile-types-title,
  .recruitment-process-header.reveal .recruitment-process-desc {
    opacity: 1;
    transition: none;
    animation: none;
    transform: none;
    filter: none;
  }

  .recruitment-step:not(:last-child)::before {
    transition: none;
    transform: scaleY(1);
  }

  .profile-types-table th::after {
    animation: none;
    transform: translateX(120%);
  }

  .profile-types-table td {
    opacity: 1;
    transition: none;
    transform: none;
  }

  .typing-caret {
    
    animation: none;
    
  }
}

/* boton del banner principal */
.headhunting-section .hero-actions {
  opacity: 0;
  animation: heroButtonIn 0.85s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  margin: 0;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--c-red-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.5s ease, transform 0.3s ease, padding 0.3s ease;
}

.btn-hero i {
  font-size: 1rem;
  flex-shrink: 0;
}

.btn-hero-text-mobile {
  display: none;
}

.btn-hero:hover {
  color: var(--c-red-primary);
  transform: translateY(-2px);
}

.btn-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -20%;
  background: #fff;
  transform: skewX(-45deg) scale(0, 1);
  transition: transform 0.5s ease;
}

.btn-hero:hover::after {
  transform: skewX(-45deg) scale(1, 1);
}

.btn-hero--inverse {
  background: #fff;
  color: var(--c-red-primary);
}

.btn-hero--inverse:hover {
  color: #fff;
}

.btn-hero--inverse::after {
  background: var(--c-red-primary);
}

@media (max-width: 991px) {
  .btn-hero {
    min-height: 44px;
    padding: 0.75rem 1.1rem;
    gap: .5rem;
    font-size: 0.95rem;
  }

  .btn-hero i {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .hero-actions {
    justify-content: left;
    width: 100%;
  }

  .btn-hero {
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    gap: .45rem;
    font-size: 0.88rem;
  }

  .btn-hero-text-desktop {
    display: none;
  }

  .btn-hero-text-mobile {
    display: inline;
  }

  .btn-hero i {
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .btn-hero {
    width: auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    gap: .45rem;
  }

  .btn-hero-text {
    display: none;
  }

  .btn-hero-text-mobile {
    display: inline;
  }

  .btn-hero i {
    margin: 0;
    font-size: 1rem;
  }
}

@keyframes heroButtonIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Cards de tipos de perfiles */
.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  width: min(100%, 1180px);
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.profile-card {
  position: relative;
  min-height: clamp(360px, 32vw, 450px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #07111f;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.profile-card::before,
.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.profile-card::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.84) 0%, rgba(2, 8, 16, 0.54) 54%, rgba(2, 8, 16, 0.78) 100%),
    linear-gradient(180deg, rgba(2, 8, 16, 0.18) 0%, rgba(2, 8, 16, 0.76) 100%);
}

.profile-card::after {
  z-index: 2;
  opacity: 0;
  border: 1px solid rgba(242, 29, 68, 0.72);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 34px rgba(242, 29, 68, 0.48),
    0 0 76px rgba(242, 29, 68, 0.24);
}

.profile-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.7);
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.profile-card-content {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  color: #fff;
}

.profile-card h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.05;
}

.profile-card p {
  max-width: 21rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.12vw, 1.04rem);
  font-weight: 650;
  line-height: 1.42;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(226, 233, 244, 0.82);
  color: #07182d;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.profile-tags span:hover {
  background: var(--c-red-primary);
  border-color: var(--c-red-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(242, 29, 68, 0.34);
}

.profile-card:hover,
.profile-card:focus-within {
  transform: translateY(-10px);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(242, 29, 68, 0.36);
}

.profile-card:hover::after,
.profile-card:focus-within::after {
  opacity: 1;
}

.profile-card:hover::before,
.profile-card:focus-within::before {
  opacity: 0.58;
}

.profile-card:hover img,
.profile-card:focus-within img {
  filter: saturate(1.24) brightness(1.24) contrast(1.06);
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .profile-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-cards-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 370px;
  }
}

/* Modalidades de contratacion */
.contract-modalities-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 1.25rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(12, 42, 78, 0.48), transparent 46%),
    linear-gradient(180deg, #07111f 0%, #081523 100%);
}

.contract-modalities-box {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.contract-modalities-header {
  margin: clamp(1.8rem, 3vw, 2.5rem) auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.contract-modalities-title {
  max-width: 843px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.contract-modalities-title span {
  color: var(--c-red-primary);
  font-style: italic;
}

.contract-modalities-title .contract-title-line {
  display: block;
  color: var(--c-white);
  font-style: normal;
  text-align: center;
}

.contract-modalities-title .contract-title-line-accent {
  color: var(--c-red-primary);
  font-style: italic;
}

.contract-modalities-title .contract-title-line .typing-text {
  color: inherit;
  font-style: inherit;
}

.contract-modalities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  perspective: 1200px;
}

.contract-modality-card {
  position: relative;
  overflow: hidden;
  min-height: 395px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
    #24272c;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.contract-modality-card::before,
.contract-modality-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contract-modality-card::before {
  z-index: -1;
  inset: -1px;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(242, 29, 68, 0.7), rgba(4, 138, 191, 0.18), transparent 62%);
  transition: opacity 0.45s ease;
}

.contract-modality-card::after {
  inset: 0;
  z-index: 1;
  opacity: 0.7;
  background:
    radial-gradient(circle at 18% 12%, rgba(242, 29, 68, 0.13), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(4, 138, 191, 0.13), transparent 32%);
}

.contract-modality-card:hover {
  border-color: rgba(242, 29, 68, 0.34);
  transform: translateY(-10px) rotateX(1deg);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(242, 29, 68, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contract-modality-card:hover::before {
  opacity: 1;
}

.contract-modality-head {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 86px;
  padding: 1.05rem 1.5rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #070c14;
  text-align: center;
}

.contract-modality-head::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red-primary), transparent);
  transform: translateX(-50%);
}

.contract-modality-head::after {
  content: "";
  position: absolute;
  inset: 0 -45%;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.14) 50%, transparent 68%);
  transform: translateX(-100%) skewX(-18deg);
}

.contract-modality-card.visible .contract-modality-head::after,
.contract-modality-card.show .contract-modality-head::after,
.contract-modality-card:hover .contract-modality-head::after {
  animation: modalityHeadSweep 1.15s 0.18s ease both;
}

.contract-modality-head h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  color: var(--c-red-primary);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.contract-modality-head p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
}

.contract-modality-body {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem) 2.2rem;
  color: #fff;
}

.contract-modality-body > p {
  max-width: 31rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.7;
}

.contract-modality-body ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-modality-body li {
  position: relative;
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.7;
}

.contract-modality-body li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.22rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(242, 29, 68, 0.13);
  box-shadow: 0 0 0 1px rgba(242, 29, 68, 0.32);
  color: var(--c-red-primary);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.contract-modality-card:hover .contract-modality-body li::before {
  background: var(--c-red-primary);
  box-shadow: 0 0 18px rgba(242, 29, 68, 0.42);
  color: #fff;
  transform: scale(1.08);
}

.contract-modality-card.reveal {
  transform: translateY(72px) rotateX(7deg) scale(0.96);
  transform-origin: center bottom;
}

.contract-modality-card.reveal.show,
.contract-modality-card.reveal.visible {
  transform: translateY(0) rotateX(0) scale(1);
}

.contract-modality-card.reveal.show:hover,
.contract-modality-card.reveal.visible:hover {
  transform: translateY(-10px) rotateX(1deg) scale(1);
}

.contract-modality-card:nth-child(2).reveal {
  transition-delay: 0.12s;
}

@keyframes modalityHeadSweep {
  from {
    transform: translateX(-100%) skewX(-18deg);
  }

  to {
    transform: translateX(100%) skewX(-18deg);
  }
}

@media (max-width: 900px) {
  .contract-modalities-grid {
    gap: 1.5rem;
  }

  .contract-modality-card {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .contract-modalities-section {
    padding: 4rem 1rem;
  }

  .contract-modalities-grid {
    grid-template-columns: 1fr;
  }

  .contract-modality-card {
    min-height: auto;
    border-radius: 18px;
  }

  .contract-modality-head {
    min-height: auto;
  }
}
