/* ============================================
   LOGICNET 2.0 — Páginas de Servicios + Contacto
   Tech Blue · depende de modern-rediseno.css (global)
   ============================================ */

.svc-section-pad {
  padding: 90px 24px;
}

.svc-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: rgba(59, 130, 246, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.svc-section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ============ HERO ============ */
.svc-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 90px;
  background: linear-gradient(135deg, #0F172A 0%, #1E40AF 55%, #0F172A 100%);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

.svc-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: shift 20s linear infinite;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
}

.svc-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.svc-hero-title {
  font-size: 54px;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}

.svc-highlight {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.svc-breadcrumb {
  margin: 0 0 28px;
  display: flex;
  justify-content: center;
}

.svc-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

.svc-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
}

.svc-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.svc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.svc-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.svc-btn-primary,
.svc-btn-ghost {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.svc-btn-primary {
  background: var(--accent-green);
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.svc-btn-primary:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.55);
}

.svc-btn-ghost {
  background: transparent;
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
}

.svc-btn-ghost:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-3px);
}

/* ============ INTRO ============ */
.svc-intro {
  background: #fff;
}

@keyframes svc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes svc-glow {
  0%, 100% {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    box-shadow: 0 28px 65px rgba(59, 130, 246, 0.3), 0 0 45px 5px rgba(16, 185, 129, 0.2);
  }
}

@keyframes svc-badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
  50% { transform: scale(1.06); box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45); }
}

.svc-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  animation: svc-float 6s ease-in-out infinite, svc-glow 4s ease-in-out infinite;
  background: var(--bg-light);
}

.svc-image-wrap:hover {
  animation-play-state: paused;
}

.svc-image {
  width: 100%;
  height: 440px;
  object-fit: contain;
  display: block;
  padding: 30px;
  transition: var(--transition);
}

.svc-image-wrap:hover .svc-image {
  transform: scale(1.05);
}

.svc-image-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
  color: #fff;
  padding: 16px 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: svc-badge-pulse 2.5s ease-in-out infinite;
}

.svc-badge-number {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.svc-badge-text {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.95;
}

.svc-intro p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.svc-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.svc-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
}

.svc-point i {
  color: var(--accent-green);
  font-size: 18px;
}

/* ============ FEATURES (fondo oscuro) ============ */
.svc-features {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
}

.svc-features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

.svc-features .svc-eyebrow {
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.12);
}

.svc-features .svc-section-title {
  color: #fff;
}

.svc-features-sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
}

.svc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 34px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.svc-card:hover::before {
  left: 140%;
}

.svc-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-blue);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.svc-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
  transition: var(--transition);
}

.svc-card:hover .svc-card-icon {
  transform: scale(1.12) rotate(-8deg);
}

.svc-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.svc-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* ============ CTA ============ */
.svc-cta {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
  padding: 90px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-cta h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.svc-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
}

.svc-cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.svc-cta-btn,
.svc-cta-btn-outline {
  padding: 18px 44px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.svc-cta-btn {
  background: #fff;
  color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.svc-cta-btn:hover {
  transform: translateY(-4px) scale(1.05);
  color: var(--primary-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.svc-cta-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid #fff;
  color: #fff;
}

.svc-cta-btn-outline:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-4px) scale(1.05);
}

/* ============ CONTACTO ============ */
.contact-wrap {
  background: var(--bg-light);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1E293B 100%);
  border-radius: 20px;
  padding: 45px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.contact-info-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.contact-info-card .contact-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.12) rotate(-8deg);
}

.contact-info-item .contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3px;
}

.contact-info-item .contact-value,
.contact-info-item .contact-value a {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.contact-info-item .contact-value a:hover {
  color: var(--accent-green);
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  height: 100%;
}

.contact-form-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-form-card .form-lead {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  outline: none;
}

.contact-captcha-label {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: block;
}

.contact-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-green) 100%);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
  transition: var(--transition);
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .svc-hero-title { font-size: 38px; }
  .svc-section-title { font-size: 30px; }
  .svc-image { height: 320px; }
  .svc-points { grid-template-columns: 1fr; }
  .svc-cta h2 { font-size: 30px; }
  .contact-info-card,
  .contact-form-card { padding: 35px 26px; }
}

/* Legibilidad del hero (texto sobre el fondo) */
.svc-hero {
  padding-bottom: 135px;
}

.svc-hero-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.svc-hero-subtitle {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.svc-highlight {
  text-shadow: none;
}
