/* ============================================
   SOLUTION INMEDIATE
   Tema: Verde Esmeralda / Teal Profesional
   Estilo: Moderno, Limpio, Educativo
   ============================================ */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --primary-lighter: #ccfbf1;
  --secondary: #0891b2;
  --secondary-light: #06b6d4;

  --accent: #f59e0b;
  --accent-light: #fbbf24;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --dark: #134e4a;
  --dark-2: #115e59;
  --gray-50: #f0fdfa;
  --gray-100: #ccfbf1;
  --gray-200: #99f6e4;
  --gray-300: #5eead4;
  --gray-400: #2dd4bf;
  --gray-500: #14b8a6;
  --gray-600: #0d9488;
  --gray-700: #0f766e;

  --white: #ffffff;
  --text: #134e4a;
  --text-light: #0f766e;
  --text-muted: #5eead4;

  --border: #99f6e4;
  --border-light: #ccfbf1;

  --shadow-sm: 0 1px 2px 0 rgba(13, 148, 136, 0.05);
  --shadow: 0 1px 3px 0 rgba(13, 148, 136, 0.1), 0 1px 2px 0 rgba(13, 148, 136, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -1px rgba(13, 148, 136, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(13, 148, 136, 0.1), 0 4px 6px -2px rgba(13, 148, 136, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(13, 148, 136, 0.1), 0 10px 10px -5px rgba(13, 148, 136, 0.04);

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

  --transition: all 0.25s ease;
  --transition-fast: all 0.15s ease;

  --max-w: 1200px;
}

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

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.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.95);
  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: 72px;
}

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

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  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: 600;
  color: var(--dark);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

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

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

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

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

.nav-btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  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: 24px;
  height: 2px;
  background: var(--dark);
  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: 140px 0 80px;
  background: linear-gradient(135deg, var(--gray-50) 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(13, 148, 136, 0.08), transparent 70%);
  border-radius: 50%;
}

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

.hero-badge {
  display: inline-block;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Poppins', sans-serif;
}

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

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

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

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

.hero-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.feature svg {
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  position: absolute;
  border: 1px solid var(--border);
}

.main-card {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-lighter);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.main-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.main-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.floating-card {
  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;
}

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

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

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

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

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

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

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

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

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

.section-badge {
  display: inline-block;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* ========== TOOLS GRID ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.tool-icon.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.tool-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tool-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.tool-icon.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.tool-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.tool-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.tool-icon.cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.tool-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.tool-icon.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.tool-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tags span {
  background: var(--gray-100);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ========== TUTORIALS GRID ========== */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
}

.tutorial-card:hover {
  background: var(--white);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tutorial-level {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.tutorial-time {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tutorial-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.tutorial-card > p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tutorial-steps {
  list-style: none;
  padding: 0;
}

.tutorial-steps li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ========== TIPS LIST ========== */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tip-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: var(--transition);
}

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

.tip-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tip-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

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

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  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: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: 'Poppins', 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 24px 24px;
}

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

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

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

.contact-avatar {
  width: 80px;
  height: 80px;
  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 24px;
}

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

.contact-role {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 32px;
}

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

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

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

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

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

.contact-disclaimer {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
}

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

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

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

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

.footer-logo .logo-badge {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

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

.footer-brand p {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-badges span {
  background: var(--dark-2);
  color: var(--gray-300);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

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

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

.footer-contact strong {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
}

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

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

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

.footer-note {
  font-size: 0.85rem !important;
  color: var(--gray-500) !important;
  margin-top: 8px !important;
}

/* ========== ADMIN PANEL ========== */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2500;
  display: none;
}

.admin-overlay.active {
  display: block;
}

.admin-panel {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 3000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.admin-panel.active {
  right: 0;
}

.admin-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
}

.admin-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.admin-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.admin-close:hover {
  color: var(--dark);
}

.admin-body {
  padding: 24px;
}

.admin-status {
  padding: 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

.admin-status.ok {
  background: #d1fae5;
  color: var(--success);
  border: 1px solid #34d399;
}

.admin-status.off {
  background: var(--gray-100);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.admin-group {
  margin-bottom: 20px;
}

.admin-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.admin-group input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.admin-group input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lighter);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  border-radius: 26px;
  transition: 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: var(--shadow-sm);
}

.toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.admin-info {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.admin-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.5;
}

.admin-info p:last-child {
  margin-bottom: 0;
}

.admin-info code {
  background: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary);
}

.btn-save {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.btn-save:hover {
  background: var(--primary-dark);
}

.btn-save:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

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

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

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

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

  .nav-btn {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

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

  .hero {
    padding: 120px 0 60px;
  }

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

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

  .hero-visual {
    height: 360px;
  }

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

  .tools-grid,
  .tutorials-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .admin-panel {
    width: 100%;
    right: -110%;
  }
}

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

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

  .section {
    padding: 60px 0;
  }

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

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

  .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
  }

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

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

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

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

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

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

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