/* English images used by the original mobile header and industries section. */
.waphear .logo { background-image: url(../images/en/logo.svg); }
.application { background-image: url(../images/en/industry-applications.svg); }
.news { background-image: url(../images/en/news-background.svg); }

/* Keep wide banner artwork from tiling at intermediate screen widths. */
.banner-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Some category templates repeat the masthead directly after the header. */
.banner-image + .banner-image { display: none; }

/* Keep carousel controls visible over the homepage photography. */
.lb .swiper-pagination-bullet { box-shadow: var(--carousel-dot-ring, none); }
.lb .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background: var(--carousel-muted-dot, #687e9a);
}
.lb .swiper-button-prev { color: var(--carousel-prev-color, #1a5db6); }
.lb .swiper-button-next { color: var(--carousel-next-color, #1a5db6); }
.lb .swiper-container:has(.swiper-slide-active img[src$="slide-utility-marking-factory.webp"]),
.lb .swiper-container:has(.swiper-slide-active img[src$="slide-marker-posts-field.webp"]),
.lb .swiper-container:has(.swiper-slide-active .carousel-picture) {
    --carousel-muted-dot: #24496e;
    --carousel-dot-ring: 0 0 0 2px #eaf6ff;
    --carousel-prev-color: #eaf6ff;
}
.lb .swiper-container:has(.swiper-slide-active .carousel-picture) { --carousel-next-color: #eaf6ff; }
.lb .carousel-picture, .lb .swiper-slide .carousel-picture img { display: block; width: 100%; }

@media (min-width: 769px) {
    .header .top ul {
        display: flex;
        width: auto;
        gap: 12px;
    }
    .header .top ul li {
        width: auto;
        padding-right: 12px;
        white-space: nowrap;
    }
    .header .top ul li:last-child {
        margin-left: 0;
        padding-right: 0;
    }
    .header-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .header-logo h1 { min-width: 0; }
    .header-tel {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: clamp(8px, 1vw, 16px);
        width: auto;
        margin: 0;
    }
    .header-tel img {
        width: clamp(24px, 2.2vw, 40px);
        margin: 0;
    }
    .header-tel .tel { width: auto; }
    .header-tel .tel span {
        width: auto;
        white-space: nowrap;
        font-size: clamp(16px, 1.55vw, 28px);
        line-height: 1.25;
    }
    .header-tel .tel span + span { margin-top: 4px; }
}

/* Give longer English labels room inside the original navigation and cards. */
.nva ul {
    display: flex;
}
.nva ul li {
    width: auto;
    float: none;
    flex: 1 1 auto;
}
.nva ul li a {
    padding-inline: 5px;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: clamp(11px, 1.05vw, 14px);
}

.title-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.title-img p {
    max-width: 94%;
    margin: 0;
    font-size: clamp(13px, 1.24vw, 19px);
    line-height: 1.15;
}
.title-img img {
    width: 23%;
    margin: 0;
}

.peo-title ul li a, .news .title ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2px 5px;
    box-sizing: border-box;
    line-height: 1.15;
}
.peo-title ul li a {
    font-size: clamp(12px, 1.2vw, 16px);
}
.news .title ul li a {
    font-size: clamp(11px, 1.15vw, 15px);
}
.prgt-title {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.25;
}
.prgt-title span {
    flex: 1;
    min-width: 0;
    font-size: clamp(13px, 1.25vw, 18px);
    overflow-wrap: anywhere;
}
.prgt-title i {
    flex: 0 0 20%;
    margin: 0;
}
.prgt ul li .prgt-p span {
    width: auto;
    min-width: 60px;
    max-width: 70%;
}
.case_list .h2, .news_list .h2 {
    white-space: normal;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.adv-title ul li {
    padding-inline: 5px;
    line-height: 1.2;
    font-size: clamp(12px, 1.1vw, 17px);
}
.right-title .zh {
    height: auto;
    padding: .55em .7em;
    background-size: 100% 100%;
    line-height: 1.3;
}
.about-moer {
    min-width: 106px;
}
.about .about-box .about-r .about-r-jj .about-r-nr {
    height: auto;
    max-height: none;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    text-indent: 0;
    white-space: pre-line;
}
.inner-about .block-1 { margin-top: clamp(20px, 2.2vw, 32px); }
.inner-about .indexshow-title {
    height: auto;
    margin-bottom: 16px;
}
.inner-about .indexshow-title .cn {
    line-height: 1.2;
    text-transform: uppercase;
}
.inner-about .block-1 .cont {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
}
.inner-about .block-1 .cont p {
    margin: 0 0 16px;
    color: #595757;
    font-size: inherit;
}
.inner-about .block-1 .cont p:last-child { margin-bottom: 0; }

/* Keep article headlines, dates and previews inside the existing news columns. */
.news_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(18px, 2vw, 36px);
}
.news_list .column {
    width: auto;
    margin-inline: 0;
    padding-inline: 0;
}
.news_list .column > a {
    height: 100%;
    box-sizing: border-box;
}
.news_list .h2 > span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.6em;
    overflow: hidden;
}
.news_tui .recommend h6 {
    height: auto;
    line-height: 1.3;
}
.news_tui .recommend p {
    height: auto;
    margin-block: 6px 10px;
}
.list_news ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 47px;
    height: auto;
    padding-block: 5px;
    line-height: 1.25;
}
.list_news ul li span {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin: 0;
}
.list_news ul li a {
    width: auto;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.list_news ul li i {
    flex: 0 0 auto;
    font-size: .82em;
    white-space: nowrap;
}
.right_news ul li p {
    line-height: 1.4;
}
.right_news ul li p:first-child {
    height: auto;
    min-height: 24px;
    overflow: visible;
}
.right_news ul li p:nth-child(2) {
    clear: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 24px;
}

.page-contact .center { border-bottom: 0; }
.page-contact .center ul {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
}
.page-contact .center .contact-address-row { border-top: 0; }
.page-contact .center ul li {
    display: flex;
    flex: 0 0 calc(100% / 6);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 93px;
    height: auto;
    margin: 0;
    padding: 10px 7px;
    border-width: 0 1px 1px 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.page-contact .center ul li i {
    flex: 0 0 auto;
    margin-right: 7px;
}
.page-contact .center ul .li-2 {
    font-size: clamp(12px, 1.05vw, 15px);
}
.page-contact .center ul .li-2 a[href^="tel:"] {
    white-space: nowrap;
    font-size: clamp(12px, .94vw, 14px);
}
.page-contact .center ul .contact-website { flex-grow: 1; }
.page-contact .center ul .li-2.contact-address {
    flex: 1 0 0;
    justify-content: flex-start;
    padding-inline: clamp(12px, 1.7vw, 26px);
    text-align: left;
}
.footer {
    background-size: 100% 100%;
}
.footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px clamp(10px, 1.15vw, 20px);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #fff;
}
.footer .footer-nav a {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.4;
    white-space: nowrap;
}
.footer .footer-box .footer-r {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 1.6vw, 28px);
}
.footer .footer-box .footer-r .footer-r-xx {
    float: none;
    width: auto;
    padding-right: clamp(8px, 1.4vw, 20px);
}
.footer .footer-box .footer-r .footer-r-xx li {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
    padding-block: 6px;
    overflow-wrap: anywhere;
}
.footer .footer-box .footer-r .footer-r-xx li img {
    flex: 0 0 auto;
    float: none;
    margin: 0;
}
.footer .footer-box .footer-r .footer-r-xx li span { min-width: 0; }
.footer-r-xx a + a {
    margin-left: .55em;
}
.footer .footer-box .footer-r .footer-r-ewm {
    float: none;
    width: clamp(76px, 8vw, 125px);
    margin-top: 0;
}
.footer .footer-box .footer-r .footer-r-ewm img { width: 100%; }

/* These old decorative URLs have no matching files. */
.indexshow-title, .qywh ul::after, .footer_float ul li {
    background-image: none;
}

@media (min-width: 769px) and (max-width: 920px) {
    .nva ul.middle { width: 96%; }
    .nva ul li a { padding-inline: 4px; }
    .footer .footer-box .footer-l p { padding-left: 0; }
}

@media (min-width: 769px) and (max-width: 1279px) {
    .page-contact .center ul li { padding-inline: 5px; }
    .page-contact .center ul .li-1 {
        flex-basis: 22%;
        font-size: 14px;
    }
    .page-contact .center ul .li-2 { flex-basis: 28%; }
    .page-contact .center ul li i {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 22px;
    }
}

@media (max-width: 1000px) {
    .news_list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
    .lb:hover .swiper-button-prev, .lb:hover .swiper-button-next { display: none !important; }
    .lb .swiper-container-horizontal > .swiper-pagination-bullets {
        left: 0;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .lb .swiper-pagination-bullet {
        flex: 0 0 auto;
        margin: 0 !important;
    }
    .peo-title ul li a { font-size: 12px; }
    .prgt-title {
        height: 54px;
        padding: 4px 6px;
    }
    .prgt-title span { font-size: 12px; }
    .adv-title ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3px 4px;
    }
    .page-contact .center ul li { flex-basis: 50%; }
    .page-contact .center ul li.wapcont { display: none; }
    .page-contact .center ul .li-2 { font-size: 14px; }
    .page-contact .center ul .li-2 a[href^="tel:"] { font-size: clamp(11px, 3.5vw, 14px); }
    .footer { padding-bottom: 52px; }
    .footer .footer-nav { display: none; }
    .footer .footer-box .footer-r { display: block; }
    .footer .footer-box .footer-r .footer-r-xx { padding-right: 0; }
    .footer .footer-box .footer-l p:first-of-type { display: block; }
    .footer_float ul li {
        font-size: 14px;
        white-space: nowrap;
    }
    .case_list.wap_case {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 8px;
    }
    .case_list.wap_case > .column {
        width: auto;
        margin: 0;
    }
    .case_list.wap_case .h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: 2.6em;
        overflow: hidden;
    }
    .case_list.wap_case + .v9_pages:not(:empty) {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
    }
    .case_list.wap_case + .v9_pages > :is(a, span) { margin-bottom: 0; }
    .case_list.search-list { display: inline-block; }
    .case_list .search-empty { white-space: normal; }
}

/* ==========================================================================
   Direct Floating Call & Email Dock (replaces legacy .yb_conct sidebar)
   ========================================================================== */
.yb_conct { display: none !important; }

.quick-contact-dock {
    position: fixed;
    right: 20px;
    bottom: 96px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.quick-contact-dock .qcd-item {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    height: 52px;
    border-radius: 999px;
    background: #1a5db6;
    color: #fff;
    box-shadow: 0 8px 22px rgba(26, 93, 182, 0.28);
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-contact-dock .qcd-item:hover,
.quick-contact-dock .qcd-item:focus-visible {
    background: #134a94;
    box-shadow: 0 10px 26px rgba(19, 74, 148, 0.36);
    transform: translateY(-1px);
    outline: none;
}

.quick-contact-dock .qcd-item:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1a5db6;
}

.quick-contact-dock .qcd-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.quick-contact-dock .qcd-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 0;
    opacity: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: max-width 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
}

.quick-contact-dock .qcd-item:hover .qcd-detail,
.quick-contact-dock .qcd-item:focus-visible .qcd-detail {
    max-width: 240px;
    opacity: 1;
    padding: 0 4px 0 18px;
}

.quick-contact-dock .qcd-detail small {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.quick-contact-dock .qcd-detail strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

/* Mobile bottom bar: even 4-column flex layout */
.footer_float ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer_float ul li {
    float: none;
    flex: 1 1 0;
    width: auto;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.footer_float ul li:last-child {
    border-right: none;
}

.footer_float ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    padding: 0 4px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

/* ==========================================================================
   Contact Details Grid & Redesigned Online Message Inquiry Form
   ========================================================================== */
.page-contact {
    padding: 28px 0 56px;
    margin-top: 12px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-detail-card:hover {
    border-color: #b8cde8;
    box-shadow: 0 4px 14px rgba(26, 93, 182, 0.08);
}

.contact-detail-address {
    grid-column: 1 / -1;
}

.contact-detail-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a5db6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.contact-detail-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.contact-detail-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
    line-height: 1.3;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
    color: #222;
    line-height: 1.45;
    overflow-wrap: break-word;
    text-decoration: none;
}

a.contact-detail-value {
    white-space: nowrap;
}

a.contact-detail-value:hover {
    color: #1a5db6;
    text-decoration: underline;
}

/* Online Message Section */
.contact-inquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    margin-top: 44px;
    padding: clamp(24px, 3.2vw, 44px);
    background: #fff;
    border: 1px solid #e4e9f0;
    border-top: 3px solid #1a5db6;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(15, 35, 66, 0.05);
    text-align: left;
}

.contact-inquiry-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a5db6;
    margin-bottom: 10px;
}

.contact-inquiry-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.contact-inquiry-lead {
    margin: 0 0 22px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}

.contact-inquiry-copy {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.72;
    color: #555e6d;
}

.contact-inquiry-note {
    margin-top: 24px;
    padding: 14px 16px;
    background: #f4f8fd;
    border-left: 3px solid #1a5db6;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-inquiry-note strong {
    font-size: 14px;
    color: #1a5db6;
}

.contact-inquiry-note span {
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
}

/* Form Elements */
.ht-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ht-form-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.5;
}

.ht-form-row {
    margin-bottom: 20px;
}

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

.ht-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ht-label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.ht-req {
    color: #d93025;
    font-weight: 700;
}

.ht-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #cfd8e3;
    border-radius: 5px;
    background: #fbfcfe;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    color: #1f2937;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ht-input::placeholder {
    color: #8a94a6;
}

.ht-input:hover {
    border-color: #9cb3d1;
}

.ht-input:focus {
    outline: none;
    background: #fff;
    border-color: #1a5db6;
    box-shadow: 0 0 0 3px rgba(26, 93, 182, 0.14);
}

.ht-textarea {
    min-height: 118px;
    resize: vertical;
}

.ht-hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.ht-error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
    color: #c62828;
}

.ht-error:empty {
    margin-top: 0;
}

.ht-field.is-invalid .ht-input {
    border-color: #d93025;
    background: #fff9f9;
}

.ht-field.is-invalid .ht-input:focus {
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.14);
}

.ht-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.ht-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 30px;
    border: none;
    border-radius: 5px;
    background: #1a5db6;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(26, 93, 182, 0.24);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.ht-submit-btn:hover:not(:disabled) {
    background: #134a94;
    box-shadow: 0 8px 20px rgba(19, 74, 148, 0.32);
    transform: translateY(-1px);
}

.ht-submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1a5db6;
}

.ht-submit-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.ht-submit-btn .ht-btn-arrow {
    font-size: 17px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ht-submit-btn:hover:not(:disabled) .ht-btn-arrow {
    transform: translateX(3px);
}

.ht-required-note {
    font-size: 13px;
    color: #6b7280;
}

/* ==========================================================================
   Dedicated Thank-You Conversion Page (/thank-you/)
   ========================================================================== */
.thank-you-card {
    max-width: 780px;
    margin: 40px auto 68px;
    padding: clamp(28px, 4vw, 52px);
    background: #fff;
    border: 1px solid #e4e9f0;
    border-top: 4px solid #1a5db6;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 35, 66, 0.06);
    text-align: center;
}

.ty-badge {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eaf3ff;
    border: 2px solid #1a5db6;
    color: #1a5db6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.ty-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1a5db6;
    margin-bottom: 10px;
}

.ty-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    color: #1f2937;
}

.ty-lead {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.ty-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.ty-next-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f7faff;
    border: 1px solid #dde8f6;
    border-radius: 6px;
}

.ty-step-num {
    flex: 0 0 auto;
    font-family: "ali", inherit;
    font-size: 24px;
    line-height: 1;
    color: #1a5db6;
    font-weight: 700;
}

.ty-next-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.ty-next-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555e6d;
}

.ty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.ty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ty-btn-primary {
    background: #1a5db6;
    color: #fff;
}

.ty-btn-primary:hover {
    background: #134a94;
    color: #fff;
}

.ty-btn-secondary {
    background: #fff;
    color: #1a5db6;
    border: 1px solid #b9cde8;
}

.ty-btn-secondary:hover {
    background: #f4f8fd;
    border-color: #1a5db6;
    color: #134a94;
}

.ty-direct {
    padding-top: 22px;
    border-top: 1px solid #eaedf2;
    font-size: 14px;
    color: #6b7280;
}

.ty-direct-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.ty-direct-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a5db6;
}

.ty-direct-links a:hover {
    text-decoration: underline;
}

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

@media (max-width: 1024px) {
    .contact-inquiry {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .quick-contact-dock {
        display: none;
    }
    .page-contact {
        padding: 12px 0 36px;
    }
    .contact-details-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .contact-detail-card {
        padding: 14px 16px;
    }
    .contact-inquiry {
        margin-top: 28px;
        padding: 20px 16px;
    }
    .ht-form-row-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .ht-input {
        font-size: 16px;
        padding: 12px 13px;
    }
    .ht-submit-btn {
        width: 100%;
    }
    .thank-you-card {
        margin: 20px auto 40px;
        padding: 24px 18px;
    }
    .ty-next-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ty-actions {
        flex-direction: column;
    }
    .ty-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
