/* ========================================
   SUDATA LANDING PAGE STYLES
   Extracted from Next.js for CodeIgniter 4
   ======================================== */
/* CSS Variables - Color Palette */
:root {
  /* Light Mode Colors */
  --background: #fcfcfc;
  --foreground: #2d2847;
  --card: #ffffff;
  --card-foreground: #2d2847;
  --primary: #5cb35d;
  --primary-foreground: #fcfcfc;
  --secondary: #6bc16c;
  --secondary-foreground: #2d2847;
  --muted: #f5f5f5;
  --muted-foreground: #7a7a7a;
  --accent: #6bc16c;
  --accent-foreground: #fcfcfc;
  --border: #e8e8e8;
  --input: #e8e8e8;
  --ring: #5cb35d;

  /* Spacing & Layout */
  --radius: 0.625rem;
  --container-max-width: 1440px;

  /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.min-h-screen {
  min-height: 100vh;
}
/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
/* ========================================
     HEADER STYLES
     ======================================== */
.header {
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-content {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo {
  height: 2.5rem; /* Mobile-first: smaller logo */
  width: auto;
}

@media (min-width: 768px) {
  .header-content{
    justify-content: space-between;
  }

  .logo {
    height: 5rem; /* Larger on tablet/desktop */
  }
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}
/* ========================================
     BUTTON STYLES
     ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: #52a053;
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}
.btn-secondary:hover {
  background-color: #f5f5f5;
}
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background-color: rgba(92, 179, 93, 0.1);
}
.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  border-color: transparent;
}
.btn-ghost:hover {
  background-color: var(--muted);
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}
.icon-arrow {
  margin-left: 0.5rem;
}
/* ========================================
     HERO SECTION
     ======================================== */
.hero-section {
  padding: 2rem 1rem;
}

.hero-section > .container {
  max-width: 1400px;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.text-primary {
  color: var(--primary);
}
.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-features {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-item span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.check-icon {
  color: var(--primary);
  flex-shrink: 0;
}
/* Hero Card */
.hero-card-wrapper {
  position: relative;
}
.hero-card {
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.chart-placeholder {
  height: 12rem;
  background: linear-gradient(
    135deg,
    rgba(92, 179, 93, 0.1),
    rgba(107, 193, 108, 0.1)
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-icon {
  color: var(--primary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 1rem 1rem 0rem;
  }

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

  .hero-buttons {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 4fr 6fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}
/* ========================================
     FEATURES SECTION
     ======================================== */
.features-section {
  background-color: rgba(245, 245, 245, 0.3);
  padding: 5rem 1rem 0rem 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  gap: 1.5rem;
}
.feature-card {
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(92, 179, 93, 0.5);
}
.feature-icon {
  height: 3rem;
  width: 3rem;
  border-radius: var(--radius);
  background-color: rgba(92, 179, 93, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.feature-icon-secondary {
  background-color: rgba(107, 193, 108, 0.1);
  color: var(--secondary);
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.dashboard-preview-section {
  padding-top: 3rem;
  text-align: center;
  overflow: hidden; /* prevents image from breaking mobile layout */
}

.full-dashboard-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .dashboard-preview-section {
    padding-top: 1.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  .full-dashboard-img {
    width: 100%;
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========================================
     PRICING SECTION
     ======================================== */
.pricing-section {
  padding: 5rem 1rem 0rem 1rem;
}
.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem; /* Increased max width to fit 4 columns comfortably */
  margin: 0 auto;
}
.pricing-card {
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s ease;
  position: relative;
}
.pricing-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.pricing-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(92, 179, 93, 0.1);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.featured-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-plan-name {
  font-size: 1rem;
  font-weight: 700;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.period {
  color: var(--muted-foreground);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========================================
     CTA SECTION
     ======================================== */
.cta-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvc3ZnPg==");
  opacity: 0.2;
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 10;
}
.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}
/* ========================================
     FOOTER STYLES
     ======================================== */
.footer {
  border-top: 1px solid #1e1a3a;
  padding: 2rem 1rem;
  background-color: #1e1a3a;
  color: #ffffff;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #5cb35d;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========================================
     UTILITY CLASSES
     ======================================== */
.text-balance {
  text-wrap: balance;
}
/* ========================================
     CONTACT SECTION
     ======================================== */
.contact-section {
  padding: 5rem 1rem;
  background-color: rgba(245, 245, 245, 0.3);
}

.contact-wrapper {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.12);
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 2fr 3fr;
  }
}

/* Left panel */
.contact-sidebar {
  background-color: #1E1A3A;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.contact-sidebar-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.contact-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon-circle {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  border: 2px solid #5CB35D;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-sidebar-subtitle {
  font-size: 0.875rem;
  text-align: center;
  color: #5CB35D;
  font-weight: 500;
  line-height: 1.5;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.social-icon-btn {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-icon-btn:hover {
  border-color: #5CB35D;
  color: #5CB35D;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #5CB35D;
}

/* Right form panel */
.contact-form-wrapper {
  background-color: var(--card);
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--foreground);
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: var(--muted-foreground);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 179, 93, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 7rem;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  max-width: 200px;
  gap: 0.5rem;
  padding: 0.625rem 2rem;
  background-color: #1E1A3A;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-contact-submit:hover {
  background-color: #2d2847;
}

.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.contact-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-alert-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Ocultar badge flotante de reCAPTCHA (se muestra aviso en el formulario) */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ========================================
     INTEGRATIONS SECTION
     ======================================== */
.integrations-section {
  padding: 5rem 1rem 0rem 1rem;
  background-color: var(--background);
}

.integrations-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.integration-card {
  padding: 2rem 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.integration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Background Utility Classes */
.bg-grey-100 { background-color: #f5f5f5; transition: background-color 0.3s ease; }

.integration-icon {
  height: 5rem;
  width: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.integration-logo {
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-img-wrapper {
  height: 5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.integration-img {
  max-width: 140px;
  max-height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Specific Logos */
.dashed-logo {
  border: 1.5px dashed #9e9e9e;
  color: #7a7a7a;
  background-color: transparent;
  transition: all 0.3s ease;
}

.integration-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.integration-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Hover State for Otro ERP */
.integration-card-dashed {
  border: 1px dashed #d4d4d4;
  background-color: white;
}

.integration-card-dashed:hover {
  border-color: #22c55e;
  border-style: dotted;
  border-width: 1.5px;
}

.integration-card-dashed:hover .integration-title {
  color: #22c55e;
}

.integration-card-dashed:hover .bg-grey-100 {
  background-color: #dcfce7; /* Light green icon container bg */
}

.integration-card-dashed:hover .dashed-logo {
  border-color: #22c55e;
  color: #22c55e;
}

@media (min-width: 768px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* ========================================
     ANIMATION UTILITIES (ReactBits inspired)
     ======================================== */

/* Base class for elements that should animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter;
  filter: blur(5px);
}

/* Blur reveal variation */
.animate-blur-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter;
}

/* Scale in variation */
.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: opacity, transform;
}

/* Fade in simple */
.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

/* The visible state for all animations */
.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Enhanced hover effects for cards */
.feature-card {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(92, 179, 93, 0.5);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(92, 179, 93, 0.1);
}

/* Fix chart placeholder hover to match premium feel */
.hero-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* ========================================
     HERO CAROUSEL
     ======================================== */
.hero-carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.hero-carousel-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.hero-carousel-slide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.hero-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  background-color: var(--muted);
  aspect-ratio: 16 / 9;
  flex: 1;
  min-width: 0;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.hero-carousel-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Fullscreen Carousel Modal */
.carousel-fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.carousel-fullscreen-modal.active {
  display: flex;
}
.carousel-fullscreen-img {
  max-width: 95vw;
  max-height: 85vh;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: var(--radius);
}
.carousel-fullscreen-title {
  color: white;
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  padding: 0 1rem;
}
.carousel-fullscreen-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

/* Navigation buttons - outside carousel */
.carousel-btn {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--foreground);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
  background-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.carousel-btn-prev,
.carousel-btn-next {
  position: static;
}

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.carousel-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ========================================
     TABLERO INTERACTIVO SECTION
     ======================================== */
.tablero-section {
  padding: 4rem 1rem;
  background-color: var(--background);
}

.tablero-section .section-header {
  margin-bottom: 1.5rem;
}

.tablero-embed-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
  min-height: 400px;
}

.tablero-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .tablero-embed-wrapper {
    aspect-ratio: unset;
    height: 340px;
  }

  .carousel-btn {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .tablero-section {
    padding: 5rem 1rem;
  }
}


/*# sourceMappingURL=styles.css.map*/