
/* =========================================
   KWICK FIN SOLUTIONS - CONTACT PAGE
========================================= */

.contact-page {
    overflow: hidden;
    background: var(--bg-body);
}

.contact-page .container-custom {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

/* BREADCRUMB */

.contact-breadcrumb {
    padding: 17px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-muted);
    font-size: 13px;
}

.contact-breadcrumb-inner a {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-breadcrumb-inner a:hover {
    color: var(--secondary);
}

.contact-breadcrumb-inner i {
    font-size: 10px;
}

.contact-breadcrumb-inner span {
    color: var(--primary);
    font-weight: 700;
}

[data-theme="dark"] .contact-breadcrumb-inner span {
    color: var(--secondary);
}


/* COMMON */

.contact-eyebrow,
.contact-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

[data-theme="dark"] .contact-eyebrow,
[data-theme="dark"] .contact-section-label {
    color: #42c9c2;
}

.contact-eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 5px var(--secondary-light);
}

.contact-section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
}

.contact-section-heading h2,
.contact-faq-intro h2 {
    margin: 13px 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.contact-section-heading h2 span,
.contact-faq-intro h2 span {
    color: var(--secondary);
}

.contact-section-heading > p,
.contact-faq-intro > p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   HERO
========================================= */

.contact-hero {
    position: relative;
    padding: 80px 0 95px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 40%, rgba(22,166,161,.10), transparent 33%),
        linear-gradient(120deg, var(--bg-body), var(--bg-surface));
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-content h1 {
    max-width: 620px;
    margin: 22px 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(42px, 5.3vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2.4px;
}

.contact-hero-content h1 span {
    display: block;
    color: var(--secondary);
}

.contact-hero-content > p {
    max-width: 540px;
    margin-bottom: 28px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

.contact-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.contact-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 23px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-primary-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.contact-secondary-link:hover {
    color: var(--secondary);
}

.contact-hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 12px;
}

.contact-hero-trust i {
    color: var(--secondary);
    font-size: 17px;
}


/* HERO ILLUSTRATION */

.contact-hero-visual {
    position: relative;
    min-height: 455px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-visual-circle {
    position: absolute;
    border: 1px solid rgba(22,166,161,.2);
    border-radius: 50%;
    transform: rotate(-25deg);
}

.circle-large {
    width: 440px;
    height: 350px;
}

.circle-small {
    width: 350px;
    height: 280px;
    transform: rotate(25deg);
}

.contact-illustration-card {
    position: relative;
    z-index: 2;
    width: min(100%, 410px);
    padding: 27px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
}

.contact-illustration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.illustration-overline {
    color: var(--secondary-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.illustration-header h4 {
    margin: 7px 0 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

.illustration-header-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
}

.contact-illustration-header,
.illustration-chat,
.illustration-options,
.illustration-bottom {
    position: relative;
    z-index: 1;
}

.illustration-chat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 27px 0 19px;
    padding: 15px;
    border-radius: 15px;
    background: var(--bg-soft);
}

.chat-avatar {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
    font-size: 21px;
}

.chat-message span,
.chat-message small {
    display: block;
}

.chat-message span {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}

.chat-message small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
}

.illustration-options {
    display: grid;
    gap: 9px;
}

.illustration-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.illustration-option > i:first-child {
    color: var(--secondary);
    font-size: 17px;
}

.illustration-option > i:last-child {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 13px;
}

.illustration-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 10px;
}

.illustration-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px var(--secondary-light);
}

.contact-floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    animation: contactFloat 5s ease-in-out infinite;
}

.floating-phone {
    top: 55px;
    left: -5px;
}

.floating-message {
    right: -5px;
    bottom: 55px;
    animation-delay: 1.4s;
}

.contact-floating-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 19px;
}

.contact-floating-icon.teal {
    background: var(--secondary-light);
    color: var(--secondary-dark);
}

.contact-floating-card strong,
.contact-floating-card small {
    display: block;
}

.contact-floating-card strong {
    color: var(--text-primary);
    font-size: 11px;
}

.contact-floating-card small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 9px;
}

.contact-visual-plus {
    position: absolute;
    top: 10%;
    right: 5%;
    color: var(--secondary);
    font-size: 28px;
}

.contact-hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-decoration-one {
    top: -100px;
    left: -100px;
    width: 230px;
    height: 230px;
    background: rgba(22,166,161,.05);
}

.contact-decoration-two {
    right: -120px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    background: rgba(18,59,112,.05);
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}


/* =========================================
   CONTACT DETAILS
========================================= */

.contact-details-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.contact-info-card {
    height: 100%;
    min-height: 240px;
    padding: 29px 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    text-align: center;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 17px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 25px;
}

.contact-info-card > span {
    color: var(--secondary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-info-card h4 {
    margin: 8px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 800;
}

.contact-info-card > a,
.contact-address-text {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
}

[data-theme="dark"] .contact-info-card > a,
[data-theme="dark"] .contact-address-text {
    color: #75d8d2;
}

.contact-info-card > a:hover {
    color: var(--secondary);
}

.contact-info-card > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================
   ENQUIRY SECTION
========================================= */

.contact-enquiry-section {
    padding: var(--section-space) 0;
    background: var(--bg-body);
}

.contact-enquiry-content {
    position: sticky;
    top: 110px;
}

.contact-enquiry-content h2 {
    max-width: 450px;
    margin: 15px 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(35px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.6px;
}

.contact-enquiry-content h2 span {
    color: var(--secondary);
}

.contact-enquiry-content > p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.contact-form-points {
    display: grid;
    gap: 23px;
    margin-top: 32px;
}

.contact-form-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.form-point-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.contact-form-point strong {
    display: block;
    margin: 2px 0 5px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.contact-form-point p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.contact-help-card {
    display: flex;
    gap: 13px;
    margin-top: 34px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: var(--bg-soft);
}

.help-card-icon {
    color: var(--secondary);
    font-size: 22px;
}

.contact-help-card strong {
    color: var(--text-primary);
    font-size: 12px;
}

.contact-help-card p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.7;
}


/* FORM CARD */

.contact-form-card {
    padding: 34px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.contact-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
}

.contact-form-heading span {
    color: var(--secondary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-form-heading h3 {
    margin: 7px 0 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
}

.form-heading-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 23px;
}

.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.contact-form-card label span {
    color: #e04c4c;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body, inherit);
    font-size: 13px;
    box-shadow: none;
}

.contact-form-card .form-control::placeholder {
    color: var(--text-muted);
    opacity: .8;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(22,166,161,.12);
}

.contact-form-card textarea.form-control {
    min-height: 115px;
    resize: vertical;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

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

.contact-consent label {
    margin: 0;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
}

.contact-submit-btn {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: var(--transition-normal);
}

.contact-submit-btn:hover {
    background: var(--secondary);
    color: #062b32;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-submit-btn:disabled {
    cursor: not-allowed;
    opacity: .7;
    transform: none;
}

.contact-form-message {
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.6;
}

.contact-form-message.success {
    display: block;
    background: var(--secondary-light);
    color: var(--secondary-dark);
}

.contact-form-message.error {
    display: block;
    background: #fff0f0;
    color: #b42318;
}

.contact-form-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 10px;
}

.contact-form-disclaimer i {
    color: var(--secondary);
    font-size: 14px;
}


/* =========================================
   WHAT HAPPENS NEXT
========================================= */

.contact-next-section {
    padding: var(--section-space) 0;
    background: var(--bg-soft);
}

.contact-next-card {
    position: relative;
    height: 100%;
    min-height: 235px;
    padding: 28px 25px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    transition: var(--transition-normal);
}

.contact-next-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.next-card-number {
    position: absolute;
    top: 17px;
    right: 20px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    opacity: .25;
}

.next-card-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
}

.contact-next-card:nth-child(2) .next-card-icon {
    background: var(--secondary-light);
    color: var(--secondary-dark);
}

.contact-next-card h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
}

.contact-next-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   FAQ
========================================= */

.contact-faq-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.contact-faq-intro {
    position: sticky;
    top: 110px;
}

.contact-faq-intro h2 {
    max-width: 400px;
    margin-top: 15px;
}

.contact-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

[data-theme="dark"] .contact-faq-link {
    color: #42c9c2;
}

.contact-faq-accordion {
    display: grid;
    gap: 12px;
}

.contact-faq-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
}

.contact-faq-accordion .accordion-button {
    padding: 19px 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    box-shadow: none;
}

.contact-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-dark);
    background: var(--bg-soft);
}

.contact-faq-accordion .accordion-button::after {
    background-size: 13px;
}

.contact-faq-accordion .accordion-body {
    padding: 4px 20px 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

[data-theme="dark"] .contact-faq-accordion .accordion-button::after {
    filter: invert(1);
}


/* =========================================
   FINAL CTA
========================================= */

.contact-final-cta {
    padding: 20px 0 var(--section-space);
    background: var(--bg-surface);
}

.contact-final-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 42px 45px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(115deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.contact-final-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    font-size: 30px;
}

.contact-final-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.contact-final-content > span {
    color: #73d7d1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-final-content h2 {
    margin: 9px 0;
    font-family: var(--font-heading);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
}

.contact-final-content p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    line-height: 1.7;
}

.contact-final-button {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 21px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-final-button:hover {
    transform: translateY(-3px);
    background: var(--secondary);
    color: #062b32;
}

.contact-final-inner::after {
    content: "";
    position: absolute;
    right: 10%;
    top: -100px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}


/* =========================================
   DARK MODE
========================================= */

[data-theme="dark"] .contact-hero {
    background:
        radial-gradient(circle at 80% 40%, rgba(22,166,161,.12), transparent 33%),
        var(--bg-body);
}

[data-theme="dark"] .contact-primary-btn,
[data-theme="dark"] .contact-submit-btn {
    background: var(--secondary);
    color: #062b32;
}

[data-theme="dark"] .contact-primary-btn:hover,
[data-theme="dark"] .contact-submit-btn:hover {
    background: #42c9c2;
}

[data-theme="dark"] .contact-form-card .form-control,
[data-theme="dark"] .contact-form-card .form-select {
    color-scheme: dark;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
    .contact-hero {
        padding: 65px 0 75px;
    }

    .contact-hero-visual {
        min-height: 430px;
        max-width: 570px;
        margin: 0 auto;
    }

    .contact-enquiry-content,
    .contact-faq-intro {
        position: static;
    }

    .contact-details-section,
    .contact-enquiry-section,
    .contact-next-section,
    .contact-faq-section {
        padding: 70px 0;
    }

    .contact-final-inner {
        flex-wrap: wrap;
    }

    .contact-final-content {
        flex-basis: calc(100% - 100px);
    }

    .contact-final-button {
        margin-left: 95px;
    }
}

@media (max-width: 767px) {
    .contact-page .container-custom {
        width: min(100% - 30px, 540px);
    }

    .contact-hero {
        padding: 48px 0 55px;
    }

    .contact-hero-content h1 {
        font-size: clamp(37px, 10vw, 49px);
        letter-spacing: -1.7px;
    }

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

    .contact-hero-actions {
        gap: 17px;
    }

    .contact-hero-visual {
        min-height: 370px;
        margin-top: 15px;
    }

    .contact-illustration-card {
        width: 88%;
        padding: 20px;
    }

    .circle-large {
        width: 95%;
        height: 300px;
    }

    .circle-small {
        width: 80%;
        height: 250px;
    }

    .floating-phone {
        top: 10px;
        left: 0;
    }

    .floating-message {
        right: 0;
        bottom: 12px;
    }

    .contact-floating-card {
        padding: 9px 11px;
    }

    .contact-floating-icon {
        width: 33px;
        height: 33px;
        font-size: 16px;
    }

    .contact-floating-card strong {
        font-size: 10px;
    }

    .contact-floating-card small {
        font-size: 9px;
    }

    .contact-section-heading {
        margin-bottom: 30px;
    }

    .contact-section-heading h2,
    .contact-faq-intro h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .contact-form-card {
        padding: 24px 18px;
        border-radius: 17px;
    }

    .contact-form-heading h3 {
        font-size: 21px;
    }

    .contact-enquiry-content h2 {
        font-size: 37px;
    }

    .contact-final-inner {
        display: block;
        padding: 30px 24px;
    }

    .contact-final-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 20px;
        font-size: 25px;
    }

    .contact-final-button {
        margin: 24px 0 0;
    }

    .contact-final-content {
        max-width: 100%;
    }

    .contact-faq-accordion .accordion-button {
        padding: 16px;
        font-size: 12px;
    }

    .contact-faq-accordion .accordion-body {
        padding: 3px 16px 17px;
    }
}

@media (max-width: 380px) {
    .contact-hero-visual {
        min-height: 340px;
    }

    .contact-illustration-card {
        width: 92%;
        padding: 17px;
    }

    .contact-floating-card {
        gap: 7px;
        padding: 8px;
    }

    .contact-form-card {
        padding: 21px 14px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}



/* =========================================
   CONTACT DETAILS - PREMIUM CARD REDESIGN
   Replaces the original contact information cards
========================================= */

.contact-details-section {
    position: relative;
    overflow: hidden;
    padding: clamp(68px, 7vw, 100px) 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(22, 166, 161, .07), transparent 26%),
        radial-gradient(circle at 94% 85%, rgba(18, 59, 112, .06), transparent 25%),
        var(--bg-surface);
}

.contact-details-section .contact-section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

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

.contact-detail-card {
    --detail-accent: var(--primary);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 340px;
    padding: 25px 22px 21px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-card);
    box-shadow: 0 8px 28px rgba(16, 42, 67, .045);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.contact-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--detail-accent), var(--secondary));
    opacity: .9;
}

.contact-detail-card::after {
    content: "";
    position: absolute;
    top: -52px;
    right: -52px;
    width: 125px;
    height: 125px;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 15%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.contact-detail-card:hover {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--detail-accent) 45%, var(--border-color));
    box-shadow: 0 18px 42px rgba(16, 42, 67, .10);
}

.contact-detail-phone { --detail-accent: #1765a8; }
.contact-detail-email { --detail-accent: #168b83; }
.contact-detail-address { --detail-accent: #b7791f; }
.contact-detail-social { --detail-accent: #6755b8; }

.contact-detail-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 23px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 17%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--detail-accent) 10%, var(--bg-card));
    color: var(--detail-accent);
    font-size: 22px;
}

.contact-detail-kicker {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.contact-detail-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 9px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.contact-detail-description {
    position: relative;
    z-index: 1;
    min-height: 58px;
    margin: 0 0 17px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.75;
}

.contact-detail-action {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.contact-detail-action i {
    flex: 0 0 auto;
    color: var(--detail-accent);
    font-size: 13px;
}

.contact-detail-action:hover {
    border-color: var(--detail-accent);
    background: color-mix(in srgb, var(--detail-accent) 8%, var(--bg-card));
    color: var(--detail-accent);
}

.contact-email-list {
    display: grid;
    gap: 8px;
}

.contact-detail-action-secondary {
    font-size: 10px;
}

.contact-detail-footnote {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: auto;
    padding-top: 18px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}

.contact-office-address {
    position: relative;
    z-index: 1;
    min-height: 100px;
    margin: 0 0 15px;
    color: var(--text-secondary);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.8;
}

.contact-detail-map {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: var(--detail-accent);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.contact-detail-map:hover {
    color: var(--text-primary);
}

.contact-social-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.contact-social-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--bg-surface);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-social-list a:hover {
    transform: translateX(3px);
    border-color: var(--detail-accent);
    background: color-mix(in srgb, var(--detail-accent) 7%, var(--bg-card));
}

.contact-social-brand {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--detail-accent) 11%, var(--bg-card));
    color: var(--detail-accent);
    font-size: 15px;
}

.contact-social-name {
    flex: 1;
    font-size: 12px;
    font-weight: 750;
}

.contact-social-arrow {
    color: var(--text-muted);
    font-size: 12px;
}

[data-theme="dark"] .contact-detail-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

[data-theme="dark"] .contact-detail-card:hover {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

@media (max-width: 1199px) {
    .contact-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-detail-card {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .contact-details-section {
        padding: 58px 0;
    }

    .contact-details-section .contact-section-heading {
        margin-bottom: 28px;
    }

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

    .contact-detail-card {
        min-height: 0;
        padding: 22px 19px 18px;
        border-radius: 17px;
    }

    .contact-detail-top {
        margin-bottom: 17px;
    }

    .contact-detail-description {
        min-height: 0;
        margin-bottom: 14px;
    }

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

    .contact-detail-footnote {
        padding-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-detail-card,
    .contact-detail-action,
    .contact-social-list a {
        transition: none !important;
    }
}
