/* ========================================
   RESET Y BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.img-cla {
  width: 100%;
}

/* ========================================
   HEADER Y NAVEGACIÓN
   ======================================== */
header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ========================================
   ANIMACIONES GLOBALES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  min-width: 200px;
  transition: transform 0.3s, background 0.3s;
}

.badge:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

.badge h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

/* ========================================
   BOTONES
   ======================================== */
.cta-button,
.btn {
  display: inline-block;
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s;
  text-align: center;
}

.cta-button {
  background: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.cta-button:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #3b82f6;
  border-radius: 10px;
}

.btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ========================================
   SECCIONES COMPARTIDAS
   ======================================== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: #64748b;
}

/* ========================================
   CALCULADORA
   ======================================== */
.calculator-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.calculator-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Formularios */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #334155;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Resultados */
.results {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.results h3 {
  color: #1e40af;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.result-item:last-child {
  border-bottom: none;
}

.result-value {
  font-weight: bold;
  color: #10b981;
  font-size: 1.2rem;
}

/* ========================================
   CONTACTO
   ======================================== */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideIn 0.8s ease;
}

.contact-wrapper h2 {
  color: #1e40af;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-wrapper .subtitle {
  color: #64748b;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.contact-form label span {
  color: #ef4444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.success-message {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

/* ========================================
   BENEFICIOS
   ======================================== */
.benefits {
  padding: 5rem 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
  color: #1e40af;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* ========================================
   SERVICIOS
   ======================================== */
.services {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.service-image {
  height: 200px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

.service-image::after {
  content: '💼';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  transition: transform 0.3s;
}

.service-card:hover .service-image::after {
  transform: translate(-50%, -50%) scale(1.2);
}

/* Variaciones de servicios */
.service-card:nth-child(1) .service-image {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.service-card:nth-child(1) .service-image::after { content: '💰'; }

.service-card:nth-child(2) .service-image {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.service-card:nth-child(2) .service-image::after { content: '🏢'; }

.service-card:nth-child(3) .service-image {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.service-card:nth-child(3) .service-image::after { content: '🏠'; }

.service-card:nth-child(4) .service-image {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.service-card:nth-child(4) .service-image::after { content: '📊'; }

.service-card:nth-child(5) .service-image {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}
.service-card:nth-child(5) .service-image::after { content: '🚀'; }

.service-card:nth-child(6) .service-image {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.service-card:nth-child(6) .service-image::after { content: '👨‍💼'; }

.service-content {
  padding: 2rem;
}

.service-content h3 {
  color: #1e40af;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-content p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border: 2px solid #3b82f6;
  border-radius: 10px;
  transition: all 0.3s;
}

.service-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateX(5px);
}

/* ========================================
   CTA FINAL
   ======================================== */
.final-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before,
.final-cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.final-cta-section::before {
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.final-cta-section::after {
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.final-cta-container {
  position: relative;
  z-index: 1;
}

.final-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease;
}

.final-header .top-label {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.final-header h1 {
  font-size: 3.5rem;
  color: #0f172a;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.final-header .interest-rate {
  font-size: 1.4rem;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 1rem;
}

.final-header .description {
  font-size: 1.15rem;
  color: #475569;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.final-header .description strong {
  color: #1e40af;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 4rem 0;
  animation: fadeInUp 1s ease 0.3s both;
}

.feature-box {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-box:nth-child(1)::before {
  background: linear-gradient(90deg, #14b8a6, #0d9488);
}

.feature-box:nth-child(2)::before {
  background: linear-gradient(90deg, #84cc16, #65a30d);
}

.feature-box:nth-child(3)::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.feature-box:nth-child(4)::before {
  background: linear-gradient(90deg, #f97316, #ea580c);
}

.feature-box:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: all 0.4s ease;
}

.feature-box:nth-child(1) .feature-icon-wrapper {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
}

.feature-box:nth-child(2) .feature-icon-wrapper {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  box-shadow: 0 8px 25px rgba(132, 204, 22, 0.3);
}

.feature-box:nth-child(3) .feature-icon-wrapper {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.feature-box:nth-child(4) .feature-icon-wrapper {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

.feature-box h3 {
  font-size: 1.35rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-box p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.final-cta-button-wrapper {
  text-align: center;
  margin-top: 3rem;
  animation: pulse 2s ease infinite;
}

.final-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.final-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.final-cta-btn:hover::before {
  left: 100%;
}

.final-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(16, 185, 129, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 4rem 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #14b8a6, #84cc16, #f59e0b, #f97316);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #14b8a6);
  border-radius: 2px;
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-about p {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877f2, #0c63d4);
}

.social-link.twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #10b981;
  padding-left: 1rem;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  line-height: 1.6;
}

.contact-info .icon {
  font-size: 1.2rem;
  color: #10b981;
  margin-top: 0.2rem;
}

.newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter p {
  color: #94a3b8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #10b981;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #10b981;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  /* Navegación móvil */
  .menu-toggle {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1e40af;
    display: none;
    padding: 1rem;
  }

  .nav-menu.active ul {
    display: flex;
  }

  nav ul {
    gap: 1rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }

  /* Calculadora */
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .calculator-image {
    display: none;
  }

  /* Formularios */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 2rem 1.5rem;
  }

  /* Grids */
  .benefits-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Final */
  .final-header h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-about {
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  /* Modal */
  .modal-content {
    padding: 20px;
    font-size: 16px;
  }
}