/* ============================================
   TUCUPONDESCUENTO - Guia de Ahorro
   Tema: Verde Ahorro / Esmeralda Profesional
   Estilo: Confiable, Amigable, Educativo
   ============================================ */

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-lighter: #d1fae5;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-lighter: #fef3c7;

  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --dark: #1f2937;
  --dark-2: #374151;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;

  --white: #ffffff;
  --text: #374151;
  --text-light: #4b5563;
  --text-muted: #6b7280;

  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --shadow-sm: 0 1px 3px rgba(5, 150, 105, 0.08);
  --shadow: 0 4px 6px rgba(5, 150, 105, 0.1);
  --shadow-md: 0 10px 15px rgba(5, 150, 105, 0.1);
  --shadow-lg: 0 20px 25px rgba(5, 150, 105, 0.12);
  --shadow-xl: 0 25px 50px rgba(5, 150, 105, 0.15);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s ease;

  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  margin-left: 12px;
  box-shadow: var(--shadow-md);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== HERO ========== */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent 70%);
  border-radius: 50%;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary-lighter);
  color: var(--secondary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid var(--secondary-light);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.text-highlight {
  color: var(--primary);
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  text-align: center;
  padding: 40px;
}

.hero-card-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-card p {
  font-size: 1rem;
  opacity: 0.9;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}

.badge-1 {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 80px;
  left: 0;
  animation-delay: 2s;
}

.badge-3 {
  bottom: 20px;
  right: 40px;
  animation-delay: 4s;
}

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

.badge-icon {
  font-size: 1.3rem;
}

/* ========== DISCLAIMER ========== */
.disclaimer-section {
  padding: 50px 0;
  background: var(--secondary-lighter);
}

.disclaimer-box {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 2px solid var(--secondary-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.disclaimer-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.disclaimer-content h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.disclaimer-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: var(--secondary-lighter);
  color: var(--secondary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--secondary-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== SAVINGS GRID ========== */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.saving-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.saving-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.saving-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.saving-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.saving-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-right: 60px;
}

.saving-card > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.saving-list {
  list-style: none;
  padding: 0;
}

.saving-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
}

.saving-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========== COUPONS GRID ========== */
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.coupon-card {
  background: var(--white);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}

.coupon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-style: solid;
}

.coupon-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.coupon-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.coupon-card > p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.coupon-example {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.example-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.example-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

/* ========== STRATEGIES LIST ========== */
.strategies-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.strategy-item {
  display: flex;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}

.strategy-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.strategy-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  min-width: 60px;
}

.strategy-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.strategy-content > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.strategy-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strategy-tips span {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.strategy-tips span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  transition: var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 28px 28px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ========== CONTACT ========== */
.contact-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 28px;
}

.contact-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-role {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 36px;
}

.contact-details {
  text-align: left;
  margin-bottom: 36px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.contact-disclaimer {
  background: var(--secondary-lighter);
  border: 1px solid var(--secondary-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-disclaimer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 70px 0 35px;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span {
  background: var(--dark-2);
  color: var(--secondary-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.footer-contact strong {
  color: var(--secondary-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-contact span {
  color: var(--gray-400);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--dark-2);
  padding-top: 35px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin: 0;
}

.footer-note {
  font-size: 0.88rem !important;
  color: var(--gray-600) !important;
  margin-top: 10px !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-wrapper {
    gap: 40px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .savings-grid,
  .coupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    transform: translateY(0);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-visual {
    height: 360px;
  }

  .hero-card {
    width: 240px;
    height: 240px;
  }

  .savings-grid,
  .coupons-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .disclaimer-box {
    flex-direction: column;
    text-align: center;
  }

  .strategy-item {
    flex-direction: column;
    gap: 16px;
  }

  .strategy-number {
    min-width: auto;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-value {
    text-align: left;
    max-width: 100%;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .floating-badge {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .contact-card {
    padding: 32px 24px;
  }
}

/* ========== UTILIDADES ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

::selection {
  background: var(--primary);
  color: var(--white);
}