:root {
    --navy: #071f3d;
    --navy-2: #0d315b;
    --gold: #ff6a00;
    --gold-dark: #e65f00;
    --text: #1e2732;
    --muted: #6b7280;
    --line: #e8edf3;
    --light: #f6f8fb;
    --radius: 8px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar { background: var(--navy); color: #d8e2ef; font-size: 13px; padding: 10px 0; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-address { min-width: 0; }
.topbar i { color: var(--gold); margin-right: 6px; }
.topbar a { color: #fff; opacity: .9; }

.main-nav { background: #fff; box-shadow: 0 8px 25px rgba(7,31,61,.08); min-height: 92px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-logo { width: 220px; max-height: 64px; object-fit: contain; object-position: left center; }
.footer-logo { width: 220px; max-height: 74px; object-fit: contain; object-position: center; background: #fff; border-radius: 6px; padding: 10px 12px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 30px; line-height: 1; }
.brand strong, .footer-brand strong { display: block; font-size: 26px; letter-spacing: 1px; line-height: 1; }
.brand small, .footer-brand small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: #1f2937; }
.navbar-nav .nav-link { color: #111827; font-weight: 700; font-size: 14px; text-transform: uppercase; margin: 0 12px; }
.navbar-nav .nav-link:hover { color: var(--gold); }
.btn { border-radius: 4px; font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 14px 26px; }
.btn-gold { background: var(--gold); color: #fff; border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

.hero { min-height: 520px; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(7,31,61,.98) 0%, rgba(7,31,61,.90) 42%, rgba(7,31,61,.18) 100%), url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1800&q=85") center right / cover no-repeat; }
.hero-content { width: min(650px, 100%); padding: 72px 0; }
.eyebrow, .section-title span { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 5vw, 62px); line-height: 1.12; font-weight: 800; margin-bottom: 22px; }
.hero p { color: #eef4fb; font-size: 18px; line-height: 1.8; max-width: 610px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; }

.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2, .about-panel h2, .cta-band h2, .contact-box h2 { font-family: Georgia, 'Times New Roman', serif; color: #161b22; font-size: 36px; font-weight: 800; margin: 0; }
.section-title h2::after { content: ""; display: block; width: 70px; height: 2px; background: var(--gold); margin: 16px auto 0; }

.service-card { min-height: 240px; height: 100%; text-align: center; padding: 32px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,31,61,.04); transition: .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(7,31,61,.10); }
.service-card i { font-size: 44px; color: var(--navy); margin-bottom: 22px; }
.service-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.service-card-wide { text-align: left; min-height: 300px; }

.about-band { background: #fff; padding: 76px 0 0; overflow: hidden; }
.about-wrap { display: grid; grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr); align-items: stretch; gap: 0; box-shadow: 0 18px 50px rgba(7,31,61,.08); }
.about-image { min-height: 500px; background: linear-gradient(0deg, rgba(7,31,61,.08), rgba(7,31,61,.08)), url("../images/about-office.png") center / cover no-repeat; }
.about-panel { display: grid; grid-template-columns: minmax(280px, 1fr) 280px; gap: 30px; align-items: center; padding: 42px; background: #fff; border: 1px solid var(--line); border-left: 0; }
.about-copy { min-width: 0; }
.about-panel p { color: var(--muted); line-height: 1.75; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.check-list li { margin: 11px 0; color: #303846; }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.stat-item { min-height: 132px; display: grid; place-items: center; text-align: center; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stat-item i { color: var(--gold); font-size: 30px; }
.stat-item strong { display: block; color: var(--navy); font-size: 29px; line-height: 1; }
.stat-item span { color: var(--muted); font-size: 13px; }

.cta-band { color: #fff; padding: 34px 0; background: linear-gradient(rgba(7,31,61,.95), rgba(7,31,61,.95)), url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat; }
.cta-band i { color: var(--gold); font-size: 58px; }
.cta-band h2 { color: #fff; font-size: 26px; }
.cta-band p { color: #dbe6f3; margin: 8px 0 0; }

.blog-preview { background: #fff; }
.blog-card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgba(7,31,61,.05); }
.blog-card img { width: 100%; height: 175px; object-fit: cover; }
.blog-card div { padding: 22px; }
.blog-card time { color: #9aa3af; font-size: 12px; text-transform: uppercase; }
.blog-card h3 { font-size: 18px; font-weight: 800; margin: 9px 0 12px; }
.blog-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.blog-card a { color: var(--navy); font-weight: 800; font-size: 14px; }
.blog-card a i { color: var(--gold); margin-left: 5px; }

.page-hero { color: #fff; padding: 88px 0; background: linear-gradient(90deg, rgba(7,31,61,.96), rgba(13,49,91,.78)), url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat; }
.page-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 48px; font-weight: 800; }
.page-hero p { max-width: 720px; color: #dce8f5; }
.narrow-content { max-width: 900px; font-size: 17px; line-height: 1.85; }
.narrow-content h2, .narrow-content h3 { color: var(--navy); margin-top: 24px; }
.detail-image { width: 100%; max-height: 430px; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.contact-box, .contact-form { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 32px rgba(7,31,61,.05); }
.contact-box p { color: var(--muted); margin: 18px 0; }
.contact-box i { color: var(--gold); width: 24px; }
.form-control { min-height: 48px; border-radius: 6px; border-color: #d9e0ea; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(200,155,91,.16); }

.site-footer { background: radial-gradient(circle at top left, #0d315b 0, var(--navy) 45%, #06162b 100%); color: #d8e2ef; padding: 58px 0 20px; }
.footer-brand { color: #fff; margin-bottom: 18px; }
.site-footer p { color: #c8d4e3; max-width: 360px; line-height: 1.7; }
.site-footer h5 { color: #fff; font-weight: 800; font-size: 16px; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; color: #c8d4e3; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.contact-list i { color: var(--gold); width: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: #b9c7d7; font-size: 13px; }

.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--light); padding: 20px; }
.login-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 20px 50px rgba(7,31,61,.10); }
.login-card h1 { color: var(--navy); font-weight: 800; font-size: 28px; }
.admin-body { background: var(--light); }
.admin-nav { background: var(--navy); }
.admin-nav .navbar-brand, .admin-nav .nav-link { color: #fff; }
.admin-nav .nav-link:hover { color: var(--gold); }
.admin-main { padding: 30px; }
.admin-title { margin-bottom: 24px; }
.admin-title h1 { color: var(--navy); font-weight: 800; margin: 0; }
.admin-title p { color: var(--muted); margin: 6px 0 0; }
.admin-card, .admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 25px rgba(7,31,61,.05); }
.admin-stat strong { display: block; font-size: 42px; color: var(--gold); }
.admin-stat span { color: var(--navy); font-weight: 800; }
.admin-form { max-width: 1100px; }
.admin-preview { width: 220px; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }

@media (max-width: 991px) {
    .main-nav { min-height: auto; }
    .navbar-collapse { padding: 18px 0; }
    .navbar-nav .nav-link { margin: 4px 0; }
    .hero { min-height: 560px; background-position: center; }
    .about-band { padding-top: 56px; }
    .about-wrap { grid-template-columns: 1fr; }
    .about-image { min-height: 340px; }
    .about-panel { grid-template-columns: 1fr; padding: 36px; border-left: 1px solid var(--line); }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 575px) {
    .topbar { padding: 8px 0; font-size: 12px; }
    .topbar .container { display: grid !important; grid-template-columns: 1fr; gap: 7px !important; }
    .topbar-info { gap: 10px; flex-wrap: nowrap; min-width: 0; }
    .topbar-info span { min-width: 0; }
    .topbar-address span { display: flex; align-items: center; width: 100%; }
    .topbar-address .topbar-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .topbar-contact { display: grid; grid-template-columns: auto minmax(0, 1fr) 18px 18px 18px; align-items: center; column-gap: 8px; width: 100%; }
    .topbar-contact span { display: inline-flex; align-items: center; min-width: 0; }
    .topbar-contact .topbar-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .topbar-contact a { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 auto; }
    .topbar i { margin-right: 4px; }
    .brand strong, .footer-brand strong { font-size: 21px; }
    .brand-logo { width: 180px; max-height: 56px; }
    .footer-logo { width: 190px; }
    .brand-mark { width: 42px; height: 42px; font-size: 25px; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 52px 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .about-panel { padding: 28px; }
    .about-image { min-height: 260px; }
    .cta-band .d-flex { align-items: flex-start !important; }
    .page-hero h1 { font-size: 36px; }
    .admin-main { padding: 18px; }
}
