/* Maribel Pacheco Widget Styles */
.mpw-wrapper {
    --mpw-primary: #001529;
    --mpw-secondary: #0050b3;
    --mpw-accent: #1890ff;
    --mpw-text: #333333;
    --mpw-text-light: #666666;
    --mpw-bg-light: #f0f2f5;
    --mpw-white: #ffffff;
    --mpw-transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    color: var(--mpw-text);
    line-height: 1.6;
}

.mpw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.mpw-header {
    background: var(--mpw-primary);
    color: var(--mpw-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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

.mpw-logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

.mpw-logo-text span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    display: block;
    opacity: 0.8;
}

.mpw-nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.mpw-nav-links a {
    color: var(--mpw-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--mpw-transition);
    padding: 5px 10px;
    border-radius: 4px;
}

.mpw-nav-links a:hover, .mpw-nav-links a.active {
    background: rgba(255,255,255,0.1);
    color: var(--mpw-accent);
}

.mpw-header-image-logo {
    max-height: 50px;
    width: auto;
}

.mpw-mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Sections */
.mpw-section {
    padding: 80px 0;
}

.mpw-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.mpw-section-title h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: #444;
    letter-spacing: 4px;
    margin: 0;
}

.mpw-underline {
    width: 60px;
    height: 3px;
    background: var(--mpw-primary);
    margin: 20px auto 0;
}

/* About Section */
.mpw-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

/* About Section Slider */
.mpw-about-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #f0f0f0;
    aspect-ratio: var(--mpw-aspect-ratio, auto);
    width: 100%;
}

.mpw-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.mpw-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpw-slide.active {
    opacity: 1;
    z-index: 1;
}

/* If aspect-ratio is not auto, we need the images to fill the space */
.mpw-about-slider[style*="--mpw-aspect-ratio:"] .mpw-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.mpw-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.mpw-prev-slide, .mpw-next-slide {
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--mpw-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpw-prev-slide:hover, .mpw-next-slide:hover {
    background: var(--mpw-accent);
}

.mpw-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.mpw-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--mpw-transition);
}

.mpw-dot.active {
    background: var(--mpw-accent);
    width: 25px;
    border-radius: 5px;
}

.mpw-about-content h3 {
    font-size: 2rem;
    color: #444;
    margin: 0 0 5px;
}

.mpw-subtitle {
    font-style: italic;
    color: var(--mpw-text-light);
    margin-bottom: 25px;
}

.mpw-intro {
    font-weight: 400;
    margin-bottom: 25px;
    color: #555;
}

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

.mpw-qualifications li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: #555;
}

.mpw-qualifications i {
    color: var(--mpw-primary);
    margin-top: 4px;
}

.mpw-motto {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--mpw-primary);
    background: #f9f9f9;
}

.mpw-about-footer-text {
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
}

/* Parallax Sections */
.mpw-parallax-section {
    position: relative;
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--mpw-white);
}

.mpw-parallax-section .mpw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 21, 41, 0.6);
    z-index: 1;
}

.mpw-has-video {
    overflow: hidden;
}

.mpw-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.mpw-container {
    position: relative;
    z-index: 2;
}

/* Stats Grid */
.mpw-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.mpw-stat-item {
    transition: var(--mpw-transition);
}

.mpw-stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.mpw-stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Services Card */
.mpw-services-card {
    background: rgba(0, 21, 41, 0.85);
    backdrop-filter: blur(5px);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
}

.mpw-services-card h2 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    color: #fff;
}

.mpw-services-card .mpw-underline {
    background: var(--mpw-white);
    margin-bottom: 30px;
}

.mpw-highlight {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--mpw-accent);
}

.mpw-services-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

/* Contact Section */
.mpw-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mpw-form-group {
    margin-bottom: 20px;
}

.mpw-wrapper input, 
.mpw-wrapper textarea,
.mpw-wrapper .wpcf7-form-control.wpcf7-text,
.mpw-wrapper .wpcf7-form-control.wpcf7-textarea,
.mpw-wrapper .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 20px;
    display: block;
}

.mpw-submit-btn,
.mpw-wrapper .wpcf7-submit {
    background: var(--mpw-white);
    color: var(--mpw-text);
    border: 1px solid #ddd;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--mpw-transition);
    width: auto;
}

.mpw-submit-btn:hover,
.mpw-wrapper .wpcf7-submit:hover {
    background: var(--mpw-primary);
    color: var(--mpw-white);
}

.mpw-contact-info h3 {
    font-size: 1.5rem;
    margin: 0 0 15px;
}

.mpw-info-underline {
    width: 40px;
    height: 2px;
    background: var(--mpw-primary);
    margin-bottom: 30px;
}

.mpw-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.mpw-social-link {
    width: 40px;
    height: 40px;
    background: var(--mpw-primary);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--mpw-transition);
}

.mpw-social-link:hover {
    background: var(--mpw-accent);
}

.mpw-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
}

.mpw-info-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--mpw-transition);
}

.mpw-info-item a:hover {
    color: var(--mpw-accent);
}

.mpw-info-item i.fa-whatsapp {
    color: #25d366;
}

/* Footer */
.mpw-footer {
    background: var(--mpw-primary);
    color: var(--mpw-white);
    padding: 30px 0;
}

.mpw-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mpw-footer-content p {
    margin: 0;
}

.mpw-back-to-top {
    color: var(--mpw-white);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--mpw-transition);
}

.mpw-back-to-top:hover {
    background: var(--mpw-white);
    color: var(--mpw-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .mpw-about-grid, .mpw-contact-grid {
        grid-template-columns: 1fr;
    }
    .mpw-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mpw-mobile-menu-btn {
        display: block;
    }

    .mpw-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--mpw-primary);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 10px 0;
    }

    .mpw-nav-links li {
        width: 100%;
        text-align: center;
    }

    .mpw-nav-links a {
        display: block;
        padding: 15px;
        width: 100%;
        border-radius: 0;
    }

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