/*!
 * Modern Business - Morosos Incobrables Custom Styles
 * Professional debt collection agency design
 */

/* Color palette root variables */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0d1b2a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --dark-bg: #0f172a;
  --dark-bg-light: #1e293b;
  --card-bg: rgba(30, 41, 59, 0.95);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(245, 158, 11, 0.2);
  --shadow-dark: rgba(0, 0, 0, 0.4);
}

/* Body & typography */
body {
  padding-top: 56px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.navbar:hover {
  box-shadow: 0 4px 40px rgba(245, 158, 11, 0.15);
}

.navbar-brand {
  font-family: 'Saira Stencil One', cursive;
  font-size: 1.8em;
  color: var(--accent) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--accent-light) !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 1.05em;
  position: relative;
  margin: 0 8px;
  transition: all 0.3s ease;
  padding: 8px 4px !important;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.pararsonido i {
  color: var(--text-light);
  font-size: 1.1em;
}

.navbar-nav .nav-link.pararsonido:hover i {
  color: var(--accent);
}

.navbar-toggler {
  border: 2px solid var(--accent);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-color: var(--accent);
  background-image: none;
}

/* Carousel */
.carousel-item {
  height: 70vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  background-size: cover;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  text-align: right;
  max-width: 600px;
  right: 0;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px 0 0 12px;
  border-left: 3px solid var(--accent);
  margin-right: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.carousel-caption h3 {
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2em;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.carousel-caption p {
  color: var(--text-muted);
  font-size: 1.2em;
  font-weight: 400;
  text-shadow: none;
  margin-bottom: 0.5rem;
}

.carousel-caption .lead {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--accent-light);
  text-shadow: none;
}

.carousel-caption small {
  color: var(--text-muted);
  text-shadow: none;
}

.carousel-caption p.reglamento {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1em;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: var(--accent-light);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%230f172a' viewBox='0 0 16 16'%3e%3cpath d='M11.336 4.594L7.75 8l3.586 3.406a.25.25 0 0 1-.332.368l-4-3.5-.007-.006a.25.25 0 0 1 .006-.372l4-3.5a.25.25 0 0 1 .332.368h-.006L11.006 8l.33.294.006.006a.25.25 0 0 1-.006.372z'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
  height: 70vh;
  min-height: 400px;
  background: url('../img/aguila.png') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  color: var(--text-light);
  font-family: 'Saira Stencil One', cursive;
  font-size: 3.5em;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 1.8em;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.hero-reglamento {
  color: var(--accent-light);
  font-style: italic;
  font-size: 1.2em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* Panel contacto */
.panel-contacto {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.panel-contacto h3 {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.4em;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  position: relative;
}

.panel-contacto h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
}

/* Lead text in panel */
.panel-contacto .lead {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-muted);
}

/* WhatsApp contact links */
.panel-contacto .lead.text-center a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.panel-contacto .lead.text-center a:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.panel-contacto .lead.text-center a:hover span {
  color: #fff !important;
}

.panel-contacto a:hover {
  color: #fff !important;
}

/* Section dividers */
#services,
#about {
  padding: 2rem 0;
}

/* Card styling */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
  border-color: var(--accent);
}

.card.h-100:hover {
  transform: translateY(-8px);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  padding: 1.2rem;
  border: none;
  border-bottom: 2px solid var(--accent);
  letter-spacing: 0.5px;
}

.card-body {
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
}

.card-text {
  color: var(--text-muted);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-footer {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
  text-align: center;
}

/* Buttons */
.btn {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 24px;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9em;
}

.btn-consulta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary-dark);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-consulta:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-consulta:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.5);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 30px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Call to Action section */
.align-items-end {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 30px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.align-items-end .col-lg-6:first-child {
  color: var(--text-muted);
  font-size: 1.05em;
  line-height: 1.8;
}

.align-items-end .col-lg-6:first-child p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Features section */
.features-section {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 16px;
  padding: 3rem;
  margin: 30px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.features-section h2 {
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.features-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.features-section ul {
  list-style: none;
  padding: 0;
}

.features-section ul li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.features-section ul li:last-child {
  border-bottom: none;
}

.features-section .text-info {
  color: var(--accent-light) !important;
  font-weight: 600;
}

.features-section .lead {
  font-size: 1.8em;
  color: var(--accent);
  font-weight: 700;
}

.features-section .col-lg-6:last-child > p {
  color: var(--text-muted);
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

/* About section image */
.features-section .col-lg-6:last-child img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.features-section .col-lg-6:last-child img:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 2.5rem 0 1.5rem;
  border-top: 3px solid var(--accent);
  margin-top: 2rem;
}

footer .container {
  max-width: 100%;
}

footer p {
  color: var(--text-light);
  font-size: 1em;
  margin: 0;
  text-align: center;
}

footer p i {
  color: var(--accent);
  margin-right: 5px;
}

/* Footer contact info */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-contact a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* WhatsApp floating button */
.float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 45px;
  right: 45px;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 147, 109, 0.5);
  bottom: 40px;
}

.float:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 103, 0.5);
}

.float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.float:hover::before {
  opacity: 1;
}

.my-float {
  height: 40px;
  width: 40px;
  color: #fff;
}

/* Container styling */
.container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Breadcrumb */
.breadcrumb {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.breadcrumb-item a {
  color: var(--accent-light);
  font-weight: 500;
}

.breadcrumb-item.active {
  color: var(--text-light);
}

/* Contact details links - WhatsApp hover style matching index.html */
.detail-column a {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.detail-column  a:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.detail-column .fab.fa-whatsapp {
  color: #25d366;
  font-size: 1.5em;
  transition: all 0.3s ease;
}

.detail-column  a:hover .fab.fa-whatsapp {
  color: #fff;
  transform: scale(1.1);
}

/* Contact form */
.form-control {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
  background: rgba(15, 23, 42, 0.9);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Contact section */
.col-lg-8 h3 {
  color: var(--text-light);
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.col-lg-8 h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
}

h1 small, h2 small, h3 small {
  color: var(--text-muted);
  font-weight: 400;
}

/* Text utilities */
.text-info {
  color: var(--accent) !important;
}

.text-white {
  color: var(--text-light) !important;
}

/* Page content spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

