/* =====================================================
   BLOOM STUDIO - Estilos Principales
   Paleta: Rosa boutique femenino
   ===================================================== */

:root {
    /* Colores principales */
    --pink-50: #fff0f6;
    --pink-100: #ffd6e7;
    --pink-200: #ffb3d1;
    --pink-300: #ff9acb;
    --pink-400: #ff6fb0;
    --pink-500: #ff5fa2;
    --pink-600: #e84d8a;
    --pink-700: #c73d73;
    
    /* Dorados */
    --gold-100: #fef3c7;
    --gold-200: #f3d7a6;
    --gold-300: #d4a373;
    --gold-400: #b8860b;
    
    /* Neutros */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Semánticos */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Tipografía */
    --font-display: 'Quicksand', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Espaciado */
    --container-max: 1200px;
    --section-py: 100px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-pink: 0 10px 40px rgba(255,95,162,0.2);
    
    /* Bordes */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    color: var(--white);
    box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255,95,162,0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--pink-500);
    color: var(--pink-500);
}

.btn-outline:hover {
    background: var(--pink-500);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--pink-600);
}

.btn-white:hover {
    background: var(--pink-50);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--pink-600);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Alerts */
.alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: alertSlideDown 0.4s ease;
    max-width: 90%;
    text-align: center;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes alertSlideDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,95,162,0.1);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(255, 95, 162, 0.12);
    background: rgba(255,255,255,0.98);
}

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

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.nav-buttons {
    flex: 1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--pink-500);
    background: var(--pink-50);
}

.nav-link.active {
    color: var(--pink-500);
    background: var(--pink-50);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--white) 50%, var(--gold-100) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--pink-200), transparent);
    top: -100px;
    right: -100px;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-200), transparent);
    bottom: -50px;
    left: -50px;
    animation-delay: -2s;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--pink-300), transparent);
    top: 50%;
    right: 20%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--pink-200);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--pink-600);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--pink-500);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
    padding: var(--section-py) 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--pink-50);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--pink-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* =====================================================
   PLANES
   ===================================================== */
.planes-section {
    background: var(--gray-50);
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.plan-card.featured {
    border: 2px solid var(--pink-500);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.plan-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 24px;
}

.price-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--pink-600);
}

.price-period {
    font-size: 14px;
    color: var(--gray-400);
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servicio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.servicio-card:hover {
    border-color: var(--pink-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
    border-radius: var(--radius);
}

.servicio-icon i {
    font-size: 32px;
    color: var(--pink-500);
}

.servicio-name {
    font-size: 20px;
    margin-bottom: 12px;
}

.servicio-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.servicio-price {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gold-100);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-400);
}

/* =====================================================
   PORTAFOLIO
   ===================================================== */
.portafolio-section {
    background: var(--gray-50);
}

.portafolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.proyecto-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.proyecto-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.proyecto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.proyecto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.proyecto-categoria {
    padding: 6px 14px;
    background: var(--pink-500);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.proyecto-info {
    padding: 20px;
}

.proyecto-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.proyecto-info p {
    font-size: 14px;
    color: var(--gray-500);
}

/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonios-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.testimonio-stars {
    margin-bottom: 16px;
}

.testimonio-stars i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonio-text {
    font-size: 15px;
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.author-info strong {
    display: block;
    font-size: 15px;
    color: var(--gray-800);
}

.author-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-section {
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
    color: var(--pink-500);
}

.faq-question i {
    font-size: 20px;
    color: var(--pink-500);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 15px;
}

/* =====================================================
   CTA
   ===================================================== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--white);
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--pink-500);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-400);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--pink-400);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 14px;
}

/* Mini perfil creadora */
.footer-creadora {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 24px 0;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,95,162,0.2);
    border-radius: var(--radius);
}

.creadora-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.5px;
}

.creadora-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.creadora-info strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.creadora-info > span {
    font-size: 12px;
    color: var(--pink-300);
}

.creadora-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ctag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255,95,162,0.12);
    border: 1px solid rgba(255,95,162,0.25);
    border-radius: 20px;
    color: var(--pink-300);
    white-space: nowrap;
}

.ctag i {
    font-size: 12px;
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Elementos exclusivos del panel móvil — ocultos en desktop */
.nav-buttons-mobile,
.nav-panel-header,
.nav-panel-links,
.nav-panel-label {
    display: none;
}

/* Overlay con transición suave */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    /* ── Panel lateral móvil ── */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        box-shadow: -8px 0 40px rgba(0,0,0,0.12);
        transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Cabecera del panel: solo botón cerrar */
    .nav-panel-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 12px 14px;
        border-bottom: 1px solid var(--gray-100);
        flex-shrink: 0;
    }

    .nav-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: var(--pink-50);
        color: var(--pink-500);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .nav-close:hover {
        background: var(--pink-500);
        color: var(--white);
    }

    /* Links del panel */
    .nav-panel-links {
        display: flex;
        flex-direction: column;
        padding: 12px 14px;
        gap: 2px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 13px 14px;
        font-size: 15px;
        font-weight: 500;
        border-radius: var(--radius-sm);
        color: var(--gray-700);
    }

    .nav-link i {
        font-size: 18px;
        color: var(--pink-400);
        width: 20px;
        flex-shrink: 0;
    }

    .nav-link:hover {
        background: var(--pink-50);
        color: var(--pink-600);
    }

    .nav-link.active {
        background: linear-gradient(135deg, var(--pink-50), #fff0f8);
        color: var(--pink-600);
        font-weight: 600;
    }

    .nav-link.active i {
        color: var(--pink-500);
    }

    /* Sección de botones de acción */
    .nav-buttons-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 18px 20px 24px;
        border-top: 1px solid var(--gray-100);
        flex-shrink: 0;
    }

    .nav-panel-label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--gray-400);
        margin-bottom: 2px;
    }

    /* Ocultar botones del header en móvil */
    .nav-buttons {
        display: none;
    }

    /* Hamburger — estilo rosa */
    .nav-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
        margin-left: 8px;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        background: var(--pink-50);
        border: 1.5px solid var(--pink-100);
        padding: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        transition: var(--transition);
    }

    .nav-toggle:hover {
        background: var(--pink-100);
    }

    .nav-toggle span {
        background: var(--pink-500);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Ocultar hamburger cuando el menú está abierto (la X del panel hace su función) */
    .nav-toggle.active {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 24px;
    }

    .cta-box {
        padding: 40px 30px;
        text-align: center;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}
/* Portafolio con links y video */
.proyecto-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.proyecto-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyecto-overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-card:hover .proyecto-overlay {
    opacity: 1;
}

.proyecto-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--white);
    color: var(--pink-600);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* =====================================================
   TOGGLE ARRIENDO / VENTA (global)
   ===================================================== */
.planes-tipo-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px auto 40px;
    background: #fff0f6;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
}

.tipo-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #ff5fa2;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    font-family: var(--font-body);
}

.tipo-btn.active {
    background: #ff5fa2;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 95, 162, 0.35);
}

.tipo-btn:hover:not(.active) {
    background: #ffd6e7;
}

/* =====================================================
   MODO OSCURO
   ===================================================== */

/* Botón toggle modo oscuro */
button.dark-toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffb3d1;
    background: #fff0f6;
    color: #e84d8a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    outline: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
button.dark-toggle i {
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}
button.dark-toggle:hover {
    background: #ff5fa2;
    color: #fff;
    border-color: #ff5fa2;
    transform: rotate(20deg);
}

/* Transición suave al cambiar tema */
body, .header, .plan-card, .servicio-card, .proyecto-card,
.testimonio-card, .faq-item, .nav, .footer {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Variables dark ── */
html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    background: #0f0f17;
    color: #c8c8dc;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: #e8e8f6;
}

/* Header */
html[data-theme="dark"] .header {
    background: rgba(15, 15, 23, 0.97);
    border-bottom-color: rgba(255, 95, 162, 0.15);
}
html[data-theme="dark"] .header.scrolled {
    background: rgba(15, 15, 23, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] button.dark-toggle {
    background: #1e1e2e;
    border-color: #3a3a52;
    color: #f3d7a6;
}
html[data-theme="dark"] button.dark-toggle:hover {
    background: #ff5fa2;
    color: #fff;
    border-color: #ff5fa2;
    transform: rotate(20deg);
}

/* Nav links */
html[data-theme="dark"] .nav-link {
    color: #a0a0c0;
}
html[data-theme="dark"] .nav-link:hover {
    color: var(--pink-400);
    background: rgba(255, 95, 162, 0.1);
}
html[data-theme="dark"] .nav-link.active {
    color: var(--pink-400);
    background: rgba(255, 95, 162, 0.1);
    font-weight: 600;
}

/* Mobile nav panel — dark mode */
html[data-theme="dark"] .nav-menu {
    background: #16162a;
}

html[data-theme="dark"] .nav-panel-header {
    border-bottom-color: #2a2a3a;
}

html[data-theme="dark"] .nav-panel-header .logo {
    color: #e8e8f6;
}

html[data-theme="dark"] .nav-close {
    background: rgba(255,95,162,0.12);
    color: var(--pink-400);
}

html[data-theme="dark"] .nav-close:hover {
    background: var(--pink-500);
    color: #fff;
}

html[data-theme="dark"] .nav-buttons-mobile {
    border-top-color: #2a2a3a;
}

html[data-theme="dark"] .nav-panel-label {
    color: #3a3a5a;
}

html[data-theme="dark"] .nav-toggle {
    background: rgba(255,95,162,0.08);
    border-color: rgba(255,95,162,0.2);
}

html[data-theme="dark"] .nav-toggle:hover {
    background: rgba(255,95,162,0.15);
}

/* Hero */
html[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a0f1e 0%, #0f0f17 50%, #1a1508 100%);
}
html[data-theme="dark"] .hero-badge {
    background: #1e1e2e;
    border-color: #3a2a3e;
    color: var(--pink-400);
}
html[data-theme="dark"] .hero-subtitle {
    color: #9090a8;
}
html[data-theme="dark"] .stat-label {
    color: #9090a8;
}

/* Sections alternadas */
html[data-theme="dark"] .planes-section,
html[data-theme="dark"] .portafolio-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .testimonios-section {
    background: #0d0d15;
}

html[data-theme="dark"] .section-badge {
    background: rgba(255, 95, 162, 0.12);
    color: var(--pink-400);
}
html[data-theme="dark"] .section-subtitle {
    color: #9090a8;
}

/* Cards planes */
html[data-theme="dark"] .plan-card {
    background: #1a1a28;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .plan-card.featured {
    border-color: var(--pink-500);
}
html[data-theme="dark"] .plan-desc {
    color: #9090a8;
}
html[data-theme="dark"] .plan-features li {
    border-bottom-color: #2a2a3a;
    color: #c0c0d4;
}
html[data-theme="dark"] .price-amount {
    color: var(--pink-400);
}
html[data-theme="dark"] .price-period {
    color: #7070a0;
}

/* Toggle arriendo/venta */
html[data-theme="dark"] .planes-tipo-toggle {
    background: #1e1e2e;
}
html[data-theme="dark"] .tipo-btn {
    color: var(--pink-400);
}
html[data-theme="dark"] .tipo-btn:hover:not(.active) {
    background: rgba(255, 95, 162, 0.12);
}

/* Cards servicios */
html[data-theme="dark"] .servicio-card {
    background: #1a1a28;
    border-color: #2a2a3a;
}
html[data-theme="dark"] .servicio-card:hover {
    border-color: var(--pink-500);
}
html[data-theme="dark"] .servicio-icon {
    background: linear-gradient(135deg, rgba(255,95,162,0.15), rgba(255,95,162,0.08));
}
html[data-theme="dark"] .servicio-desc {
    color: #9090a8;
}
html[data-theme="dark"] .servicio-price {
    background: rgba(243, 215, 166, 0.1);
    color: #d4a373;
}

/* Cards portafolio */
html[data-theme="dark"] .proyecto-card {
    background: #1a1a28;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .proyecto-info p {
    color: #9090a8;
}
html[data-theme="dark"] .proyecto-link {
    background: #2a2a3a;
    color: var(--pink-400);
}

/* Cards testimonios */
html[data-theme="dark"] .testimonio-card {
    background: #1a1a28;
    border-color: #2a2a3a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .testimonio-text {
    color: #a0a0c0;
}
html[data-theme="dark"] .author-info strong {
    color: #e0e0f0;
}
html[data-theme="dark"] .author-info span {
    color: #7070a0;
}

/* FAQ */
html[data-theme="dark"] .faq-item {
    background: #1a1a28;
    box-shadow: none;
}
html[data-theme="dark"] .faq-question {
    color: #e0e0f0;
}
html[data-theme="dark"] .faq-question:hover {
    color: var(--pink-400);
}
html[data-theme="dark"] .faq-answer p {
    color: #9090a8;
}

/* Formularios */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background: #1e1e2e;
    border-color: #3a3a52;
    color: #e0e0f0;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #5a5a78;
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
    border-color: var(--pink-500);
    background: #22223a;
}
html[data-theme="dark"] label {
    color: #a0a0c0;
}

/* Footer - ya es oscuro, solo afinar */
html[data-theme="dark"] .footer {
    background: #080810;
}
html[data-theme="dark"] .footer-bottom {
    border-top-color: #1e1e2e;
}

/* Alerts */
html[data-theme="dark"] .alert-success {
    background: #0d2d1e;
    color: #6ee7b7;
    border-color: #064e3b;
}
html[data-theme="dark"] .alert-error {
    background: #2d0d0d;
    color: #fca5a5;
    border-color: #7f1d1d;
}

/* Footer creadora en dark mode */
html[data-theme="dark"] .footer-creadora {
    background: rgba(255, 95, 162, 0.06);
    border-color: rgba(255, 95, 162, 0.15);
}

/* Páginas interiores (contacto, cotizar, servicios, portafolio) */
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .card {
    background: #1a1a28;
    border-color: #2a2a3a;
}
html[data-theme="dark"] p {
    color: #b0b0c8;
}

/* =====================================================
   TESTIMONIOS — CARRUSEL
   ===================================================== */
.testi-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testi-wrap .testimonios-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-wrap .testimonio-card {
    flex: 0 0 calc(33.333%);
    min-width: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .testi-wrap .testimonio-card { flex: 0 0 50%; }
}
@media (max-width: 640px) {
    .testi-wrap .testimonio-card { flex: 0 0 100%; }
}

/* Nav */
.testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.testi-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffd6e7;
    background: var(--white);
    color: #ff5fa2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.testi-btn:hover {
    background: #ff5fa2;
    color: #fff;
    border-color: #ff5fa2;
    box-shadow: 0 4px 14px rgba(255,95,162,0.4);
}

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

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ffd6e7;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}
.testi-dot.active {
    background: #ff5fa2;
    width: 24px;
    border-radius: 4px;
}

/* Dark */
html[data-theme="dark"] .testi-btn {
    background: #1a1a28;
    border-color: #2a2a3a;
}
html[data-theme="dark"] .testi-btn:hover {
    background: #ff5fa2;
    border-color: #ff5fa2;
}
html[data-theme="dark"] .testi-dot { background: #2a2a3a; }
html[data-theme="dark"] .testi-dot.active { background: #ff5fa2; }

/* =====================================================
   FAQ — EMPTY STATE
   ===================================================== */
.faq-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}
.faq-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* =====================================================
   PROYECTO TIMELINE — vista cliente solicitudes/ver
   ===================================================== */
.proyecto-timeline-card {
    padding: 20px 24px 24px;
    margin-bottom: 20px;
}

.proyecto-timeline-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
}

.proyecto-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s;
    position: relative;
}

.timeline-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.timeline-step.completed .timeline-icon {
    background: #ff5fa2;
    color: #fff;
}

.timeline-step.active .timeline-icon {
    background: #fff0f6;
    color: #ff5fa2;
    box-shadow: 0 0 0 3px rgba(255,95,162,0.25);
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    padding-top: 2px;
}

.timeline-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.2s;
}

.timeline-step.completed .timeline-label,
.timeline-step.active .timeline-label {
    color: #1f2937;
}

.timeline-step.active .timeline-label {
    color: #ff5fa2;
}

.timeline-desc {
    font-size: 12px;
    color: #cbd5e1;
    transition: color 0.2s;
}

.timeline-step.completed .timeline-desc,
.timeline-step.active .timeline-desc {
    color: #64748b;
}

.timeline-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 8px;
}

.timeline-connector {
    width: 2px;
    height: 18px;
    background: #e2e8f0;
    margin-left: 30px;
    transition: background 0.2s;
}

.timeline-connector.done {
    background: #ff5fa2;
}

/* Dark mode */
html[data-theme="dark"] .proyecto-timeline-card h3 { color: #e2e8f0; }
html[data-theme="dark"] .timeline-icon { background: #334155; color: #64748b; }
html[data-theme="dark"] .timeline-step.completed .timeline-icon { background: #ff5fa2; color: #fff; }
html[data-theme="dark"] .timeline-step.active .timeline-icon { background: rgba(255,95,162,0.15); color: #ff5fa2; }
html[data-theme="dark"] .timeline-label { color: #475569; }
html[data-theme="dark"] .timeline-step.completed .timeline-label,
html[data-theme="dark"] .timeline-step.active .timeline-label { color: #e2e8f0; }
html[data-theme="dark"] .timeline-step.active .timeline-label { color: #ff5fa2; }
html[data-theme="dark"] .timeline-desc { color: #334155; }
html[data-theme="dark"] .timeline-step.completed .timeline-desc,
html[data-theme="dark"] .timeline-step.active .timeline-desc { color: #94a3b8; }
html[data-theme="dark"] .timeline-connector { background: #334155; }
html[data-theme="dark"] .timeline-connector.done { background: #ff5fa2; }
html[data-theme="dark"] .timeline-check { background: rgba(22,163,74,0.15); color: #4ade80; }
