/* PÁGINAS DE SERVICIO */

/* HERO */
.srv-hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.srv-hero .hero-l {
  padding: 5rem 5rem 4.5rem;
}

.miga {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2.2rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  position: relative;
  opacity: 0;
  animation: fup .8s .2s ease forwards;
}

.miga a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s;
}

.miga a:hover {
  color: #fff;
}

.miga .actual {
  color: var(--dorado);
}

.hero-deco-ico {
  position: absolute;
  bottom: -4rem;
  right: -3rem;
  opacity: .05;
  pointer-events: none;
}

.hero-deco-ico svg {
  width: 22rem;
  height: 22rem;
  color: #fff;
  stroke-width: .6px;
}

.srv-hero .hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.srv-hero .hero-sub {
  max-width: 480px;
  position: relative;
}

.srv-hero .hero-tag,
.srv-hero .hero-h1,
.srv-hero .hero-btns {
  position: relative;
}

.srv-hero .hero-r-deco {
  font-size: 18rem;
}

.srv-hero .cred-icon {
  background: var(--azul);
}

.srv-hero .cred-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #fff;
}

/* ¿EN QUÉ CONSISTE? */
.srv-intro {
  background: var(--blanco);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.srv-intro .esp-gran {
  font-size: 9rem;
  margin: 1rem 0 0;
}

.srv-intro-txt p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2;
  color: var(--gris);
  margin-bottom: 1rem;
}

.srv-intro-txt p strong {
  color: var(--azul);
  font-weight: 600;
}

.srv-intro-txt .esp-cats {
  margin-top: 2rem;
}

/* ¿CUÁNDO LO NECESITA? */
.srv-casos {
  background: var(--papel);
  border-top: 1px solid var(--linea);
}

.casos-hdr {
  max-width: 640px;
  margin-bottom: 3rem;
}

.casos-hdr p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.95;
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.casos-grid .motif-box {
  background: var(--blanco);
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  padding: 2.2rem 1.8rem;
}

.casos-grid .motif-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 1.5px;
}

.casos-grid .motif-box:nth-child(1) .motif-icon svg { color: var(--azul); }
.casos-grid .motif-box:nth-child(2) .motif-icon svg { color: var(--dorado); }
.casos-grid .motif-box:nth-child(3) .motif-icon svg { color: var(--rojo); }
.casos-grid .motif-box:nth-child(4) .motif-icon svg { color: var(--azul2); }

/* METODOLOGÍA */
.srv-proceso {
  background: var(--blanco);
  border-top: 1px solid var(--linea);
}

/* FAQ */
.srv-faq {
  background: var(--papel);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  border-top: 1px solid var(--linea);
}

.srv-faq .faq-txt {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.srv-faq .esp-item.open .esp-bd {
  max-height: 420px;
}

/* OTROS SERVICIOS */
.srv-otros {
  background: var(--azul);
  position: relative;
  overflow: hidden;
}

.srv-otros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

.srv-otros .lbl-bar {
  background: rgba(255, 255, 255, .25);
}

.srv-otros .lbl-txt {
  color: rgba(255, 255, 255, .45);
}

.srv-otros h2.sh {
  color: #fff;
}

.srv-otros h2.sh em {
  color: rgba(255, 255, 255, .4);
}

.srv-otros .sdiv {
  background: var(--rojo);
}

.otros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .06);
  margin-top: 1rem;
  position: relative;
}

.otro-card {
  display: block;
  padding: 2.2rem 2rem;
  background: var(--azul);
  text-decoration: none;
  position: relative;
  transition: background .3s;
}

.otro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background .3s;
}

.otro-card:hover {
  background: var(--azul2);
}

.otro-card:hover::before {
  background: var(--rojo);
}

.otro-n {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--rojo2);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.otro-n svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--dorado);
  stroke-width: 1.75px;
}

.otro-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: .9rem;
  line-height: 1.4;
}

.otro-mas {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  transition: color .25s;
}

.otro-card:hover .otro-mas {
  color: #fff;
}

.otro-card.todos {
  background: var(--rojo);
}

.otro-card.todos:hover {
  background: var(--rojo2);
}

.otro-card.todos .otro-n,
.otro-card.todos .otro-n svg,
.otro-card.todos .otro-mas {
  color: rgba(255, 255, 255, .8);
}

@media(max-width:900px) {
  .srv-hero,
  .srv-intro,
  .srv-faq {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .srv-hero {
    gap: 0;
  }

  .srv-hero .hero-l {
    padding: 4rem 1.5rem 3rem;
  }

  .srv-intro .esp-gran {
    font-size: 5rem;
  }

  .casos-grid,
  .otros-grid {
    grid-template-columns: 1fr;
  }
}

@media(min-width:901px) and (max-width:1200px) {
  .casos-grid {
    grid-template-columns: 1fr 1fr;
  }
}
