/* PCS v13 — FLUJO-PRO (Pipeline + Professional) */
/* Self-contained. No external CSS dependencies. */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.25;
}

h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 38px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links a {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    transition: color 0.15s ease;
}

.navbar-links a:hover {
    color: #1a5c32;
}

/* ── Stage Sections ── */
.stage {
    position: relative;
}

.stage-hero {
    padding: 44px 0;
    padding-top: 112px;
    background: #ffffff;
}

.stage-upload {
    padding: 40px 0;
    background: #f8f9fb;
}

.stage-process {
    padding: 40px 0;
    background: #f0f5f0;
}

.stage-analyze {
    padding: 40px 0;
    background: #e8f0e8;
}

.stage-export {
    padding: 44px 0;
    background: #1a3d2e;
    color: #ffffff;
}

/* ── Step Indicator ── */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.step-number {
    width: 42px;
    height: 42px;
    background: #1a5c32;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #1a5c32;
    text-transform: uppercase;
}

.step-indicator-dark .step-number {
    background: #ffffff;
    color: #1a5c32;
}

.step-indicator-dark .step-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Hero ── */
.stage-hero h1 {
    font-size: 40px;
    max-width: 720px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    max-width: 640px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: #1a5c32;
    color: #ffffff;
}

.btn-primary:hover {
    background: #145026;
}

.btn-light {
    background: #ffffff;
    color: #1a5c32;
}

.btn-light:hover {
    background: #f0f5f0;
}

/* ── Upload Stage ── */
.stage-upload h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.stage-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: #475569;
}

.format-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.format-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0.5px;
}

.upload-groups {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.upload-group-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 8px;
}

/* ── Process Stage (Services) ── */
.stage-process h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 24px;
}

.service-card-active {
    border-left: 3px solid #1a5c32;
}

.service-icon {
    width: 22px;
    height: 22px;
    color: #1a5c32;
    margin-bottom: 10px;
}

.service-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.service-text {
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

/* ── Analyze Stage (Features) ── */
.stage-analyze h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.features-subtitle {
    font-size: 17px;
    color: #475569;
    margin-bottom: 24px;
    max-width: 720px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.feature-row-reverse .feature-image {
    order: 2;
}

.feature-row-reverse .feature-text {
    order: 1;
}

.feature-image img {
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.feature-text h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}

/* ── Export Stage ── */
.stage-export h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 16px;
}

.export-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.export-tag {
    display: inline-block;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.export-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

/* ── Contact Stage ── */
.stage-contact {
    padding: 44px 0;
    background: #16332a;
    color: #ffffff;
}

.stage-contact h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-email {
    margin-bottom: 24px;
}

.contact-email a {
    color: #a7d5b8;
    font-size: 18px;
    transition: color 0.15s ease;
}

.contact-email a:hover {
    color: #ffffff;
}

/* ── Footer ── */
.footer {
    background: #122820;
    padding: 44px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 12px;
}

.footer-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-locations {
    font-size: 15px;
    font-variant: small-caps;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.6;
}

/* ── Responsive (768px) ── */
@media (max-width: 768px) {
    .stage-hero,
    .stage-export,
    .stage-contact {
        padding: 28px 0;
    }

    .stage-hero {
        padding-top: 96px;
    }

    .stage-upload,
    .stage-process,
    .stage-analyze {
        padding: 28px 0;
    }

    .stage-hero h1 {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-row-reverse .feature-image {
        order: 1;
    }

    .feature-row-reverse .feature-text {
        order: 2;
    }

    .navbar-links {
        gap: 16px;
    }

    .navbar-links a {
        font-size: 14px;
    }

    .upload-groups {
        gap: 16px;
    }
}
