:root {
    --bg: #08111f;
    --panel: rgba(255,255,255,0.95);
    --text: #12233b;
    --muted: #6a7a92;
    --line: rgba(17, 33, 57, 0.10);
    --primary: #2d7cff;
    --primary-dark: #1b63dd;
    --secondary: #eef4ff;
    --danger: #c62828;
    --shadow: 0 18px 60px rgba(8, 17, 31, 0.18);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, sans-serif; background: linear-gradient(180deg, #08111f 0%, #111e35 24%, #edf4fc 100%); color: var(--text); min-height: 100vh; position: relative; }
.page-bg { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 10%, rgba(45,124,255,0.20), transparent 28%), radial-gradient(circle at 88% 14%, rgba(103,179,255,0.14), transparent 22%), radial-gradient(circle at 70% 68%, rgba(255,255,255,0.10), transparent 25%); }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(7, 13, 24, 0.74); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand-mark { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 56px; overflow: hidden; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.20)); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-title { font-size: 22px; font-weight: 700; line-height: 1.05; }
.brand-subtitle { font-size: 12px; color: rgba(255,255,255,0.72); margin-top: 3px; display:block; }
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.nav-links, .nav-account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-account { padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.16); }
.main-nav a { text-decoration: none; color: rgba(255,255,255,0.90); padding: 10px 14px; border-radius: 8px; transition: 0.2s ease; font-weight: 700; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.13); color: #fff; }
.main-nav .nav-login { background: #fff; color: #10213a; box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.main-nav .nav-login:hover, .main-nav .nav-login.active { background: #eef4ff; color: #10213a; }
.nav-toggle, .nav-toggle-label { display: none; }
.main-content { padding: 34px 0 56px; }
.flash-stack { display: grid; gap: 10px; margin-bottom: 18px; }
.flash { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(215,229,247,0.90); box-shadow: 0 10px 30px rgba(8,17,31,0.12); font-weight: 700; }
.flash-success { color: #1d6b3a; background: #eefaf3; }
.flash-warning { color: #8a5a00; background: #fff7df; }
.flash-error { color: var(--danger); background: #fff1f1; }
.hero, .info-card, .content-block, .wide-banner, .empty-state, .footer-col, .listing-card { background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95)); border: 1px solid rgba(255,255,255,0.66); border-radius: 32px; box-shadow: var(--shadow); }
.hero-home { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; padding: 36px; margin-bottom: 28px; }
.hero-content h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; letter-spacing: -0.04em; }
.hero-lead { font-size: 18px; line-height: 1.72; color: #334762; max-width: 780px; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 8px 12px; border-radius: 999px; background: rgba(45,124,255,0.10); color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-badges span, .chip, .feature-pill, .mini-label { display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 999px; background: #eef4ff; color: #22426f; font-size: 13px; font-weight: 700; }
.chip-success { background: #e9f8ef; color: #1d6b3a; }
.image-card { display: flex; align-items: stretch; }
.hero-visual-card { width: 100%; border-radius: 28px; overflow: hidden; background: #f5f9ff; }
.hero-visual-img, .wide-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.path-grid, .faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; }
.path-panel { background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95)); border: 1px solid rgba(255,255,255,0.66); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; }
.info-card { padding: 22px; }
.info-card-pro { position: relative; }
.icon-wrap { display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-art { width: 132px; height: 132px; object-fit: contain; display: block; }
.text-card { display: flex; flex-direction: column; justify-content: center; }
.content-block { padding: 24px; margin-bottom: 28px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps-list { display: grid; gap: 14px; margin-top: 12px; }
.step-row { display: flex; gap: 14px; align-items: flex-start; }
.step-no { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #edf4ff; color: #2250a0; font-weight: 700; }
.wide-banner { display: grid; grid-template-columns: 1fr 0.95fr; gap: 24px; padding: 24px; margin-bottom: 30px; align-items: center; }
.section-headline { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
.section-headline-spaced { margin-top: 8px; }
.section-headline h2 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.20); }
.section-headline .eyebrow { background: rgba(255,255,255,0.14); color: #dbeaff; }
.cards { display: grid; gap: 18px; }
.cards-listing { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-bottom: 28px; }
.inquiry-cards { grid-template-columns: 1fr; }
.listing-card { overflow: hidden; }
.best-offer { border-color: rgba(45,124,255,0.70); box-shadow: 0 18px 60px rgba(45,124,255,0.20); }
.selected-offer { border-color: rgba(31,141,74,0.75); box-shadow: 0 18px 60px rgba(31,141,74,0.18); }
.card-image { width: 100%; height: 240px; object-fit: cover; display: block; }
.card-image-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #dfe9f7, #edf3fb); color: #58708f; font-weight: 700; }
.card-body { padding: 22px; }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-body h3 { margin: 0 0 12px; font-size: 24px; }
.card-text, .muted, .info-card p, .content-block p, .footer-col p { line-height: 1.7; }
.card-actions { margin-top: 18px; }
.listing-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.listing-summary div { padding: 12px; border: 1px solid rgba(17,33,57,0.10); border-radius: 8px; background: rgba(238,244,255,0.68); }
.listing-summary span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.listing-summary strong { display: block; color: #10213a; line-height: 1.35; overflow-wrap: anywhere; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 14px; border: none; cursor: pointer; font-weight: 700; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #67b3ff); color: #fff; box-shadow: 0 12px 28px rgba(45,124,255,0.26); }
.btn-secondary { background: var(--secondary); color: #21416f; }
.btn-danger { background: linear-gradient(135deg, #bf2a2a, #e05050); color: #fff; }
.muted { color: var(--muted); font-size: 14px; }
.site-footer { padding: 26px 0 40px; color: #10213a; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.footer-col { padding: 18px; background: rgba(255,255,255,0.94); border: 1px solid rgba(215,229,247,0.90); border-radius: 20px; backdrop-filter: blur(12px); color: #10213a; }
.footer-col p { color: #40546f; }
@media (min-width: 721px) {
    .inquiry-cards .listing-card { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); align-items: stretch; }
    .inquiry-cards .card-image { height: 100%; min-height: 240px; }
}
@media (max-width: 1100px) { .hero-home, .content-grid, .section-grid, .path-grid, .faq-grid, .footer-inner, .wide-banner { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .header-inner { flex-direction: column; align-items: flex-start; } .main-nav { width: 100%; align-items: flex-start; } .nav-account { border-left: none; padding-left: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.14); width: 100%; } }
@media (max-width: 720px) { .hero-home, .info-card, .content-block, .wide-banner, .empty-state { padding: 22px; } .hero-content h1 { font-size: 32px; } .hero-lead { font-size: 16px; } .card-image { height: 210px; } .brand-title { font-size: 18px; } .brand-mark { width: 50px; height: 50px; flex-basis: 50px; } }

.hero-compact { padding: 28px; margin-bottom: 24px; }
.hero-compact h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.08; }
.centered-shell { max-width: 720px; margin: 0 auto; }
.surface-card, .form-elevated, .stat-box, .table-wrap { background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95)); border: 1px solid rgba(255,255,255,0.66); border-radius: 24px; box-shadow: var(--shadow); }
.login-card, .surface-card { padding: 24px; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 700; color: #1b2d47; }
.form input, .form textarea, .form select { width: 100%; border: 1px solid rgba(17,33,57,0.16); border-radius: 12px; padding: 13px 14px; font: inherit; color: var(--text); background: #fff; }
.form textarea { resize: vertical; }
.form-elevated { padding: 24px; margin-bottom: 28px; }
.form-tight { margin-top: 18px; }
.form-grid { display: grid; gap: 16px; }
.two-col { grid-template-columns: repeat(2, 1fr); }
.three-col { grid-template-columns: repeat(3, 1fr); }
.wizard-box, .filter-bar { background: rgba(255,255,255,0.72); border: 1px solid rgba(215,229,247,0.90); border-radius: 18px; padding: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.choice-card { display: flex !important; align-items: center; gap: 10px !important; padding: 14px; border: 1px solid rgba(17,33,57,0.12); border-radius: 12px; background: #fff; cursor: pointer; }
.choice-card input { width: auto; }
.choice-card:has(input:checked) { border-color: rgba(45,124,255,0.85); background: #eef4ff; }
.filter-bar { display: grid; grid-template-columns: minmax(170px, 0.9fr) minmax(210px, 1fr) minmax(220px, 1.15fr) auto; gap: 14px; align-items: end; margin-bottom: 26px; box-shadow: var(--shadow); }
.filter-bar label { display: grid; gap: 8px; font-weight: 700; color: #1b2d47; }
.filter-bar select, .filter-bar input { border: 1px solid rgba(17,33,57,0.16); border-radius: 12px; padding: 13px 14px; font: inherit; background: #fff; min-width: 0; }
.filter-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.meta-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.meta-chips span { display: inline-flex; padding: 8px 10px; border-radius: 999px; background: #eef4ff; color: #22426f; font-size: 13px; font-weight: 700; }
.checkbox-line { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.55; }
.checkbox-line input { width: auto; margin-top: 4px; }
.notice-box { padding: 16px; border-radius: 18px; background: #eef4ff; color: #263e61; }
.current-photo { display: grid; gap: 10px; }
.current-photo-img { width: min(360px, 100%); border-radius: 16px; display: block; }
.soft-box { background: rgba(45,124,255,0.10); }
.error { color: var(--danger); font-weight: 700; }
.auth-note { margin-top: 18px; }
.auth-note a, .reset-link-box a { color: #21416f; font-weight: 700; overflow-wrap: anywhere; }
.reset-link-box { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-box { padding: 22px; }
.stat-box h3 { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.stat-box p { margin: 0; font-size: 34px; font-weight: 800; }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.detail-main { overflow: hidden; padding: 0; }
.detail-image { width: 100%; max-height: 430px; object-fit: cover; display: block; }
.large-placeholder { min-height: 280px; }
.detail-content { padding: 24px; }
.detail-content h1 { margin: 12px 0 14px; font-size: 40px; line-height: 1.08; }
.detail-side { display: grid; gap: 18px; }
.detail-meta { display: grid; gap: 4px; margin-bottom: 16px; }
.detail-meta p { margin: 0; }
.detail-meta-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.detail-meta-grid p { padding: 12px; border: 1px solid rgba(17,33,57,0.10); border-radius: 8px; background: rgba(238,244,255,0.68); }
.detail-meta-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.detail-meta-grid strong { display: block; color: #10213a; line-height: 1.35; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin-bottom: 28px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #36506f; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form select, .inline-form input { border: 1px solid rgba(17,33,57,0.16); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; min-width: 0; }
td .form-actions { margin-top: 0; }
.danger-zone { margin: 0; }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.admin-tabs a { text-decoration: none; color: #fff; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.12); }
.admin-tabs a.active, .admin-tabs a:hover { background: #fff; color: #10213a; }
.price-list { display: grid; gap: 10px; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list span { color: var(--muted); }
.offer-price { display: grid; gap: 4px; margin: 18px 0; }
.offer-price strong { font-size: 34px; color: #10213a; }
.offer-price span { color: var(--muted); font-size: 14px; }
.contact-lines { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.contact-lines a { color: #21416f; background: #eef4ff; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.empty-state { padding: 26px; text-align: center; margin-bottom: 28px; }
.compact-empty { text-align: left; }
.honeypot-wrap { position: absolute; left: -9999px; }
@media (max-width: 980px) { .detail-layout, .two-col, .three-col, .stats, .filter-bar, .account-layout { grid-template-columns: 1fr; } .hero-compact h1, .detail-content h1 { font-size: 32px; } }
@media (max-width: 820px) {
    .site-header { position: sticky; }
    .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; }
    .brand { min-width: 0; flex: 1 1 auto; gap: 10px; }
    .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
    .brand-title { font-size: 18px; }
    .brand-subtitle { display: none; }
    .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
    .nav-toggle-label { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 14px; border-radius: 8px; background: rgba(255,255,255,0.14); color: #fff; font-weight: 700; cursor: pointer; }
    .main-nav { display: none; width: 100%; margin-left: 0; padding-top: 10px; }
    .nav-toggle:checked ~ .main-nav { display: grid; gap: 10px; }
    .nav-toggle:checked + .nav-toggle-label { background: #fff; color: #10213a; }
    .nav-links, .nav-account { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
    .nav-account { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding: 10px 0 0; }
    .main-nav a { width: 100%; padding: 11px 12px; }
    .main-content { padding-top: 18px; }
}
