:root {
    --kpk-contact-red: var(--kpk-primary, #e51d2a);
    --kpk-contact-ink: #15181e;
    --kpk-contact-muted: #626872;
    --kpk-contact-line: #e5e7eb;
    --kpk-contact-soft: #f5f6f7;
    --kpk-contact-radius: 24px;
}

.kpk-contact-page {
    width: 100%;
    max-width: 100%;
    overflow: clip;
    color: var(--kpk-contact-ink);
    background: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kpk-contact-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.kpk-contact-hero {
    padding: clamp(64px, 9vw, 118px) 0 clamp(42px, 6vw, 74px);
    background:
        radial-gradient(circle at 84% 18%, rgba(229, 29, 42, .08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.kpk-contact-eyebrow,
.kpk-contact-kicker {
    position: relative;
    display: inline-block;
    margin: 0 0 17px;
    color: var(--kpk-contact-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.kpk-contact-eyebrow::after,
.kpk-contact-kicker::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    animation: kpk-contact-line .72s cubic-bezier(.22, 1, .36, 1) .2s forwards;
}

.kpk-contact-hero h1 {
    max-width: 850px;
    margin: 0;
    color: var(--kpk-contact-ink);
    font-size: clamp(43px, 7.3vw, 92px);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: .98;
    animation: kpk-contact-rise .65s cubic-bezier(.22, 1, .36, 1) both;
}

.kpk-contact-intro {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--kpk-contact-muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
    animation: kpk-contact-rise .65s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.kpk-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(36px, 6vw, 76px);
    padding-block: clamp(56px, 8vw, 102px);
}

.kpk-contact-options {
    display: grid;
    align-content: start;
    gap: 12px;
}

.kpk-contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 15px;
    align-items: center;
    min-height: 84px;
    padding: 16px 18px;
    border: 1px solid var(--kpk-contact-line);
    border-radius: 18px;
    color: var(--kpk-contact-ink);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(20, 24, 30, .045);
    transition: border-color .2s ease, box-shadow .2s ease, translate .2s ease;
    animation: kpk-contact-rise .55s cubic-bezier(.22, 1, .36, 1) both;
}

.kpk-contact-card:nth-child(2) { animation-delay: .06s; }
.kpk-contact-card:nth-child(3) { animation-delay: .12s; }

.kpk-contact-card:hover {
    border-color: rgba(229, 29, 42, .32);
    box-shadow: 0 14px 34px rgba(20, 24, 30, .09);
    translate: 0 -2px;
}

.kpk-contact-card--whatsapp {
    border-color: #d8eddf;
    background: #f7fcf8;
}

.kpk-contact-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--kpk-contact-red);
    background: rgba(229, 29, 42, .09);
}

.kpk-contact-card--whatsapp .kpk-contact-icon {
    color: #128c49;
    background: #e4f5e9;
}

.kpk-contact-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.kpk-contact-card strong,
.kpk-contact-card small {
    display: block;
    overflow-wrap: anywhere;
}

.kpk-contact-card strong { font-size: 15px; line-height: 1.25; }
.kpk-contact-card small { margin-top: 4px; color: var(--kpk-contact-muted); font-size: 13px; }
.kpk-contact-arrow { font-size: 20px; transition: translate .2s ease; }
.kpk-contact-card:hover .kpk-contact-arrow { translate: 3px -1px; }

.kpk-contact-details {
    margin-top: 12px;
    padding: 26px;
    border-radius: 20px;
    background: var(--kpk-contact-soft);
}

.kpk-contact-details h2 {
    margin: 0 0 18px;
    font-size: 21px;
    letter-spacing: -.035em;
}

.kpk-contact-details p {
    display: grid;
    gap: 5px;
    margin: 0;
    color: var(--kpk-contact-muted);
    font-size: 14px;
    line-height: 1.55;
}

.kpk-contact-details p + p { margin-top: 15px; padding-top: 15px; border-top: 1px solid #dfe1e4; }
.kpk-contact-details strong { color: var(--kpk-contact-ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kpk-contact-details a { color: inherit; }

.kpk-contact-location { min-width: 0; }
.kpk-location-heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.kpk-contact-kicker { margin-bottom: 12px; }
.kpk-location-heading h2 { margin: 0; font-size: clamp(29px, 4vw, 48px); letter-spacing: -.055em; line-height: 1.05; }

.kpk-directions-button,
.kpk-map-empty a {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--kpk-contact-ink);
    border-radius: 999px;
    color: #fff;
    background: var(--kpk-contact-ink);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, translate .2s ease;
}

.kpk-directions-button:hover,
.kpk-map-empty a:hover { border-color: var(--kpk-contact-red); background: var(--kpk-contact-red); translate: 0 -2px; }

.kpk-map-frame {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--kpk-contact-line);
    border-radius: var(--kpk-contact-radius);
    background: #191b20;
    box-shadow: 0 20px 55px rgba(15, 18, 23, .13);
    animation: kpk-contact-rise .7s cubic-bezier(.22, 1, .36, 1) .1s both;
}

.kpk-map-frame iframe {
    display: block;
    width: 100% !important;
    height: 520px !important;
    border: 0;
    filter: grayscale(.78) contrast(1.08);
}

.kpk-map-frame::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: inherit;
    content: "";
}

.kpk-map-empty {
    display: grid;
    min-height: 520px;
    align-content: center;
    justify-items: center;
    padding: 36px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(229, 29, 42, .2), transparent 30%),
        repeating-linear-gradient(35deg, transparent 0 42px, rgba(255, 255, 255, .035) 43px 45px),
        #191b20;
}

.kpk-map-pin { display: grid; width: 68px; height: 68px; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--kpk-contact-red); background: #fff; font-size: 36px; }
.kpk-map-empty strong { font-size: 25px; letter-spacing: -.03em; }
.kpk-map-empty p { max-width: 420px; margin: 11px 0 24px; color: #c9ccd2; line-height: 1.6; }

.kpk-contact-social {
    grid-column: 1 / -1;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 34px;
    border-top: 1px solid var(--kpk-contact-line);
}

.kpk-contact-social > span { font-size: 18px; font-weight: 750; }
.kpk-contact-social div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kpk-contact-social a { color: var(--kpk-contact-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.kpk-contact-social a span { margin-left: 4px; color: var(--kpk-contact-red); }
.kpk-contact-social a:hover { color: var(--kpk-contact-ink); }

@keyframes kpk-contact-line { to { transform: scaleX(1); } }
@keyframes kpk-contact-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 820px) {
    .kpk-contact-layout { grid-template-columns: 1fr; }
    .kpk-contact-location { margin-top: 12px; }
}

@media (max-width: 560px) {
    .kpk-contact-shell { width: min(100% - 30px, 1180px); }
    .kpk-contact-hero { padding-block: 46px 38px; }
    .kpk-contact-hero h1 { font-size: clamp(40px, 14vw, 62px); }
    .kpk-contact-intro { margin-top: 22px; font-size: 16px; line-height: 1.6; }
    .kpk-contact-layout { gap: 42px; padding-block: 44px 64px; }
    .kpk-contact-card { grid-template-columns: 44px minmax(0, 1fr) 20px; min-height: 78px; padding: 14px; }
    .kpk-contact-icon { width: 44px; height: 44px; border-radius: 13px; }
    .kpk-location-heading { display: grid; align-items: start; }
    .kpk-directions-button { width: 100%; }
    .kpk-map-frame,
    .kpk-map-frame iframe,
    .kpk-map-empty { min-height: 430px; height: 430px !important; }
    .kpk-contact-social { display: grid; }
}

@media (max-width: 340px) {
    .kpk-contact-shell { width: calc(100% - 24px); }
    .kpk-contact-card { gap: 11px; padding-inline: 12px; }
    .kpk-contact-card small { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .kpk-contact-page *,
    .kpk-contact-page *::before,
    .kpk-contact-page *::after { animation: none !important; transition-duration: .01ms !important; }
    .kpk-contact-eyebrow::after,
    .kpk-contact-kicker::after { transform: scaleX(1); }
}
