/* =========================================================
   03 - EMPRESAS
   Rutas: /empresas/
   (familia elegida en inc/00-cargador.php)
   Traslado sin cambios de diseño (lote L-2026-10-17-ekipa-recursos-traslado):
   copia literal del <style> del contenido de la página 9 (/empresas/),
   servido el 2026-10-17, sha256 162c9e165de55da3c46bc1415e286cb861cad5388c6d3f0e7344f3677db4c60a.
   El origen se vacía en un lote posterior.
   ========================================================= */

/* RESET Y BASE */
.site-content,
.ast-container,
.entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

header.entry-header {
    display: none !important;
}

.ekp-company-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background: #f9fafb;
}

.ekp-company-page * {
    box-sizing: border-box;
}

/* BLINDAJE CONTRA SUBRAYADOS */
.ekp-company-page a,
.ekp-company-page a:hover,
.ekp-company-page a:focus,
.ekp-company-page a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* BOTONES */
.ekp-btn-main {
    background: #f97316;
    color: #fff !important;
    padding: 15px 34px;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.ekp-btn-main:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.ekp-btn-secondary {
    background: #fff;
    color: #111827 !important;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.ekp-btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* BOTÓN WHATSAPP */
.ekp-btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background 0.3s, transform 0.3s;
}

.ekp-btn-whatsapp:hover {
    background: #1ebe5d !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.ekp-btn-whatsapp::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: #fff;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.04 3C8.84 3 3 8.84 3 16.04c0 2.3.6 4.55 1.74 6.53L3 29l6.6-1.7c1.9 1.04 4.04 1.59 6.24 1.59h.01c7.2 0 13.04-5.84 13.04-13.04C28.89 8.84 23.05 3 16.04 3zm0 23.68h-.01c-1.96 0-3.88-.53-5.55-1.54l-.4-.24-3.91 1.01 1.04-3.81-.26-.39a10.76 10.76 0 0 1-1.65-5.67c0-5.95 4.84-10.79 10.79-10.79 2.88 0 5.59 1.12 7.63 3.16a10.72 10.72 0 0 1 3.16 7.63c0 5.95-4.84 10.79-10.84 10.79zm5.92-8.08c-.32-.16-1.9-.94-2.2-1.04-.3-.11-.52-.16-.74.16-.22.32-.85 1.04-1.04 1.26-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.6-1.59-.96-.85-1.61-1.9-1.8-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.48-.56.16-.19.22-.32.32-.54.11-.22.05-.4-.03-.56-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.56.08-.85.4-.3.32-1.12 1.1-1.12 2.68s1.15 3.11 1.31 3.33c.16.22 2.27 3.47 5.5 4.86.77.33 1.37.53 1.84.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.39.19-1.53-.08-.14-.29-.22-.61-.38z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.04 3C8.84 3 3 8.84 3 16.04c0 2.3.6 4.55 1.74 6.53L3 29l6.6-1.7c1.9 1.04 4.04 1.59 6.24 1.59h.01c7.2 0 13.04-5.84 13.04-13.04C28.89 8.84 23.05 3 16.04 3zm0 23.68h-.01c-1.96 0-3.88-.53-5.55-1.54l-.4-.24-3.91 1.01 1.04-3.81-.26-.39a10.76 10.76 0 0 1-1.65-5.67c0-5.95 4.84-10.79 10.79-10.79 2.88 0 5.59 1.12 7.63 3.16a10.72 10.72 0 0 1 3.16 7.63c0 5.95-4.84 10.79-10.84 10.79zm5.92-8.08c-.32-.16-1.9-.94-2.2-1.04-.3-.11-.52-.16-.74.16-.22.32-.85 1.04-1.04 1.26-.19.22-.38.24-.7.08-.32-.16-1.36-.5-2.6-1.59-.96-.85-1.61-1.9-1.8-2.22-.19-.32-.02-.5.14-.66.14-.14.32-.38.48-.56.16-.19.22-.32.32-.54.11-.22.05-.4-.03-.56-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.56.08-.85.4-.3.32-1.12 1.1-1.12 2.68s1.15 3.11 1.31 3.33c.16.22 2.27 3.47 5.5 4.86.77.33 1.37.53 1.84.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.39.19-1.53-.08-.14-.29-.22-.61-.38z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

/* HERO */
.ekp-company-hero {
    background: #111827;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
    border-bottom: 5px solid #f97316;
}

.ekp-company-hero img {
    max-width: 210px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.ekp-company-hero h1 {
    font-size: 2.75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.ekp-company-hero p {
    max-width: 820px;
    margin: 0 auto 30px;
    color: #d1d5db;
    font-size: 1.2rem;
    line-height: 1.55;
}

.ekp-company-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* FRANJA */
.ekp-company-strip {
    background: #f97316;
    color: #fff;
    padding: 18px 20px;
    text-align: center;
}

.ekp-company-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ekp-company-strip strong {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ekp-company-strip a {
    background: #111827;
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
}

.ekp-company-strip a:hover {
    background: #1f2937;
}

/* SECCIONES */
.ekp-company-section {
    padding: 60px 20px;
}

.ekp-company-inner {
    max-width: 1150px;
    margin: 0 auto;
}

.ekp-section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: #111827;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.15;
}

.ekp-section-subtitle {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* INTRO */
.ekp-intro-section {
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
}

.ekp-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

.ekp-intro-text h2 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 16px;
    line-height: 1.15;
}

.ekp-intro-text p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 14px;
}

.ekp-intro-box {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.ekp-intro-box h3 {
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 16px;
}

.ekp-check-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.ekp-check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 11px;
    font-weight: 700;
    color: #374151;
    line-height: 1.35;
}

.ekp-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 900;
}

/* SECTORES */
.ekp-sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ekp-sector-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 22px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.035);
    transition: all 0.3s;
}

.ekp-sector-card:hover {
    transform: translateY(-5px);
    border-color: #f97316;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.ekp-sector-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: #111827;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ekp-sector-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

/* PROCESO */
.ekp-process-section {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ekp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ekp-process-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 18px;
    text-align: center;
}

.ekp-process-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.ekp-process-card strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 9px;
}

.ekp-process-card p {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* CATEGORÍAS */
.ekp-category-section {
    background: #f9fafb;
}

.ekp-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.ekp-category-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

.ekp-category-card:hover {
    transform: translateY(-5px);
    border-color: #f97316;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.ekp-category-card img {
    max-width: 125px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
}

.ekp-category-card strong {
    display: block;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.25;
}

/* CTA INTERMEDIO */
.ekp-mid-cta {
    max-width: 920px;
    margin: 42px auto 0;
    background: #111827;
    color: #fff;
    border-radius: 9px;
    padding: 30px 24px;
    text-align: center;
}

.ekp-mid-cta h3 {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.ekp-mid-cta p {
    color: #d1d5db;
    font-size: 1.03rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.ekp-mid-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* DIFERENCIA */
.ekp-difference-section {
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
}

.ekp-difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ekp-difference-card {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.ekp-difference-card strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 900;
    color: #111827;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ekp-difference-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

/* FORMULARIO */
.ekp-form-section {
    background: #fff;
}

.ekp-form-box {
    max-width: 880px;
    margin: 0 auto;
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.ekp-form-box h2 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.ekp-form-box p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* FORMULARIO COMPACTO CONTACT FORM 7 */
.ekp-form-real {
    margin-top: 18px;
}

.ekp-form-real .wpcf7 form {
    margin: 0;
}

.ekp-form-real .wpcf7 p {
    margin: 0;
}

.ekp-form-compact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ekp-field-half,
.ekp-field-full {
    width: 100%;
}

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

.ekp-input-compact,
.ekp-select-compact,
.ekp-textarea-compact {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 5px;
    background: #fff;
    color: #111827;
    font-size: 0.98rem;
    font-family: inherit;
    font-weight: 600;
}

.ekp-input-compact::placeholder,
.ekp-textarea-compact::placeholder {
    color: #9ca3af;
    font-weight: 600;
}

.ekp-select-compact {
    appearance: auto;
}

.ekp-textarea-compact {
    min-height: 105px;
    resize: vertical;
}

.ekp-input-compact:focus,
.ekp-select-compact:focus,
.ekp-textarea-compact:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.ekp-terms-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 5px;
    padding: 12px 14px;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.45;
}

.ekp-terms-box .wpcf7-list-item {
    margin: 0;
}

.ekp-terms-box label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #d1d5db;
    font-weight: 600;
}

.ekp-terms-box input {
    width: auto;
    margin-top: 3px;
}

.ekp-terms-box a {
    color: #fb923c !important;
    font-weight: 900;
}

.ekp-btn-submit-compact {
    background: #f97316;
    color: #111827;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ekp-btn-submit-compact:hover {
    background: #fb923c;
    transform: translateY(-2px);
}

.ekp-form-real .wpcf7-spinner {
    margin-left: 10px;
}

.ekp-form-real .wpcf7-not-valid-tip {
    color: #fecaca;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 700;
}

.ekp-form-real .wpcf7-response-output {
    margin: 14px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 5px;
    font-weight: 800;
    background: #fff7ed;
    color: #111827;
    border: 1px solid #fed7aa !important;
}

.ekp-form-real .wpcf7 form.sent .wpcf7-response-output {
    background: #ecfdf5;
    border-color: #bbf7d0 !important;
    color: #065f46;
}

.ekp-form-real .wpcf7 form.invalid .wpcf7-response-output,
.ekp-form-real .wpcf7 form.failed .wpcf7-response-output {
    background: #fef2f2;
    border-color: #fecaca !important;
    color: #991b1b;
}

/* FINAL */
.ekp-final-section {
    background: #111827;
    color: #fff;
    padding: 64px 20px;
}

.ekp-final-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.ekp-final-kicker {
    display: inline-block;
    background: #f97316;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.ekp-final-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.15;
}

.ekp-final-section p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 14px;
}

.ekp-final-box {
    background: #fff;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ekp-final-box h3 {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.ekp-final-box p {
    color: #374151;
    margin-bottom: 18px;
}

.ekp-final-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .ekp-sector-grid,
    .ekp-difference-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ekp-process-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .ekp-intro-grid,
    .ekp-final-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ekp-company-hero {
        padding: 50px 18px;
    }

    .ekp-company-hero img {
        max-width: 180px;
    }

    .ekp-company-hero h1 {
        font-size: 2rem;
    }

    .ekp-company-hero p {
        font-size: 1.05rem;
    }

    .ekp-company-actions,
    .ekp-mid-actions,
    .ekp-final-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .ekp-btn-main,
    .ekp-btn-secondary,
    .ekp-btn-whatsapp {
        width: 100%;
        text-align: center;
    }

    .ekp-company-strip-inner {
        flex-direction: column;
        gap: 12px;
    }

    .ekp-company-strip strong {
        font-size: 0.95rem;
    }

    .ekp-company-section {
        padding: 48px 16px;
    }

    .ekp-section-title {
        font-size: 1.75rem;
    }

    .ekp-section-subtitle {
        font-size: 1rem;
    }

    .ekp-intro-text h2,
    .ekp-final-section h2,
    .ekp-form-box h2 {
        font-size: 1.55rem;
    }

    .ekp-sector-grid,
    .ekp-process-grid,
    .ekp-difference-grid,
    .ekp-form-compact-wrapper {
        grid-template-columns: 1fr;
    }

    .ekp-field-full {
        grid-column: auto;
    }

    .ekp-btn-submit-compact {
        width: 100%;
    }

    .ekp-category-card img {
        max-width: 110px;
        height: 100px;
    }

    .ekp-form-box,
    .ekp-final-box {
        padding: 24px 20px;
    }
}

@media (max-width: 420px) {
    .ekp-company-hero h1 {
        font-size: 1.75rem;
    }

    .ekp-section-title {
        font-size: 1.55rem;
    }

    .ekp-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .ekp-category-card {
        padding: 20px 10px;
    }

    .ekp-category-card strong {
        font-size: 0.9rem;
    }
}
