/* ============================================================
   GRUPO GERRO – servicio.css
   Estilos para páginas internas de cada servicio
   ============================================================ */

/* ── HERO DEL SERVICIO ── */
.srv-hero {
  position: relative;
  min-height: 42vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-dark);
}
.srv-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
  transition: transform 8s ease;
}
.srv-hero:hover .srv-hero-bg { transform: scale(1.04); }
.srv-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,26,40,0.97) 0%, rgba(17,26,40,0.55) 100%);
}
.srv-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 3rem 2rem 3.5rem;
}
.srv-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}
.srv-breadcrumb a { color: var(--gold); text-decoration: none; transition: color .2s; }
.srv-breadcrumb a:hover { color: var(--gold-light); }
.srv-breadcrumb span { color: rgba(255,255,255,0.3); }
.srv-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: rgba(197,160,89,0.15); line-height: 1;
  margin-bottom: -0.5rem;
}
.srv-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 0.75rem;
}
.srv-hero-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 560px;
}

/* ── LAYOUT PRINCIPAL ── */
.srv-main {
  background: var(--off-white);
  padding: 4rem 2rem;
}
.srv-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 3rem; align-items: start;
}

/* ── CUERPO DEL SERVICIO ── */
.srv-intro p {
  font-size: 1.08rem; line-height: 1.85;
  color: #3a4455;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(27,38,59,0.08);
  margin-bottom: 2.5rem;
}
.srv-section { margin-bottom: 2.5rem; }
.srv-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.srv-list {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-top: 1.5rem;
}
.srv-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: #3a4455; line-height: 1.6;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 1px 6px rgba(27,38,59,0.06);
  transition: transform .2s, box-shadow .2s;
}
.srv-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 3px 14px rgba(27,38,59,0.1);
}
.srv-list li span {
  color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px;
}
.srv-para-quien {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: 12px;
  padding: 1.5rem; margin-top: 1.2rem;
  border: 1px solid rgba(197,160,89,0.2);
  box-shadow: 0 2px 12px rgba(27,38,59,0.06);
}
.srv-para-quien span { font-size: 1.8rem; flex-shrink: 0; }
.srv-para-quien p { font-size: 0.95rem; color: #3a4455; line-height: 1.7; margin: 0; }

/* ── SIDEBAR ── */
.srv-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.5rem; }

.srv-cta-card {
  background: var(--navy);
  border-radius: 16px; padding: 2rem;
  position: relative; overflow: hidden;
  border-top: 3px solid var(--gold);
}
.srv-cta-card::before {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.1) 0%, transparent 70%);
}
.srv-cta-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.srv-cta-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--white); margin-bottom: 0.75rem;
}
.srv-cta-card p {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.btn-outline-dark {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: all .2s;
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.srv-otros {
  background: var(--white); border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(27,38,59,0.07);
}
.srv-otros h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1rem;
}
.srv-otros ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.srv-otros ul li a {
  display: block; padding: 8px 10px;
  font-size: 0.88rem; color: #445060;
  text-decoration: none; border-radius: 7px;
  transition: all .2s;
}
.srv-otros ul li a:hover {
  background: var(--gold-pale); color: var(--navy); padding-left: 14px;
}

.srv-contact-mini {
  background: var(--navy-dark); border-radius: 12px;
  padding: 1.2rem 1.5rem;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.srv-contact-mini a { color: var(--gold); text-decoration: none; }
.srv-contact-mini a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .srv-grid { grid-template-columns: 1fr; }
  .srv-sidebar { position: static; }
}
@media (max-width: 640px) {
  .srv-hero { min-height: 35vh; }
  .srv-num { font-size: 2.5rem; }
}
