/* Liberation.Services — Brand Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-orange: #F27A4B;
    --brand-orange-light: #ff9b73;
    --brand-orange-dark: #d96535;
    --brand-orange-glow: rgba(242, 122, 75, 0.12);
    --brand-gradient: linear-gradient(135deg, #F27A4B 0%, #ff9b73 50%, #f0a060 100%);

    --dark-900: #08080e;
    --dark-800: #0d0d16;
    --dark-700: #12121e;
    --dark-600: #181828;
    --dark-500: #1e1e32;
    --dark-400: #2a2a42;
    --dark-300: #3a3a55;

    --text-primary: #eeeef2;
    --text-secondary: #9898ac;
    --text-muted: #5e5e72;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.08);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.08);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.08);
    --info: #60a5fa;
    --info-bg: rgba(96, 165, 250, 0.08);

    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--dark-800);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--brand-orange); color: white; }

a { color: var(--brand-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-orange-light); }

/* ═══════════ NAVBAR ═══════════ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    background: rgba(13, 13, 22, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar .logo img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.825rem;
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.btn-nav-cta {
    background: var(--brand-orange) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: var(--radius) !important;
}

.btn-nav-cta:hover {
    background: var(--brand-orange-dark) !important;
}

.cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    margin-left: 0.2rem;
    padding: 0 3px;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.1);
    margin: 0 0.35rem;
}

.lang-switcher { display: inline-flex; }

.lang-switcher select {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.3rem 0.4rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-switcher select:hover { border-color: rgba(255,255,255,0.2); color: var(--text-secondary); }

/* ═══════════ MAIN ═══════════ */
main {
    padding: 2.5rem 1.5rem 3rem;
    max-width: 1120px;
    margin: 0 auto;
    min-height: calc(100vh - 64px - 120px);
}

/* ═══════════ PAGE HEADER ═══════════ */
.page-header {
    padding: 1rem 0 2.5rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.page-header .lead {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 1rem; }
h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 0.5rem; }
h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.4rem; }

.lead { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--dark-400);
    border-radius: var(--radius);
    background: var(--dark-600);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn:hover {
    background: var(--dark-500);
    border-color: var(--dark-300);
    color: var(--text-primary);
}

.btn-primary {
    background: var(--brand-orange);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(242, 122, 75, 0);
}

.btn-primary:hover {
    background: var(--brand-orange-dark);
    color: white;
    box-shadow: 0 0 24px rgba(242, 122, 75, 0.3);
    transform: translateY(-1px);
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border-color: rgba(248, 113, 113, 0.25);
}

.btn-danger:hover { background: var(--danger-bg); }

.btn-small { padding: 0.3rem 0.65rem; font-size: 0.78rem; }

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--brand-orange);
    padding: 0.35rem 0.65rem;
}

.btn-ghost:hover { background: var(--brand-orange-glow); }

/* ═══════════ SERVICES GRID ═══════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(242,122,75,0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(242, 122, 75, 0.08);
    border-color: rgba(242, 122, 75, 0.2);
}

.service-card:hover::after { opacity: 1; }

.service-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.service-card .description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.service-card .price .currency {
    font-size: 0.85rem;
    font-weight: 600;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.service-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.service-detail-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.added-to-cart {
    color: var(--success);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ═══════════ SERVICE DETAIL ═══════════ */
.service-detail { max-width: 680px; }

.service-detail h1 { margin-bottom: 0.4rem; }

.service-detail .price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.service-detail .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.service-detail .description p { margin-bottom: 0.6rem; }

/* ═══════════ CARDS (payment, order detail) ═══════════ */
.payment-info {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 600px;
}

.payment-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-info dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.payment-info dd { font-weight: 500; }

.payment-info .help-text { margin-top: 0.6rem; }
.payment-info .help-text a { color: var(--brand-orange); font-weight: 500; }

/* ═══════════ CART ═══════════ */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th {
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cart-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-weight: 500;
}

.cart-table tbody tr { transition: background var(--transition); }
.cart-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.cart-table tfoot td {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 1.25rem;
    border-bottom: none;
    color: var(--brand-orange);
}

/* ═══════════ ORDERS ═══════════ */
.orders-list { display: flex; flex-direction: column; gap: 0.75rem; }

.order-card {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}

.order-card:hover { border-color: rgba(242,122,75,0.2); }

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

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    padding: 0.65rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.orders-table td {
    padding: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.orders-table tbody tr { transition: background var(--transition); }
.orders-table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* ═══════════ STATUS BADGES ═══════════ */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-created, .status-pending { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.08); }
.status-payment_pending, .status-processing { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(251,191,36,0.15); }
.status-payment_confirmed, .status-paid { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,211,153,0.15); }
.status-passport_upload, .status-passport_verified { background: var(--info-bg); color: var(--info); border: 1px solid rgba(96,165,250,0.15); }
.status-documents_generated, .status-documents_approved, .status-documents_signed { background: rgba(167,139,250,0.08); color: #a78bfa; border: 1px solid rgba(167,139,250,0.15); }
.status-provider_notified, .status-account_opened { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,211,153,0.15); }
.status-shipping_created, .status-shipped { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(251,191,36,0.15); }
.status-delivered { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,211,153,0.15); }
.status-cancelled, .status-failed { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(248,113,113,0.15); }
.status-refunded { background: var(--info-bg); color: var(--info); border: 1px solid rgba(96,165,250,0.15); }

/* ═══════════ FORMS ═══════════ */
.form-group { margin-bottom: 1.15rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.825rem;
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--dark-600);
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.form-group textarea { resize: vertical; min-height: 80px; }
.help-text { font-size: 0.825rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ═══════════ AUTH PAGES ═══════════ */
.auth-card {
    max-width: 540px;
    margin: 3rem auto;
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-card form label {
    display: block;
    font-weight: 600;
    font-size: 0.825rem;
    margin-bottom: 0.3rem;
    margin-top: 0.85rem;
    color: var(--text-secondary);
}

.auth-card form input[type="text"],
.auth-card form input[type="email"],
.auth-card form input[type="password"],
.auth-card form input[type="url"],
.auth-card form select,
.auth-card form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--dark-600);
    color: var(--text-primary);
    transition: all var(--transition);
}

.auth-card form input:focus,
.auth-card form select:focus,
.auth-card form textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.auth-card form textarea { resize: vertical; }

.auth-card form button[type="submit"],
.auth-card form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.7rem;
    margin-top: 1.75rem;
    background: var(--brand-orange);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.auth-card form button[type="submit"]:hover,
.auth-card form input[type="submit"]:hover {
    background: var(--brand-orange-dark);
    box-shadow: 0 0 24px rgba(242,122,75,0.3);
}

.auth-card a { color: var(--brand-orange); font-weight: 500; }
.auth-card p { margin: 0.5rem 0; color: var(--text-secondary); font-size: 0.9rem; }

.auth-card hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 1.5rem 0;
}

.auth-card ul { list-style: none; padding: 0; }
.auth-card ul li { margin: 0.25rem 0; }

.auth-card .helptext,
.auth-card .help-block { font-size: 0.78rem; color: var(--text-muted); }

.auth-card .errorlist { color: var(--danger); list-style: none; padding: 0; font-size: 0.82rem; }

.auth-card .form-group { margin-bottom: 1rem; }

.auth-card .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.825rem;
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.auth-card .form-group input[type="text"],
.auth-card .form-group input[type="email"],
.auth-card .form-group input[type="password"],
.auth-card .form-group input[type="tel"],
.auth-card .form-group input[type="url"],
.auth-card .form-group select,
.auth-card .form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--dark-600);
    color: var(--text-primary);
    transition: all var(--transition);
}

.auth-card .form-group input:focus,
.auth-card .form-group select:focus,
.auth-card .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.auth-card .form-group textarea { resize: vertical; min-height: 70px; }

.auth-card .form-group .help-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ═══════════ PROFILE ═══════════ */
.profile-info {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.profile-info dl { margin-bottom: 1.5rem; }
.profile-info dt { font-weight: 600; margin-top: 0.85rem; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.profile-info dd { margin-left: 0; color: var(--text-primary); margin-top: 0.15rem; }

/* ═══════════ INFO BANNER ═══════════ */
.info-banner {
    background: var(--info-bg);
    border: 1px solid rgba(96,165,250,0.15);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.15rem;
    margin: 1rem 0;
    color: var(--info);
    font-size: 0.875rem;
}

/* ═══════════ ALERTS ═══════════ */
.messages { max-width: 1120px; margin: 0 auto; padding: 0.5rem 1.5rem; }

.alert {
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-lg);
    margin: 0.35rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,211,153,0.15); }
.alert-error, .alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(248,113,113,0.15); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(251,191,36,0.15); }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(96,165,250,0.15); }

.success { color: var(--success); font-weight: 600; }
.warning { color: var(--warning); font-weight: 600; }

/* ═══════════ DASHBOARD ═══════════ */
.dashboard-filters {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dashboard-filters select {
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--dark-600);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
}

/* ═══════════ EMPTY STATE ═══════════ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ═══════════ FOOTER ═══════════ */
footer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--dark-900);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand img {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.6;
}

.footer-brand span { color: var(--text-muted); font-size: 0.78rem; }

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--brand-orange); }

.footer-odr {
    max-width: 1120px;
    margin: 0.75rem auto 0;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer-odr a { color: var(--text-muted); }
.footer-odr a:hover { color: var(--brand-orange); }

/* ═══════════ COOKIE BANNER ═══════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--dark-700);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
}

.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner p {
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner a { color: var(--brand-orange); font-weight: 500; }

/* ═══════════ CONSENT CHECKBOXES ═══════════ */
.checkout-consent {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.consent-group {
    margin-bottom: 0.75rem;
}

.consent-group:last-child { margin-bottom: 0; }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--brand-orange);
    cursor: pointer;
}

.consent-label a { color: var(--brand-orange); font-weight: 500; }

.consent-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin: 0.25rem 0 0 1.6rem;
}

/* ═══════════ LEGAL PAGES ═══════════ */
.legal-page {
    max-width: 780px;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.825rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.legal-page p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.3rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.legal-table th {
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-table td {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.legal-table code {
    background: var(--dark-600);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--brand-orange);
}

/* ═══════════ ADDRESS FIELDSETS ═══════════ */
.address-fieldset {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.02);
}

.address-fieldset legend {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 0 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group-half {
    flex: 1;
    min-width: 0;
}

/* ═══════════ DELIVERY METHOD TOGGLE ═══════════ */

.delivery-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--dark-400);
}

.delivery-toggle-btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: var(--dark-700);
    color: var(--text-secondary);
    transition: var(--transition);
}

.delivery-toggle-btn:hover {
    background: var(--dark-600);
    color: var(--text-primary);
}

.delivery-toggle-btn.active {
    background: var(--brand-orange);
    color: #fff;
}

.packeta-country-select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--dark-700);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius);
    transition: var(--transition);
}

.packeta-country-select:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px var(--brand-orange-glow);
}

/* ═══════════ PROGRESS TIMELINE ═══════════ */
.progress-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    position: relative;
    max-width: 720px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(-50% + 16px);
    right: calc(50% + 16px);
    height: 2px;
    background: var(--dark-400);
}

.progress-step:first-child::before { display: none; }

.progress-step.completed::before { background: var(--brand-orange); }
.progress-step.current::before { background: var(--brand-orange); }

.progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}

.progress-step.completed .progress-dot {
    background: var(--brand-orange);
    color: white;
}

.progress-step.current .progress-dot {
    background: var(--brand-orange);
    color: white;
    box-shadow: 0 0 0 4px var(--brand-orange-glow), 0 0 16px rgba(242, 122, 75, 0.3);
}

.progress-step.pending .progress-dot {
    background: var(--dark-500);
    color: var(--text-muted);
    border: 2px solid var(--dark-400);
}

.progress-step.cancelled .progress-dot {
    background: var(--danger-bg);
    color: var(--danger);
    border: 2px solid rgba(248,113,113,0.3);
}

.progress-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

.progress-step.completed .progress-label { color: var(--brand-orange); }
.progress-step.current .progress-label { color: var(--text-primary); font-weight: 600; }
.progress-step.pending .progress-label { color: var(--text-muted); }
.progress-step.cancelled .progress-label { color: var(--danger); }

/* ═══════════ EXPLANATION CARD ═══════════ */
.explanation-card {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.explanation-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.explanation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explanation-card ul li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.explanation-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-orange);
}

/* ═══════════ COMPLETION CARDS ═══════════ */
.completion-card {
    background: var(--dark-700);
    border: 1px solid rgba(52,211,153,0.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.completion-card h3 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.completion-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.completion-card p:last-child { margin-bottom: 0; }

/* ═══════════ SIGNING PAGE ═══════════ */
.signing-container {
    max-width: 900px;
    margin: 0 auto;
}

.pdf-preview-container {
    background: var(--dark-900);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    overflow: auto;
    max-height: 600px;
}

.pdf-preview-container canvas {
    max-width: 100%;
    height: auto;
}

.signature-section {
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.signature-section h3 {
    margin-bottom: 1rem;
}

.signature-pad-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    position: relative;
}

.signature-pad-wrapper canvas {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: var(--radius-lg);
}

.signature-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pdf-page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ═══════════ SERVICE CARD PLACEHOLDER IMAGE ═══════════ */
.service-card-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.service-card-image.country-ge {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.service-card-image.country-kg {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b2e 50%, #3d1f3d 100%);
}

.service-card-image .country-flag {
    font-size: 3.5rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.service-card-image .country-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.4);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .navbar .logo img { height: 26px; }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.1rem;
    }

    .nav-links a { font-size: 0.78rem; padding: 0.3rem 0.45rem; }
    .nav-divider { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.6rem; }
    .order-header { flex-direction: column; gap: 0.5rem; }
    .progress-timeline { gap: 0.25rem; }
    .progress-dot { width: 28px; height: 28px; font-size: 0.65rem; }
    .progress-label { font-size: 0.65rem; max-width: 60px; }
    .progress-step::before { top: 14px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .cookie-banner-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
    .auth-card { margin: 1.5rem 1rem; padding: 1.5rem; }
    main { padding: 1.5rem 1rem 2rem; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { padding: 1.25rem; }
    .form-row { flex-direction: column; gap: 0; }
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 2rem 0 3rem;
}
.contact-form .form-group {
    margin-bottom: 1.25rem;
}
.contact-form label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 500;
    color: var(--text-primary);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: .65rem .85rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-orange);
    outline: none;
}
.contact-form .field-error {
    display: block;
    color: #ef4444;
    font-size: .85rem;
    margin-top: .25rem;
}
.contact-info-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.contact-info-section h2 {
    margin-bottom: 1rem;
}
.pgp-key-section {
    margin-top: 1.5rem;
}
.pgp-key {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-size: .75rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre;
    color: var(--text-secondary);
}
.pgp-key-section code {
    background: var(--bg-surface);
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .85rem;
    color: var(--brand-orange);
}

/* Honeypot antispam */
.ohnohoney { position: absolute; left: -9999px; }

/* TOTP QR code — white background so it's visible on dark theme */
form img[src^="data:image/svg"] {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    display: block;
    max-width: 250px;
    margin: 1rem 0;
}
