/* ══════════════════════════════════════════════════════════════════
   GINNOA · /servicios/{linea}/{servicio}/ — Detail de un servicio
   ══════════════════════════════════════════════════════════════════ */

.servicio-page { background: #fafcfb; }

/* ── HERO SPLIT ── */
.servicio-hero {
  position: relative;
  padding-block: clamp(50px, 7vw, 90px) clamp(40px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(160deg,
      color-mix(in srgb, var(--srv-color, #00665c) 92%, black) 0%,
      var(--srv-color, #00665c) 55%,
      var(--srv-color-to, #65beac) 100%);
  overflow: hidden;
  isolation: isolate;
}
.servicio-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.servicio-hero__glow-a {
  position: absolute; width: 620px; height: 620px;
  top: -180px; right: -180px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.20), transparent 62%);
  filter: blur(18px);
}
.servicio-hero__glow-b {
  position: absolute; width: 460px; height: 460px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 62%);
  filter: blur(20px);
}
.servicio-hero__muisca {
  position: absolute;
  width: 320px; height: 320px;
  bottom: -60px; right: 10%;
  background: url("/assets/img/logo/isotipo.svg?v=20260617") center/contain no-repeat;
  filter: invert(1) opacity(0.05);
}

.servicio-hero__inner { position: relative; z-index: 2; }

.servicio-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.servicio-hero__crumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color .2s;
}
.servicio-hero__crumbs a:hover { color: #ffcc00; }
.servicio-hero__crumbs [aria-current="page"] { color: #ffcc00; font-weight: 600; }
.servicio-hero__crumbs span[aria-hidden] { opacity: 0.5; }

.servicio-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .servicio-hero__grid { grid-template-columns: 1fr; } }

.servicio-hero__text { max-width: 62ch; }
.servicio-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 204, 0, 0.18);
  border: 1px solid rgba(255, 204, 0, 0.38);
  color: #ffcc00;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.servicio-hero__eyebrow i { font-size: 11px; }
.servicio-hero__title {
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.servicio-hero__tagline {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #ffcc00;
  font-weight: 500;
  margin: 0 0 16px;
}
.servicio-hero__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.90);
  margin: 0 0 28px;
}
.servicio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.servicio-hero__ghost {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
}
.servicio-hero__ghost:hover {
  background: rgba(255,255,255,0.16) !important;
  border-color: rgba(255,255,255,0.40) !important;
}

/* Card visual del hero (cover / placeholder) */
.servicio-hero__card {
  display: flex;
  align-items: center;
  justify-content: center;
}
.servicio-hero__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.servicio-hero__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(48px, 8vw, 88px);
  opacity: 0.85;
}

/* ── BODY ── */
.servicio-page__body {
  padding-block: clamp(48px, 6vw, 80px);
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.servicio-body {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  color: #2b3735;
  font-size: 1rem;
  line-height: 1.75;
}
.servicio-body h2 {
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: #0a1f1d;
  letter-spacing: -0.015em;
  margin: 40px 0 16px;
}
.servicio-body h2:first-child { margin-top: 0; }
.servicio-body h3 {
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--brand-accent-strong, #00665c);
  margin: 28px 0 12px;
}
.servicio-body p { margin: 0 0 16px; }
.servicio-body ul, .servicio-body ol { margin: 0 0 20px; padding-left: 1.5em; }
.servicio-body li { margin-bottom: 8px; }
.servicio-body strong { color: #0a1f1d; }

.servicio-section__title {
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #0a1f1d;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-align: center;
}

/* Beneficios */
.servicio-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.servicio-benefit {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(0, 34, 30, 0.06);
  border-radius: 14px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.servicio-benefit:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 92, 0.28);
  box-shadow: 0 16px 30px -18px rgba(0, 102, 92, 0.35);
}
.servicio-benefit__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(0, 102, 92, 0.08);
  color: var(--brand-accent, #00665c);
  border-radius: 10px;
  font-size: 13px;
}
.servicio-benefit__text {
  font-size: 0.95rem;
  color: #2b3735;
  line-height: 1.5;
}

/* Galería */
.servicio-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}
.servicio-gallery__item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f4f3;
}
.servicio-gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.servicio-gallery__item figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #55625f;
  background: #fff;
}

/* CTA final */
.servicio-cta {
  padding: clamp(36px, 5vw, 64px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--srv-color, #00665c) 88%, black) 0%,
    var(--srv-color, #00665c) 55%,
    var(--srv-color-to, #65beac) 100%);
  text-align: center;
  overflow: hidden;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.servicio-cta::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.28), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}
.servicio-cta__inner { position: relative; z-index: 1; }
.servicio-cta__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 204, 0, 0.20);
  border: 1px solid rgba(255, 204, 0, 0.38);
  color: #ffcc00;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  margin-bottom: 20px;
}
.servicio-cta h2 {
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.servicio-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.servicio-cta__btn {
  background: #ffcc00 !important;
  color: #1a1a1a !important;
  border: 0 !important;
  font-weight: 700 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 24px rgba(255, 204, 0, 0.42) !important;
}
.servicio-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 14px 32px rgba(255, 204, 0, 0.55) !important;
}

/* Siblings — otros servicios de la línea */
.servicio-siblings { max-width: 1040px; margin: 0 auto; }
.servicio-siblings__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.servicio-siblings__head .servicio-section__title {
  text-align: left;
  margin: 0;
}
.servicio-siblings__head .servicio-section__title em {
  font-style: normal;
  color: var(--brand-accent, #00665c);
}
.servicio-siblings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.servicio-sibling {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  min-height: 200px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.servicio-sibling::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.28) 100%);
  z-index: 0;
}
.servicio-sibling > * { position: relative; z-index: 1; }
.servicio-sibling:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(0, 34, 30, 0.4);
}
.servicio-sibling__icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  font-size: 15px;
  backdrop-filter: blur(8px);
  align-self: flex-start;
}
.servicio-sibling h3 {
  font-family: var(--font-display, var(--font-body));
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.servicio-sibling p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
}
.servicio-sibling__arrow {
  position: absolute;
  bottom: 18px; right: 18px;
  z-index: 1;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffcc00;
  font-size: 11px;
  backdrop-filter: blur(8px);
  transition: background .25s, transform .25s;
}
.servicio-sibling:hover .servicio-sibling__arrow {
  background: #ffcc00;
  color: #1a1a1a;
  transform: translate(3px, -3px);
}
