/* Estilos específicos de FieldControl Empresas e Industria (/industria) - Mobile first */

:root {
    --primary: #058C51;
    --primary-dark: #046e3f;
    --primary-soft: rgba(5, 140, 81, 0.12);
    --slate-950: #0b1120;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header compartido en verde FieldControl */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
}

.header-main {
    padding: 0.5rem 0;
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Botones técnicos */
.ind-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ind-btn:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

.ind-btn:disabled {
    opacity: 0.68;
    cursor: wait;
    transform: none;
}

.ind-btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(5, 140, 81, 0.45);
}

.ind-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.ind-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24);
}

.ind-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Secciones base */
.ind-section {
    padding: 3.5rem 0;
    scroll-margin-top: 84px;
}

.ind-section-head {
    max-width: 740px;
    margin-bottom: 2.25rem;
}

.ind-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ind-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.ind-section-subtitle {
    font-size: 1rem;
    color: var(--slate-600);
}

/* 1. Portada técnica */
.ind-hero {
    background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 58%, #072c1e 100%);
    color: var(--white);
    padding: 7.5rem 0 3.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ind-hero-inner {
    max-width: 820px;
}

.ind-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(110, 231, 183, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.ind-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
    color: var(--white);
}

.ind-hero-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.ind-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ind-hero-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    list-style: none;
}

.ind-hero-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
}

.ind-hero-specs li svg {
    color: #34d399;
    flex-shrink: 0;
}

/* 2. El problema */
.ind-problem {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

.ind-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.ind-problem-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1.25rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-left: 3px solid var(--slate-700);
    border-radius: 10px;
}

.ind-problem-icon {
    color: var(--slate-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.ind-problem-card p {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--slate-800);
}

.ind-problem-closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    background: var(--slate-900);
    color: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.ind-problem-closing p {
    font-size: 1.05rem;
    font-weight: 700;
}

.ind-problem-closing a {
    color: #6ee7b7;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
}

.ind-problem-closing a:hover {
    text-decoration: underline;
}

/* 3. Qué hacemos */
.ind-services {
    background: var(--slate-50);
}

.ind-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.ind-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ind-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--slate-900);
    color: #6ee7b7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ind-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--slate-900);
}

.ind-card p {
    font-size: 0.96rem;
    color: var(--slate-600);
}

/* 4. Cómo trabajamos */
.ind-process {
    background: var(--slate-900);
    color: var(--white);
}

.ind-process .ind-section-title {
    color: var(--white);
}

.ind-process .ind-section-subtitle {
    color: #94a3b8;
}

.ind-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ind-step-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.4rem;
}

.ind-step-number {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6ee7b7;
    background: rgba(5, 140, 81, 0.2);
    border: 1px solid rgba(110, 231, 183, 0.3);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ind-step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.ind-step-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* 5. Por qué elegirnos */
.ind-why {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

.ind-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ind-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.35rem;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--slate-50);
}

.ind-why-check {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ind-why-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.ind-why-item p {
    font-size: 0.94rem;
    color: var(--slate-600);
}

/* 6. Sectores / Industrias (coherente con imagen 5 rubros) */
.ind-sectors {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

.ind-sectors-banner {
    margin-bottom: 1.75rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--slate-300);
    background: var(--slate-900);
    box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.22);
}

.ind-sectors-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 434;
    object-fit: cover;
}

.ind-sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ind-sector-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ind-sector-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.ind-sector-card h3 {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--slate-900);
}

.ind-sector-card p {
    font-size: 0.92rem;
    color: var(--slate-600);
}

/* 7. Contacto / Formulario de evaluación técnica */
.ind-contact {
    background: var(--white);
}

.ind-form-shell {
    max-width: 820px;
    margin: 0 auto;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.14);
}

.ind-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ind-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ind-field--full {
    grid-column: 1 / -1;
}

.ind-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-800);
}

.ind-optional {
    font-weight: 500;
    color: var(--slate-500);
    font-size: 0.82rem;
}

.ind-field input[type="text"],
.ind-field input[type="email"],
.ind-field input[type="tel"],
.ind-field select,
.ind-field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    background: var(--white);
    color: var(--slate-900);
    font-size: 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ind-field textarea {
    min-height: 112px;
    resize: vertical;
}

.ind-field input:focus,
.ind-field select:focus,
.ind-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 140, 81, 0.14);
}

.ind-field-help {
    font-size: 0.82rem;
    color: var(--slate-500);
    line-height: 1.45;
}

.ind-file-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px dashed var(--slate-300);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.88rem;
    color: var(--slate-700);
    cursor: pointer;
}

.ind-file-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.ind-file-list li {
    font-size: 0.78rem;
    background: var(--slate-200);
    color: var(--slate-800);
    padding: 3px 8px;
    border-radius: 6px;
}

.ind-form-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.ind-form-actions .ind-btn-primary {
    width: 100%;
}

.ind-form-note {
    font-size: 0.86rem;
    color: var(--slate-600);
}

.ind-form-feedback {
    margin-top: 1.25rem;
    padding: 1.15rem 1.25rem;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #064e3b;
}

.ind-form-feedback--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.ind-form-feedback--error a {
    color: #991b1b;
    font-weight: 700;
}

.ind-form-feedback h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.ind-form-feedback p {
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.ind-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ind-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #047857;
    background: #047857;
    color: var(--white);
    cursor: pointer;
}

.ind-feedback-btn--ghost {
    background: var(--white);
    color: #047857;
}

/* FAQ técnico */
.ind-faq {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.ind-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ind-faq-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    overflow: hidden;
}

.ind-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.05rem 1.25rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ind-faq-item summary::-webkit-details-marker {
    display: none;
}

.ind-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    flex-shrink: 0;
}

.ind-faq-item[open] summary::after {
    content: "−";
}

.ind-faq-item p {
    padding: 0 1.25rem 1.1rem 1.25rem;
    font-size: 0.94rem;
    color: var(--slate-600);
    border-top: 1px solid var(--slate-100);
    padding-top: 0.85rem;
}

/* Footer */
.ind-footer {
    background: var(--slate-900);
    color: #94a3b8;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ind-footer-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.ind-cross-link-wrap {
    margin-bottom: 1rem;
}

.ind-cross-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ind-cross-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.ind-footer-copy {
    font-size: 0.86rem;
}

/* Breakpoints tablet y escritorio */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    header {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 65px;
    }

    .ind-section {
        padding: 5rem 0;
    }

    .ind-section-title {
        font-size: 2.2rem;
    }

    .ind-hero {
        padding: 9.5rem 0 5rem 0;
    }

    .ind-hero h1 {
        font-size: 2.9rem;
    }

    .ind-hero-subtitle {
        font-size: 1.18rem;
    }

    .ind-hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .ind-hero-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .ind-problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ind-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .ind-form-shell {
        padding: 2.25rem;
    }

    .ind-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.15rem 1.25rem;
    }

    .ind-form-actions .ind-btn-primary {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .ind-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ind-sectors-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
