body[data-service-page="branding-identidad"] {
  background: #fff;
}

body[data-service-page="branding-identidad"] .branding-service {
  --branding-ink: #004762;
  --branding-red: #c91235;
  
  --branding-panel: #f3f4f5;
  width: 100%;
  padding: 1.5rem 0 clamp(4rem, 8vw, 8rem);
  overflow: hidden;
  color: var(--branding-ink);
  background: #fff;
}

.branding-service__video {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 8.95;
  overflow: hidden;
  background: #152f3d;
}

.branding-service__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branding-service__intro {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.4rem);
  width: min(calc(100% - 2rem), 1160px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.branding-service__intro h1,
.branding-service__panel h2,
.branding-service__examples h2 {
  max-width: none;
  margin: 0;
  letter-spacing: -0.035em;
}

.branding-service__intro h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.18em;
  row-gap: 0;
  color: var(--branding-ink);
  font-size: clamp(2.55rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
}

.branding-service__intro h1 span {
  flex-basis: 100%;
}

.branding-service__intro h1 strong,
.branding-service__panel h2 strong {
  color: var(--branding-red);
  font-family: "PacificoLocal", "Pacifico", cursive;
  font-weight: 400;
  letter-spacing: 0;
}

.branding-service__intro h1 strong {
  font-size: 0.95em;
}

.branding-service__intro p {
  width: min(100%, 38ch);
  min-width: 0;
  margin: 0;
  color: var(--branding-ink);
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.24;
  text-wrap: balance;
}

.branding-service__panel {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 2rem), 1320px);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3rem, 5vw, 4.75rem) clamp(1.5rem, 5vw, 5rem) clamp(3.5rem, 5vw, 5rem);
  overflow: hidden;
  border-radius: clamp(1.6rem, 3vw, 3rem);
  background: var(--branding-panel);
}

.branding-service__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(15rem, 31vw, 30rem);
  height: clamp(15rem, 31vw, 30rem);
  border: clamp(2rem, 5vw, 5rem) solid rgba(0, 71, 98, 0.055);
  border-radius: 46% 54% 58% 42%;
  transform: rotate(33deg);
  pointer-events: none;
}

.branding-service__panel--develop::after {
  top: -12rem;
  right: -8rem;
}

.branding-service__panel--recommend::after {
  left: -10rem;
  bottom: -12rem;
}

.branding-service__panel h2 {
  display: grid;
  justify-items: center;
  gap: 0.02em;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  color: var(--branding-ink);
  font-size: clamp(2.25rem, 4vw, 4.05rem);
  font-weight: 700;
  line-height: 0.94;
  text-align: center;
}

.branding-service__panel h2 strong {
  font-size: 1.03em;
}

.branding-service__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branding-service__item {
  display: grid;
  grid-template-rows: clamp(10rem, 17vw, 14rem) auto;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 0 clamp(1rem, 3vw, 3rem);
  text-align: center;
}

.branding-service__item + .branding-service__item {
  border-left: 1px solid rgba(0, 71, 98, 0.62);
}

.branding-service__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 18rem;
  max-height: 13.5rem;
  object-fit: contain;
}

.branding-service__item p {
  align-self: start;
  width: min(100%, 26ch);
  max-width: 26ch;
  margin: clamp(1rem, 1.8vw, 1.7rem) auto 0;
  color: var(--branding-ink);
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.branding-service__examples {
  width: min(calc(100% - 2rem), 1320px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(0.75rem, 1.5vw, 1.25rem);
}

.branding-service__examples h2 {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  color: var(--branding-red);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  text-align: center;
}

/* ==================================================
   BRANDING — CARRUSEL DE EJEMPLOS
   ================================================== */
.branding-service__carousel {
  --carousel-accent: var(--branding-red);
  --carousel-ink: var(--branding-ink);
  width: 100%;
  outline: none;
}

.service-examples-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(1.35rem, 2.6vw, 2.4rem);
  background: var(--branding-panel);
  box-shadow: 0 1.1rem 3rem rgba(0, 71, 98, 0.12);
}

.service-examples-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.service-examples-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--branding-panel);
}

.service-examples-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 420ms ease;
}

.service-examples-carousel__slide:hover img,
.service-examples-carousel__slide:focus-visible img {
  transform: scale(1.018);
}

.service-examples-carousel__slide:focus-visible {
  outline: 3px solid rgba(0, 184, 197, .55);
  outline-offset: -5px;
}

.service-examples-carousel__controls {
  position: absolute;
  z-index: 4;
  inset: 50% clamp(.8rem, 2vw, 1.5rem) auto;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.service-examples-carousel__control {
  display: grid;
  place-items: center;
  width: clamp(2.65rem, 4vw, 3.4rem);
  height: clamp(2.65rem, 4vw, 3.4rem);
  padding: 0;
  border: 2px solid rgba(0, 71, 98, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--carousel-ink);
  box-shadow: 0 .45rem 1.5rem rgba(0, 71, 98, .14);
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.service-examples-carousel__control:hover,
.service-examples-carousel__control:focus-visible {
  transform: scale(1.08);
  background: #fff;
  box-shadow: 0 .65rem 1.8rem rgba(0, 71, 98, .2);
}

.service-examples-carousel__control:active {
  transform: scale(.96);
}

.service-examples-carousel__control svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-examples-carousel__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: clamp(1.15rem, 2vw, 1.7rem);
}

.service-examples-carousel__indicator {
  position: relative;
  width: .7rem;
  height: .7rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 71, 98, .18);
  cursor: pointer;
  transition:
    width 300ms cubic-bezier(.4, 0, .2, 1),
    transform 220ms ease,
    background-color 220ms ease;
}

.service-examples-carousel__indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--carousel-accent);
  transform: translateX(-110%);
  transition: transform 360ms cubic-bezier(.4, 0, .2, 1);
}

.service-examples-carousel__indicator.is-active {
  width: 2.15rem;
  background: rgba(201, 18, 53, .14);
}

.service-examples-carousel__indicator.is-active::before {
  transform: translateX(0);
}

.service-examples-carousel__indicator:hover:not(.is-active) {
  transform: scale(1.18);
  background: rgba(0, 71, 98, .32);
}

.service-examples-carousel__indicator:focus-visible {
  outline: 2px solid var(--carousel-accent);
  outline-offset: 3px;
}

body[data-service-page="branding-identidad"] .branding-service > .branding-service__cta {
  position: relative;
  left: clamp(0.9rem, 1.8vw, 1.8rem);
  display: block;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

@media (max-width: 760px) {
  body[data-service-page="branding-identidad"] .branding-service {
    padding-top: 0.75rem;
  }

  .branding-service__video {
    aspect-ratio: 4 / 3;
  }

  .branding-service__intro {
    padding: 3.25rem 0 3rem;
  }

  .branding-service__intro h1 {
    display: grid;
    gap: 0.05em;
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .branding-service__intro p {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    font-size: 1.05rem;
  }

  .branding-service__panel {
    width: min(calc(100% - 1.25rem), 38rem);
    padding: 2.75rem 1.25rem;
    border-radius: 1.75rem;
  }

  .branding-service__panel h2 {
    margin-bottom: 1.75rem;
    font-size: clamp(1.65rem, 7vw, 2.5rem);
  }

  .branding-service__items {
    grid-template-columns: 1fr;
  }

  .branding-service__item {
    grid-template-rows: 10.5rem auto;
    padding: 1.75rem 0 2rem;
  }

  .branding-service__item + .branding-service__item {
    border-top: 1px solid rgba(0, 71, 98, 0.35);
    border-left: 0;
  }

  .branding-service__item img {
    max-width: 15rem;
    max-height: 10rem;
  }

  .branding-service__item p {
    width: min(88%, 23ch);
    max-width: 23ch;
    margin: 1rem auto 0;
    font-size: clamp(.95rem, 3.8vw, 1.05rem);
    line-height: 1.35;
  }

  .branding-service__examples {
    width: min(calc(100% - 1.25rem), 38rem);
  }

  .service-examples-carousel__viewport {
    aspect-ratio: 4 / 3;
    border-radius: 1.35rem;
  }

  .service-examples-carousel__slide img {
    object-fit: cover;
  }

  .service-examples-carousel__controls {
    inset-inline: .65rem;
  }

  .service-examples-carousel__control {
    width: 2.6rem;
    height: 2.6rem;
  }

  .service-examples-carousel__control svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .service-examples-carousel__indicators {
    gap: .5rem;
    margin-top: 1rem;
  }

  .service-examples-carousel__indicator {
    width: .6rem;
    height: .6rem;
  }

  .service-examples-carousel__indicator.is-active {
    width: 1.8rem;
  }

  body[data-service-page="branding-identidad"] .branding-service > .branding-service__cta {
    left: 0.35rem;
    margin-bottom: 5rem;
  }
}

/* ==================================================
   BRANDING E IDENTIDAD — AJUSTE DE LOS 6 ICONOS
   ================================================== */


/* ==================================================
   QUÉ DESARROLLAMOS
   ================================================== */

/* 1 — Estrategia e identidad de marca */
.branding-service__panel--develop
.branding-service__item:nth-child(1) img {
  width: auto !important;
  height: 9rem !important;
  max-width: auto !important;
  max-height: 10rem !important;
  object-fit: contain !important;
}


/* 2 — Voz, tono y sistema visual */
.branding-service__panel--develop
.branding-service__item:nth-child(2) img {
  width: auto !important;
  height: 8.5rem !important;
  max-width: auto !important;
  max-height: 10rem !important;
  object-fit: contain !important;
}


/* 3 — Lineamientos de marca */
.branding-service__panel--develop
.branding-service__item:nth-child(3) img {
  width: auto !important;
  height: 9rem !important;
  max-width: auto  !important;
  max-height: 10rem !important;
  object-fit: contain !important;
}


/* ==================================================
   CUÁNDO LO RECOMENDAMOS
   ================================================== */

/* 1 — Marca nace o evoluciona */
.branding-service__panel--recommend
.branding-service__item:nth-child(1) img {
  width: auto !important;
  height: 11rem !important;
  max-width: auto !important;
  max-height: 11rem !important;
  object-fit: contain !important;
}


/* 2 — Necesita diferenciarse */
.branding-service__panel--recommend
.branding-service__item:nth-child(2) img {
  width: auto !important;
  height: 11rem !important;
  max-width: auto !important;
  max-height: 11rem !important;
  object-fit: contain !important;
}


/* 3 — Aumentar percepción de valor */
.branding-service__panel--recommend
.branding-service__item:nth-child(3) img {
  width: auto !important;
  height: 8.5rem !important;
  max-width: auto !important;
  max-height: 11rem !important;
  object-fit: contain !important;

  
}
