/*
Theme Name: ControlA WaaS Base
Theme URI: https://devmarex.com/controla
Author: Alejandro Mares
Author URI: https://devmarex.com
Description: Tema base para el WAAS de ControlA
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: controla
*/

:root {
    --primary-color: #002B5B;
    --secondary-color: #4CAF50;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #001a38;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 15px;
}

.lang-switch .active {
    color: var(--primary-color);
}

.header-auth-btn {
    padding: 8px 16px;
    font-size: 14px;
}

.header-auth-btn i {
    margin: 0 4px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    display: inline-block;
    background-color: #e8f5e9;
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-content .highlight {
    color: #2b59c3;
    /* Blue highlight */
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-trust-badges {
    display: flex;
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.trust-item i {
    color: var(--secondary-color);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: visible;
}

.image-wrapper img {
    width: 100%;
    border-radius: 30px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.float-card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-card {
    top: 40px;
    right: -20px;
    width: 50px;
    height: 50px;
    color: #2b59c3;
    font-size: 1.2rem;
}

.growth-card {
    bottom: 120px;
    left: -30px;
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    border-radius: 50%;
}

.profile-card {
    position: absolute;
    bottom: 40px;
    right: -40px;
    /* Slight overhang */
    left: 40px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 90%;
}

.profile-icon {
    background: #002B5B;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info strong {
    font-size: 0.95rem;
    color: #000;
}

.profile-info span {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.profile-info small {
    font-size: 0.75rem;
    color: #2b59c3;
    font-weight: 600;
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
}

.trust-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #888;
}

.trust-logo-item .icon-circle {
    width: 50px;
    height: 50px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.2rem;
}

.trust-logo-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

.chat-btn {
    position: fixed;
    /* Keep it fixed or absolute relative to section? Design shows it floating */
    /* Adjusting to match design relative placement or fixed */
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-btn:hover {
    transform: translateY(-55%);
}


/* Services */
.services {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    color: #2b59c3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-card:nth-child(2) .icon-box {
    background-color: #f0f9f0;
    color: var(--secondary-color);
}

.service-card:nth-child(3) .icon-box {
    background-color: #f2f4ff;
    color: #4a6ee0;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #111;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features */
.features {
    padding: 80px 0;
    position: relative;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.features-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.features-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: #e8f5e9;
    color: var(--secondary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list strong {
    display: block;
    margin-bottom: 5px;
    color: #111;
}

.feature-list p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.btn-link {
    font-weight: 600;
    color: #2b59c3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 12px;
}

.opinion-badge {
    position: absolute;
    bottom: 25%;
    left: 35%;
    /* Adjust based on image position */
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-content i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.badge-content div {
    display: flex;
    flex-direction: column;
}

.badge-content span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.8rem;
}

.badge-content small {
    font-size: 0.6rem;
    color: #999;
}

/* CTA */
.cta {
    background-color: #004e9a;
    /* Brighter blue than primary */
    padding: 80px 0;
    color: white;
    text-align: center;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-container p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: #000c19;
    color: #8899a6;
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo img {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-brand p {
    margin-bottom: 20px;
    max-width: 300px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-bottom .container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .profile-card {
        right: 0;
        left: 0;
        max-width: 80%;
        margin: 0 auto;
    }

    .trust-logos {
        gap: 30px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .opinion-badge {
        left: 50%;
        bottom: 20px;
    }
}

@media (max-width: 768px) {

    /* Header Mobile Fixes */
    .header {
        padding: 10px 0;
    }

    .logo img {
        width: 140px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-auth-btn {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }

    .lang-switch {
        margin-right: 0 !important;
        font-size: 0.75rem;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: 0 !important;
        font-size: 1.4rem;
    }

    .nav {
        display: none;
        /* Hide nav needed for JS toggle */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-container h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Mobile Enhancements for Front Page */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-badges {
        flex-wrap: wrap;
        gap: 15px;
    }

    .float-card {
        display: none;
        /* Hide floating abstract chart icons on tiny screens to avoid overflow */
    }

    .profile-card {
        max-width: 95%;
        padding: 10px;
    }

    .trust-logos {
        gap: 20px;
    }

    .chat-btn {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
        z-index: 1000;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .opinion-badge {
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        margin-top: 30px;
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opacity-0 {
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* =========================================
   Nicho Page Styles
   ========================================= */

/* Niche Selector */
.niche-selector {
    padding: 80px 0;
    background-color: #f9fafb;
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.niche-card {
    background: white;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.niche-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.niche-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.niche-card h3 {
    margin-bottom: 10px;
    color: #111;
}

.niche-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Value Proposition */
.value-prop {
    padding: 80px 0;
    background: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    text-align: center;
}

.value-item {
    padding: 20px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background-color: var(--primary-color);
    color: white;
}

.value-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background-color: #f9fafb;
}

.social-proof h3 {
    margin-bottom: 40px;
    color: #9ca3af;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    align-items: center;
}

.client-logos img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    max-width: 120px;
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.4;
}

.testimonial cite {
    font-weight: 600;
    color: var(--text-light);
    font-style: normal;
}

/* Lead Magnet */
.lead-magnet {
    padding: 80px 0;
    background-color: #0d3b66;
    /* Deep corporative blue */
    color: white;
}

.lead-magnet-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.lead-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.lead-form form {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.lead-form input {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
}

.lead-form input:focus {
    outline: none;
    background: white;
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {
    .lead-magnet-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lead-form form {
        flex-direction: column;
    }

    .lead-form input {
        width: 100%;
    }

    .lead-form button {
        width: 100%;
    }
}

/* =========================================
   Detail Page / Landing Styles
   ========================================= */

/* Hero Detail */
.hero-detail {
    padding: 60px 0;
    background: linear-gradient(135deg, #f4f7fa 0%, #ffffff 100%);
}

.hero-detail-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-detail-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-image-mobile {
    display: none;
    margin-top: 30px;
}

.hero-image-mobile img {
    width: 100%;
    border-radius: 20px;
}

.consultation-form {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.consultation-form h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.consultation-form p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* Pain Points */
.pains-section {
    padding: 80px 0;
    background-color: white;
}

.pains-list {
    max-width: 700px;
    margin: 0 auto 50px;
}

.pain-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff5f5;
    border-radius: 10px;
    border-left: 4px solid #f44336;
}

.pain-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f44336;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pain-item p {
    margin: 0;
    font-weight: 500;
    color: #333;
}

.connector-arrow {
    text-align: center;
    color: var(--primary-color);
}

.connector-arrow p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.connector-arrow i {
    font-size: 2rem;
    animation: fadeInUp 2s infinite;
}

/* Solution Zig-Zag */
.solution-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row.reverse {
    direction: rtl;
    /* Simple way to swap visually, though DOM order stays */
}

.zigzag-row.reverse .zigzag-content {
    direction: ltr;
    /* Reset text direction */
}

.zigzag-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.zigzag-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Authority */
.authority-section {
    padding: 80px 0;
    background-color: white;
}

.authority-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 60px;
    border-radius: 30px;
}

.expert-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.expert-bio h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.expert-bio .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-bio p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-light);
}

.expert-credentials {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.expert-credentials span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Offer */
.offer-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.offer-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 43, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.offer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary-color);
}

.offer-box h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.offer-value {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.offer-value .strike {
    text-decoration: line-through;
    color: #999;
}

.offer-bullets {
    text-align: left;
    display: inline-block;
    margin-bottom: 40px;
}

.offer-bullets li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-bullets i {
    color: var(--secondary-color);
}

.btn-giant {
    padding: 18px 40px;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 43, 91, 0.3);
}

.btn-giant:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 43, 91, 0.4);
}

.scarcity-text {
    margin-top: 15px;
    color: #e53935;
    font-weight: 600;
}

/* Mobile Adjustments Detail */
@media (max-width: 992px) {
    .hero-detail-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-form-wrapper {
        margin-top: 30px;
    }

    .hero-image-mobile {
        display: block;
        margin-bottom: 30px;
    }

    .zigzag-row,
    .zigzag-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        /* Reset layout for mobile stacking */
        text-align: center;
    }

    .authority-container {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .expert-credentials {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =========================================
   Booking/Appointments Custom App Styles
   ========================================= */

.split-screen-container {
    display: flex;
    min-height: 100vh;
}

.split-info {
    width: 50%;
    padding: 60px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split-widget {
    width: 50%;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.booking-ui {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.widget-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.widget-header h3 {
    color: #002B5B;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.widget-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group-booking {
    margin-bottom: 20px;
}

.form-group-booking label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

/* Base booking components */
.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.back-link:hover {
    color: white;
    gap: 5px;
}

.logo-booking img {
    width: 100px;
    filter: brightness(0) invert(1);
    /* Make logo white if PNG is dark */
}

.booking-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.booking-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.booking-steps {
    margin-bottom: 60px;
}

.booking-steps li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-circle {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.booking-testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.booking-testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    color: white;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author img {
    border-radius: 50%;
}

.author span {
    font-size: 0.85rem;
    font-weight: 600;
}

.widget-container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    min-height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-placeholder {
    text-align: center;
    color: #999;
}

.widget-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.widget-placeholder h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Booking Mobile */
@media (max-width: 900px) {
    .split-screen-container {
        flex-direction: column;
    }

    .split-screen-container .split-info,
    .split-screen-container .split-widget {
        width: 100%;
    }

    .split-screen-container .split-info {
        padding: 40px 20px;
        min-height: auto;
    }

    .split-screen-container .split-widget {
        padding: 40px 20px;
    }

    .booking-ui {
        padding: 30px 20px;
    }
}

/* =========================================
   About Us Page Styles
   ========================================= */

/* History */
.history-section {
    padding: 80px 0;
    background-color: white;
}

.history-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.history-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Values */
.values-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mb-50 {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-icon-box {
    width: 60px;
    height: 60px;
    background-color: #e8f5e9;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Team */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
}

.member-photo {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-photo img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.team-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-info h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.member-info .position {
    display: block;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.linkedin-link {
    color: #0077b5;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.linkedin-link:hover {
    text-decoration: underline;
}

/* Location */
.location-section {
    padding: 80px 0;
    background-color: white;
    border-top: 1px solid #eee;
}

.location-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.office-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.9);
}

/* Mobile Adjustments About */
@media (max-width: 768px) {
    .history-container {
        grid-template-columns: 1fr;
    }

    .history-image {
        order: -1;
        margin-bottom: 20px;
    }
}

/* =========================================
   Blog Page Styles
   ========================================= */

/* Featured Post */
.featured-post-section {
    padding: 60px 0;
    background-color: white;
}

.featured-post-card {
    display: flex;
    background: #f0f4f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.featured-image {
    flex: 1.5;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    align-self: flex-start;
}

.featured-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Blog Layout (Main + Sidebar) */
.blog-container-section {
    padding: 60px 0 100px;
    background-color: #fcfcfc;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}

/* Article Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-tag {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
    flex: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
    text-decoration: underline;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.newsletter-widget input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Categories Widget */
.categories-widget ul {
    list-style: none;
    padding: 0;
}

.categories-widget li {
    margin-bottom: 12px;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.categories-widget span {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #666;
}

/* Banner Widget */
.banner-widget {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.banner-widget h3 {
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-widget p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: white;
    color: var(--primary-color);
}

.btn-small:hover {
    background: #f0f0f0;
    color: var(--primary-color);
    box-shadow: none;
}

/* Mobile Adjustments Blog */
@media (max-width: 900px) {
    .featured-post-card {
        flex-direction: column;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 30px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        order: 2;
        /* Ensure sidebar is below content on mobile, or -1 if preferred above */
    }
}

/* =========================================
   Login Page Styles
   ========================================= */

.login-body {
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.login-layout .split-info {
    width: 50%;
    padding: 80px 60px;
    background: linear-gradient(145deg, #2b6cb0 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: multiply;
    z-index: 0;
}

.login-branding-content {
    position: relative;
    z-index: 1;
    max-width: 450px;
}

.logo-box {
    width: max-content;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.logo-box img {
    height: 40px;
    width: auto;
    display: block;
}

.login-branding-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.login-branding-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.secure-badge {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 350px;
}

.secure-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.secure-text {
    display: flex;
    flex-direction: column;
}

.secure-text strong {
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: white;
}

.secure-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

/* Right Side - Form area */
.login-widget-area {
    width: 50%;
    background-color: #f7f9fc;
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

@keyframes fadeView {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#login-view,
#register-view {
    animation: fadeView 0.3s ease-out;
}

.login-header {
    margin-bottom: 35px;
}

.login-header h2 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group-login {
    margin-bottom: 25px;
}

.form-group-login label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-left {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.2s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-icon input::placeholder {
    color: #bbb;
}

.form-group-login {
    margin-bottom: 20px;
}

.form-group-login label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

.icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
}

.password-toggle:hover {
    color: #666;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-container input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.forgot-password {
    color: #2b6cb0;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 30px;
    justify-content: center;
}

.login-btn i {
    margin-left: 8px;
}

.login-support {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.support-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.support-link:hover {
    text-decoration: underline;
}

/* Login Footer overlay */
.login-footer {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999;
}

.login-legal-links {
    display: flex;
    gap: 15px;
}

.login-legal-links a {
    color: #999;
}

.login-legal-links a:hover {
    color: #666;
}

/* Mobile adjustments for Login */
@media (max-width: 900px) {

    .login-layout {
        flex-direction: column;
    }

    .login-layout .split-info,
    .login-widget-area {
        width: 100% !important;
    }

    .login-layout .split-info {
        padding: 40px 20px;
        min-height: auto;
    }

    .secure-badge {
        position: static;
        margin-top: 40px;
        max-width: 100%;
    }

    .login-widget-area {
        padding: 40px 20px 80px !important;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-footer {
        left: 20px;
        right: 20px;
        bottom: 20px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* =========================================
   Admin Dashboard Responsive Styles
   ========================================= */

/* Sidebar Toggle Button */
.dash-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 15px;
}

@media (max-width: 992px) {
    .dash-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dash-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dash-body {
        overflow-x: hidden;
    }

    .dash-layout {
        flex-direction: column;
    }

    .dash-mobile-menu-btn {
        display: block;
    }

    /* Offcanvas Sidebar */
    .dash-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 3000;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .dash-sidebar.open {
        left: 0;
    }

    .dash-main-area {
        width: 100%;
        padding: 0;
    }

    .dash-topbar {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .dash-search-box {
        display: none;
        /* Hide heavy search box on mobile, can add an icon toggle later if needed */
    }

    .dash-welcome h1 {
        font-size: 1.5rem;
    }

    .dash-welcome p {
        font-size: 0.9rem;
    }

    .dash-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dash-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-right: -20px;
        padding-right: 20px;
    }

    .dash-table {
        min-width: 600px;
    }
}

/* =========================================
   Diagnostico Page Styles
   ========================================= */

.diag-body {
    background-color: #fbfcfd;
    color: #333;
}

/* Simplified Header */
.diag-header {
    background: white;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
}

.diag-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diag-nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.diag-nav a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.diag-nav a:hover {
    color: var(--primary-color);
}

.diag-btn-header {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Main Container & Titles */
.diag-main {
    padding: 60px 0 80px;
}

.diag-container {
    max-width: 850px;
}

.diag-titles {
    text-align: center;
    margin-bottom: 40px;
}

.diag-titles h1 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.2;
}

.diag-titles p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.diag-progress-wrapper {
    margin-bottom: 40px;
    position: sticky;
    top: 70px;
    /* Accounts for the standard header height */
    z-index: 90;
    background-color: rgba(251, 252, 253, 0.90);
    /* Semi-transparent match to .diag-body */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-top: -15px;
    /* Offset the padding visually */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle separation line */
}

.diag-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-text {
    color: var(--primary-color);
}

.percent-text {
    color: var(--text-light);
}

.diag-progress-track {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.diag-progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Form Card */
.diag-card {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 50px;
}

.form-section {
    position: relative;
}

.section-divider {
    border: none;
    border-top: 1px dashed #e5e7eb;
    margin: 40px 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-circle-small {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-blue-light {
    background-color: #e6f0fa;
}

.text-primary {
    color: var(--primary-color);
}

.section-title h3 {
    font-size: 1.25rem;
    color: #111;
    margin: 0;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin: -15px 0 25px 50px;
}

/* Standard Inputs & Grid */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.2s;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.input-with-prefix span {
    padding: 12px 15px;
    background-color: #f9fafb;
    color: var(--text-light);
    font-weight: 500;
    border-right: 1px solid #d1d5db;
}

.input-with-prefix input {
    border: none !important;
    border-radius: 0 !important;
}

/* Custom Toggle Buttons (Yes/No) */
.toggle-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.toggle-question:last-child {
    border-bottom: none;
}

.toggle-question>label {
    font-size: 0.95rem;
    color: #333;
    flex: 1;
    padding-right: 20px;
}

.toggle-group {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.toggle-group input[type="radio"] {
    display: none;
}

.toggle-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    background-color: white;
    color: var(--text-light);
    transition: all 0.2s;
    user-select: none;
}

.toggle-left {
    border-right: 1px solid #d1d5db;
}

.toggle-group input[type="radio"]:checked+.toggle-btn {
    background-color: #f3f4f6;
    color: #111;
    font-weight: 600;
}

/* Card Checkboxes (Pain Points) */
.pain-points-grid {
    gap: 15px;
}

.card-checkbox {
    display: block;
    cursor: pointer;
}

.card-checkbox input[type="checkbox"] {
    display: none;
}

.card-checkbox-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    transition: all 0.2s;
    background-color: white;
}

.custom-check {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-checkbox input[type="checkbox"]:checked+.card-checkbox-content {
    border-color: var(--primary-color);
    background-color: #f8fbff;
}

.card-checkbox input[type="checkbox"]:checked+.card-checkbox-content .custom-check {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.card-checkbox input[type="checkbox"]:checked+.card-checkbox-content .custom-check::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.7rem;
}

.card-checkbox-content span:last-child {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* Submit Area */
.submit-area {
    margin-top: 50px;
    text-align: center;
}

/* =========================================
   Diagnostico Mobile Adjustments
   ========================================= */
@media (max-width: 768px) {
    .diag-card {
        padding: 30px 20px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    /* Prevent iOS zoom on inputs */
    .diag-form input[type="text"],
    .diag-form input[type="email"],
    .diag-form input[type="tel"],
    .diag-form input[type="number"],
    .diag-form select {
        font-size: 16px !important;
    }

    .diag-titles h1 {
        font-size: 1.8rem;
    }

    .diag-trust-badges {
        flex-direction: column;
        gap: 20px;
    }

    .toggle-group {
        width: 100%;
        display: flex;
    }

    .toggle-group .toggle-btn {
        flex: 1;
        text-align: center;
    }
}

.submit-btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 43, 91, 0.2);
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.privacy-note i {
    margin-right: 5px;
    opacity: 0.7;
}

/* Trust Badges Under Form */
.diag-trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: center;
    margin-top: 40px;
}

.diag-badge-item i {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.text-green {
    color: #10B981;
    /* Custom vivid green */
}

.diag-badge-item h4 {
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 5px;
}

.diag-badge-item p {
    font-size: 0.75rem;
    color: var(--text-light);
    max-width: 180px;
    line-height: 1.4;
    margin: 0 auto;
}

/* Simplified Footer */
.diag-footer {
    background: white;
    padding: 60px 0 30px;
    border-top: 1px solid #eaeaea;
}

.diag-footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.diag-footer-left {
    max-width: 300px;
}

.diag-footer-left .logo {
    margin-bottom: 15px;
}

.diag-footer-left p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.diag-footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-col {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    margin-bottom: 0 !important;
}

.social-circle:hover {
    background: var(--primary-color);
    color: white;
}

.diag-footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    border-top: 1px solid #f3f4f6;
    padding-top: 30px;
}

/* Mobile Adjustments Diagnostico */
@media (max-width: 900px) {
    .diag-nav {
        display: none;
    }

    .diag-card {
        padding: 30px 20px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .toggle-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-subtitle {
        margin-left: 0;
    }

    .diag-trust-badges {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .diag-footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .diag-footer-links {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .diag-footer-left {
        text-align: center;
        margin: 0 auto;
    }

    .social-col {
        justify-content: center;
    }
}

/* =========================================
   Soluciones Page Styles
   ========================================= */

.soluciones-body {
    background-color: var(--white);
}

.btn-diag-header {
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.ml-2 {
    margin-left: 8px;
}

/* Hero Centered Section */
.hero-centered {
    position: relative;
    padding: 120px 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-centered-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    z-index: 0;
}

.hero-centered-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.75));
}

.hero-centered-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-text-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-text-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions-center {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 8px;
    /* Square edges as per design */
}

.hero-floating-wa {
    position: absolute;
    bottom: -25px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 10;
    transition: transform 0.3s;
}

.hero-floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

/* Soluciones Grid */
.soluciones-grid-section {
    padding: 100px 0 60px;
    background-color: var(--white);
}

.section-title-dark {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 10px;
}

.section-subtitle-dark {
    color: var(--text-light);
    margin-bottom: 50px;
}

.sol-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sol-card {
    background: #f8fbff;
    /* Very light subtle blue */
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}

.sol-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: #eef2f6;
    transform: translateY(-5px);
}

.sol-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.sol-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #111;
}

.sol-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.sol-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sol-link:hover {
    text-decoration: underline;
}

/* Benefits Row */
.benefits-row {
    padding: 40px 0 80px;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.benefit-item .b-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Minimal Trust Bar */
.trust-bar-minimal {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fcfcfc;
}

.trust-title-light {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 600;
}

.trust-icons-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    color: #bcbcbc;
    font-size: 2.5rem;
    flex-wrap: wrap;
}

/* Testimonial Wide Box */
.testimonial-wide-section {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonial-wide-box {
    background-color: #111827;
    /* Very dark blue/black */
    border-radius: 30px;
    padding: 60px 80px;
    position: relative;
    color: white;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    color: rgba(255, 255, 255, 0.1);
    font-size: 6rem;
    font-family: serif;
    position: absolute;
    top: 10px;
    left: 40px;
    line-height: 1;
}

.testimonial-wide-box blockquote {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: inline-flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

.testi-author img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.testi-author-info strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.testi-author-info span {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Lead Strip (Blue) */
.lead-strip {
    background-color: #0b53a8;
    /* Vibrant blue variation based on design */
    padding: 50px 0;
    color: white;
}

.lead-strip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.lead-text h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.lead-text p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.lead-inline-form {
    display: flex;
    gap: 10px;
    background: white;
    padding: 6px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
}

.lead-inline-form input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
}

.btn-green {
    background-color: #65a30d;
    /* specific green from design */
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-green:hover {
    background-color: #4d7c0f;
}

/* Expertise Split Layout */
.expertise-split {
    padding: 100px 0;
    background-color: #fbfcfd;
}

.expertise-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.expert-image-card {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expert-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.expert-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 30px 20px;
    color: white;
}

.expert-label strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.expert-label span {
    font-size: 0.8rem;
    color: var(--text-light);
    color: #4CAF50;
    /* Green accent text */
    font-weight: 700;
    letter-spacing: 1px;
}

.expert-content {
    flex: 1;
}

.expert-content h2 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 40px;
    line-height: 1.2;
}

.expert-list {
    margin-bottom: 40px;
}

.expert-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.e-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.e-blue-light {
    background-color: #e6f0fa;
}

.expert-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #111;
}

.expert-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.expert-btn {
    border-radius: 6px;
    padding: 15px 30px;
}

/* Mobile Adjustments Soluciones */
@media (max-width: 900px) {
    .btn-diag-header {
        display: none;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions-center {
        flex-direction: column;
    }

    .hero-floating-wa {
        display: none;
        /* Hide or reposition in mobile */
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-wide-box {
        padding: 40px 30px;
    }

    .testimonial-wide-box blockquote {
        font-size: 1.2rem;
    }

    .lead-strip-container {
        flex-direction: column;
        text-align: center;
    }

    .expertise-container {
        flex-direction: column;
    }

    .expert-image-card {
        order: -1;
    }
}

/* =========================================
   Trayectoria Page Styles
   ========================================= */

.trayectoria-body {
    background-color: #fbfcfd;
}

/* Hero Trayectoria */
.trayectoria-hero {
    position: relative;
    padding: 80px 0 100px;
    background-color: #fbfcfd;
    overflow: hidden;
}

.trayectoria-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-light {
    display: inline-block;
    background-color: #e6f0fa;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.badge-light i {
    margin-right: 5px;
}

.trayectoria-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.trayectoria-hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlighted-text {
    position: relative;
    display: inline-block;
}

.highlighted-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 86, 179, 0.2);
    z-index: -1;
}

.trayectoria-metrics {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.m-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.m-green {
    color: #10B981;
    /* Green accent */
}

.m-label {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Image overlap logic */
.image-wrapper-rounded {
    position: relative;
    border-radius: 40px 0 40px 0;
    overflow: visible;
}

.image-wrapper-rounded img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.overlap-quote-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    max-width: 250px;
    z-index: 10;
}

.overlap-quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.overlap-quote-card span {
    font-size: 0.75rem;
    color: #9ca3af;
    letter-spacing: 1px;
}

.hero-diagonal-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 120%;
    background: linear-gradient(135deg, #f3f8fd 0%, transparent 100%);
    transform: rotate(-10deg);
    z-index: 1;
}

/* Pilares Section */
.pilares-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #10B981;
    /* Green dash */
    margin: 20px auto 60px;
    border-radius: 2px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.pilar-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.pilar-card:hover {
    transform: translateY(-10px);
    border-color: #f0f0f0;
}

.pilar-icon-wrap {
    width: 45px;
    height: 45px;
    background-color: #e6f0fa;
    /* Light blue circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pilar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #111;
}

.pilar-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Green dot absolute decor based on design */
.pilares-section::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 5%;
    width: 40px;
    height: 40px;
    background-color: #10B981;
    border-radius: 50%;
    opacity: 0.8;
}

/* Team Section */
.team-section {
    padding: 80px 0 100px;
    background-color: var(--white);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.text-left {
    text-align: left;
    margin-bottom: 10px;
}

.team-join-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.team-img-wrapper {
    width: 100%;
    height: 320px;
    background-color: #1a202c;
    /* Default dark background for portrait */
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    margin-bottom: 20px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    padding: 0 10px;
}

.team-info h3 {
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 5px;
}

.team-info span {
    font-size: 0.75rem;
    color: #10B981;
    /* Green role text */
    font-weight: 700;
    letter-spacing: 1px;
}

/* Oficinas Section */
.oficinas-section {
    background-color: #fbfcfd;
    padding: 0;
}

.oficinas-container {
    display: flex;
    padding-right: 0;
    /* Remove right padding so map hits edge */
    margin-right: 0;
    max-width: none;
    align-items: stretch;
}

.oficinas-info {
    flex: 1;
    padding: 100px 50px 100px 10%;
    /* Responsive left padding */
    max-width: 600px;
    position: relative;
}

.oficinas-info h2 {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 50px;
}

.oficina-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.of-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-green-light {
    background-color: #e6f7f1;
}

.of-text strong {
    display: block;
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 8px;
}

.of-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.oficina-deco-img {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    height: 160px;
}

.oficina-deco-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Map Container */
.map-container {
    flex: 1.2;
    min-height: 100%;
    position: relative;
    background-color: #eaeaea;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1);
    /* Stylized map colors */
}

.map-overlay-button {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
}

.text-light-gray {
    color: #9ca3af;
}

/* Mobile Adjustments Trayectoria */
@media (max-width: 900px) {
    .trayectoria-hero-grid {
        grid-template-columns: 1fr;
    }

    .trayectoria-hero-content {
        order: 1;
    }

    .trayectoria-hero-image {
        order: 2;
        margin-top: 40px;
    }

    .overlap-quote-card {
        bottom: -20px;
        left: 10px;
        right: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }

    .trayectoria-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .team-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .oficinas-container {
        flex-direction: column;
        padding-right: 1rem;
        margin-right: auto;
    }

    .oficinas-info {
        padding: 60px 0;
        max-width: 100%;
    }

    .map-container {
        height: 400px;
        min-height: 400px;
        margin-left: -1rem;
        /* Negate container padding */
        margin-right: -1rem;
    }

    .footer-sm-container {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   Diagnostico Init/Landing Styles
   ========================================= */

.diag-init-body {
    background-color: #fbfcfd;
}

/* Block 1: Hero Captación (Oscuro con Formulario) */
.diag-hero-dark {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.diag-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.diag-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diag-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 14, 25, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.diag-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-green-dark {
    display: inline-block;
    background-color: rgba(16, 185, 129, 0.15);
    /* Translucent green */
    color: #34d399;
    /* Light contrast green */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.diag-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.diag-hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.diag-hero-metrics {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.m-item {
    display: flex;
    flex-direction: column;
}

.m-val {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.m-lab {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Formulario Hero */
.diag-hero-form-wrapper {
    position: relative;
    z-index: 10;
}

.hero-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.hero-form-card h2 {
    font-size: 1.5rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-form-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-min label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group-min input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #111;
    background-color: #f9fafb;
    transition: all 0.2s;
}

.form-group-min input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-icon-wrap input {
    padding-left: 45px;
}

.privacy-note {
    font-size: 0.75rem !important;
    text-align: center;
    color: #9ca3af !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

/* Block 2: Desafíos (Pain Points) */
.desafios-section {
    padding: 80px 0;
    background-color: white;
}

.desafios-list {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alert-error-soft {
    background-color: #fef2f2;
    color: #991b1b;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
}

.alert-error-soft i {
    color: #ef4444;
    font-size: 1.2rem;
}

.desafios-arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 50px;
}

/* Block 3: Pilares (Z-Pattern) */
.pilares-z-section {
    padding: 80px 0;
    background-color: #fbfcfd;
}

.mb-60 {
    margin-bottom: 60px;
}

.z-pattern-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    text-align: left;
}

.z-pattern-row:last-child {
    margin-bottom: 0;
}

.z-content {
    padding: 20px 0;
}

.z-icon-blue,
.z-icon-green {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.z-icon-blue {
    background-color: #e6f0fa;
    color: var(--primary-color);
}

.z-icon-green {
    background-color: #e6f7f1;
    color: #10B981;
}

.z-content h3 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 20px;
    font-weight: 700;
}

.z-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.z-check-list {
    list-style: none;
    padding: 0;
}

.z-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #111;
}

.z-visual {
    width: 100%;
}

.z-img-rounded {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Caja Azul en Patrón Z */
.z-blue-box {
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.2);
}

.z-blue-box i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.z-blue-box h4 {
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Block 4: Tarjeta Especialista */
.especialista-card-section {
    padding: 100px 0;
    background-color: white;
}

.auth-card-wide {
    background-color: #0f172a;
    /* Slate 900 */
    border-radius: 30px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
    position: relative;
}

.auth-photo-col {
    position: relative;
    min-height: 400px;
}

.auth-img-wrap {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 90%;
    /* Let it pop slightly out from bottom if needed, or stick to bottom */
}

.auth-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 20px 20px 0 0;
}

.auth-verified-badge {
    position: absolute;
    bottom: 30px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    border: 3px solid #0f172a;
}

.auth-info-col {
    padding: 60px 60px 60px 20px;
    color: white;
}

.auth-overline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.auth-info-col h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.auth-info-col blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
    border-left: 3px solid #10B981;
    padding-left: 20px;
}

.auth-sub-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-sub-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
}

.auth-sub-card strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.auth-sub-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Block 5: CTA Final (Oferta) */
.cta-oferta-section {
    padding: 80px 0 120px;
    background-color: #f8fafc;
    /* Slate 50 */
}

.cta-offer-card {
    background-color: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    border: 2px solid white;
    transition: all 0.3s;
}

.cta-offer-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-5px);
}

.offer-pill-top {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.offer-header {
    margin-bottom: 40px;
}

.offer-header h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 15px;
}

.offer-price-row {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #f1f5f9;
    padding: 8px 16px;
    border-radius: 30px;
}

.price-strike {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-free {
    color: #10B981;
    font-weight: 800;
    font-size: 1.1rem;
}

.offer-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.offer-steps li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.o-step-num {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #10B981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.offer-steps span {
    font-size: 0.95rem;
    color: #4b5563;
}

.btn-large-offer {
    padding: 16px 40px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.offer-disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.offer-disclaimer i {
    margin-right: 5px;
}

/* Mobile Adjustments Diagnostico Init */
@media (max-width: 900px) {
    .diag-hero-grid {
        grid-template-columns: 1fr;
    }

    .diag-hero-content h1 {
        font-size: 2.5rem;
    }

    /* Manejo del Z-Pattern en móvil (Apilar lógicamente) */
    .z-pattern-row,
    .z-pattern-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .z-pattern-row .z-visual {
        order: -1;
        /* Forzamos visuales arriba */
    }

    .z-pattern-row.reverse .z-content {
        order: 1;
        /* Forzamos contenido abajo */
    }

    .auth-card-wide {
        grid-template-columns: 1fr;
    }

    .auth-img-wrap {
        position: relative;
        left: 0;
        width: 100%;
        margin-top: 40px;
    }

    .auth-info-col {
        padding: 40px 30px;
    }

    .auth-sub-cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-offer-card {
        padding: 40px 20px;
    }
}

/* =========================================
   Dashboard WebApp Styles (Isolated)
   ========================================= */

.dash-body {
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    /* Very light gray/blue auth bg */
    font-family: 'Inter', sans-serif;
    color: #111;
    height: 100vh;
    overflow: hidden;
    /* Stop whole page scrolling */
    box-sizing: border-box;
}

.dash-body * {
    box-sizing: inherit;
}

.dash-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ----------- Sidebar ----------- */
.dash-sidebar {
    width: 260px;
    background-color: white;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 50;
    overflow-y: auto;
    overflow-x: hidden;
}

.dash-sidebar-header {
    padding: 25px 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-close-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
}

.dash-close-menu-btn:hover {
    color: #ef4444;
    /* Red on hover */
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-logo-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.dash-logo-text {
    display: flex;
    flex-direction: column;
}

.dash-logo-text strong {
    font-size: 1.1rem;
    color: #111;
    line-height: 1.1;
    font-weight: 800;
}

.dash-logo-text span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.dash-nav {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dash-nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #9ca3af;
}

.dash-nav-item:hover {
    background-color: #f3f4f6;
    color: #111;
}

.dash-nav-item:hover i {
    color: #4b5563;
}

.dash-nav-item.active {
    background-color: #eef2ff;
    /* Very light primary */
    color: var(--primary-color);
}

.dash-nav-item.active i {
    color: var(--primary-color);
}

.dash-user-profile {
    padding: 20px 24px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2050;
}

.dash-user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f4f6;
}

.dash-user-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dash-user-info strong {
    font-size: 0.9rem;
    color: #111;
}

.dash-user-info span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.dash-user-opts {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.2s;
    position: relative;
    z-index: 2060;
}

.dash-user-opts:hover {
    color: #4b5563;
}

/* ----------- Main Area ----------- */
.dash-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #f8fafc;
    /* Very light slate bg typical of dash */
}

/* Topbar */
.dash-topbar {
    height: 72px;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 40;
}

.dash-search-box {
    position: relative;
    width: 350px;
}

.dash-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
}

.dash-search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #f1f5f9;
    /* Slate 100 */
    font-size: 0.9rem;
    color: #111;
    font-family: inherit;
    transition: all 0.2s;
}

.dash-search-box input:focus {
    outline: none;
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.dash-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-notify-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.dash-notify-btn:hover {
    background-color: #f1f5f9;
}

.notify-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    /* red */
    border-radius: 50%;
    border: 2px solid white;
}

.notify-badge {
    position: absolute;
    top: 2px;
    right: 0px;
    background-color: #ef4444;
    /* red */
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    padding: 0 4px;
}

.dash-btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
    font-family: inherit;
}

.dash-btn-primary:hover {
    background-color: var(--primary-hover);
}

.dash-btn-primary:active {
    transform: scale(0.98);
}

.dash-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #111;
    cursor: pointer;
}

/* Content Wrapper */
.dash-content-wrapper {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Welcome */
.dash-welcome {
    margin-bottom: 30px;
}

.dash-welcome h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.dash-welcome p {
    font-size: 1rem;
    color: #64748b;
    /* Slate 500 */
    margin: 0;
}

/* KPIs Grid */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.dash-kpi-card {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.bg-blue-light {
    background-color: #eff6ff;
}

.bg-yellow-light {
    background-color: #fefce8;
}

.bg-green-light {
    background-color: #f0fdf4;
}

.text-primary {
    color: #2563eb;
}

/* Blue 600 */
.text-yellow {
    color: #eab308;
}

/* Yellow 500 */
.text-green {
    color: #16a34a;
}

/* Green 600 */

.kpi-trend {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.trend-up {
    background-color: #dcfce7;
    color: #16a34a;
}

.trend-neutral {
    background-color: #f1f5f9;
    color: #64748b;
}

.trend-green {
    /* Static green for % completed */
    background-color: #dcfce7;
    color: #16a34a;
}

.kpi-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    /* Slate 400 */
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

/* Main Content Grid Asymmetric */
.dash-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dash-panel {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    /* For table border radius */
}

.dash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.dash-panel-header h2,
.dash-panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.dash-panel-filters {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-select {
    padding: 6px 30px 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    background-color: white;
    outline: none;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

.dash-icon-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-icon-btn:hover {
    background-color: #f8fafc;
    color: #111;
}

/* Base Table */
.dash-table-container {
    width: 100%;
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dash-table th {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    /* Slate 500 */
    letter-spacing: 1px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.dash-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.dash-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-table tbody tr:hover {
    background-color: #fcfcfd;
}

/* Table Cells specialized */
.dash-client-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.d-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
}

.d-avatar.border-0 {
    border: none;
}

.dash-client-cell strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 2px;
}

.dash-client-cell span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.dash-date-cell strong {
    display: block;
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 2px;
}

.dash-date-cell span {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.dash-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.dash-tag.tag-blue {
    background-color: #eff6ff;
    color: #2563eb;
}

.dash-tag.tag-gray {
    background-color: #f1f5f9;
    color: #475569;
}

.dash-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background-color: #10B981;
}

.status-dot.yellow {
    background-color: #eab308;
}

.status-dot.gray {
    background-color: #94a3b8;
}

.dash-action-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    transition: color 0.2s;
}

.dash-action-btn:hover {
    color: #64748b;
}

/* Right Sidebar stack */
.dash-sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Mini Calendar */
.mini-cal-panel {
    padding: 24px;
}

.cal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cal-header-row h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.cal-arrows button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
}

.cal-arrows button:hover {
    color: #111;
}

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 12px;
    column-gap: 5px;
    text-align: center;
}

.mc-th {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    padding-bottom: 10px;
}

.mc-td {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 0.85rem;
    color: #111;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mc-td.empty {
    color: #cbd5e1;
    cursor: default;
}

.mc-td:not(.empty):not(.selected):hover {
    background-color: #f1f5f9;
}

.mc-td.selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

.mc-td.has-dot::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.mc-td.selected.has-dot::after {
    background-color: white;
}

/* Timeline Activity */
.timeline-list {
    padding: 0 24px 10px;
}

.tl-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tl-item:last-child {
    border-bottom: none;
}

.tl-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tl-content p {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

.tl-content p strong {
    color: #111;
}

.tl-content span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.tl-footer {
    border-top: 1px solid #f1f5f9;
    padding: 16px 24px;
    text-align: center;
}

.tl-footer a {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.tl-footer a:hover {
    text-decoration: underline;
}

/* Mobile Adjustments Dashboard */
@media (max-width: 1024px) {
    .dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Duplicate sidebar styles removed to avoid clashing with the main dashboard mobile styles defined earlier */

    .dash-mobile-menu-btn {
        display: block;
    }

    .dash-close-menu-btn {
        display: block;
    }

    .dash-topbar {
        padding: 0 20px;
    }

    .dash-search-box {
        display: none;
        /* Hide wide search on mobile for clean UI */
    }

    .dash-content-wrapper {
        padding: 20px;
    }

    .dash-btn-primary {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .dash-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Agenda / Booking Page Styles
   ========================================= */

.agenda-body {
    background-color: #fbfcfd;
}

/* Header Minimalista */
.header-minimal {
    background-color: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-minimal-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header-help-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.header-phone {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

/* Layout Principal */
.agenda-main {
    padding: 60px 0 100px;
}

.agenda-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: start;
}

/* Columna Izquierda */
.agenda-left-col {
    padding-top: 20px;
}

.badge-blue-light {
    display: inline-block;
    background-color: #e6f0fa;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.agenda-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.agenda-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Lista de Pasos */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-circle.active {
    background-color: var(--primary-color);
    color: white;
}

.step-text strong {
    display: block;
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 5px;
}

.step-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.agenda-divider {
    border: none;
    border-top: 1px dashed #e5e7eb;
    margin: 40px 0;
}

/* Testimonio Pequeño */
.agenda-mini-testimonial {
    background-color: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    position: relative;
}

.quote-icon-green {
    color: #10B981;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.agenda-mini-testimonial blockquote {
    font-size: 0.95rem;
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mini-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-testi-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.mini-testi-author strong {
    display: block;
    font-size: 0.85rem;
    color: #111;
}

.mini-testi-author span {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Columna Derecha (Calendario Widget) */
.calendar-widget-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-header h2 {
    font-size: 1.3rem;
    color: #111;
    font-weight: 700;
}

.timezone-badge {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.widget-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Grid de Calendario */
.calendar-container {
    margin-bottom: 30px;
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.cal-day {
    padding: 12px 0;
    text-align: center;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.cal-day:hover:not(.past):not(.selected) {
    background-color: #f3f4f6;
}

.cal-day.past {
    color: #d1d5db;
    cursor: not-allowed;
    font-weight: 400;
}

.cal-day.selected {
    border-color: var(--primary-color);
    background-color: #f0f6fc;
    color: var(--primary-color);
}

.widget-divider {
    border: none;
    border-top: 1px solid #f3f4f6;
    margin: 30px 0;
}

/* Horarios */
.time-section-title {
    font-size: 0.75rem;
    color: #9ca3af;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.time-slot-btn {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.time-slot-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.time-slot-btn.selected {
    background-color: #f0f6fc;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Final Filters Form */
.agenda-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.small-label-select label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.small-label-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #4b5563;
    background-color: white;
    cursor: pointer;
}

.confirm-booking-btn {
    padding: 16px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* Footer Minimalista */
.footer-super-minimal {
    background-color: #0b1120;
    padding: 30px 0;
    border-top: 1px solid #1f2937;
}

.footer-sm-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-sm-logo img {
    height: 25px;
    width: auto;
}

.footer-sm-copy {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.footer-sm-links {
    display: flex;
    gap: 20px;
}

.footer-sm-links a {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-sm-links a:hover {
    color: white;
}

/* Mobile Adjustments Agenda */
@media (max-width: 900px) {
    .agenda-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calendar-widget-card {
        padding: 20px;
    }

    .time-slots-grid {
        grid-template-columns: 1fr;
    }

    .agenda-filters-row {
        grid-template-columns: 1fr;
    }

    .footer-sm-container {
        flex-direction: column;
        text-align: center;
    }
}