/* ALMA — Nuestra forma de trabajar. Integración aislada del diseño aprobado. */
.alma-process,
.alma-process * {
  box-sizing: border-box;
}

.alma-process {
  --alma-ink: #192b24;
  --alma-muted: #626a6d;
  --alma-green: #538456;
  --alma-green-dark: #175c3f;
  --alma-line: #a3bda9;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 815px;
  padding: 35px 28px 42px;
  background: #faf9f4;
  color: var(--alma-ink);
  font-family: 'Inter Display', 'Inter', 'Segoe UI', Arial, sans-serif;
}

.alma-process__decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.alma-process__planos {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(260px, 28vw, 480px);
  height: auto;
  opacity: .8;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 55%, transparent 100%);
}

.alma-process__ondas {
  position: absolute;
  top: 130px;
  right: -15px;
  width: clamp(310px, 39vw, 660px);
  height: auto;
  opacity: .74;
}

.alma-process__hojas {
  position: absolute;
  bottom: -36px;
  right: 0;
  width: clamp(88px, 7.5vw, 145px);
  height: 320px;
  object-fit: cover;
  object-position: right bottom;
  opacity: .85;
  -webkit-mask-image: linear-gradient(to right, transparent, black 45%);
  mask-image: linear-gradient(to right, transparent, black 45%);
}

.alma-process__container {
  max-width: 1450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.alma-process__header {
  text-align: center;
  margin: 0 auto;
  max-width: 1040px;
}

.alma-process__eyebrow {
  margin: 0;
  color: #56825b;
  font-size: 12px;
  letter-spacing: .34em;
  font-weight: 800;
  text-transform: uppercase;
}

.alma-process__decor-line {
  height: 2px;
  width: 62px;
  background: #a1bca7;
  margin: 25px auto 21px;
}

.alma-process__title {
  margin: 0;
  color: #13251e;
  font-weight: 800;
  font-size: clamp(38px, 4vw, 67px);
  line-height: 1.15;
  letter-spacing: -.068em;
  text-wrap: balance;
  font-family: inherit;
}

.alma-process__title-line {
  display: block;
  white-space: nowrap;
}

.alma-process__title strong {
  color: #548759;
  font-weight: inherit;
}

.alma-process__intro {
  color: var(--alma-muted);
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  max-width: 710px;
  margin: 19px auto 0;
  text-wrap: pretty;
}

.alma-process__steps {
  list-style: none;
  padding: 0;
  margin: 43px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(17px, 2.6vw, 48px);
  position: relative;
}

.alma-process__steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: #9aaf9c;
  z-index: 0;
}

.alma-process__step {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.alma-process__number {
  position: relative;
  z-index: 1;
  width: 61px;
  height: 61px;
  flex: none;
  background: #fffdfa;
  border: 1px solid #6eaa7c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #125b3e;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 8px rgb(22 69 38 / 6%);
}

.alma-process__number::before,
.alma-process__number::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #8fb29b;
  border-radius: 50%;
  background: #fffdfa;
  transform: translateY(-50%);
}

.alma-process__number::before { left: -8px; }
.alma-process__number::after { right: -8px; }

.alma-process__card {
  align-self: stretch;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 368px;
  background: rgb(255 255 255 / 93%);
  border: 1px solid rgb(228 231 222 / 90%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgb(35 63 43 / 8%), 0 36px 65px rgb(35 63 43 / 4%);
  transition: transform .28s ease, box-shadow .28s ease;
}

@media (hover: hover) {
  .alma-process__card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 46px rgb(35 63 43 / 14%), 0 42px 76px rgb(35 63 43 / 6%);
  }
}

.alma-process__photo-wrap {
  height: 171px;
  overflow: hidden;
  background: #e1e5dc;
}

.alma-process__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .55s ease;
}

@media (hover: hover) {
  .alma-process__card:hover .alma-process__photo { transform: scale(1.045); }
}

.alma-process__icon {
  position: absolute;
  top: 136px;
  left: 30px;
  width: 71px;
  height: 71px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(140deg, #7baf79, #377746);
  color: white;
  box-shadow: 0 4px 9px rgb(20 70 30 / 7%);
  display: grid;
  place-items: center;
}

.alma-process__card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 43px clamp(18px, 2vw, 34px) 24px;
}

.alma-process__card-title {
  margin: 0 0 9px;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.045em;
  color: #1c3029;
  font-family: inherit;
}

.alma-process__description {
  margin: 0;
  color: #60696b;
  font-size: clamp(13px, .94vw, 15.5px);
  line-height: 1.58;
  font-weight: 500;
}

.alma-process__accent {
  display: block;
  margin-top: auto;
  width: 120px;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(to right, #598760 0 55%, #dde5da 55% 100%);
  transform: translateY(7px);
}

.alma-process__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  color: #9fb7a1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4em;
  text-align: center;
}

.alma-process__footer::before,
.alma-process__footer::after {
  content: '';
  display: block;
  width: 110px;
  height: 1px;
  background: #d3dfd1;
}

@media (max-width: 1140px) {
  .alma-process { padding-inline: 26px; }
  .alma-process__steps { gap: 18px; }
  .alma-process__card-body { padding-inline: 20px; }
  .alma-process__photo-wrap { height: 157px; }
  .alma-process__icon { top: 126px; }
}

@media (max-width: 850px) {
  .alma-process { padding: 56px 28px 60px; }
  .alma-process__planos { opacity: .35; }
  .alma-process__title { font-size: clamp(38px, 6vw, 54px); }
  .alma-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; max-width: 750px; margin: 44px auto 0; }
  .alma-process__steps::before { display: none; }
  .alma-process__card { min-height: 355px; }
  .alma-process__photo-wrap { height: 180px; }
  .alma-process__icon { top: 145px; }
  .alma-process__card-title { font-size: 19px; }
  .alma-process__description { font-size: 15px; }
}

@media (max-width: 560px) {
  .alma-process { padding: 45px 20px 52px; }
  .alma-process__planos { width: 245px; opacity: .2; }
  .alma-process__ondas { width: 300px; opacity: .45; top: 235px; }
  .alma-process__hojas { opacity: .25; width: 90px; }
  .alma-process__eyebrow { font-size: 10px; letter-spacing: .26em; }
  .alma-process__decor-line { margin: 19px auto 22px; width: 48px; }
  .alma-process__title { font-size: clamp(34px, 8.4vw, 44px); letter-spacing: -.06em; }
  .alma-process__title-line { white-space: normal; }
  .alma-process__intro { font-size: 14px; line-height: 1.7; margin-top: 16px; }
  .alma-process__steps { grid-template-columns: 1fr; max-width: 420px; row-gap: 25px; margin-top: 35px; }
  .alma-process__number { width: 53px; height: 53px; font-size: 20px; }
  .alma-process__number::before,
  .alma-process__number::after { display: none; }
  .alma-process__card { min-height: 0; }
  .alma-process__photo-wrap { height: 185px; }
  .alma-process__icon { top: 149px; }
  .alma-process__card-body { padding: 43px 25px 29px; min-height: 200px; }
  .alma-process__card-title { font-size: 19px; }
  .alma-process__description { font-size: 14px; }
  .alma-process__footer { font-size: 9px; line-height: 1.7; letter-spacing: .22em; gap: 11px; }
  .alma-process__footer::before,
  .alma-process__footer::after { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .alma-process__card,
  .alma-process__photo { transition: none; }
}
