/* ====================================
   ESTILOS FINALES - COLORES MODERNOS
   ==================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --rose: #f472b6;
  --rose-light: #fce7f3;
  --rose-medium: #fbcfe8;
  --success: #10b981;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ====== CONTENEDOR ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HEADER ====== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  gap: 30px;
}

.header-brand h1 {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose) 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
}

.header-brand p {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin: 2px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  flex: 1;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ====== RESPONSIVE MENU ====== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .burger-btn {
    display: flex;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero .container {
  max-width: 650px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--rose) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0891b2 0%, #ec4899 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 114, 182, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.trust-signals {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.trust-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ====== SECTIONS ====== */
.section-light,
.section-dark {
  padding: 70px 20px;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-white);
}

.section-dark:nth-child(even) {
  background: var(--rose-light);
}

.section-light:nth-child(odd) {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.05) 0%, rgba(244, 114, 182, 0.03) 100%);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-dark);
  text-align: center;
  letter-spacing: -1px;
}

.section-note {
  text-align: center;
  color: var(--text-light);
  margin-top: 30px;
  font-size: 15px;
  font-weight: 600;
}

/* ====== GRILLAS ====== */
.problems-grid,
.services-grid,
.testimonials-grid {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.problems-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ====== PROBLEM CARDS ====== */
.problem-card {
  background: var(--bg-white);
  border: 2px solid var(--rose-light);
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--rose);
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.03) 0%, rgba(244, 114, 182, 0.01) 100%);
}

.problem-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 15px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.problem-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ====== SERVICE CARDS ====== */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--rose);
  transform: translateY(-4px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--primary) 100%);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 15px;
}

/* ====== TESTIMONIALS ====== */
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--rose);
  transition: all 0.3s ease;
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-left-color: var(--primary);
}

.testimonial .rating {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 15px;
}

.testimonial p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  font-style: normal;
}

/* ====== ABOUT SECTION ====== */
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.about-main h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.about-subtitle {
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 15px;
}

.about-main h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 25px;
  margin-bottom: 12px;
}

.credential-list {
  list-style: none;
  margin-bottom: 20px;
}

.credential-list li {
  color: var(--text-light);
  padding: 6px 0;
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.credential-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.cred {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.cred-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cred-text {
  font-size: 14px;
  color: var(--text);
}

.cred-text strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.about-pledge {
  background: linear-gradient(135deg, var(--rose) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
}

.about-pledge h4 {
  color: white;
  margin-top: 0;
}

.pledge-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.pledge-item:last-child {
  margin-bottom: 0;
}

.pledge-check {
  font-weight: 700;
  flex-shrink: 0;
  font-size: 18px;
}

.pledge-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.pledge-item strong {
  color: white;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .creds-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== FAQ ====== */
.faq-container {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-item summary:hover {
  background: var(--bg-light);
}

.faq-item summary::after {
  content: "▼";
  font-size: 12px;
  transition: transform 0.3s ease;
}

.faq-item[open] summary {
  background: var(--bg-light);
  color: var(--primary);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

/* ====== CONTACT ====== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-dark);
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
  margin-bottom: 4px;
}

.info-item p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

.info-item a {
  color: var(--primary);
  font-weight: 600;
}

/* ====== FORM ====== */
.form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(135deg, var(--rose) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: white;
  padding: 50px 20px 30px;
  margin-top: 60px;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-content h4,
.footer-content h5 {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-small {
  font-size: 13px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-content a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-content a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ====== WHATSAPP FLOTANTE ====== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 90;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-light,
  .section-dark {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .problems-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .trust-signals {
    gap: 20px;
  }

  .trust-item {
    font-size: 13px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-group a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .problem-number {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}
