:root {
    --ct-primary: #f59e0b;
    --ct-primary-dark: #d97706;
    --ct-ink: #0f172a;
    --ct-muted: #64748b;
    --ct-line: #e2e8f0;
    --ct-soft: #f8fafc;
    --ct-white: #ffffff;
    --ct-radius: 24px;
    --ct-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ct-ink); background: var(--ct-white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { background: #0f172a; color: #cbd5e1; font-size: 13px; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: var(--ct-primary); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(15,23,42,.06); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-frame { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 5px; border-radius: 17px; background: #0b0f19; }
.brand-logo-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-name { color: var(--ct-ink); font-size: 15px; font-weight: 900; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a { padding: 11px 12px; border-radius: 12px; color: #334155; font-size: 14px; font-weight: 750; transition: .2s ease; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a.active { color: #9a5b00; background: #fff7e6; }
.site-nav > a.nav-admin { margin-left: 6px; color: #fff; background: var(--ct-ink); padding-inline: 16px; }
.site-nav > a.nav-admin:hover { background: var(--ct-primary-dark); color: #fff; }
.nav-toggle { display: none; border: 0; background: var(--ct-ink); width: 46px; height: 44px; border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 4px; }

.hero { position: relative; overflow: hidden; color: #fff; background: #111827; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.72) 52%, rgba(15,23,42,.28) 100%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hero-inner { position: relative; z-index: 1; min-height: 620px; display: flex; align-items: center; padding-block: 90px; }
.hero-content { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #fbbf24; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.hero p { max-width: 650px; margin: 24px 0 0; color: #e2e8f0; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: .2s ease; cursor: pointer; }
.btn-primary { color: #111827; background: var(--ct-primary); }
.btn-primary:hover { background: #fbbf24; transform: translateY(-2px); }
.btn-dark { color: #fff; background: var(--ct-ink); }
.btn-dark:hover { background: #1e293b; transform: translateY(-2px); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.btn-outline:hover { background: #fff; color: var(--ct-ink); }

.section { padding-block: 90px; }
.section-soft { background: var(--ct-soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p { max-width: 570px; margin: 0; color: var(--ct-muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { overflow: hidden; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: #fff; box-shadow: 0 10px 35px rgba(15,23,42,.05); transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--ct-shadow); }
.card-image-wrap { position: relative; overflow: hidden; background: #e2e8f0; }
.card-media { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center; background: #e2e8f0; transition: transform .35s ease; }
.card:hover .card-media { transform: scale(1.035); }
.card-icon { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.92); border-radius: 14px; color: #111827; background: var(--ct-primary); box-shadow: 0 8px 24px rgba(15,23,42,.24); font-size: 18px; }
.card-placeholder { aspect-ratio: 16/10; display: grid; place-items: center; color: #fbbf24; background: linear-gradient(135deg, #0f172a, #334155); font-size: 46px; }
.card-body { padding: 25px; }
.card-kicker { color: var(--ct-primary-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin: 8px 0 10px; font-size: 23px; line-height: 1.25; }
.card p { margin: 0; color: var(--ct-muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #9a5b00; font-weight: 800; }
.card-link:hover { gap: 12px; }
.price { margin-top: 12px; color: var(--ct-ink); font-size: 22px; font-weight: 900; }

.page-hero { color: #fff; background: radial-gradient(circle at 85% 10%, #334155, #0f172a 56%); }
.page-hero-inner { padding-block: 76px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.page-hero p { max-width: 720px; margin: 18px 0 0; color: #cbd5e1; font-size: 19px; }
.breadcrumbs { margin-bottom: 16px; color: #fbbf24; font-size: 13px; font-weight: 800; }
.breadcrumbs a:hover { color: #fff; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 55px; align-items: start; }
.detail-image { width: 100%; min-height: 430px; object-fit: cover; border-radius: var(--ct-radius); box-shadow: var(--ct-shadow); }
.content-panel h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.content-panel p { color: var(--ct-muted); white-space: pre-line; }
.meta-list { display: grid; gap: 12px; margin: 24px 0; padding: 20px; border-radius: 18px; background: var(--ct-soft); }
.meta-row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ct-line); padding-bottom: 10px; }
.meta-row:last-child { border: 0; padding-bottom: 0; }
.meta-row span { color: var(--ct-muted); }

.filter-bar { display: grid; grid-template-columns: 1fr 240px auto; gap: 12px; margin-bottom: 30px; padding: 16px; border: 1px solid var(--ct-line); border-radius: 18px; background: #fff; }
.form-control { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 12px; outline: 0; color: var(--ct-ink); background: #fff; }
.form-control:focus { border-color: var(--ct-primary); box-shadow: 0 0 0 4px rgba(245,158,11,.13); }
textarea.form-control { min-height: 160px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 35px; }
.form-card, .contact-card { padding: 30px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: #fff; box-shadow: var(--ct-shadow); }
.contact-card { color: #fff; background: var(--ct-ink); }
.contact-card a { display: block; margin: 12px 0; color: #e2e8f0; }
.alert { margin-bottom: 18px; padding: 14px 17px; border-radius: 12px; }
.alert-success { color: #065f46; background: #d1fae5; }
.alert-danger { color: #991b1b; background: #fee2e2; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed #cbd5e1; border-radius: var(--ct-radius); color: var(--ct-muted); text-align: center; background: #fff; }
.pagination-wrap { margin-top: 34px; }
.pagination-wrap nav { display: flex; justify-content: center; }
.cms-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.cms-pagination a, .cms-pagination span { padding: 10px 14px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; }
.cms-pagination a { color: #9a5b00; font-weight: 800; }

.site-footer { padding-top: 65px; color: #cbd5e1; background: #0f172a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand strong { color: #fff; font-size: 17px; white-space: nowrap; }
.footer-logo { width: 82px; height: 82px; margin: 0; padding: 6px; border-radius: 18px; object-fit: contain; object-position: center; background: #080c14; }
.site-footer h3 { margin: 0 0 18px; color: #fff; font-size: 16px; }
.site-footer p { max-width: 360px; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fbbf24; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #334155; border-radius: 12px; color: #fff; font-size: 18px; }
.footer-bottom { margin-top: 45px; padding: 22px 0; border-top: 1px solid #263449; font-size: 13px; }

@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 20px; right: 20px; padding: 18px; flex-direction: column; align-items: stretch; border: 1px solid var(--ct-line); border-radius: 18px; background: #fff; box-shadow: var(--ct-shadow); }
    .site-nav.open { display: flex; }
    .site-nav > a { padding: 12px 14px; }
    .site-nav > a.nav-admin { margin-left: 0; text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .site-container { width: min(100% - 28px, 1180px); }
    .topbar-inner > span { display: none; }
    .topbar-links { width: 100%; justify-content: space-between; gap: 10px; }
    .topbar-links a:last-child { display: none; }
    .nav-wrap { min-height: 72px; }
    .brand-logo-frame { width: 54px; height: 54px; padding: 4px; border-radius: 14px; }
    .brand-name { display: none; }
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .hero-inner { min-height: 560px; padding-block: 70px; }
    .hero::after { background: rgba(15,23,42,.80); }
    .section { padding-block: 65px; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 14px; }
    .grid-2, .grid-3, .detail-grid, .contact-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .detail-image { min-height: 280px; }
    .field-full { grid-column: auto; }
    .form-card, .contact-card { padding: 22px; }
}
