/* ============================================
   SERVICIOS — PÁGINA DEDICADA
   ============================================ */

/* HERO */
#serv-hero {
  padding: 200px 60px 100px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#serv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(216,188,106,0.07), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(216,188,106,0.04), transparent 60%);
  pointer-events: none;
}

#serv-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 60px; right: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(216,188,106,0.3), transparent);
}

.serv-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.serv-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.serv-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.serv-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 640px;
  margin: 0 auto;
}

/* GRID */
#servicios-grid {
  padding: 120px 60px;
  background: var(--black-mid);
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1280px;
  margin: 0 auto;
}

.serv-card {
  background: var(--black-card);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
}

.serv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.serv-card:hover::before { transform: scaleX(1); }
.serv-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, #1a1308 0%, #141414 100%);
}

.serv-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold-glow);
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.4s ease;
}

.serv-card:hover .serv-icon {
  transform: rotate(-4deg) scale(1.04);
  border-color: var(--gold);
  background: rgba(216,188,106,0.2);
}

.serv-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.serv-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--white-faint);
}

/* CTA FINAL */
#serv-cta {
  padding: 140px 60px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#serv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(216,188,106,0.06), transparent 70%);
  pointer-events: none;
}

.serv-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.serv-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}

.serv-cta-title em {
  font-style: italic;
  color: var(--gold);
}

.serv-cta-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-dim);
  margin-bottom: 44px;
}

.serv-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* NAV SOLID (sin transparencia en páginas internas) */
#navbar.solid {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(216,188,106,0.1);
}

.nav-links a.active {
  color: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #serv-hero          { padding: 160px 32px 80px; }
  #servicios-grid     { padding: 80px 32px; }
  #serv-cta           { padding: 100px 32px; }
  .serv-grid          { grid-template-columns: repeat(2, 1fr); }
  .serv-card          { padding: 44px 32px; min-height: auto; }
  .serv-title         { font-size: 1.45rem; }
}

@media (max-width: 640px) {
  #serv-hero          { padding: 130px 20px 60px; }
  #serv-hero::after   { left: 20px; right: 20px; }
  #servicios-grid     { padding: 60px 20px; }
  #serv-cta           { padding: 80px 20px; }
  .serv-grid          { grid-template-columns: 1fr; gap: 1px; }
  .serv-card          { padding: 40px 28px; min-height: auto; }
  .serv-hero-sub      { font-size: 0.9rem; }
  .serv-cta-sub       { font-size: 0.9rem; }
  .serv-cta-actions   { flex-direction: column; gap: 12px; align-items: stretch; }
  .serv-cta-actions a { text-align: center; }
}
