.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0;
    font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:focus-visible { outline: 3px solid rgba(227,107,18,.45); outline-offset: 2px; }
.btn:disabled { opacity: .65; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-navy { background: var(--primary-dark); color: #fff; }
.btn-navy:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary-dark); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    width: 100%;
}
.header-bar {
    min-height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand img { height: 64px; width: auto; display: block; }
.brand-footer img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
@media (max-width: 700px) {
    .brand img { height: 50px; }
}
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; list-style: none; gap: 4px; }
.nav-list a {
    display: block; padding: 10px 12px; color: var(--text); font-weight: 600; border-radius: 8px;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--secondary); background: var(--primary-soft); }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle {
    display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--primary-dark); margin: 6px 0; border-radius: 2px; }
.nav-backdrop { display: none; }

.hero {
    position: relative; color: #fff; padding: 84px 0 72px;
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(120deg, rgba(15,39,68,.88), rgba(22,55,95,.62)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}
.hero h1 { font-size: clamp(2.05rem, 4.4vw, 3.5rem); max-width: 18ch; }
.lede { font-size: 1.12rem; max-width: 60ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.track-widget {
    margin-top: 34px; background: #fff; color: var(--text); border-radius: var(--radius-lg);
    padding: 18px; box-shadow: var(--shadow-md);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%;
}
.track-widget label { display: block; font-weight: 600; margin-bottom: 6px; }
.track-widget input {
    width: 100%; min-height: 50px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px;
}

.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm); min-width: 0;
}
.card h3 { color: var(--primary-dark); }
.icon-pill {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: var(--primary-soft); color: var(--secondary); margin-bottom: 14px;
}

.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.flow-item {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 12px; min-width: 0;
}
.flow-item b { display: block; color: var(--accent); font-size: .82rem; margin-bottom: 6px; }

.faq details {
    background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--primary-dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.cta-band { background: var(--primary-dark); color: #fff; padding: 68px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.site-footer { background: #0b1b30; color: #d5deea; padding-top: 56px; width: 100%; }
.site-footer h2 { color: #fff; font-size: 1.02rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 36px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: #d5deea; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; color: #9aabc0; }
.crumbs { padding: 18px 0 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.crumbs a { color: rgba(255,255,255,.8); }
.page-hero .crumbs { color: rgba(255,255,255,.82); }

.form-card {
    background: #fff; border: 1px solid #edf1f6; border-radius: 20px;
    padding: 32px; min-width: 0; box-shadow: 0 12px 40px rgba(15, 39, 68, .06);
}
.form-card.pro { padding: 36px 36px 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > i, .field-icon > i { display: none !important; }

label, .field label, .form-grid label, .field-label {
    display: block;
    margin: 0;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #16375f;
}
.req { color: var(--accent); }

.field input,
.field textarea,
.field select,
.form-grid input,
.form-grid textarea,
.form-grid select,
.track-widget input,
input:not([type]),
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="search"],
select,
textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    color: var(--text);
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 400;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder,
.form-grid input::placeholder,
textarea::placeholder { color: #90a0b2; }
.field input:hover,
.form-grid input:hover,
select:hover,
textarea:hover { border-color: #c5d1de; background: #fff; }
.field input:focus,
.form-grid input:focus,
select:focus,
textarea:focus {
    border-color: #e36b12;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(227, 107, 18, .12);
}
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
input[type="date"] { color: var(--text); }
.field select,
.form-grid select,
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b8b9d' d='M1.2 1.4L6 6.2l4.8-4.8 1.2 1.2L6 8.6.0 2.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 42px;
}
select.select2-hidden-accessible + .select2-container {
    margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    border: 1px solid #dce4ee;
    background: #fff;
    box-shadow: none;
    accent-color: var(--accent);
}

.captcha-row {
    display: grid;
    grid-template-columns: 168px 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}
.captcha-image {
    display: block;
    width: 168px;
    height: 52px;
    border-radius: 12px;
    background: #0f2744;
}
.captcha-refresh {
    min-height: 52px;
    min-width: 48px;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}
.captcha-refresh i { pointer-events: none; }
@media (max-width: 640px) {
    .captcha-row { grid-template-columns: 168px 48px; }
    .captcha-row input { grid-column: 1 / -1; }
}

.visually-hidden,
input[type="file"] {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    min-height: 0 !important;
    pointer-events: none !important;
}

.upload-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; min-height: 156px; padding: 24px 16px;
    border: 1.5px dashed #cfd8e4; border-radius: 16px;
    background: #f6f8fb; text-align: center; cursor: pointer;
    text-transform: none; letter-spacing: 0;
    transition: border-color .18s ease, background .18s ease;
}
.upload-box:hover, .upload-box.is-active { border-color: #e36b12; background: #fff8f2; }
.upload-title { font-weight: 700; color: #16375f; font-size: 1rem; }
.upload-or { color: #8a97a8; font-size: .85rem; font-weight: 500; }
.upload-browse {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 18px; border-radius: 10px;
    background: #e36b12; border: 0; color: #fff; font-weight: 700; font-size: .88rem;
    font-family: var(--font);
}
.file-chip {
    margin-top: 10px; background: #f4f7fb; border-radius: 12px; padding: 12px 14px 10px;
    display: none;
}
.file-chip.is-on { display: block; }
.file-chip-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.file-chip-name { font-weight: 600; color: #1b2430; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip-remove {
    border: 0; background: transparent; color: #8a97a8; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.file-chip-bar { display: block; height: 4px; margin-top: 10px; background: #e36b12; border-radius: 99px; width: 100%; }
.file-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; margin-top: 10px; }

.form-section { margin: 28px 0 4px; padding-top: 18px; border-top: 1px solid #edf1f6; }
.form-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section h2 {
    display: block; color: var(--primary-dark); font-size: 1.15rem; margin: 0 0 18px;
}
.form-section h2 i { display: none; }
.check-row {
    display: flex; align-items: flex-start; gap: 12px;
    margin: 22px 0 8px; padding: 0; background: transparent; border: 0;
}
.check-row input[type=checkbox] {
    width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent);
    min-height: 18px; border-radius: 4px;
}
.check-row label { margin: 0; font-size: .95rem; font-weight: 500; color: #334155; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.help { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-wrap button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: 0; background: transparent; color: #8a97a8; cursor: pointer;
}
.strength { height: 4px; background: #edf1f6; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }

.select2-container { width: 100% !important; max-width: 100% !important; }
.select2-container--default .select2-selection--single {
    height: 52px; border: 1px solid #dce4ee; border-radius: 12px; background: #f8fafc;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px; padding-left: 16px; font-family: var(--font); color: var(--text);
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #98a4b3;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #e36b12; background: #fff; box-shadow: 0 0 0 4px rgba(227,107,18,.12);
}
.select2-dropdown { font-family: var(--font); border-color: #e4eaf1; }

.toast-stack {
    position: fixed; right: 16px; top: 92px; z-index: 1400;
    display: grid; gap: 10px; width: min(360px, calc(100% - 24px));
}
.toast {
    background: #fff; border-radius: 12px; padding: 14px 16px 12px; box-shadow: var(--shadow-md);
    border-left: 4px solid var(--info); font-weight: 600; position: relative;
}
.toast.success { border-left-color: var(--ok); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warn); }
.toast.loading { border-left-color: var(--secondary); }
.toast .toast-close { position: absolute; right: 8px; top: 8px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.toast .toast-bar { height: 3px; background: currentColor; margin-top: 10px; transform-origin: left; animation: toastbar 5.4s linear; }
@keyframes toastbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.status-chip {
    display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
    padding: 6px 12px; font-weight: 700; background: var(--primary-soft); color: var(--secondary);
}
.status-chip.delivered { background: #eaf8f0; color: var(--ok); }
.status-chip.cancelled, .status-chip.return { background: #fde8e6; color: var(--danger); }
.status-chip.hold { background: #fff6e5; color: var(--warn); }

.timeline { list-style: none; margin: 8px 0 0; }
.timeline li {
    display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 10px 0;
    position: relative;
}
.timeline li + li .dot-col::before {
    content: ""; position: absolute; left: 8px; top: -18px; width: 2px; height: 18px; background: var(--border);
}
.dot {
    width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--border); background: #fff; margin-top: 4px;
}
.timeline li.is-done .dot { border-color: var(--ok); background: var(--ok); }
.timeline li.is-current .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(227,107,18,.18); }
.timeline li.is-upcoming { opacity: .55; }

.media-card { overflow: hidden; padding: 0; border-radius: 20px; }
.media-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.media-card .pad { padding: 22px; }

.register-shell { padding: 28px 0 72px; background: var(--paper); }
.sister-note { margin-top: 18px; color: rgba(255,255,255,.8); }

.register-shell .crumbs, .register-shell .crumbs a { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.list-check { list-style: none; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.service-block { margin-bottom: 24px; }
.service-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.nav-close {
    display: none; position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; border: 0; background: var(--paper); border-radius: 8px; font-size: 1.4rem; cursor: pointer;
}

.hero-note { margin-top: 14px; color: #ffe1c4; font-weight: 600; }
.track-widget { padding: 20px; gap: 14px; align-items: end; }
.track-widget-pro .field { margin: 0; gap: 8px; }
.track-widget input { min-height: 48px; }
.track-assist { margin-top: 36px; }
.track-result { display: grid; gap: 18px; }
.track-hero-card {
    background: linear-gradient(135deg, #0f2744 0%, #1b4a7a 100%);
    color: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow-md);
}
.track-hero-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.track-hero-card h2 { color: #fff; margin: 0; }
.track-hero-card .kicker { color: #ffb26b; }
.route-line { display: grid; grid-template-columns: minmax(120px,1fr) 2fr minmax(120px,1fr); gap: 14px; align-items: center; margin-top: 22px; }
.route-end { display: grid; gap: 4px; }
.route-end b { font-size: 1.05rem; letter-spacing: .06em; }
.route-end span { color: rgba(255,255,255,.78); font-size: .92rem; }
.route-end.is-dest { text-align: right; }
.route-rail { height: 8px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; }
.route-rail span { display: block; height: 100%; background: linear-gradient(90deg, #ffb26b, #e36b12); }
.progress-copy { margin-top: 14px; color: rgba(255,255,255,.8); }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.meta-tile {
    display: flex; gap: 12px; align-items: flex-start; background: #fff;
    border: 1px solid var(--border); border-radius: 16px; padding: 16px;
}
.meta-icon {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--primary-soft); color: var(--secondary);
}
.meta-label { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.party-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.party-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.party-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.party-name { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.muted { color: var(--muted); }
.history-list { list-style: none; }
.history-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: grid; gap: 4px; }
.history-list span, .history-list em { color: var(--muted); font-style: normal; }
.register-hero-panel {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 39, 68, .06);
    border: 1px solid #edf1f6;
    position: sticky;
    top: 96px;
    align-self: start;
}
.register-hero-panel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.service-block {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
}
.service-block .service-photo {
    width: 300px;
    min-width: 300px;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    display: block;
}
.service-block .service-body { flex: 1; min-width: 0; padding: 28px 28px 24px; }
@media (max-width: 1100px) {
    .service-block { flex-direction: column; }
    .service-block .service-photo { width: 100%; min-width: 0; height: 200px; min-height: 200px; }
    .service-block .service-body { padding: 20px; }
    .register-hero-panel { position: static; }
    .register-layout { grid-template-columns: 1fr; }
}
.register-hero-panel .pad { padding: 22px; }
.register-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.register-layout .form-card {
    margin: 0;
    align-self: start;
}
@media (max-width: 1100px) {
    .register-layout { grid-template-columns: 1fr; }
    .register-hero-panel { position: static; }
}
.strength { height: 6px; background: #e6edf5; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.strength span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#e36b12,#0f2744); transition: width .2s ease; }

@media (max-width: 900px) {
    .register-layout, .meta-grid, .party-grid, .timeline-wrap, .route-line { grid-template-columns: 1fr; }
    .route-end.is-dest { text-align: left; }
}
@media (max-width: 900px) {
    .split, .service-meta { grid-template-columns: 1fr; }
    .nav-close { display: block; }
}
