:root {
  --identity-wine: #4d1422;
  --identity-pink: #ea3d69;
  --identity-ink: #263455;
  --identity-muted: #53617f;
  --identity-line: #e6dce1;
  --identity-blush: #fff6f8;
  --identity-shell: 1240px;
}

body {
  background: #fff;
}

.identity-hero {
  position: relative;
  min-height: 780px;
  padding: 155px 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 34%, rgba(234, 61, 105, .1), transparent 34%),
    linear-gradient(180deg, #fff 68%, #fff8fa 100%);
}

.identity-hero__orbit {
  position: absolute;
  top: -980px;
  left: 49%;
  width: 1500px;
  height: 1500px;
  border: 2px solid #f2e3e8;
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.identity-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  align-items: center;
  width: min(1420px, calc(100% - 100px));
  min-height: 540px;
  margin-inline: auto;
}

.identity-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 665px;
  padding: 0 0 38px 12px;
}

.identity-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--identity-wine);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.identity-hero__eyebrow span {
  width: 27px;
  height: 2px;
  background: currentColor;
}

.identity-hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.2vw, 98px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.065em;
}

.identity-hero h1 span,
.identity-hero h1 strong {
  display: block;
}

.identity-hero h1 span {
  color: var(--identity-wine);
}

.identity-hero h1 strong {
  color: var(--identity-pink);
  font-weight: inherit;
}

.identity-hero__copy > p:not(.identity-hero__eyebrow) {
  max-width: 610px;
  margin: 29px 0 31px;
  color: var(--identity-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.65;
}

.identity-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 27px;
  border-radius: 999px;
  background: var(--identity-pink);
  color: #fff;
  box-shadow: 0 16px 32px rgba(234, 61, 105, .22);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.identity-hero__action:hover {
  background: #d82f5a;
  box-shadow: 0 20px 36px rgba(234, 61, 105, .3);
  transform: translateY(-3px);
}

.identity-hero__visual {
  position: relative;
  align-self: end;
  height: 575px;
  min-width: 0;
}

.identity-hero__glow {
  position: absolute;
  inset: 18% 3% 7%;
  border-radius: 50%;
  background: rgba(234, 61, 105, .16);
  filter: blur(65px);
}

.identity-hero__visual img {
  position: absolute;
  right: -3%;
  bottom: -18px;
  z-index: 1;
  width: min(820px, 100%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 30px 34px rgba(77, 20, 34, .13));
}

.identity-hero__footnote {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(1420px, calc(100% - 100px));
  margin: 12px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--identity-line);
  color: #896c76;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.services-dropdown a[aria-current="page"] {
  background: rgba(234, 61, 105, .1);
  color: var(--identity-wine);
  font-weight: 800;
}

.identity-section-shell {
  width: min(var(--identity-shell), calc(100% - 80px));
  margin-inline: auto;
}

.identity-services,
.identity-process {
  padding: 130px 0;
}

.identity-section-heading {
  max-width: 790px;
}

.identity-section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--identity-pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.identity-section-kicker span {
  width: 27px;
  height: 2px;
  background: currentColor;
}

.identity-section-heading h2 {
  margin: 0;
  color: var(--identity-wine);
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.identity-services {
  background: #fff;
}

.identity-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}

.identity-service-card {
  display: flex;
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #eadfe3;
  border-radius: 27px;
  background: linear-gradient(145deg, #fff, var(--identity-blush));
  box-shadow: 0 18px 44px rgba(77, 20, 34, .07), inset 0 1px 0 #fff;
}

.identity-service-card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid #eadfe3;
  background-color: #f7e9ee;
  background-position: center;
  background-size: cover;
}

.identity-service-card__media--naming {
  background-image: url('../../assets/images/identidad-naming.webp'), linear-gradient(145deg, #4d1422, #a92d50 55%, #f3a2b8);
}

.identity-service-card__media--brand {
  background-image: url('../../assets/images/desarrollo-marca.webp'), linear-gradient(145deg, #f8dfe6, #ea3d69 58%, #69172f);
}

.identity-service-card__media--stationery {
  background-image: url('../../assets/images/papeleria-corporativa.webp'), linear-gradient(145deg, #fff7f9, #d8a1b1 52%, #6c2035);
}

.identity-service-card__media--manuals {
  background-image: url('../../assets/images/manuales-marca.webp'), linear-gradient(145deg, #702039, #ea3d69 60%, #ffd7e2);
}

.identity-service-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(77, 20, 34, .25));
  content: "";
  pointer-events: none;
}

.identity-service-card__media > span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 8px 20px rgba(77, 20, 34, .12);
  color: var(--identity-wine);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.identity-service-card__copy {
  flex: 1;
  padding: 27px 26px 30px;
}

.identity-service-card h3 {
  margin: 0 0 12px;
  color: var(--identity-wine);
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.identity-service-card p {
  margin: 0;
  color: var(--identity-muted);
  font-size: 13px;
  line-height: 1.65;
}

.identity-process {
  overflow: hidden;
  background: radial-gradient(circle at 100% 0, rgba(234, 61, 105, .12), transparent 32%), var(--identity-blush);
}

.identity-process__heading > p:last-child {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--identity-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.identity-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
}

.identity-timeline::before {
  position: absolute;
  top: 25px;
  right: calc(12.5% - 25px);
  left: 25px;
  height: 1px;
  background: #d9b7c2;
  content: "";
}

.identity-timeline li {
  position: relative;
  min-width: 0;
}

.identity-timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 51px;
  height: 51px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(234, 61, 105, .34);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(77, 20, 34, .08);
  color: var(--identity-pink);
  font-size: 11px;
  font-weight: 900;
}

.identity-timeline h3 {
  margin: 0 0 11px;
  color: var(--identity-wine);
  font-size: 22px;
  letter-spacing: -.03em;
}

.identity-timeline p {
  max-width: 250px;
  margin: 0;
  color: var(--identity-muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .identity-hero {
    min-height: 720px;
  }

  .identity-hero__inner {
    grid-template-columns: 47% 53%;
    width: calc(100% - 70px);
    min-height: 500px;
  }

  .identity-hero h1 {
    font-size: clamp(54px, 6.4vw, 76px);
  }

  .identity-hero__visual {
    height: 490px;
  }

  .identity-hero__visual img {
    right: -8%;
    width: 108%;
  }

  .identity-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .identity-service-card {
    min-height: 0;
  }

  .identity-service-card__media {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 820px) {
  .identity-hero {
    min-height: 0;
    padding: 124px 0 30px;
  }

  .identity-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 40px);
    min-height: 0;
  }

  .identity-hero__copy {
    max-width: 680px;
    padding: 0;
  }

  .identity-hero__action {
    display: flex;
    width: max-content;
    margin-inline: auto;
  }

  .identity-hero__eyebrow {
    font-size: 10px;
  }

  .identity-hero h1 {
    font-size: clamp(50px, 12vw, 76px);
  }

  .identity-hero__copy > p:not(.identity-hero__eyebrow) {
    margin: 24px 0 26px;
    font-size: 16px;
  }

  .identity-hero__visual {
    align-self: stretch;
    height: clamp(340px, 73vw, 570px);
    margin-top: 20px;
  }

  .identity-hero__visual img {
    right: -5%;
    bottom: -5px;
    width: 110%;
  }

  .identity-hero__footnote {
    width: calc(100% - 40px);
    margin-top: 4px;
  }

  .identity-section-shell {
    width: calc(100% - 40px);
  }

  .identity-services,
  .identity-process {
    padding: 90px 0;
  }

  .identity-section-heading h2 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .identity-services__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 46px;
  }

  .identity-service-card__media {
    min-height: 330px;
    aspect-ratio: 16 / 10;
  }

  .identity-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 52px;
    padding-left: 0;
  }

  .identity-timeline::before {
    top: 25px;
    bottom: 25px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .identity-timeline li {
    display: grid;
    grid-template-columns: 51px minmax(0, 1fr);
    gap: 22px;
  }

  .identity-timeline__marker {
    margin: 0;
  }

  .identity-timeline h3 {
    margin-top: 2px;
  }

  .identity-timeline p {
    max-width: 540px;
  }
}

@media (max-width: 450px) {
  .identity-hero h1 {
    font-size: clamp(44px, 12.5vw, 58px);
  }

  .identity-hero__action {
    min-height: 52px;
    padding: 0 21px;
    font-size: 12px;
  }

  .identity-hero__visual {
    height: 315px;
  }

  .identity-hero__visual img {
    right: -12%;
    width: 124%;
  }

  .identity-hero__footnote {
    gap: 18px;
    font-size: 8px;
  }

  .identity-section-shell {
    width: calc(100% - 32px);
  }

  .identity-services,
  .identity-process {
    padding: 72px 0;
  }

  .identity-section-kicker {
    font-size: 9px;
    line-height: 1.4;
  }

  .identity-section-heading h2 {
    font-size: 37px;
  }

  .identity-service-card__media {
    min-height: 300px;
  }

  .identity-service-card__copy {
    padding: 25px 22px 28px;
  }

  .identity-timeline {
    gap: 30px;
  }

  .identity-timeline li {
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-hero__action {
    transition: none;
  }
}
