/* =========================================================
   OUR COMPANY PAGE
   ========================================================= */
body.page-id-0 .sanpota-company-page,
.sanpota-company-page {
    background: var(--bg-warm);
}

.company-section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 26px;
    padding: 0 48px;
    box-sizing: border-box;
}

body.page-id-404 .how-to-order-hero .hero-title span {
    display: block;
}

body.page-id-404 .how-to-order-hero .hero-title {
    max-width: 820px;
}

body.page-id-404 .main-footer {
    margin-top: 34px;
}

body.page-id-404 .company-cta-box {
    margin-bottom: -10px;
}

.company-story-grid,
.company-panel {
    background: #fff;
    border: 1px solid #FFE4C8;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(255, 191, 128, 0.3);
}

.company-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    gap: 28px;
    padding: 22px;
    align-items: stretch;
    margin-top: 60px; /* Ditambahkan agar tidak terlalu mepet dengan hero section */
}

.company-story-copy {
    min-width: 0;
    padding: 2px 0 0;
}

.company-section-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
}

.company-story-copy h2 {
    margin: 0 0 10px;
    max-width: 440px;
    font-size: clamp(1.35rem, 2.25vw, 1.95rem);
    line-height: 1.08;
    color: #004A3E;
}

.company-story-copy p {
    margin: 0;
    max-width: 560px;
    color: #2f5f54;
    font-size: 0.82rem;
    line-height: 1.5;
}

.company-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.company-pillar-card,
.company-value-card,
.company-capability-card {
    background: #FFF8F1;
    border: 1px solid #FFE4C8;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.company-pillar-card {
    min-height: 170px;
    padding: 18px 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-pillar-card:hover,
.company-value-card:hover,
.company-capability-card:hover {
    transform: translateY(-6px);
    border-color: #FFD39F;
    box-shadow: 0 14px 24px rgba(255, 233, 209, 0.95);
}

.company-pillar-card img,
.company-value-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
}

.company-pillar-card h3,
.company-value-card h3,
.company-capability-card h3 {
    margin: 0 0 7px;
    font-size: 0.92rem;
    line-height: 1.22;
    color: var(--primary);
}

.company-pillar-card p,
.company-value-card p,
.company-capability-card p {
    margin: 0;
    color: #3f665e;
    font-size: 0.72rem;
    line-height: 1.35;
}

.company-panel {
    padding: 22px 24px 24px;
}

.company-value-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.company-value-card {
    min-height: 165px;
    padding: 22px 14px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sanpota-audience-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.sanpota-audience-panel {
    background: #fff;
    border: 1px solid #FFE4C8 !important;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(255, 191, 128, 0.3);
    padding: 22px 24px 30px;
    box-sizing: border-box;
}

.sanpota-audience-title {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
}

.sanpota-audience-card {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    height: 158px;
    overflow: hidden;
    border: 1px solid #FFE4C8 !important;
    border-radius: 12px;
    background: #FFF8F1;
    box-shadow: 0 8px 16px rgba(0, 74, 62, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.sanpota-audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 24px rgba(255, 233, 209, 0.95);
}

.sanpota-audience-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sanpota-audience-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 74, 62, 1) 0%, rgba(0, 74, 62, 0.72) 24%, rgba(0, 74, 62, 0) 64%);
    z-index: 1;
}

.sanpota-audience-label {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    min-height: 36px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    background: #0B5E4F;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 74, 62, 0.1);
    box-sizing: border-box;
}

.sanpota-audience-label i {
    color: #FFB347;
    font-size: 0.86rem;
}

.sanpota-audience-icon-img {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.company-capability-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.company-capability-card {
    min-height: 102px;
    padding: 15px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-capability-card img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.company-capability-card div {
    min-width: 0;
}

.company-commitment-combo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.company-commitment-panel,
.company-process-panel {
    min-height: 246px;
    background: #fff;
    border: 1px solid #FFE4C8;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(255, 191, 128, 0.3);
    padding: 22px 24px 24px;
    box-sizing: border-box;
}

.company-commitment-title,
.company-process-title {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.45vw, 1.42rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
}

.company-commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.company-commitment-card {
    min-height: 252px;
    padding: 0;
    border: 1px solid #FFE4C8;
    border-radius: 12px;
    background: #FFF8F1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.company-commitment-card:hover,
.company-process-step:hover,
.company-stat-item:hover {
    transform: translateY(-5px);
    border-color: #FFD39F;
    box-shadow: 0 12px 20px rgba(255, 233, 209, 0.95);
}

.company-commitment-card img {
    width: 100%;
    height: 126px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    clip-path: inset(0 round 12px 12px 0 0);
}

.company-commitment-card h3 {
    margin: 14px 12px 8px;
    min-height: 42px;
    font-size: 0.9rem;
    line-height: 1.18;
    color: #004A3E;
    display: flex;
    align-items: flex-start;
}

.company-commitment-card p {
    margin: 0 12px 14px;
    font-size: 0.78rem;
    line-height: 1.38;
    color: #3f665e;
}

.company-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.company-process-step {
    position: relative;
    min-height: 76px;
    padding: 11px 4px 4px 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.company-process-number {
    margin-top: 2px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
}

.company-process-step h3 {
    margin: 0 0 4px;
    font-size: 0.82rem;
    line-height: 1.14;
    color: #004A3E;
}

.company-process-step p {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.28;
    color: #3f665e;
}

.company-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.company-stat-item {
    padding: 6px 4px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.company-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1;
    color: var(--primary);
}

.company-stat-item span {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #3f665e;
}

.company-cta-box {
    position: relative;
    min-height: 170px;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr) 230px;
    align-items: center;
    gap: 22px;
    padding: 34px 24px;
    margin-top: 22px;
    border-radius: 18px;
    background: var(--primary);
    box-shadow: 0 10px 22px rgba(255, 233, 209, 0.95);
    box-sizing: border-box;
}

.company-why-panel {
    background: #fff;
    border: 1px solid #FFE4C8;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(255, 191, 128, 0.3);
    padding: 22px 24px 24px;
    box-sizing: border-box;
}

.company-why-title {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.45vw, 1.42rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
}

.company-why-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.company-why-card {
    min-height: 118px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #FFE4C8;
    border-radius: 12px;
    background: #FFF8F1;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.company-why-card:hover {
    transform: translateY(-6px);
    border-color: #FFD39F;
    box-shadow: 0 14px 24px rgba(255, 233, 209, 0.95);
}

.company-why-card img {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.company-why-card div {
    min-width: 0;
    flex: 1;
}

.company-why-card h3 {
    margin: 0 0 5px;
    min-height: 34px;
    font-size: 0.82rem;
    line-height: 1.12;
    color: var(--primary);
    display: flex;
    align-items: flex-end;
}

.company-why-card p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.28;
    color: #3f665e;
}

.company-cta-box::after {
    content: none;
}

.company-cta-copy h2 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    color: #fff;
}

.company-cta-copy p {
    margin: 0 0 14px;
    color: #fff;
    font-size: 0.92rem;
}

.company-cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.company-cta-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.82rem;
}

.company-cta-badges i {
    color: #FFE6D8;
    font-size: 0.9rem;
}

.company-cta-badges img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.company-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    position: relative;
    z-index: 3;
    transform: translateX(-112px);
}

.company-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 250px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #C93629;
    border: 2px solid #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.company-cta-button i,
.company-cta-button svg {
    flex: 0 0 auto;
    font-size: 1.35em;
}

.company-cta-button:hover {
    transform: translateY(-3px);
    background: #FFF6EB;
    color: #C93629;
    box-shadow: 0 14px 26px rgba(255, 233, 209, 0.55);
}

.company-cta-mascot {
    position: absolute;
    right: 34px;
    bottom: 0;
    width: 290px;
    max-width: 34%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

@media (max-width: 1199px) {
    .company-story-grid {
        grid-template-columns: 1fr;
    }

    .company-value-grid,
    .company-capability-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sanpota-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .company-commitment-combo {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .company-cta-box {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 220px;
    }

    .company-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .company-commitment-card {
        min-height: 270px;
    }

    .company-commitment-card img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    body.page-id-404 {
        overflow-x: hidden;
        padding-top: 72px;
    }

    body.page-id-404 .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background-color: rgba(250, 245, 239, 0.94);
        box-shadow: 0 8px 18px rgba(0, 74, 62, 0.06);
    }

    body.page-id-404 #page,
    body.page-id-404 .site,
    body.page-id-404 .elementor,
    body.page-id-404 .elementor-section,
    body.page-id-404 .elementor-container,
    body.page-id-404 .elementor-column,
    body.page-id-404 .elementor-widget-wrap {
        max-width: 100%;
        overflow-x: hidden;
    }

    .company-section-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        margin-bottom: 18px;
        overflow: visible;
    }

    .company-story-grid,
    .company-panel {
        border-radius: 16px;
        padding: 18px;
    }

    .company-pillar-grid,
    .company-value-grid,
    .company-capability-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .company-pillar-card,
    .company-value-card {
        min-height: auto;
        padding: 18px 14px;
    }

    .sanpota-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sanpota-audience-card {
        min-height: 128px;
    }

    .company-capability-card {
        min-height: auto;
    }

    .company-commitment-grid,
    .company-process-steps,
    .company-stat-grid,
    .company-why-grid {
        grid-template-columns: 1fr;
    }

    .company-commitment-card {
        min-height: auto;
    }

    .company-commitment-card img {
        height: 180px;
    }

    .company-commitment-card h3 {
        min-height: 0;
    }

    .company-why-card {
        min-height: auto;
        align-items: flex-start;
    }

    .company-why-card h3 {
        min-height: 0;
        align-items: flex-start;
    }

    .company-cta-box {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 24px 18px 174px;
        box-sizing: border-box;
    }

    .company-cta-copy {
        min-width: 0;
    }

    .company-cta-copy h2 {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        line-height: 1.18;
    }

    .company-cta-copy p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .company-cta-badges {
        gap: 10px 14px;
    }

    .company-cta-actions {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        transform: none;
    }

    .company-cta-button {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        transform: none !important;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
        min-height: 48px;
        padding: 0 20px;
        font-size: 0.9rem;
    }

    .company-cta-button:hover {
        transform: translateY(-3px) !important;
    }

    .company-cta-mascot {
        right: 14px;
        bottom: 0;
        width: min(198px, 54vw);
        max-width: 54%;
    }

    body.page-id-404 .floating-whatsapp-container {
        right: 10px;
        max-width: calc(100vw - 20px);
        overflow: hidden;
    }
}

@media (max-width: 420px) {
    body.page-id-404 .how-to-order-hero {
        overflow: visible !important;
        padding-bottom: 34px;
    }

    body.page-id-404 .how-to-order-hero .hero-container,
    body.page-id-404 .how-to-order-hero .hero-content,
    body.page-id-404 .how-to-order-hero .hero-mascot,
    body.page-id-404 .how-to-order-hero .mascot-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.page-id-404 .how-to-order-hero .mascot-img {
        max-width: 100%;
        height: auto;
        margin-bottom: 18px;
    }

    .sanpota-audience-grid {
        grid-template-columns: 1fr;
    }

    .company-story-grid {
        margin-top: 24px;
    }

    .company-cta-box {
        padding-bottom: 158px;
    }

    .company-cta-mascot {
        right: 12px;
        bottom: 0;
        width: min(178px, 58vw);
        max-width: 58%;
    }
}
