:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.logo img:hover {
    transform: scale(1.05);
}

.logo span {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    background: var(--primary-light) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    padding: 12rem 2rem 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: var(--dark-secondary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.hero-mockup {
    position: relative;
}

.mockup-container {
    background: var(--dark-secondary);
    border-radius: 20px;
    border: 4px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    height: 30px;
    background: #111827;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.dots span:nth-child(1) {
    background: #ff5f56;
}

.dots span:nth-child(2) {
    background: #ffbd2e;
}

.dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-body {
    position: relative;
}

.mockup-img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.mockup-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.stat-badge {
    background: var(--glass);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.stat-badge i {
    color: #10b981;
    font-size: 1.5rem;
}

.stat-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.stat-badge strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* FEATURES */
.features {
    padding: 8rem 0;
    background: #0b1120;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* GALLERY */
.gallery {
    padding: 8rem 0;
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.gallery-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.gallery-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.gallery-list {
    list-style: none;
}

.gallery-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-list i {
    color: #10b981;
}

.img-floating {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    border: 8px solid var(--dark-secondary);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    animation: float 4s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

/* CTA */
.cta-section {
    padding: 10rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1517832606299-7ae9b720a186?auto=format&fit=crop&q=80&w=1500');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    max-width: 1200px;
    margin: 4rem auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #e2e8f0;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

/* FOOTER */
footer {
    padding: 6rem 2rem 2rem;
    background: #0b1120;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* DESKTOP+ */
@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:grid {
        display: grid;
    }

    .lg\:block {
        display: block;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:flex-col {
        flex-direction: column;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lg\:w-1\/2 {
        width: 50%;
    }

    .lg\:w-1\/3 {
        width: 33.333%;
    }

    .lg\:w-2\/3 {
        width: 66.666%;
    }
}

/* SECTION ADICIONAL: EFFICIENCY */
.efficiency-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent);
}

.balance-card-animate {
    background: var(--dark-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.balance-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.b-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.v-up {
    color: #10b981;
    font-weight: 600;
}

.v-down {
    color: #ef4444;
    font-weight: 600;
}

.b-sep {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.b-item.total {
    font-size: 1.5rem;
    font-weight: 800;
}

.balance-footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 1023px) {
    .efficiency-section .split-layout {
        flex-direction: column-reverse;
    }

    .efficiency-text {
        text-align: center;
        margin-bottom: 4rem;
    }

    .efficiency-text .gallery-list li {
        justify-content: center;
    }
}

/* RESPONSIVE */
@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .gallery-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gallery-list li {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}
/* ── LIGHTBOX MODAL ─────────────────────────────────────── */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
  animation: lb-fade-in 0.2s ease;
}
#lightbox-overlay.open {
  display: flex;
}
@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#lightbox-overlay img {
  max-width: min(90vw, 1200px);
  max-height: 88vh;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  cursor: default;
  animation: lb-scale-in 0.2s ease;
  object-fit: contain;
}
@keyframes lb-scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
#lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
#lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Cursor pointer en imágenes clickeables */
.mockup-img {
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mockup-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

/* ══════════════════════════════════════════════════════════
   NUEVAS SECCIONES — LANDING v2
   ══════════════════════════════════════════════════════════ */

/* ── TAGS DE SECCIÓN ─────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ── EL PROBLEMA ─────────────────────────────────────────── */
.problem-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0f1a 0%, #060d18 100%);
}
.problem-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.problem-section .section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.problem-section .section-header p {
  color: #64748b;
  font-size: 1.1rem;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.9);
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ef4444;
  margin-bottom: 1rem;
}
.problem-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.problem-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}
.problem-cta {
  text-align: center;
  padding: 2.5rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.problem-cta-text {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin: 0;
}

/* ── PERMISOS POR ROL ────────────────────────────────────── */
.permissions-section {
  padding: 6rem 0;
  background: #060d18;
}
.permissions-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.permissions-section .section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.permissions-section .section-header p {
  color: #64748b;
  font-size: 1.1rem;
}
.permissions-grid {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.perm-card {
  flex: 1;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.8);
}
.perm-card.perm-owner { border-right: 1px solid rgba(255,255,255,0.06); }
.perm-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: rgba(5, 10, 20, 0.9);
  flex-shrink: 0;
}
.perm-vs span {
  font-size: 0.9rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.1em;
  writing-mode: vertical-lr;
}
.perm-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.perm-badge.owner {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
}
.perm-badge.barber {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.perm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.perm-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.perm-list li i.fa-check { color: #34d399; font-size: 0.75rem; }
.perm-list li.perm-blocked { color: #475569; }
.perm-list li.perm-blocked i.fa-times { color: #ef4444; font-size: 0.75rem; }
.attendance-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(16,185,129,0.06) 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 1rem;
}
.att-icon {
  width: 56px;
  height: 56px;
  background: rgba(99,102,241,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #818cf8;
  flex-shrink: 0;
}
.att-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.att-content p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* ── MULTI-SUCURSAL ──────────────────────────────────────── */
.multibranch-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #060d18 0%, #0a0f1a 100%);
}
.multibranch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.multibranch-text .section-tag { margin-bottom: 1rem; display: inline-block; }
.multibranch-text h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.multibranch-text > p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
}
.multibranch-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.multibranch-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}
.multibranch-list li i {
  width: 32px;
  height: 32px;
  background: rgba(99,102,241,0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.branch-diagram {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.branch-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(99,102,241,0.4);
  z-index: 2;
}
.branch-center span { font-size: 0.65rem; font-weight: 700; }
.branch-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: rgba(15,23,42,0.95);
  border: 2px solid rgba(99,102,241,0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1rem;
  color: #818cf8;
}
.branch-node span { font-size: 0.6rem; color: #64748b; font-weight: 600; }
.branch-node.b1 { top: 10px; left: 50%; transform: translateX(-50%); }
.branch-node.b2 { bottom: 20px; left: 15px; }
.branch-node.b3 { bottom: 20px; right: 15px; }

/* ── TESTIMONIOS ─────────────────────────────────────────── */
.testimonials-section {
  padding: 6rem 0;
  background: #060d18;
}
.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.testimonials-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0.5rem 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.3); }
.testimonial-card.testimonial-featured {
  border-color: rgba(99,102,241,0.35);
  background: linear-gradient(145deg, rgba(30,41,59,0.9) 0%, rgba(15,23,42,0.9) 100%);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: #f1f5f9; }
.testimonial-author span { font-size: 0.78rem; color: #64748b; }

/* ── PRECIOS ─────────────────────────────────────────────── */
.pricing-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #060d18 0%, #0a0f1a 100%);
}
.pricing-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pricing-section .section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.2;
}
.pricing-section .section-header p {
  color: #64748b;
  font-size: 1rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.pricing-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.pricing-popular {
  border-color: rgba(99,102,241,0.5);
  background: linear-gradient(145deg, rgba(30,41,59,0.95), rgba(15,23,42,0.95));
  box-shadow: 0 20px 50px rgba(99,102,241,0.2);
  transform: scale(1.03);
}
.pricing-card.pricing-popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
}
.pricing-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.pricing-features li i.fa-check { color: #34d399; font-size: 0.75rem; }
.pricing-features li.feat-off { color: #475569; }
.pricing-features li.feat-off i.fa-times { color: #475569; font-size: 0.75rem; }
.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(99,102,241,0.4);
  color: #818cf8;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-pricing:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.7);
}
.btn-pricing.btn-pricing-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.btn-pricing.btn-pricing-primary:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}
.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: #475569;
}

/* ── RESPONSIVE NUEVAS SECCIONES ─────────────────────────── */
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-section .section-header h2,
  .permissions-section .section-header h2,
  .multibranch-text h2,
  .testimonials-section .section-header h2,
  .pricing-section .section-header h2 { font-size: 2rem; }
  .permissions-grid { flex-direction: column; }
  .perm-vs { padding: 0.75rem; }
  .perm-vs span { writing-mode: horizontal-tb; }
  .multibranch-inner { grid-template-columns: 1fr; gap: 3rem; }
  .branch-diagram { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.pricing-popular { transform: scale(1); }
  .problem-cta { flex-direction: column; gap: 1rem; }
}
@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-section,
  .permissions-section,
  .multibranch-section,
  .testimonials-section,
  .pricing-section { padding: 4rem 0; }
}
