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

:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(270 20% 10%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(270 20% 10%);
  --primary: hsl(279 80% 30%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(348 100% 59%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(270 10% 95%);
  --muted-foreground: hsl(270 10% 45%);
  --destructive: hsl(0 84% 60%);
  --border: hsl(270 10% 90%);
  --ring: hsl(279 80% 30%);
  --radius: 0.75rem;
  --gradient-brand: linear-gradient(135deg, hsl(279 80% 30%), hsl(348 100% 59%));
  --gradient-dark: linear-gradient(180deg, hsl(270 20% 8%), hsl(270 30% 12%));
  --shadow-brand: 0 8px 32px -8px hsl(279 80% 30% / 0.3);
  --shadow-elevated: 0 20px 60px -15px hsl(270 20% 10% / 0.15);
  --admin-card-bg: #ffffff;
  --admin-card-border: #f0f0f0;
  --admin-text-primary: #1a1a1a;
  --admin-text-secondary: #666;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page-content,
main,
.body-inner {
  flex: 1 0 auto;
  min-height: 800px;
}

.lucide {
  vector-effect: non-scaling-stroke;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animación letra a letra en títulos */
.letter-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
}

.title-letters-animated.animate-letters .letter-char {
  animation: letterReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-gradient-brand {
  background: var(--gradient-brand);
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(0 0% 100% / 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.navbar-logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
}

.nav-cta {
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.nav-links .nav-cta,
.mobile-menu .nav-cta {
  color: var(--primary-foreground);
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-links .nav-cta:hover,
.mobile-menu .nav-cta:hover {
  color: var(--primary-foreground);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

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

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
}

.mobile-menu .nav-cta {
  text-align: center;
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-content {
    padding-top: 1.25rem;
  }

  .hero-badge {
    margin-top: 0.75rem;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 104px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: hsl(0 0% 100%);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: hsl(270 10% 70%);
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
  margin: 0 auto 1rem;
}

@media (min-width: 640px) {
  .hero-form {
    flex-direction: row;
  }
}

.hero-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  background: hsl(270 15% 15% / 0.5);
  border: 1px solid hsl(270 15% 18% / 0.3);
  color: hsl(0 0% 100%);
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.hero-input::placeholder {
  color: hsl(270 10% 50%);
}

.hero-input:focus {
  box-shadow: 0 0 0 2px hsl(279 80% 30% / 0.5);
}

.hero-btn {
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
  transition: opacity 0.2s;
  font-family: 'Outfit', sans-serif;
}

.hero-btn:hover {
  opacity: 0.9;
}

.hero-form-status {
  width: 100%;
  flex-basis: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.hero-micro {
  font-size: 0.75rem;
  color: hsl(270 10% 50%);
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(270 10% 70%);
}

.trust-badge i {
  color: var(--secondary);
  width: 16px;
  height: 16px;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(270 10% 50%);
}

.scroll-indicator i {
  color: hsl(270 10% 50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.pain-section {
  padding: 6rem 0;
  background: var(--muted);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tabs-wrapper {
  display: inline-flex;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 0.375rem;
  box-shadow: var(--shadow-elevated);
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: capitalize;
  font-family: 'Outfit', sans-serif;
  background: transparent;
  color: var(--muted-foreground);
}

.tab-btn.active {
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-brand);
}

.pain-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pain-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pain-icon,
.solution-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pain-icon {
  background: hsl(0 84% 60% / 0.1);
  color: var(--destructive);
}

.solution-icon {
  background: hsl(279 80% 30% / 0.1);
  color: var(--primary);
}

.pain-icon i,
.solution-icon i {
  width: 14px;
  height: 14px;
}

.pain-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.solution-item p {
  font-size: 0.875rem;
  font-weight: 500;
}

.pain-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
  transition: opacity 0.2s;
  margin-top: 1rem;
}

.pain-cta:hover {
  opacity: 0.9;
}

.pain-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  display: block;
}

.brand-panel-image {
  object-fit: contain;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    radial-gradient(circle at top left, hsl(348 100% 59% / 0.18), transparent 42%),
    radial-gradient(circle at bottom right, hsl(279 80% 30% / 0.2), transparent 48%),
    linear-gradient(180deg, hsl(0 0% 100%), hsl(270 18% 97%));
  border: 1px solid hsl(270 18% 90%);
}

.brand-panel-image-alt {
  background:
    radial-gradient(circle at top right, hsl(279 80% 30% / 0.2), transparent 42%),
    radial-gradient(circle at bottom left, hsl(348 100% 59% / 0.18), transparent 48%),
    linear-gradient(180deg, hsl(0 0% 100%), hsl(270 18% 97%));
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.services-section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  display: block;
}

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

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

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

.service-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-elevated);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon i,
.service-icon svg {
  color: #fff !important;
  stroke: #fff !important;
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.cases-section {
  padding: 6rem 0;
  background: var(--muted);
}

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

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

.case-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
}

.case-image-wrapper {
  position: relative;
  height: 192px;
  overflow: hidden;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-image {
  transform: scale(1.05);
}

.case-image.brand-panel-image {
  padding: clamp(0.875rem, 2vw, 1.5rem);
}

.case-card:hover .brand-panel-image {
  transform: scale(1.02);
}

.case-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.case-body {
  padding: 1.5rem;
}

.case-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-body>p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.case-stat i {
  color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-bottom: 0.25rem;
}

.case-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.case-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.case-link:hover {
  color: var(--secondary);
}

.case-link i {
  width: 16px;
  height: 16px;
}

.blog-section {
  padding: 6rem 0;
}

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

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

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

.blog-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: var(--shadow-elevated);
}

.blog-category {
  display: inline-block;
  background: hsl(279 80% 30% / 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-card>p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.blog-date i,
.blog-arrow i {
  width: 14px;
  height: 14px;
}

.blog-arrow i {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.blog-card:hover .blog-arrow i {
  color: var(--primary);
}

.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.cta-dots {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, var(--secondary) 1px, transparent 0);
  background-size: 32px 32px;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(0 0% 100%);
}

.cta-section .cta-subtitle {
  color: hsl(270 10% 70%);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
  margin: 0 auto 1rem;
}

@media (min-width: 640px) {
  .cta-form {
    flex-direction: row;
  }
}

.cta-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  background: hsl(270 15% 15% / 0.5);
  border: 1px solid hsl(270 15% 18% / 0.3);
  color: hsl(0 0% 100%);
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.cta-form input::placeholder {
  color: hsl(270 10% 50%);
}

.cta-form input:focus {
  box-shadow: 0 0 0 2px hsl(279 80% 30% / 0.5);
}

.cta-form-status {
  width: 100%;
  flex-basis: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.cta-btn-glow {
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
  animation: pulseGlow 3s ease-in-out infinite;
  font-family: 'Outfit', sans-serif;
  transition: opacity 0.2s;
}

.cta-btn-glow:hover {
  opacity: 0.9;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px hsl(279 80% 30% / 0.2);
  }

  50% {
    box-shadow: 0 0 40px hsl(279 80% 30% / 0.4);
  }
}

.cta-micro {
  font-size: 0.75rem;
  color: hsl(270 10% 50%);
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  width: clamp(88px, 10vw, 112px);
  height: auto;
  display: block;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--muted-foreground);
  background: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--foreground);
  background: var(--border);
  transform: translateY(-2px);
}

.footer-social a i {
  font-size: 1.125rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.icon-menu {
  width: 24px;
  height: 24px;
}

.icon-trust {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

.icon-arrow-down {
  width: 20px;
  height: 20px;
}

.icon-arrow-right {
  width: 16px;
  height: 16px;
}

.spacer-block {
  height: 1rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-offset {
  margin-top: 0.75rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- MODERN ADMIN UI --- */

.admin-header-box {
  margin-top: 20px;
  margin-bottom: 40px;
  background: var(--admin-card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid var(--admin-card-border);
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

.admin-header-box:hover {
  transform: translateY(-2px);
}

.admin-header-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-header-icon {
  background: var(--gradient-brand);
  border-radius: 14px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(107, 33, 168, 0.2);
  color: white;
  font-size: 1.6rem;
}

.admin-header-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: var(--admin-text-primary);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.admin-header-text p {
  margin: 5px 0 0 0;
  font-size: 0.95rem;
  color: var(--admin-text-secondary);
  font-weight: 500;
}

/* --- MODERN BUTTONS --- */

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.btn-admin i {
  font-size: 1.1rem;
}

.btn-admin-primary {
  background: var(--gradient-brand);
  color: white !important;
  box-shadow: 0 4px 15px rgba(107, 33, 168, 0.2);
}

.btn-admin-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 33, 168, 0.3);
  filter: brightness(1.1);
}

.btn-admin-primary:active {
  transform: translateY(0);
}

.btn-admin-secondary {
  background: #f8f9fa;
  color: #444 !important;
  border: 1px solid #eee;
}

.btn-admin-secondary:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-admin-danger {
  background: #fff5f5;
  color: #e53e3e !important;
  border: 1px solid #feb2b2;
}

.btn-admin-danger:hover {
  background: #e53e3e;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 62, 62, 0.2);
}

/* --- ACTION BUTTONS IN TABLES --- */
.table .btn-sm-admin {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px;
}

.admin-actions-container {
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 5px;
}

/* --- ADMIN TEXT OVERRIDES --- */
.admin-header-text h2,
.admin-header-text p,
.admin-title,
.admin-subtitle,
label,
h4 {
  color: #000 !important;
}

/* --- WIDGET REDES SOCIALES (Facebook + Instagram) --- */
.section-redes-sociales {
  background: var(--background);
  padding-top: 50px;
  padding-bottom: 50px;
}

.redes-widget-heading {
  margin-bottom: 50px;
}

.redes-section-title {
  color: var(--foreground);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.redes-section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.redes-widgets-row .m-b-40 {
  margin-bottom: 40px;
}

.redes-widget-card {
  background: var(--muted);
  border-radius: 12px;
  padding: 25px;
  height: 100%;
}

.redes-widget-card-title {
  color: var(--foreground);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.redes-icon-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.redes-icon-facebook {
  color: #1877F2;
}

.instagram-embed-profile {
  display: flex;
  justify-content: center;
}

.instagram-embed-profile iframe {
  border: 0;
  width: 100%;
  max-width: 100%;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.instagram-embed-wrapper {
  display: flex;
  justify-content: center;
}

.instagram-embed-wrapper .instagram-media {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
  max-width: 100%;
  min-width: 280px;
  padding: 0;
  width: 99.375%;
}

.fb-page-wrapper {
  display: flex;
  justify-content: center;
}

.fb-page-wrapper .fb-page {
  min-width: 280px;
}

.redes-widget-card .m-t-20 {
  margin-top: 20px;
}

.btn-instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
  transition: all 0.3s ease;
}

.btn-instagram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 39, 67, 0.5) !important;
  color: white !important;
}

.btn-facebook-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #1877F2;
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
  transition: all 0.3s ease;
}

.btn-facebook-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(24, 119, 242, 0.5) !important;
  color: white !important;
}

@media (max-width: 991px) {
  .redes-widgets-row .col-lg-6 {
    margin-bottom: 30px;
  }
}