/* =========================================================
   IPK GLOBAL CONSULTING — CONTACT PAGE
   Professional, responsive corporate design
   File: assets/css/contact.css
   ========================================================= */

:root {
    --contact-navy: #123d73;
    --contact-navy-dark: #0a2a50;
    --contact-blue: #1d5a91;
    --contact-gold: #d99a22;
    --contact-ink: #173653;
    --contact-muted: #61758b;
    --contact-border: #dce7f0;
    --contact-soft: #f4f8fc;
    --contact-white: #ffffff;
    --contact-shadow: 0 18px 48px rgba(16, 52, 86, .09);
    --contact-radius: 22px;
}

.ipk-contact-page,
.ipk-contact-page * {
    box-sizing: border-box;
}

.ipk-contact-page {
    color: var(--contact-ink);
    font-family: "Poppins", "Noto Sans JP", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    overflow: hidden;
    background: #fff;
}

.ipk-contact-page img,
.ipk-contact-page iframe {
    max-width: 100%;
}

.ipk-contact-page a {
    -webkit-tap-highlight-color: transparent;
}

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

.section-space {
    padding-block: 88px;
}

/* -------------------- HERO -------------------- */

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 86px 0 82px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 15%, rgba(255, 202, 95, .22), transparent 28%),
        radial-gradient(circle at 70% 100%, rgba(83, 174, 224, .20), transparent 34%),
        linear-gradient(120deg, #0b2c51 0%, #164c7b 55%, #1b5d8d 100%);
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero::before {
    width: 560px;
    height: 560px;
    top: -310px;
    right: -60px;
    box-shadow: 0 0 0 45px rgba(255,255,255,.025),
                0 0 0 90px rgba(255,255,255,.025);
}

.contact-hero::after {
    width: 360px;
    height: 360px;
    bottom: -265px;
    left: 38%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.025);
}

.contact-orb {
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.contact-orb-one {
    top: 18%;
    right: 28%;
    background: radial-gradient(circle, rgba(255,255,255,.09), transparent 70%);
}

.contact-orb-two {
    bottom: 0;
    right: 4%;
    background: radial-gradient(circle, rgba(245,183,65,.13), transparent 70%);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

.contact-hero-content {
    max-width: 720px;
}

.contact-kicker,
.contact-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--contact-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-kicker::before,
.contact-section-kicker::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    background: currentColor;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 18px 0 20px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5.2vw, 66px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.contact-hero-content > p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.9;
}

.contact-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.contact-hero-pills span {
    padding: 7px 12px;
    color: rgba(255,255,255,.94);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.19);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn-primary {
    color: #102f50;
    background: #f1b43d;
    box-shadow: 0 9px 24px rgba(0,0,0,.13);
}

.contact-btn-primary:hover {
    color: #102f50;
    background: #ffc754;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.contact-btn-light {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.35);
}

.contact-btn-light:hover {
    color: #fff;
    background: rgba(255,255,255,.16);
}

.contact-hero-card {
    position: relative;
    padding: 34px 30px 27px;
    color: var(--contact-ink);
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,247,253,.95));
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(3, 25, 47, .23);
}

.contact-card-mark {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    color: #173f68;
    background: #fff0cb;
    border: 1px solid #f5d88d;
    border-radius: 15px;
    font-size: 25px;
}

.contact-hero-card > span {
    display: block;
    margin-bottom: 8px;
    color: #607c96;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.contact-hero-card > strong {
    display: block;
    color: var(--contact-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.25;
}

.contact-hero-card > p {
    margin: 13px 0 23px;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-card-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--contact-border);
}

.contact-card-mini > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-mini b {
    color: var(--contact-gold);
    font-size: 11px;
    letter-spacing: .08em;
}

.contact-card-mini span {
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 700;
}

/* -------------------- SECTION HEADINGS -------------------- */

.contact-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.contact-heading > div {
    min-width: 0;
}

.contact-heading h2,
.contact-information h2,
.contact-form-heading h2,
.contact-final h2 {
    margin: 12px 0 0;
    color: var(--contact-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.2vw, 43px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
    text-wrap: balance;
}

.contact-heading > p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-heading.centered {
    display: block;
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-heading.centered .contact-section-kicker {
    justify-content: center;
}

.contact-heading.centered h2 {
    margin-top: 13px;
}

.contact-heading.centered > p {
    max-width: 660px;
    margin: 13px auto 0;
}

/* -------------------- ENGAGEMENT PROCESS -------------------- */

.contact-process {
    background: #fff;
}

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

.process-card {
    position: relative;
    min-height: 255px;
    padding: 26px 22px 24px;
    background: linear-gradient(160deg, #fff 0%, #f8fbfe 100%);
    border: 1px solid var(--contact-border);
    border-radius: 17px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: #b9d1e7;
    box-shadow: var(--contact-shadow);
}

.process-card > span {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #b6c6d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.process-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 23px;
    place-items: center;
    color: var(--contact-navy);
    background: #eaf3fc;
    border: 1px solid #d7e8f7;
    border-radius: 14px;
    font-size: 23px;
}

.process-card h3 {
    margin: 0 0 10px;
    color: var(--contact-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.process-card p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.85;
}

/* -------------------- OFFICES -------------------- */

.contact-offices {
    background: linear-gradient(180deg, #f5f9fd 0%, #fff 100%);
    border-block: 1px solid #eaf0f6;
}

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

.office-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 23px;
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(17, 55, 88, .045);
    transition: transform .22s ease, box-shadow .22s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--contact-shadow);
}

.office-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf2f7;
}

.office-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #9a6a0c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.office-card h3 {
    margin: 0;
    color: var(--contact-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.3;
}

.office-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--contact-navy);
    background: #eaf3fc;
    border-radius: 13px;
    font-size: 23px;
}

.office-icon.gold {
    color: #94620a;
    background: #fff1cf;
}

.office-address {
    min-height: 70px;
    margin: 17px 0 14px;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.85;
}

.office-contact-links {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.office-contact-links a {
    display: block;
    overflow-wrap: anywhere;
    color: var(--contact-blue);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.office-contact-links a:hover {
    color: var(--contact-gold);
    text-decoration: underline;
}

.map-wrap {
    position: relative;
    overflow: hidden;
    height: 190px;
    margin-top: auto;
    background: #edf3f8;
    border: 1px solid #e0e9f1;
    border-radius: 12px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 11px 13px;
    color: var(--contact-navy);
    background: #f2f7fc;
    border: 1px solid #dce8f3;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.map-button:hover {
    color: #fff;
    background: var(--contact-navy);
}

.office-card-coming {
    background:
        radial-gradient(circle at 100% 0, rgba(242,190,75,.16), transparent 38%),
        #fff;
}

.coming-soon-box {
    display: flex;
    flex: 1;
    min-height: 235px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px 4px 10px;
}

.coming-soon-box > div {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    color: #8d620e;
    background: #fff1ce;
    border-radius: 14px;
    font-size: 23px;
}

.coming-soon-box strong {
    color: var(--contact-navy);
    font-size: 17px;
}

.coming-soon-box p {
    margin: 9px 0 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.85;
}

/* -------------------- CONTACT FORM SECTION -------------------- */

.contact-main {
    background: #fff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(30px, 5vw, 70px);
}

.contact-information {
    padding-top: 12px;
}

.contact-information h2 {
    max-width: 520px;
    margin-top: 14px;
    font-size: clamp(30px, 3.2vw, 42px);
}

.contact-info-intro {
    margin: 17px 0 24px;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.95;
}

.contact-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 27px;
}

.contact-quick-actions a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #f5f9fd;
    border: 1px solid #e0eaf3;
    border-radius: 13px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.contact-quick-actions a:hover {
    transform: translateY(-3px);
    background: #edf5fc;
}

.contact-quick-actions a > span {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: 11px;
    place-items: center;
    color: var(--contact-navy);
    background: #fff;
    border: 1px solid #e0eaf3;
    border-radius: 10px;
    font-size: 17px;
}

.contact-quick-actions strong {
    color: var(--contact-navy);
    font-size: 13px;
}

.contact-quick-actions small {
    width: 100%;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: var(--contact-muted);
    font-size: 11px;
}

.contact-details {
    display: grid;
    gap: 16px;
}

.contact-detail-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
}

.contact-detail-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--contact-navy);
    background: #eaf3fc;
    border-radius: 12px;
    font-size: 20px;
}

.contact-detail-item span {
    display: block;
    margin: 0 0 3px;
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 700;
}

.contact-detail-item p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.8;
}

.contact-business-note {
    margin-top: 25px;
    padding: 18px 20px;
    background: #fff8e8;
    border: 1px solid #f4e2b8;
    border-left: 4px solid var(--contact-gold);
    border-radius: 10px;
}

.contact-business-note strong {
    color: #6c4b0d;
    font-size: 12px;
}

.contact-business-note p {
    margin: 6px 0 0;
    color: #806b43;
    font-size: 12px;
    line-height: 1.8;
}

/* Form card */

.contact-form-wrap {
    min-width: 0;
    padding: clamp(24px, 3.2vw, 38px);
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(18, 61, 115, .10);
}

.contact-form-heading {
    margin-bottom: 26px;
    padding-bottom: 21px;
    border-bottom: 1px solid #e9eff5;
}

.contact-form-heading > span {
    color: #9a6a0c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contact-form-heading h2 {
    margin-top: 8px;
    font-size: clamp(25px, 2.5vw, 32px);
}

.ipk-contact-form {
    display: grid;
    gap: 19px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.form-field label {
    color: #28445e;
    font-size: 12px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    color: #173653;
    background: #fbfdff;
    border: 1px solid #d7e2ec;
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input,
.form-field select {
    min-height: 47px;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa9b8;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: #fff;
    border-color: #3979b3;
    box-shadow: 0 0 0 4px rgba(57, 121, 179, .12);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: 2px solid transparent;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.7;
    cursor: pointer;
}

.contact-consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 3px;
    accent-color: var(--contact-navy);
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    color: #fff;
    background: linear-gradient(110deg, #123d73, #1d5a91);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 9px 20px rgba(18, 61, 115, .17);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(110deg, #0a2a50, #174c7d);
    box-shadow: 0 13px 25px rgba(18, 61, 115, .22);
}

.contact-submit:focus-visible,
.contact-btn:focus-visible,
.map-button:focus-visible {
    outline: 3px solid rgba(217, 154, 34, .65);
    outline-offset: 3px;
}

.contact-form-note {
    margin: -5px 0 0;
    color: #8292a3;
    font-size: 10px;
    line-height: 1.75;
}

/* -------------------- SERVICE LINKS -------------------- */

.contact-services {
    background: #f5f9fd;
    border-block: 1px solid #e7eef5;
}

.contact-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.contact-service-card {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 16px 18px;
    color: var(--contact-navy);
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 13px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-service-card:hover {
    transform: translateY(-3px);
    border-color: #b9d1e7;
    box-shadow: 0 12px 25px rgba(18, 61, 115, .08);
}

.contact-service-card > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #93640e;
    background: #fff0c9;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
}

.contact-service-card strong {
    font-size: 12px;
    line-height: 1.6;
}

.contact-service-card b {
    color: var(--contact-gold);
    font-size: 18px;
    text-align: right;
}

/* -------------------- FINAL CTA -------------------- */

.contact-final {
    padding-top: 72px;
    padding-bottom: 82px;
    background: #fff;
}

.contact-final-box {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 54px);
    color: #fff;
    background:
        radial-gradient(circle at 95% 0, rgba(244,184,62,.20), transparent 34%),
        linear-gradient(115deg, #0b2c51, #1a5687);
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(18, 61, 115, .16);
}

.contact-final-box > div {
    max-width: 760px;
}

.contact-final .contact-section-kicker {
    color: #f4bf52;
}

.contact-final h2 {
    margin-top: 13px;
    color: #fff;
    font-size: clamp(29px, 3.4vw, 42px);
}

.contact-final p {
    margin: 13px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    line-height: 1.9;
}

.contact-final-box > .contact-btn {
    flex: 0 0 auto;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 1050px) {
    .section-space {
        padding-block: 70px;
    }

    .contact-hero {
        padding-block: 70px;
    }

    .contact-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
        gap: 30px;
    }

    .contact-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .office-card-coming {
        grid-column: 1 / -1;
    }

    .coming-soon-box {
        min-height: 170px;
    }

    .contact-main-grid {
        gap: 30px;
    }

    .contact-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .contact-container {
        width: min(100% - 32px, 600px);
    }

    .section-space {
        padding-block: 56px;
    }

    .contact-hero {
        padding: 58px 0 54px;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-hero h1 {
        font-size: clamp(37px, 9vw, 52px);
    }

    .contact-hero-card {
        max-width: 520px;
        padding: 27px 24px 23px;
    }

    .contact-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 27px;
    }

    .contact-heading h2,
    .contact-information h2 {
        font-size: clamp(29px, 7vw, 38px);
    }

    .contact-process-grid,
    .office-grid,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

    .office-card-coming {
        grid-column: auto;
    }

    .office-address {
        min-height: 0;
    }

    .contact-main-grid {
        gap: 35px;
    }

    .contact-form-wrap {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .contact-final-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-hero {
        padding-block: 45px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero-content > p {
        font-size: 14px;
    }

    .contact-hero-pills {
        gap: 7px;
    }

    .contact-hero-pills span {
        padding: 6px 9px;
        font-size: 10px;
    }

    .contact-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-card-mini {
        gap: 5px;
    }

    .contact-card-mini span {
        font-size: 12px;
    }

    .contact-quick-actions,
    .contact-form-row,
    .contact-services-grid {
        grid-template-columns: 1fr;
    }

    .contact-quick-actions a {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        column-gap: 12px;
    }

    .contact-quick-actions a > span {
        grid-row: span 2;
        margin: 0;
    }

    .contact-quick-actions small {
        grid-column: 2;
    }

    .map-wrap {
        height: 175px;
    }

    .contact-service-card {
        min-height: 70px;
    }

    .contact-final h2 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ipk-contact-page *,
    .ipk-contact-page *::before,
    .ipk-contact-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   LIGHT CORPORATE CONTACT PAGE THEME — OVERRIDES
   ========================================================= */

.ipk-contact-page {
    background: #ffffff;
    color: #173653;
}

.contact-hero {
    color: #173653;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 210, 112, .26), transparent 27%),
        radial-gradient(circle at 70% 100%, rgba(108, 183, 224, .18), transparent 36%),
        linear-gradient(120deg, #f4f9fd 0%, #eaf4fc 55%, #f8fbfe 100%);
}

.contact-hero::before,
.contact-hero::after {
    border-color: rgba(23, 74, 130, .08);
    box-shadow: 0 0 0 45px rgba(23, 74, 130, .025),
                0 0 0 90px rgba(23, 74, 130, .02);
}

.contact-hero h1 {
    color: #123d73;
}

.contact-hero-content > p {
    color: #536e87;
}

.contact-kicker {
    color: #a66d00;
}

.contact-hero-pills span {
    color: #244b70;
    background: rgba(255,255,255,.78);
    border-color: #d4e3f0;
}

.contact-btn-light {
    color: #174a82;
    background: rgba(255,255,255,.82);
    border-color: #c9dceb;
}

.contact-btn-light:hover {
    color: #123d73;
    background: #ffffff;
}

.contact-hero-card {
    background: rgba(255,255,255,.94);
    border-color: #d9e7f2;
    box-shadow: 0 24px 60px rgba(23, 61, 96, .12);
}

.contact-hero-card > p {
    color: #60758a;
}

.contact-card-mini {
    border-top-color: #e1eaf2;
}

/* Other requirement field */
.contact-other-service[hidden] {
    display: none !important;
}

.contact-other-service {
    display: grid;
    gap: 8px;
    margin-top: 13px;
    animation: contactOtherReveal .22s ease-out;
}

.contact-other-service label {
    color: #28445e;
    font-size: 12px;
    font-weight: 700;
}

.contact-other-service input {
    display: block;
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    color: #173653;
    background: #fbfdff;
    border: 1px solid #d7e2ec;
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-other-service input:focus {
    background: #fff;
    border-color: #3979b3;
    box-shadow: 0 0 0 4px rgba(57, 121, 179, .12);
}

@keyframes contactOtherReveal {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .contact-other-service {
        animation: none;
    }
}
