/* ========================================
   ESTILO INSPIRADO EN AGENDAPRO
   Diseño Corporativo Profesional
   ======================================== */

/* === VARIABLES DE COLORES === */
:root {
    --primary-color: #5B4FE9;
    --secondary-color: #4A3FD8;
    --accent-color: #7C71FF;
    --success-color: #00D4AA;
    --dark: #1A1A2E;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #5B4FE9 0%, #7C71FF 100%);
    --gradient-success: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
    --shadow-sm: 0 2px 8px rgba(91, 79, 233, 0.08);
    --shadow-md: 0 4px 16px rgba(91, 79, 233, 0.12);
    --shadow-lg: 0 8px 32px rgba(91, 79, 233, 0.16);
}

/* === RESET Y GENERALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* === NAVBAR AGENDAPRO STYLE === */
.header-section {
    background: var(--white) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    height: 80px !important;
    border-bottom: 1px solid rgba(91, 79, 233, 0.1);
}

.header-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 20px !important;
}

.navbar-brand img {
    max-height: 50px !important;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.mainmenu ul.nav li a {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 28px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.mainmenu ul.nav li a::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.mainmenu ul.nav li a:hover {
    color: var(--primary-color) !important;
    background: transparent;
}

.mainmenu ul.nav li a:hover::after,
.mainmenu ul.nav li a.active::after {
    width: 30px;
}

/* Botones del Navbar */
.menu-btn,
.book-btn,
.default_btn {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: none;
    text-transform: none;
    margin: 0 6px !important;
    white-space: nowrap;
}

.menu-btn:hover,
.book-btn:hover,
.default_btn:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white) !important;
}

/* Botón secundario */
.menu-btn.secondary,
.book-btn.secondary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: none !important;
}

.menu-btn.secondary:hover,
.book-btn.secondary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.menu-btn i,
.book-btn i,
.default_btn i {
    font-size: 14px;
    margin-right: 8px;
    vertical-align: middle;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #5B4FE9 0%, #7C71FF 50%, #9D8FFF 100%);
    padding: 140px 0 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(60px);
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-50px) translateX(-20px);
    }
    75% {
        transform: translateY(-30px) translateX(10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary i,
.btn-hero-secondary i {
    font-size: 18px;
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.hero-feature i {
    font-size: 24px;
    opacity: 0.9;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* === SECCIONES === */
section.pricing_section,
section.contact-section {
    padding: 80px 0 !important;
    background: var(--white) !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
}

section.pricing_section {
    background: var(--bg-light) !important;
    padding: 80px 0 !important;
    border-bottom: none !important;
}

section.contact-section {
    padding: 100px 0 !important;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%) !important;
}

/* Encabezados de Sección - FORZAR FLUJO NORMAL */
.section_heading {
    text-align: center !important;
    margin: 0 auto 60px auto !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
}

.section_heading h3 {
    color: var(--primary-color) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
}

.section_heading h2 {
    color: var(--dark) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    position: static !important;
    float: none !important;
}

.section_heading p {
    color: var(--text-secondary) !important;
    font-size: 18px !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 1.7 !important;
    position: static !important;
    float: none !important;
}

.heading-line {
    width: 60px !important;
    height: 4px !important;
    background: var(--gradient-primary) !important;
    margin: 24px auto !important;
    border-radius: 2px !important;
    position: static !important;
    float: none !important;
}

/* === TARJETAS DE SERVICIOS === */
.price_wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.price_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.price_wrap:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.price_wrap:hover::before {
    transform: scaleX(1);
}

.price_wrap h3 {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    padding: 16px 20px !important;
    border-radius: 8px;
}

.price_wrap h3::after {
    display: none;
}

.price_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price_list li {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.price_list li:hover {
    padding-left: 12px;
    background: rgba(91, 79, 233, 0.02);
}

.price_list li h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.price_list li p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.price_list .price {
    background: transparent !important;
    color: var(--dark) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.price_list li:hover .price {
    transform: none !important;
    box-shadow: none !important;
    color: var(--primary-color) !important;
}

/* === CONTENEDORES DE SECCIÓN === */
section.pricing_section .container,
section.contact-section .container {
    display: block !important;
    width: 100% !important;
    position: static !important;
    float: none !important;
}

section.pricing_section .row,
section.contact-section .row {
    margin-top: 40px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    position: static !important;
    float: none !important;
    clear: both !important;
}

/* Tarjetas de WhatsApp */
.whatsapp-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    margin-top: 20px;
    margin-bottom: 30px;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366, #128C7E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.whatsapp-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: #25D366;
}

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

.whatsapp-card-body {
    padding: 48px 36px;
    text-align: center;
}

.professional-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.whatsapp-card:hover .professional-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.professional-icon i {
    font-size: 48px;
    color: var(--white);
}

.professional-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.professional-phone {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-weight: 500;
}

.professional-phone i {
    color: var(--primary-color);
    margin-right: 8px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: var(--white) !important;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 18px;
    margin-right: 8px;
}

/* === FOOTER === */
.widget_section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--dark) 0%, #16213E 100%);
    color: var(--white);
    border-top: 4px solid var(--primary-color);
}

.footer_widget h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.footer_widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer_widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.footer_widget p i {
    color: var(--accent-color);
    margin-right: 12px;
    width: 20px;
}

.footer_widget a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer_widget a:hover {
    color: var(--accent-color);
}

.widget_social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.widget_social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.widget_social li a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(91, 79, 233, 0.4);
}

.widget_social li a i {
    color: var(--white);
    font-size: 18px;
}

.footer_section {
    background: #0F1419;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer_section .copyright {
    text-align: center;
}

.footer_section .copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer_section .copyright a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_section .copyright a:hover {
    color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .header-section {
        height: auto !important;
        padding: 15px 0 !important;
    }
    
    .section_heading h2 {
        font-size: 36px;
    }
    
    .price_wrap,
    .whatsapp-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px 0;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        padding: 16px 32px;
        font-size: 15px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-feature {
        font-size: 14px;
    }
    
    .hero-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    section.pricing_section {
        padding: 60px 0 !important;
    }
    
    section.contact-section {
        padding: 80px 0 !important;
    }
    
    .section_heading {
        margin: 0 auto 50px auto !important;
        padding: 0 20px !important;
        position: static !important;
        float: none !important;
    }
    
    .section_heading h2 {
        font-size: 32px !important;
        margin: 0 0 16px 0 !important;
        position: static !important;
    }
    
    .section_heading h3 {
        margin: 0 0 12px 0 !important;
        position: static !important;
    }
    
    .section_heading p {
        font-size: 16px !important;
        margin: 0 auto !important;
        position: static !important;
    }
    
    .price_wrap h3 {
        font-size: 24px;
    }
    
    .professional-name {
        font-size: 22px;
    }
    
    .menu-btn,
    .book-btn {
        padding: 8px 16px !important;
        font-size: 13px;
        margin: 0 4px !important;
    }
    
    .price_list .price {
        font-size: 16px;
        padding: 6px 16px;
    }
    
    .header-btn {
        gap: 6px !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 15px 60px 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 10px 20px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .hero-feature {
        font-size: 13px;
    }
    
    .hero-feature i {
        font-size: 20px;
    }
    
    section.pricing_section,
    section.contact-section {
        padding: 50px 0 !important;
    }
    
    .section_heading {
        margin: 0 auto 40px auto !important;
        padding: 0 15px !important;
        position: static !important;
        float: none !important;
    }
    
    .section_heading h2 {
        font-size: 28px !important;
        margin: 0 0 12px 0 !important;
        position: static !important;
    }
    
    .section_heading h3 {
        font-size: 12px !important;
        margin: 0 0 10px 0 !important;
        position: static !important;
    }
    
    .section_heading p {
        font-size: 15px !important;
        margin: 0 auto !important;
        position: static !important;
    }
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price_wrap,
.whatsapp-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.price_wrap:nth-child(1),
.whatsapp-card:nth-child(1) {
    animation-delay: 0.1s;
}

.price_wrap:nth-child(2),
.whatsapp-card:nth-child(2) {
    animation-delay: 0.2s;
}

.price_wrap:nth-child(3),
.whatsapp-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* === MENÚ MÓVIL === */
.menu-mobile-menu-container {
    background: var(--white);
    border-right: 1px solid var(--border);
}

.mob-menu-top {
    background: var(--gradient-primary);
}

.menu-tab-div .menu li a {
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding: 16px 24px;
}

.menu-tab-div .menu li a:hover {
    background: var(--bg-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

/* === EFECTOS ADICIONALES === */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

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

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* === BADGES Y ETIQUETAS === */
.badge-featured {
    background: var(--gradient-success);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

/* === UTILIDADES === */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

