/* System Fonts & Variables */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #FFC812; /* Amarillo cálido del logo */
  --primary-hover: #E0AE0B;
  --secondary: #121212; /* Gris carbón/Negro de acento */
  --secondary-light: #2A2A2A;
  --bg-light: #F9F9F9;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --text-light: #F3F4F6;
  --border-color: #E5E7EB;
  --success: #10B981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.text-center {
  text-align: center;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  transition: all var(--transition-normal);
}

header.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

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

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

.logo-wrapper img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
  color: var(--secondary-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

/* Header Button */
.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: var(--secondary);
  color: var(--bg-white) !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1.5px solid var(--secondary);
  transition: all var(--transition-fast);
}

.header-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  margin: 6px 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 40%, rgba(255, 200, 18, 0.15) 100%), url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 44px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-fast);
  cursor: pointer;
  gap: 10px;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 14px rgba(255, 200, 18, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 200, 18, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(18, 18, 18, 0.15);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Multi-Step Lead Form Card */
.form-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}

.form-card p {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

/* Goal-Gradient Progress Bar */
.progress-bar-container {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  margin-bottom: 24px;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 50%;
  background-color: var(--primary);
  border-radius: 3px;
  transition: width var(--transition-normal);
}

.progress-step-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  text-align: right;
  margin-top: 6px;
}

/* Form Fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--secondary-light);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1.5px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--secondary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 200, 18, 0.15);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* Trust Badges Section */
.trust-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.trust-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-metric {
  text-align: center;
}

.trust-metric h4 {
  font-size: 36px;
  color: var(--secondary);
  font-weight: 800;
}

.trust-metric p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-destinations {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dest-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.dest-flags {
  display: flex;
  gap: 12px;
}

.dest-flags span {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.transparency-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 320px;
}

/* Process Section */
.section-title {
  font-size: 32px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background: var(--bg-white);
  padding: 28px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 18, 18, 0.03);
  position: relative;
  transition: all var(--transition-normal);
  z-index: 2;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.process-num {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255, 200, 18, 0.2);
}

.process-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 18, 18, 0.03);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-content .btn-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
}

.service-content .btn-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-content .btn-link:hover::after {
  transform: translateX(4px);
}

/* Country Checker Section */
.checker-box {
  background: var(--secondary);
  color: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  margin: 0 auto;
}

.checker-box h3 {
  color: var(--bg-white);
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.checker-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 32px;
}

.checker-controls select {
  background-color: var(--secondary-light);
  border-color: rgba(255,255,255,0.15);
  color: var(--bg-white);
}

.checker-controls label {
  color: var(--text-light);
}

.checker-result {
  background-color: var(--secondary-light);
  border-radius: 12px;
  padding: 24px;
  display: none;
  animation: fadeIn var(--transition-normal);
  border: 1px dashed rgba(255, 200, 18, 0.3);
}

.checker-result.active {
  display: block;
}

.checker-result h4 {
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.checker-result ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checker-result li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checker-result li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.checker-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Testimonials Section */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 18, 18, 0.03);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 18px;
}

.testimonial-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.author-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Final CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--secondary);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 70px 0 30px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: var(--secondary-light);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  pointer-events: auto;
  border: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20BA56;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-tooltip {
  background: var(--bg-white);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  animation: bounceTooltip 3s infinite;
  pointer-events: auto;
  position: relative;
  display: inline-block;
  color: var(--secondary);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-white);
  display: block;
  width: 0;
  z-index: 1;
}

/* Lead Magnet Exit Intent Pop-up Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-white);
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(-30px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-box h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.modal-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Toast Notifications (Mock CRM success) */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--secondary);
  color: var(--bg-white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary);
  animation: slideInRight 0.3s forwards;
  min-width: 300px;
  max-width: 450px;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.processing {
  background-color: #4B5563; /* Gris oscuro elegante */
  border-left-color: #9CA3AF; /* Borde gris claro */
  color: #F3F4F6;
}

.toast-json {
  font-family: monospace;
  background-color: var(--secondary-light);
  padding: 10px;
  border-radius: 6px;
  font-size: 11px;
  margin-top: 8px;
  overflow-x: auto;
  color: var(--primary);
  max-height: 150px;
}

/* inner Pages Layouts */
.inner-hero {
  padding: 140px 0 60px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.inner-hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

.inner-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}

/* Tab-based services layout */
.tabs-container {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1.5px solid var(--border-color);
  margin-bottom: 40px;
}

.tab-btn {
  padding: 14px 28px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.service-detail-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.service-detail-info p {
  margin-bottom: 20px;
  font-size: 15px;
}

.service-detail-info ul {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-detail-info li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-detail-info li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* FAQ Accordion styling */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1.5px solid var(--border-color);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

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

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* Blog grid styling */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
  height: 200px;
  background-color: var(--border-color);
}

.blog-card-content {
  padding: 24px;
}

.blog-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-info-box {
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
}

.contact-info-box h3 {
  color: var(--bg-white);
  margin-bottom: 24px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 20px;
  color: var(--primary);
}

.contact-info-text h4 {
  font-size: 14px;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes bounceTooltip {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid,
  .testimonials-slider,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .testimonials-slider,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .checker-controls {
    grid-template-columns: 1fr;
  }
  
  .checker-controls button {
    width: 100%;
  }
  
  .checker-result ul {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small mobile screens to prevent overflow */
  }
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 105px; /* Colocado arriba del botón de WhatsApp para evitar superposición */
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: #000000; /* Negro puro */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  outline: none;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 200, 18, 0.4);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.back-to-top-btn:hover svg {
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Blog Figure and Image styling */
.blog-figure {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-figure img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  display: block;
}

.blog-figure figcaption {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  font-style: italic;
  margin-top: 4px;
}


