/*
 * Styles for public pages the base template does not cover:
 * FAQ, legal copy, tracking, quote features and service detail.
 * Built on the template's own tokens (see custom.css :root).
 */

/* ---- Shared section spacing ---- */
.ct-section {
    padding: 100px 0;
}

.ct-section--shade {
    background-color: var(--site-section, #f4f7f8);
}

@media (max-width: 991px) {
    .ct-section {
        padding: 70px 0;
    }
}

/* ---- Legal copy (privacy, terms) ---- */
.ct-prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--site-muted, #55606a);
    font-size: 16px;
    line-height: 1.85;
}

.ct-prose h2 {
    color: var(--site-heading, var(--primary-color));
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 14px;
    line-height: 1.35;
}

.ct-prose h2:first-of-type {
    margin-top: 0;
}

.ct-prose p {
    margin-bottom: 16px;
}

.ct-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.ct-prose ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.ct-prose ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

.ct-prose a {
    color: var(--accent-color);
    text-decoration: underline;
}

.ct-prose strong {
    color: var(--site-heading, var(--primary-color));
}

.ct-updated {
    display: inline-block;
    background: var(--site-section, #eef4f5);
    color: var(--site-heading, var(--primary-color));
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 34px;
}

/* ---- FAQ accordion ---- */
.ct-faq {
    max-width: 860px;
    margin: 0 auto;
}

.ct-faq details {
    background: var(--site-surface, var(--white-color));
    border: 1px solid var(--site-line, #e6ecee);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 18px rgba(0, 59, 73, .04);
    overflow: hidden;
}

.ct-faq details[open] {
    border-color: rgba(255, 125, 68, .45);
}

.ct-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    padding: 22px 26px;
    color: var(--site-heading, var(--primary-color));
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.ct-faq summary::-webkit-details-marker {
    display: none;
}

.ct-faq summary::after {
    content: "\2b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 15px;
    color: var(--accent-color);
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 125, 68, .12);
    transition: transform .25s ease;
}

.ct-faq details[open] summary::after {
    content: "\f068";
    transform: rotate(180deg);
}

.ct-faq .ct-faq-body {
    padding: 0 26px 24px;
    color: var(--site-muted, #55606a);
    line-height: 1.8;
}

/* ---- Tracking ---- */
.ct-track-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--site-surface, var(--white-color));
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0, 59, 73, .1);
    padding: 48px;
    text-align: center;
}

.ct-track-card h2 {
    color: var(--site-heading, var(--primary-color));
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ct-track-card p.ct-sub {
    color: var(--site-muted, #66727c);
    margin-bottom: 28px;
}

.ct-track-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ct-track-form input {
    flex: 1 1 240px;
    height: 58px;
    border: 1px solid var(--site-line, #dde5e7);
    border-radius: 8px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--site-heading, var(--primary-color));
    background: var(--site-input, #fbfcfc);
}

.ct-track-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--site-surface, var(--white-color));
}

.ct-track-form button {
    height: 58px;
    padding: 0 34px;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease;
}

.ct-track-form button:hover {
    background: var(--primary-color);
}

.ct-track-error {
    margin-top: 16px;
    color: var(--site-error, #c0392b);
    font-size: 14px;
}

.ct-track-hint {
    margin-top: 18px;
    font-size: 14px;
    color: var(--site-muted, #8792a0);
}

.ct-steps {
    margin-top: 52px;
}

.ct-step {
    background: var(--site-surface, var(--white-color));
    border: 1px solid var(--site-line, #e6ecee);
    border-radius: 12px;
    padding: 30px 26px;
    height: 100%;
}

.ct-step .ct-step-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 125, 68, .12);
    color: var(--accent-color);
    margin-bottom: 18px;
}

.ct-step h3 {
    color: var(--site-heading, var(--primary-color));
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ct-step p {
    color: var(--site-muted, #66727c);
    font-size: 15px;
    margin: 0;
}

.ct-track-help {
    text-align: center;
    margin-top: 40px;
    color: var(--site-muted, #66727c);
}

.ct-track-help a {
    color: var(--accent-color);
    font-weight: 600;
}

/* ---- Track result ---- */
.ct-result-card {
    background: var(--site-surface, var(--white-color));
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0, 59, 73, .1);
    padding: 40px;
    margin-bottom: 40px;
}

.ct-result-head {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--site-line, #eef2f3);
    margin-bottom: 28px;
}

.ct-result-head h2 {
    color: var(--site-heading, var(--primary-color));
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.ct-pill {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ct-pill--ok {
    background: rgba(46, 160, 67, .12);
    color: var(--site-success, #1e7b34);
}

.ct-pill--live {
    background: rgba(255, 125, 68, .14);
    color: var(--site-warning, #c25a24);
}

.ct-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.ct-facts dt {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--site-muted, #8792a0);
    font-weight: 600;
    margin-bottom: 6px;
}

.ct-facts dd {
    color: var(--site-heading, var(--primary-color));
    font-weight: 600;
    margin: 0;
}

.ct-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--site-line, #e6ecee);
}

.ct-timeline li {
    position: relative;
    padding: 0 0 26px 30px;
}

.ct-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--site-line, #d9e1e3);
    border: 2px solid var(--white-color);
}

.ct-timeline li.is-latest::before {
    background: var(--accent-color);
}

.ct-timeline .ct-tl-title {
    color: var(--site-heading, var(--primary-color));
    font-weight: 700;
    margin-bottom: 3px;
}

.ct-timeline .ct-tl-meta {
    color: var(--site-muted, #8792a0);
    font-size: 14px;
}

.ct-eyebrow {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--site-muted, #8792a0);
    font-weight: 600;
    margin-bottom: 6px;
}

.ct-card-title {
    color: var(--site-heading, var(--primary-color));
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.ct-empty-title {
    color: var(--site-heading, var(--primary-color));
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 12px;
}

.btn-outline-ct {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    color: var(--site-heading, var(--primary-color));
    font-weight: 600;
    transition: all .25s ease;
}

.btn-outline-ct:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* ---- Tracking progress ---- */
.ct-progress {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.ct-progress li {
    flex: 1 1 0;
    text-align: center;
    position: relative;
    padding-top: 46px;
}

.ct-progress li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--site-line, #e6ecee);
}

.ct-progress li:first-child::before {
    left: 50%;
}

.ct-progress li:last-child::before {
    right: 50%;
}

.ct-progress-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--site-line, #eef2f3);
    color: var(--site-muted, #8792a0);
    font-size: 13px;
    font-weight: 700;
    z-index: 1;
}

.ct-progress li.is-done .ct-progress-dot {
    background: rgba(46, 160, 67, .15);
    color: var(--site-success, #1e7b34);
}

.ct-progress li.is-now .ct-progress-dot {
    background: var(--accent-color);
    color: var(--white-color);
}

.ct-progress-label {
    font-size: 13px;
    color: var(--site-muted, #8792a0);
    display: block;
    line-height: 1.35;
}

.ct-progress li.is-now .ct-progress-label,
.ct-progress li.is-done .ct-progress-label {
    color: var(--site-heading, var(--primary-color));
    font-weight: 600;
}

@media (max-width: 575px) {
    .ct-progress-label {
        font-size: 11px;
    }
}

/* ---- Service detail ---- */
.ct-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
    align-items: start;
}

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

.ct-service-body img.ct-hero {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 30px;
    object-fit: cover;
}

.ct-service-body h2 {
    color: var(--site-heading, var(--primary-color));
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
}

.ct-service-body h3 {
    color: var(--site-heading, var(--primary-color));
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.ct-service-body p {
    color: var(--site-muted, #55606a);
    line-height: 1.85;
    margin-bottom: 16px;
}

.ct-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.ct-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--site-muted, #55606a);
}

.ct-check-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-color);
}

.ct-sidebar-box {
    background: var(--site-section, #f4f7f8);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}

.ct-sidebar-box h3 {
    color: var(--site-heading, var(--primary-color));
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 18px;
}

.ct-service-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-service-nav li {
    border-bottom: 1px solid var(--site-line, #e2e9ea);
}

.ct-service-nav li:last-child {
    border-bottom: none;
}

.ct-service-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    color: var(--site-muted, #41545b);
    font-weight: 600;
    transition: color .2s ease;
}

.ct-service-nav a:hover,
.ct-service-nav li.is-active a {
    color: var(--accent-color);
}

.ct-sidebar-box .btn-default {
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

.ct-sidebar-box .btn-default:last-child {
    margin-bottom: 0;
}

.ct-sidebar-contact p {
    color: var(--site-muted, #55606a);
    margin-bottom: 12px;
    line-height: 1.6;
}

.ct-sidebar-contact p i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* ---- Header language switcher ---- */
.header-contact-us {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-lang {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-contact-us {
        gap: 8px;
    }
}

/* ---- Form consent line ---- */
.ct-consent {
    margin: 0;
    font-size: 14px;
    color: var(--site-muted, #8792a0);
}

.ct-consent a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ---- 404 numeral ---- */
.ct-404 {
    display: block;
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--accent-color);
    opacity: .18;
    margin-bottom: 8px;
}

@media (max-width: 575px) {
    .ct-404 {
        font-size: 68px;
    }
}

/* ---- Quote feature cards ---- */
.ct-quote-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.ct-quote-card {
    background: var(--site-surface, var(--white-color));
    border: 1px solid var(--site-line, #e6ecee);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.ct-quote-card .ct-quote-ico {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 125, 68, .12);
    color: var(--accent-color);
    font-size: 22px;
}

.ct-quote-card h5 {
    color: var(--site-heading, var(--primary-color));
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ct-quote-card p {
    font-size: 14px;
    line-height: 1.7;
}

/* ---- Quote form ---- */
.ct-quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
}

@media (max-width: 991px) {
    .ct-quote-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ct-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 18px;
}

.ct-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--site-muted, #41545b);
    margin-bottom: 6px;
}

.ct-field .ct-optional {
    font-weight: 400;
    color: var(--site-muted, #8792a0);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid var(--site-line, #dde5e7);
    border-radius: 8px;
    background-color: var(--site-input, #fbfcfc);
    font-family: inherit;
    font-size: 15px;
    color: var(--site-heading, var(--primary-color));
}

.ct-field textarea {
    min-height: 120px;
    resize: vertical;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--site-surface, var(--white-color));
}

/* ---- Selects: caret with room to breathe (every public page) ---- */
.ct-field select {
    padding-right: 46px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 46px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23003b49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.ct-quote-steps {
    margin: 0;
    padding-left: 18px;
    color: var(--site-muted, #55606a);
    font-size: 15px;
    line-height: 1.7;
}

.ct-quote-steps li {
    margin-bottom: 12px;
}

.ct-quote-steps li:last-child {
    margin-bottom: 0;
}

.ct-sub {
    color: var(--site-muted, #66727c);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Contact status ---- */
.contact-status {
    display: block;
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    background: rgba(46, 160, 67, .1);
    color: var(--site-success, #1e7b34);
    font-size: 15px;
    font-weight: 600;
}

.help-block.with-errors {
    color: var(--site-error, #c0392b);
    font-size: 14px;
    margin-top: 6px;
}

/* ---- Contact offices list ---- */
.contact-us-offices {
    margin-top: 30px;
}

.contact-us-offices h3 {
    color: var(--site-heading, var(--primary-color));
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-us-offices ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-us-offices li {
    border-bottom: 1px solid var(--site-line, #e6ecee);
    padding: 12px 0;
    color: var(--site-muted, #55606a);
    font-size: 15px;
}

.contact-us-offices li:last-child {
    border-bottom: none;
}

.contact-us-offices li strong {
    display: block;
    color: var(--site-heading, var(--primary-color));
    margin-bottom: 2px;
}

.contact-us-offices li span {
    display: block;
}

.contact-us-offices li a {
    color: var(--accent-color);
}

/* Public site theme */
html[data-theme="dark"] {
    color-scheme: dark;
    --site-surface: #141c24;
    --site-heading: #f0f5f7;
    --site-section: #10171e;
    --site-line: #34434e;
    --site-input: #10171e;
    --site-muted: #b4c3cd;
    --site-success: #84d69b;
    --site-error: #ff9a94;
    --site-warning: #ffb78f;
    --secondary-color: #10171e;
    --text-color: #c3cfd7;
    --divider-color: #34434e;
}

.public-theme-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    background: var(--site-surface, var(--white-color));
    color: var(--site-heading, var(--primary-color));
}

.public-theme-toggle[hidden] {
    display: none;
}

.public-theme-toggle:hover,
.public-theme-toggle[aria-pressed="true"] {
    border-color: var(--accent-color);
}

.public-theme-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.public-logo-dark,
[data-theme="dark"] .public-logo-light {
    display: none;
}

[data-theme="dark"] .public-logo-dark {
    display: inline-block;
}

[data-theme="dark"] .slicknav_icon .slicknav_icon-bar,
[data-theme="dark"] .hero-slider-layout .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--white-color);
}

[data-theme="dark"] .form-control {
    color: var(--site-heading);
    background-color: var(--site-input);
    border-color: var(--site-line);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--site-muted);
}

@media (max-width: 991px) {
    .main-header .navbar > .container {
        flex-wrap: nowrap;
    }

    .main-header .header-contact-us {
        display: flex;
        flex-shrink: 0;
        margin-inline: auto 8px;
    }

    .main-header .header-contact-us > .btn-default {
        display: none;
    }

    .main-header .navbar-brand {
        flex: 0 1 200px;
        min-width: 0;
        margin-inline-end: 8px;
    }

    .main-header .navbar-toggle {
        flex-shrink: 0;
    }
}

@media (max-width: 380px) {
    .main-header .pw-lang-trigger {
        padding-inline: 8px;
    }
}
