/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins-light', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.wave {
    position: relative;
    left: 0;
    bottom: -120px;
    width: 100%;
    height: 120px;
    display: block;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    padding: 15px 0;
    background: #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 150px;
    height: 75px;
    background: url('../assets/marca\ primaria.svg') no-repeat center center;
    background-size: contain;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    padding: 10px;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.nav.active {
    display: flex;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6366f1;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
    background: #f3f4f6;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.hero-visual {
    width: 100%;
    height: 300px;
    background: url("/assets/welcome.png") no-repeat center center;
    background-size: contain;
    border-radius: 20px;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #e5e7eb;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #ccc;
}

/* Featured Section */
.featured {
    padding: 60px 0;
    background: #ffffff;
}

.section-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 40px;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-small .logo-icon {
    width: 100px;
    height: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
    margin-bottom: 12px;
}

.plugins-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.plugins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.plugin-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.plugin-icon {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plugin-1 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.plugin-2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.plugin-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.plugin-description,
.plugin-config {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.plugin-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.plugin-link:hover {
    color: #8b5cf6;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    position: relative;
    background: #fff;
    overflow: hidden;
    isolation: isolate;
    --img-width: min(50vw, 600px);
    --fade-start: 2%;
}

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--img-width);
    background: url('/assets/man_flowchart.jpeg') left center / contain no-repeat;
    -webkit-mask-image: linear-gradient(to right, black var(--fade-start), transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right, black var(--fade-start), transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    z-index: 0;
    pointer-events: none;
}


@supports not (-webkit-mask-image: linear-gradient(#000, #000)) {
    .testimonials {
        background: linear-gradient(to right, rgba(255,255,255,0) var(--fade-start), #fff 100%), url('/assets/man_flowchart.jpeg') left center / contain no-repeat, #fff;
    }
}

.testimonials-content {
    position: relative;
    z-index: 1;
    padding-left: calc(var(--img-width) * 0.55);
    margin-bottom: 40px;
}

.testimonials-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.testimonials-title em {
    font-style: italic;
    font-weight: 800;
}

.testimonials-subtitle,
.testimonials-quote {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonials-quote {
    font-style: italic;
}

/* Stats */
.stats {
    padding: 40px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: start;
    padding-left: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.stat-1 { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.stat-2 { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
.stat-3 { background: linear-gradient(135deg, #6366f1 0%, #c084fc 100%); }
.stat-4 { background: linear-gradient(135deg, #c084fc 0%, #6366f1 100%); }

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Solutions */
.solutions {
    padding: 60px 0;
    background: #ffffff;
}

.solutions .section-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.solutions .section-title {
    text-align: left;
    margin-bottom: 12px;
    font-size: 36px;
}

.solutions .section-title em {
    font-style: italic;
    font-weight: 700;
}

.solutions .section-subtitle {
    text-align: left;
    margin-bottom: 10px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 5px;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.solution-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    background-size: stretch;
    background-position: center;
    transform: scale(1.025);}

.solution-1 {
    background-image: url("/assets/challenger_construction.png");
}

.solution-2 {
    background-image: url("/assets/challenger_bridges.png");
}

.solution-3 {
    background-image: url("/assets/challenger_structure.png");
}

.solution-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 16px 0 10px;
}

.solution-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
    text-align: left;
}

.solutions .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: 20px;
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.calculator-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle-calc {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.calculator-embed {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    margin: 0 auto 2rem;
    max-width: 1400px;
}

.calculator-embed iframe {
    width: 100%;
    height: 1400px;
    border: none;
    display: block;
}

.calculator-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.calculator-note a {
    color: #6B5CE7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.calculator-note a:hover {
    text-decoration: underline;
    color: #8b5cf6;
}

/* Contact */
.contact {
    padding: 60px 0;
    background: #ffffff;
}

.contact .section-title {
    text-align: left;
    margin-bottom: 40px;
    font-size: 36px;
}

.contact .section-title em {
    font-style: italic;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form {
    background: #fff;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 12px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.contact-visual {
    width: 100%;
    height: 100%;
    background: url("/assets/image_contact.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 12px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-address h3,
.contact-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-top: 10px;
}

.contact-address p,
.contact-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 40px 0 20px;
    background: #000000;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-icon {
    width: 120px;
    height: 60px;
    background: url("../assets/marca\ horizontal\ grande\ formatos.svg") no-repeat center center;
    background-size: contain;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 12px;
    line-height: 1.6;
    max-width: 100%;
}

.footer-column h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #6366f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.material-symbols-outlined {
    color: #ffffff;
    font-size: 24px;
}

/* About Section */
.about {
    background: #ffffff;
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 16px;
        color: #1a1a1a;
        
        em {
            color: #8b5cf6;
            font-style: normal;
        }
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
        color: #666;
        margin-bottom: 16px;
    }
}

.credentials {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    margin-top: 20px;
    border-left: 4px solid #8b5cf6;
    
    h3 {
        color: #8b5cf6;
        font-size: 1.2rem;
        margin-bottom: 12px;
        font-weight: 600;
    }
    
    p {
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: #555;
        
        strong {
            color: #333;
        }
    }
}
.about-image {
     
    width: 100%;
    aspect-ratio: 1 / 1.3;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.about-visual {
    width: 100%;
    height: 100%;
    background: url('../assets/liene-wild_2.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.lang-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 92, 231, 0.3);
}

#current-lang-flag {
    font-size: 0.8rem;
    line-height: 1;
}

#current-lang-code {
    font-weight: 700;
}

.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.lang-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 160px;
    z-index: 1000;
    animation: dropdownFadeIn 0.2s ease-out;
}
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
    color: #2d3748;
    text-align: left;
}

.lang-option:hover {
    background: #f7fafc;
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #6366f1;
    font-weight: 600;
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.lang-flag {
    font-size: 0.75rem;
    line-height: 1;
}

.lang-name {
    flex: 1;
    font-weight: 500;
}

.checkmark {
    color: #6366f1;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-content,
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header,
    .plugins-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

  
    .hero-visual,
    .contact-visual {
        height: 250px;
    }

    .testimonials-content {
        padding-left: 0;
    }

    .testimonials::before {
        --img-width: min(40vw, 400px);
    }

    .calculator-section h2 {
        font-size: 2rem;
    }

    .section-subtitle-calc {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
      .lang-dropdown-toggle {
        padding: 0.4rem 0.7rem;
        font-size: 12px;
        gap: 0.3rem;
    }

    #current-lang-flag {
        font-size: 1rem;
    }

    .lang-dropdown {
        min-width: 140px;
        right: -0.5rem;
    }

    .lang-option {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }

    .lang-flag {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    .header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .burger-menu {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 15px;
        background: #f3f4f6;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px;
        text-align: center;
    }

    .hero {
        padding: 20px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 12px;
    }

    
    .hero-visual,
    .contact-visual {
        height: 200px;
    }

    .plugins-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .testimonials {
        padding: 40px 0;
    }

    .testimonials::before {
        display: none;
    }

    .testimonials-content {
        padding-left: 0;
    }

    .solutions .btn-primary {
        margin: 0 auto;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .credentials {
        padding: 15px;
    }

    .credentials h3 {
        font-size: 1.1rem;
    }

    .credentials p {
        font-size: 0.85rem;
    }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Calculator mobile adjustments */
    .calculator-section {
        padding: 6rem 0;
    }

    .calculator-section h2 {
        font-size: 1.8rem;
    }

    .section-subtitle-calc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .calculator-embed iframe {
        height: 1800px;
    }

    .calculator-note {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
     .lang-dropdown-toggle {
        padding: 0.35rem 0.6rem;
        font-size: 11px;
    }

    .lang-dropdown {
        min-width: 130px;
    }

    .lang-option {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    
    .hero-visual,
    .contact-visual {
        height: 150px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 12px;
    }

    .form-group label {
        font-size: 12px;
    }

    .contact-address h3,
    .contact-details h3 {
        font-size: 14px;
    }

    .contact-address p,
    .contact-details p {
        font-size: 12px;
    }

    .footer-logo .logo-icon {
        width: 100px;
        height: 50px;
    }

    .footer-description {
        font-size: 12px;
    }

    .calculator-section h2 {
        font-size: 1.5rem;
    }

    .section-subtitle-calc {
        font-size: 0.9rem;
    }

    .calculator-embed {
        height: 500px;
        overflow-y: auto;
    }
}
