﻿/* Base styles from custom.css - NO REACT! */
@import url('../css2');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-call-center.webp');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
}

.hero-cta-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.95);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Feature Cards */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  background-color: #dc3545;
  color: white;
}

/* Buttons */
.btn-primary-custom {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: #c82333;
  border-color: #bd2130;
  transform: scale(1.05);
  color: white;
  text-decoration: none;
}

.phone-button-header {
  background-color: #1e3a8a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.phone-button-header:hover {
  background-color: #1e40af;
  color: white;
  text-decoration: none;
}

.phone-button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.phone-label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.phone-number {
  font-size: 1rem;
  font-weight: 700;
}

.section-alt {
  background-color: #f8f9fa;
}

/* Process Steps */
.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #0d6efd;
  font-weight: bold;
}

.process-step:last-child::after {
  content: '';
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Navbar */
.navbar-custom {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar-collapse.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  .navbar-nav {
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
  }

  .navbar-nav .nav-item {
    width: 100%;
    display: block !important;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    display: block !important;
    color: #333 !important;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    background-color: transparent;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .dropdown-item {
    color: #666 !important;
    padding: 0.5rem 1rem;
  }

  .phone-button-header {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    display: flex !important;
  }
}

/* Desktop menu */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .navbar-nav .nav-item {
    margin: 0 8px;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    transform: translateY(-2px);
  }

  .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
  }

  .dropdown-item {
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
  }

  .dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding-left: 1.75rem;
  }
}

.navbar-brand img {
  height: 60px;
}

.nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: #0d6efd;
}

/* CTA */
.service-cta {
  padding: 4rem 0;
  background:
    radial-gradient(circle at top left, rgba(220, 53, 69, 0.18), transparent 32rem),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #fff;
}

.service-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.service-cta-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: #bfdbfe;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.service-cta h2 {
  max-width: 760px;
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
}

.service-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.65;
}

.service-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.service-cta-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-cta-badges i {
  color: #fecaca;
}

.service-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 260px;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-cta-call:hover {
  color: #111827;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.34);
}

.service-cta-call-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #dc3545;
  color: #fff;
  flex: 0 0 auto;
}

.service-cta-call strong,
.service-cta-call small {
  display: block;
  line-height: 1.2;
}

.service-cta-call strong {
  font-size: 0.9rem;
  color: #6b7280;
}

.service-cta-call small {
  margin-top: 0.2rem;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 800;
}

/* Footer */
.footer-custom {
  background-color: #1e3a8a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-custom a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-custom a:hover {
  opacity: 0.8;
}

.footer-note {
  background-color: #dc3545;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 16px;
  z-index: 1001;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.65rem;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2.2s infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.45);
}

.whatsapp-float i {
  position: relative;
  z-index: 1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.75;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Mobile Call Button */
.mobile-call-button {
  display: none;
}

@media (max-width: 991px) {
  .whatsapp-float {
    left: 18px;
    bottom: 82px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .mobile-call-button {
    display: block;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
  }

  .mobile-call-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid rgba(220, 53, 69, 0.6);
    animation: ripple 3s infinite;
  }

  .mobile-call-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid rgba(220, 53, 69, 0.4);
    animation: ripple 3s infinite 1.5s;
  }

  .mobile-call-button:hover,
  .mobile-call-button:active {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    text-decoration: none;
    color: white;
  }

  .mobile-call-button-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .mobile-call-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  .mobile-call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-call-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.9;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-call-number {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
  }

  @keyframes ripple {
    0% {
      width: 100%;
      height: 100%;
      opacity: 1;
    }

    100% {
      width: 150%;
      height: 150%;
      opacity: 0;
    }
  }

  .footer-custom {
    padding-bottom: 80px;
  }
}

/* Breadcrumb */
.breadcrumb-custom {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-call-center.webp');
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
  color: white;
}

.breadcrumb-custom .breadcrumb {
  background: transparent;
  margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: white;
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: white;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.service-sidebar .list-group-item {
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-sidebar .list-group-item:hover {
  border-left-color: #0d6efd;
  background-color: #f8f9fa;
  color: #0d6efd;
}

.service-sidebar .list-group-item.active {
  border-left-color: #0d6efd;
  background-color: #0d6efd;
  color: white;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 400px;
  }

  .process-step::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(50%);
  }

  .process-step:last-child::after {
    content: '';
  }

  .phone-button-header {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .phone-label {
    font-size: 0.65rem;
  }

  .phone-number {
    font-size: 0.85rem;
  }

  .navbar-brand img {
    height: 50px;
  }

  .service-cta {
    padding: 3rem 0;
  }

  .service-cta-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-cta-call {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 350px;
    padding: 2rem 0;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  .hero-cta-label {
    font-size: 0.78rem;
    padding: 0.45rem 0.7rem;
  }

  .btn-primary-custom {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  .service-cta {
    padding: 2.5rem 0;
  }

  .service-cta h2 {
    font-size: 1.55rem;
  }

  .service-cta p {
    font-size: 0.98rem;
  }

  .service-cta-badges {
    gap: 0.5rem;
  }

  .service-cta-badges span {
    font-size: 0.82rem;
    padding: 0.45rem 0.6rem;
  }

  .service-cta-call small {
    font-size: 1.05rem;
  }

  .feature-card {
    margin-bottom: 1rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .breadcrumb-custom {
    padding: 2rem 0;
  }

  .breadcrumb-custom h1 {
    font-size: 1.5rem;
  }
}
