.contact-page {
    padding: 24px 0 48px;
}
.contact-page-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.contact-page .cp-page-head {
    margin-bottom: 24px;
}

.contact-layout {
    display: grid;
    gap: 28px;
    width: 100%;
    min-width: 0;
}
@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr min(380px, 34%);
        column-gap: 48px;
        row-gap: 32px;
        align-items: start;
    }
    .contact-hero-text {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    .contact-hero-methods {
        grid-column: 2;
        grid-row: 1;
    }
    .contact-layout:has(.contact-companies) .contact-hero-methods {
        grid-row: 1;
        align-self: start;
        display: flex;
        flex-direction: column;
    }
    .contact-layout:has(.contact-companies) .contact-methods-grid {
        flex: 1;
        min-height: 0;
        gap: 12px;
    }
    .contact-layout:has(.contact-companies) .contact-method-card {
        flex: 1;
        min-height: 0;
    }
    .contact-companies {
        grid-column: 1;
        grid-row: 1;
    }
    .contact-cta-wrap {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 8px;
    }
}

.contact-hero-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #0f172a;
}
.contact-hero-subtitle {
    margin-top: 12px;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: #475569;
}
@media (min-width: 640px) {
    .contact-hero-subtitle { font-size: 1.0625rem; }
}
@media (min-width: 900px) {
    .contact-hero-text {
        min-width: 0;
    }
    .contact-hero-methods {
        min-width: 0;
    }
    .contact-hero-subtitle {
        max-width: none;
    }
}

/* Contact methods */
.contact-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    box-shadow: 0 1px 2px rgba(26, 26, 46, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.contact-method-card:hover {
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
}
.contact-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    transition: background 0.2s, color 0.2s;
}
.contact-method-card:hover .contact-method-icon {
    background: #1a1a1a;
    color: #fff;
}
.contact-method-body {
    min-width: 0;
}
.contact-method-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}
.contact-method-value {
    display: block;
    margin-top: 1px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    transition: color 0.2s;
    word-break: break-word;
}
.contact-method-card:hover .contact-method-value {
    color: #3b82f6;
}
.contact-method-hint {
    display: block;
    margin-top: 3px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    color: #64748b;
}

/* Companies */
.contact-companies {
    padding: 0;
    margin: 0;
}
@media (min-width: 900px) {
    .contact-companies {
        padding-top: 28px;
        border-top: 1px solid var(--border);
    }
}
.contact-section-heading {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.contact-companies-grid {
    display: grid;
    gap: 12px;
    align-items: stretch;
}
@media (min-width: 600px) {
    .contact-companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
.contact-company-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 16px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-company-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.06);
}
.contact-company-flag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-company-flag img {
    width: 36px;
    height: 27px;
    object-fit: cover;
    border-radius: 3px;
}
.contact-company-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 5px;
    line-height: 1.35;
}
.contact-company-address {
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
}

/* CTA */
.contact-cta-wrap {
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 0;
}
.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 28px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
    .contact-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 32px 36px;
    }
}
.contact-cta-whatsapp,
.contact-cta-chat {
    background: linear-gradient(135deg, #1faa55 0%, #25D366 100%);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.22);
}
.contact-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1;
}
.contact-cta-content > div {
    min-width: 0;
}
.contact-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.contact-cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}
@media (min-width: 640px) {
    .contact-cta-title { font-size: 1.375rem; }
}
.contact-cta-desc {
    margin-top: 4px;
    max-width: 28rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    overflow-wrap: break-word;
}
.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 24px;
    border-radius: 11px;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .contact-cta-btn {
        width: auto;
    }
}
.contact-cta-btn-light {
    background: #fff;
    color: #128C4B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.contact-cta-btn-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

@media (max-width: 639px) {
    .contact-page { padding-top: 24px; padding-bottom: 36px; }
    .contact-page .cp-page-head { margin-bottom: 20px; }
    .contact-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .contact-layout { gap: 20px; }
    .contact-hero-subtitle {
        margin-top: 8px;
        font-size: 0.875rem;
    }
    .contact-method-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .contact-method-icon {
        width: 38px;
        height: 38px;
    }
    .contact-company-card {
        padding: 14px;
        gap: 12px;
    }
    .contact-company-flag img {
        width: 32px;
        height: 24px;
    }
    .contact-cta {
        padding: 18px 16px;
        gap: 16px;
        border-radius: 16px;
    }
    .contact-cta-content {
        gap: 12px;
    }
    .contact-cta-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .contact-cta-icon svg {
        width: 22px;
        height: 22px;
    }
    .contact-cta-title {
        font-size: 1.05rem;
    }
    .contact-cta-desc {
        font-size: 0.78rem;
        line-height: 1.45;
    }
    .contact-cta-btn {
        padding: 13px 18px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .contact-page { padding-top: 24px; padding-bottom: 32px; }
    .contact-page .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}
.contact-hero-text {
    margin-top: 4px;
}
.contact-hero-subtitle {
    margin-top: 0;
}
.contact-seo-copy { margin: 8px 0 0; max-width: none; color: var(--text-dim); line-height: 1.6; }
.contact-seo-copy p { margin: 0 0 10px; }
.contact-seo-copy p:last-child { margin-bottom: 0; }
