:root {
    --ink: #0e0c0b;
    --ink-soft: #151210;
    --ivory: #ffffff;
    --ivory-deep: #f4f4f2;
    --gold: #bd8f53;
    --gold-light: #d2ae7b;
    --muted: #ada69d;
    --line-dark: rgba(255,255,255,.11);
    --line-light: rgba(27,22,18,.13);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--ink); color: #f4efe7; font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.8; }
body, a, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1220px; }
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { padding-left: 25px!important; padding-right: 25px!important; }

.site-header { padding: 18px 0; transition: .35s ease; }
.site-header.scrolled { padding: 8px 0; background: rgba(10,9,8,.97); border-bottom: 1px solid var(--line-dark); }
.navbar-brand { display: flex; align-items: center; padding: 0; }
.brand-logo { display: block; width: 290px; height: auto; }
.navbar .nav-link { color: rgba(255,255,255,.76); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: none; padding: 12px 0!important; }
.navbar .nav-link .nav-icon { display: none; }
.navbar .nav-link:hover { color: var(--gold-light); }
.navbar-toggler { color: #f4efe7!important; padding: 8px; display: inline-flex; align-items: center; justify-content: center; }
.navbar-toggler svg { display: block; width: 28px; height: 28px; stroke: currentColor; }
.navbar-toggler::before { content: ''; width: 25px; height: 16px; display: none; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

.hero { padding: 250px 0 100px; background: url('../img/hero-justice-light.png') center/cover no-repeat; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(7,6,5,.52); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-rail { position: absolute; z-index: 3; inset: 0 auto 0 0; width: 78px; border-right: 1px solid var(--line-dark); align-items: center; justify-content: center; }
.hero-rail > span { position: absolute; transform: rotate(-90deg); white-space: nowrap; font-size: 14px; letter-spacing: .2em; text-transform: none; color: rgba(255,255,255,.72); }
.rail-socials { position: absolute; bottom: 38px; display: grid; gap: 12px; }
.rail-socials svg { width: 20px; height: 20px; color: var(--gold-light); }
.display-title, .section-title { font-family: 'Lora', serif; text-transform: none; letter-spacing: -.025em; font-weight: 500; line-height: 1.05; }
.display-title { font-size: 55px; margin-bottom: 26px; }
.display-title .accent, .section-title .accent { color: var(--gold-light); font-weight: 500; }
.hero-copy { color: rgba(255,255,255,.74); max-width: 600px; font-size: 17px; margin-bottom: 34px; }
.btn { border-radius: 0; padding: 13px 20px; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .02em; text-transform: none; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.btn svg { width: 13px; height: 13px; }
.btn-gold { background: var(--gold); color: #12100e; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #12100e; }
.hero .btn { border: 0; }
.btn-link-light { color: #fff; background: #342e29; border: 0; }
.btn-link-light:hover { color: #fff; background: #4a4038; border-color: transparent; }
.btn-dark-solid { color: #fff; background: #211d19; border: 1px solid #211d19; }
.btn-dark-solid:hover { color: #fff; background: #8c6538; border-color: #8c6538; }
.btn-outline-ivory { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-ivory:hover { color: var(--ink); background: var(--ivory); }
.reveal { animation: rise .8s both; }
.reveal:nth-child(2) { animation-delay: .08s; }.reveal:nth-child(3) { animation-delay: .16s;}.reveal:nth-child(4) { animation-delay: .24s;}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.section-light, .section-dark { padding: 120px 0; }
.section-light { background: #fff; color: #2e2b28; }
.section-dark { background: var(--ink-soft); }
.section-title { font-size: 50px; margin: 0; }
.dark-title { color: #1b1815; }
.approach-section { padding-bottom: 105px; }
.approach-section .section-title { text-align: center; font-size: 45px; }
.value-card { padding: 32px 34px 15px; text-align: center; opacity: 0; transform: translateY(20px); transition: .65s ease; }
.value-card.is-visible, .service-card.is-visible, .process-step.is-visible, .about-image-wrap.is-visible, .white-service-card.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .36s; }
.value-icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 28px; background: #f2efeb; animation: valueIconPulse 3.2s ease-in-out infinite; }
.value-icon svg { color: var(--gold); width: 24px; height: 24px; }
.value-card h3 { color: #191613; font: 600 25px/1.2 'Lora', serif; }
.value-card p { font-size: 16px; color: #655d54; line-height: 1.8; }
@keyframes valueIconPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.services-section { background: #110e0c; }
.section-intro { color: #6d6760; max-width: 500px; font-size: 16px; font-weight: 300; margin: 0; }
.services-section-header .section-intro { max-width: 560px; margin: 18px auto 0; }
.services-section-tint { background: var(--ivory-deep); }
.service-card { min-height: 300px; padding: 28px 24px; position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(28,24,20,.08); color: #2e2b28; display: flex; flex-direction: column; opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.service-card:hover { color: inherit; }
.service-card > * { position: relative; z-index: 1; }
.service-card > .service-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 22px; background: #efece7; }
.service-card > .service-icon svg { width: 21px; height: 21px; color: var(--gold); }
.service-card h3 { font: 600 19px/1.25 'Lora', serif; color: #191613; }
.service-card p { margin: 0 0 20px; color: #6e6862; font-size: 14px; line-height: 1.65; }
.service-card > b { margin-top: auto; color: #8c6538; font-size: 13px; font-weight: 700; }

.about-section { padding-top: 95px; }
.about-image-wrap { position: relative; opacity: 0; transform: translateX(-25px); transition: .75s ease; }
.about-image-wrap img { width: 100%; height: 560px; object-fit: cover; object-position: center 20%; }
.lead-copy { color: #3f3933; font-size: 17px; margin-top: 30px; }
.about-section .col-lg-5 > p:not(.lead-copy) { color: #69625b; font-size: 16px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; border-bottom: 1px solid rgba(189,143,83,.4); padding-bottom: 8px; margin-top: 15px; }
.text-link svg { width: 15px; }

.testimonial-section { padding: 110px 0; background: #f1f2f2; color: #24211e; }
.carousel-item { min-height: 235px; padding: 0 15%; }
.quote-icon { color: var(--gold); fill: var(--gold); width: 32px; height: 32px; margin-bottom: 25px; }
blockquote { font: 500 36px/1.35 'Lora', serif; max-width: 820px; margin: 0 auto 25px; }
.carousel-item p { color: #24211e; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.carousel-item p span { color: #77716b; }
.carousel-controls { display: flex; justify-content: center; gap: 9px; }
.carousel-controls button { background: transparent; border: 1px solid rgba(30,27,24,.22); color: #24211e; width: 40px; height: 40px; }
.carousel-controls button:hover { border-color: var(--gold); color: var(--gold); }
.carousel-controls svg { width: 15px; }

.faq-section { background: #fff; color: #24211e; }
.faq-section .section-intro { color: #706a64; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-color: #514c47; --bs-accordion-border-color: rgba(30,27,24,.15); --bs-accordion-btn-color: #24211e; --bs-accordion-btn-bg: transparent; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: #9d713c; --bs-accordion-btn-focus-box-shadow: none; }
.accordion-button { padding: 24px 0; font-family: 'Montserrat', sans-serif; text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 600; }
.accordion-button::after { filter: none; opacity: .55; }
.accordion-body { color: #6f6963; padding: 0 40px 25px 0; font-size: 16px; }
.contact-cta { position: relative; padding: 130px 0; color: #fff; background: linear-gradient(rgba(10,9,8,.73), rgba(10,9,8,.82)), url('../img/consultation-office.png') center/cover fixed no-repeat; }
.contact-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent, rgba(0,0,0,.25)); }
.contact-cta .section-title { color: #fff; }
.contact-cta p { color: rgba(255,255,255,.78); max-width: 620px; margin: 22px auto 0; }
.contact-cta .btn-outline-ivory { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.contact-cta .btn-outline-ivory:hover { color: #181512; background: #fff; border-color: #fff; }

.site-footer { background: #080706; padding: 80px 0 25px; color: #c2bbb3; font-size: 13px; line-height: 1.7; }
.footer-brand { display: inline-block; margin-bottom: 22px; }
.footer-logo { display: block; width: 315px; max-width: 100%; height: auto; }
.site-footer .col-lg-6 > p { max-width: 390px; color: #aaa39b; }
.site-footer h2 { color: white; font: 600 20px/1.2 'Lora', serif; letter-spacing: 0; text-transform: none; margin-bottom: 24px; }
.site-footer a, .site-footer span { display: block; margin-bottom: 7px; color: #c2bbb3; }
.site-footer a:hover { color: var(--gold-light); }
.footer-services { columns: 1; }
.footer-main-row { padding-bottom: 55px; }
.footer-contact-bar { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.footer-contact-items { display: flex; align-items: center; gap: 36px; }
.footer-contact-items > div { display: flex; align-items: baseline; gap: 9px; }
.footer-contact-items span { margin: 0; color: #aaa39b; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.footer-contact-items b, .footer-contact-items a { margin: 0; color: #f0ebe5; font-size: 13px; font-weight: 600; }
.footer-contact-actions { display: flex; align-items: center; gap: 28px; }
.footer-socials { display: flex; align-items: center; gap: 15px; }
.footer-socials a { display: grid; place-items: center; margin: 0; color: #d1cac2; }
.footer-socials a:hover { color: var(--gold-light); }
.footer-socials svg { width: 17px; height: 17px; }
.btn-footer { min-width: 0; padding: 11px 17px; color: #15120f; background: var(--gold); border: 1px solid var(--gold); font-size: 11px; }
.btn-footer:hover { color: #15120f; background: var(--gold-light); border-color: var(--gold-light); }
.footer-bottom { padding-top: 22px; color: #98918a; letter-spacing: .02em; font-size: 11px; }
.footer-bottom span, .footer-bottom a { display: inline; margin: 0; }
.footer-bottom span { color: #98918a; }
.footer-bottom a { color: #c7c0b8; }
.footer-bottom a:hover { color: var(--gold-light); }

/* White inner pages */
.inner-page { background: #fff; color: #27231f; }
.inner-page .site-header { background: transparent; border-bottom: 1px solid rgba(255,255,255,.1); }
.inner-page .site-header.scrolled { background: rgba(10,9,8,.97); }
.inner-page main { background: #fff; }
.page-hero { position: relative; overflow: hidden; padding: 190px 0 80px; color: #fff; background: linear-gradient(90deg, rgba(8,7,6,.82) 0%, rgba(8,7,6,.64) 45%, rgba(8,7,6,.24) 78%), url('../img/hero-justice-light.png') center 38%/cover no-repeat; }
.page-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,5,4,.38), transparent 45%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 0 0 25px; color: #fff; font: 500 55px/1.05 'Lora', serif; letter-spacing: -.025em; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.8; }
.white-content { padding: 100px 0 125px; background: #fff; }
.white-content h2 { color: #211d19; font: 600 36px/1.2 'Lora', serif; }
.white-service-card { position: relative; display: flex; flex-direction: column; min-height: 350px; padding: 35px; overflow: hidden; background: #f7f7f6; border: 0; opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease, box-shadow .3s ease; }
.white-service-card::after { content: ''; position: absolute; right: -45px; bottom: -45px; width: 120px; height: 120px; border: 1px solid rgba(189,143,83,.25); border-radius: 50%; transition: .3s ease; }
.white-service-card:hover { color: inherit; transform: translateY(-5px); box-shadow: 0 22px 50px rgba(28,24,20,.1); }
.white-service-card:hover::after { transform: scale(1.2); border-color: var(--gold); }
.white-service-card > .service-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--gold); background: #efece7; border-radius: 8px; transition: .3s ease; }
.white-service-card > .service-icon svg { width: 24px; height: 24px; }
.white-service-card:hover > .service-icon { color: #fff; background: var(--gold); }
.white-service-card h2 { margin: 45px 0 18px; font-size: 28px; }
.white-service-card p { margin: 0 0 28px; color: #6e6862; font-size: 15px; line-height: 1.75; }
.white-service-card b { margin-top: auto; color: #8c6538; font-size: 13px; font-weight: 700; }
.service-detail { padding-top: 85px; }
.service-detail-intro { max-width: 720px; margin: 20px 0 0; color: #6b655f; font-size: 16px; line-height: 1.8; }
.service-points { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; padding: 0; margin: 38px 0 0; list-style: none; }
.service-points li { position: relative; padding: 4px 10px 4px 28px; color: #4e4944; font-size: 16px; line-height: 1.7; }
.service-points li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.contact-panel { position: sticky; top: 130px; padding: 35px; background: #f5f5f3; border: 0; }
.contact-panel h2 { font-size: 28px; }
.contact-panel p { margin: 18px 0 28px; color: #6d6760; font-size: 15px; }
.service-faq-section { padding: 100px 0 115px; background: #f5f5f3; color: #27231f; }
.service-faq-section h2 { margin: 0 0 22px; color: #211d19; font: 600 44px/1.15 'Lora', serif; }
.service-faq-section .col-lg-4 > p { color: #6b655f; font-size: 15px; line-height: 1.8; }
.service-faq-section .accordion { --bs-accordion-border-color: rgba(30,27,24,.16); }
.about-portrait { display: block; width: 100%; max-height: 720px; object-fit: cover; object-position: center top; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: #5c5650; font-size: 16px; line-height: 1.9; }
.about-copy .btn { margin-top: 18px; }
.contact-details h2 { margin-bottom: 10px; font-size: 32px; }
.contact-details .contact-name { margin-bottom: 35px; color: #4f4943; font-size: 16px; }
.contact-data { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row svg { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); flex: 0 0 auto; }
.contact-row address, .contact-row span { margin: 0; color: #4f4943; font-style: normal; font-size: 16px; }
.contact-row a { color: #211d19; font-size: 16px; font-weight: 400; }
.contact-row a:hover { color: #8c6538; }
.bank-data { display: flex; flex-direction: column; gap: 16px; }
.bank-name { margin: 0; color: #211d19; font-size: 16px; }
.hours-title { margin-top: 65px; }
.office-hours-table { width: 100%; margin-top: 25px; color: #403b36; font-size: 15px; }
.office-hours-table th, .office-hours-table td { padding: 9px 0; border: 0; }
.office-hours-table th { font-weight: 600; }
.office-hours-table td { text-align: right; color: #69635d; }
.hours-note { margin-top: 20px; color: #7b756f; font-size: 13px; }
.contact-form h2 { margin-bottom: 15px; font-size: 38px; }
.contact-form > p { max-width: 540px; margin-bottom: 40px; color: #68625c; font-size: 15px; }
.contact-form label:not(.consent-check) { display: block; margin-bottom: 7px; color: #554f49; font-size: 12px; font-weight: 600; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; padding: 11px 0; color: #211d19; background: transparent; border: 0; border-bottom: 1px solid #bdb8b2; border-radius: 0; outline: 0; font: 400 16px 'Montserrat', sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; color: #6d6760; font-size: 12px; cursor: pointer; }
.consent-check input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }

@media (max-width: 991.98px) {
    .offcanvas { --bs-offcanvas-width: min(88vw, 410px); position: fixed!important; top: 0!important; right: 0!important; bottom: 0!important; left: auto!important; z-index: 1055!important; width: var(--bs-offcanvas-width)!important; height: 100dvh!important; max-height: 100dvh!important; background: #fdfcfb; color: #211d19; box-shadow: -12px 0 40px rgba(20,17,14,.18); }
    .offcanvas-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 105px; padding: 22px 26px; border-bottom: 1px solid #eae6e0; }
    .offcanvas-logo { width: 190px; height: auto; filter: grayscale(1) brightness(0) opacity(.85); }
    .offcanvas-close { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; margin-left: auto; color: #211d19; background: transparent; border: 0; }
    .offcanvas-close:hover { color: var(--gold); }
    .offcanvas-close svg { width: 20px; height: 20px; }
    .offcanvas-body { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px 25px 25px; }
    .navbar .offcanvas .navbar-nav { width: 100%; }
    .navbar .offcanvas .nav-item { border-bottom: 1px solid #eae6e0; }
    .navbar .offcanvas .nav-link { display: flex; align-items: center; gap: 16px; padding: 16px 2px!important; color: #211d19; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
    .navbar .offcanvas .nav-link .nav-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; color: #6d6760; background: #f2efeb; border-radius: 6px; }
    .navbar .offcanvas .nav-link .nav-icon svg { width: 16px; height: 16px; }
    .navbar .offcanvas .nav-link:hover .nav-icon { color: #fff; background: var(--gold); }
    .offcanvas-contact { margin-top: auto; padding-top: 38px; }
    .offcanvas-contact p { margin-bottom: 15px; color: #6d6760; font-size: 15px; }
    .offcanvas-contact .btn { font-size: 13px; }
    .offcanvas-email { display: block; margin-top: 20px; color: #8c6538; font-size: 15px; text-align: center; }
    .navbar-toggler::before { display: block; }
    .navbar-toggler svg { display: none; }
    .hero { background-position: 62% center; }
    .display-title { font-size: 44px; }
    .section-title { font-size: 42px; }
    blockquote { font-size: 30px; }
    .section-light, .section-dark { padding: 85px 0; }
    .services-section .section-intro { margin-top: 25px; }
    .about-section { padding-top: 85px; }
    .contact-cta { background-attachment: scroll; }
    .page-hero { padding: 165px 0 70px; }
    .page-hero h1 { font-size: 48px; }
    .white-content { padding: 75px 0 95px; }
    .contact-panel { position: static; }
    .service-faq-section { padding: 75px 0 90px; }
    .footer-contact-bar { align-items: flex-start; flex-direction: column; }
    .footer-contact-items { flex-wrap: wrap; row-gap: 12px; }
    .footer-contact-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .brand-logo { width: 175px; }
    .hero { padding: 190px 0 75px; background-position: 67% center; }
    .hero-content .row { align-items: end!important; }
    .display-title { max-width: 100%; font-size: 42px; line-height: 1.08; }
    .section-title { font-size: 43px; }
    .approach-section .section-title { font-size: 30px; }
    .value-card h3 { font-size: 19px; }
    blockquote { font-size: 25px; }
    .display-title .accent { display: block; max-width: 100%; overflow-wrap: break-word; }
    .hero-copy { max-width: 100%; font-size: 16px; }
    .hero-content .d-flex.flex-wrap { flex-direction: column; align-items: flex-start; }
    .hero-content .btn { min-width: 235px; }
    .section-light, .section-dark { padding: 72px 0; }
    .about-image-wrap img { height: 430px; }
    .carousel-item { padding: 0 5%; min-height: 270px; }
    .process-step { min-height: auto; padding-left: 12px; }
    .page-hero { padding: 145px 0 60px; background-position: 64% center; }
    .page-hero h1 { font-size: 40px; }
    .page-hero p { font-size: 16px; }
    .white-content { padding: 60px 0 75px; }
    .white-service-card { min-height: 310px; padding: 28px; }
    .service-points { grid-template-columns: 1fr; }
    .service-faq-section { padding: 60px 0 75px; }
    .service-faq-section h2 { font-size: 36px; }
    .footer-services { columns: 1; }
    .footer-main-row { padding-bottom: 40px; }
    .footer-contact-items { align-items: flex-start; flex-direction: column; gap: 10px; }
    .footer-contact-items > div { align-items: flex-start; flex-direction: column; gap: 2px; }
    .footer-contact-actions { align-items: flex-start; flex-direction: column; }
    .btn-footer { width: auto; }
    .contact-data { grid-template-columns: 1fr; gap: 22px; }
    .hours-title { margin-top: 48px; }
    .contact-form { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
}

/* Private demo analytics (server-only page: /analytics) */
.analytics-admin { min-height: 100vh; color: #ebe8df; background: #11110f; }
.analytics-login-shell { display: grid; min-height: 100vh; padding: 32px 25px; place-items: center; }
.analytics-login-card { width: 100%; max-width: 480px; padding: 48px; border: 1px solid #34332e; background: #171715; }
.analytics-label { display: block; margin-bottom: 18px; color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.analytics-login-card h1, .analytics-dashboard h1 { margin: 0 0 20px; color: #fff; font-family: 'Lora', serif; font-size: clamp(46px, 6vw, 70px); line-height: 1; }
.analytics-login-card > p, .analytics-dashboard-header p { color: #96948c; font-size: 14px; line-height: 1.75; }
.analytics-login-card form { margin-top: 35px; }
.analytics-login-card label { display: block; margin-bottom: 9px; color: #aaa89f; font-size: 12px; }
.analytics-login-card input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #3c3b35; border-radius: 0; outline: 0; color: #fff; background: #10100f; font-family: 'Montserrat', sans-serif; }
.analytics-login-card input:focus { border-color: var(--gold); }
.analytics-login-card button, .analytics-logout { min-height: 48px; margin-top: 14px; padding: 0 24px; border: 0; color: #fff; background: var(--gold); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 400; cursor: pointer; }
.analytics-error { margin-top: 22px; padding: 13px 15px; color: #efc5bc; background: #3a211d; font-size: 13px; }
.analytics-dashboard { width: min(1240px, calc(100% - 50px)); margin: 0 auto; padding: 72px 0 90px; }
.analytics-dashboard-header { display: flex; padding-bottom: 55px; border-bottom: 1px solid #302f2a; justify-content: space-between; gap: 50px; align-items: flex-end; }
.analytics-dashboard-header p { max-width: 680px; margin: 0; }
.analytics-dashboard-header code { color: var(--gold); }
.analytics-logout { margin: 0; flex: 0 0 auto; color: #d1cec4; background: #282824; }
.analytics-stats { display: grid; padding: 50px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #302f2a; }
.analytics-stats > div { min-height: 105px; padding: 4px 35px; border-right: 1px solid #302f2a; }
.analytics-stats > div:first-child { padding-left: 0; }
.analytics-stats > div:last-child { border-right: 0; }
.analytics-stats span { display: block; margin-bottom: 18px; color: #7e7c75; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.analytics-stats strong { display: block; color: #fff; font-family: 'Lora', serif; font-size: 38px; font-weight: 500; line-height: 1.2; }
.analytics-stats > div:last-child strong { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 400; }
.analytics-table-section { padding-top: 58px; }
.analytics-table-heading { display: flex; margin-bottom: 28px; justify-content: space-between; align-items: end; gap: 20px; }
.analytics-table-heading h2 { margin: 0; color: #fff; font-family: 'Lora', serif; font-size: 34px; }
.analytics-table-heading span { color: #77756f; font-size: 12px; }
.analytics-table-wrap { overflow-x: auto; }
.analytics-table-section table { width: 100%; border-collapse: collapse; }
.analytics-table-section th, .analytics-table-section td { padding: 18px 15px; border-bottom: 1px solid #2b2a26; text-align: left; }
.analytics-table-section th { color: #77756f; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.analytics-table-section td { color: #c9c6bd; font-size: 14px; }
.analytics-table-section td code { color: var(--gold); }
.analytics-empty { padding: 34px 0; color: #85837c; }

@media (max-width: 767.98px) {
    .analytics-login-card { padding: 35px 24px; }
    .analytics-dashboard { width: calc(100% - 50px); padding-top: 45px; }
    .analytics-dashboard-header { align-items: flex-start; flex-direction: column; }
    .analytics-stats { grid-template-columns: 1fr; }
    .analytics-stats > div, .analytics-stats > div:first-child { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid #302f2a; }
    .analytics-stats > div:last-child { border-bottom: 0; }
    .analytics-table-section th, .analytics-table-section td { padding: 16px 10px; white-space: nowrap; }
}
