:root {
    --primary: #8f1f24;
    --primary-soft: #b9353c;
    --dark: #111827;
    --dark-2: #1f2937;
    --gold: #c8a45d;
    --gold-soft: #e8d3a6;
    --bg: #f4f1ec;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --success: #15803d;
    --danger: #b91c1c;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);
    --radius-sm: 16px;
    --radius: 24px;
    --radius-lg: 34px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(200, 164, 93, 0.14), transparent 26%),
        linear-gradient(180deg, #faf8f4 0%, #f4f1ec 100%);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    font-size: 13px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

main {
    overflow: hidden;
}

.container {
    width: min(1220px, calc(100% - 28px));
    margin: 0 auto;
}

.topbar {
    background: linear-gradient(90deg, #10161f, #1b2838);
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-premium {
    background:
        linear-gradient(90deg, rgba(12, 18, 28, 0.96), rgba(27, 40, 56, 0.96)),
        radial-gradient(circle at right, rgba(200, 164, 93, 0.18), transparent 30%);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 400;
}

.topbar-text {
    flex: 1;
    min-width: 240px;
}

.premium-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.premium-right {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-contact a {
    opacity: 0.92;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.site-header-premium {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(200, 164, 93, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.site-header-premium .header-inner {
    position: relative;
    min-height: 64px;
}

.header-inner-clean {
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.site-logo-image {
    height: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    max-width: 210px !important;
    display: block;
    object-fit: contain;
}

.mobile-logo-image {
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    max-width: 140px !important;
}

.logo strong,
.logo small {
    display: block;
    line-height: 1.2;
}

.logo strong {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
}

.logo small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #541014 90%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(143, 31, 36, 0.28);
}

.mobile-menu-toggle,
.mobile-menu-button,
.mobile-menu-overlay,
.mobile-panel-head,
.mobile-menu-close {
    display: none;
}

.header-side-panel {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-side-panel-clean {
    flex: 1;
    justify-content: flex-end;
}

.main-nav-premium {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.main-nav-premium a {
    padding: 6px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    font-weight: 400;
    color: var(--dark-2);
}

.main-nav-clean {
    flex-wrap: nowrap;
}

.main-nav a {
    position: relative;
    padding-bottom: 6px;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 38px;
    padding: 9px 15px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    box-shadow: 0 16px 36px rgba(143, 31, 36, 0.22);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: var(--shadow-sm);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.2);
}

.header-panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark.small {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 14px;
}

.hero {
    position: relative;
    padding: 34px 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 690px;
    background:
        linear-gradient(90deg, rgba(12, 18, 28, 0.88) 0%, rgba(16, 23, 34, 0.66) 46%, rgba(16, 23, 34, 0.18) 100%),
        url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1600&q=80') center/cover;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
}

.hero-shell {
    position: relative;
    z-index: 1;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 34px;
    align-items: center;
}

.hero-content {
    padding: 68px 0 72px;
    color: #fff;
}

.hero-badge,
.section-badge,
.badge,
.project-meta span,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.hero-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-badge,
.badge {
    color: var(--primary);
    background: rgba(143, 31, 36, 0.08);
    border: 1px solid rgba(143, 31, 36, 0.08);
}

.hero h1,
.page-hero h1 {
    margin: 18px 0 18px;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero p,
.page-hero p,
.section-head p,
.article p,
.info-card p,
.service-card p,
.value-card p,
.contact-card p,
.highlight-card p,
.timeline-card p,
.showcase-card p,
.media-card p,
.project-card p,
.stat-card span,
.stats-band .info-card p,
.site-footer p,
.site-footer li,
.site-footer a,
label,
input,
textarea,
select,
.main-nav,
.topbar-inner,
.topbar-contact,
.footer-bottom,
.admin-menu a,
.admin-card,
.table-wrap,
table,
th,
td {
    font-size: 12px;
}

.hero p,
.page-hero p {
    margin: 0;
    max-width: 720px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 300;
}

.hero-trust span {
    position: relative;
    padding-left: 18px;
}

.hero-trust span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-slider {
    padding: 76px 0 40px;
}

.slider-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.slider-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 22px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.86));
}

.slider-overlay h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 400;
}

.slider-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 300;
}

.slider-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.slider-thumb {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider-thumb img {
    width: 100%;
    height: 104px;
    object-fit: cover;
}

.slider-thumb span {
    display: block;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
}

.hero-bottom-cards {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    padding-bottom: 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card,
.info-card,
.service-card,
.project-card,
.contact-card,
.highlight-card,
.value-card,
.admin-card,
.form-card,
.timeline-card,
.showcase-card,
.media-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card,
.info-card,
.service-card,
.value-card,
.contact-card,
.highlight-card,
.timeline-card,
.showcase-card,
.media-card,
.article,
.form-card,
.admin-card,
.login-box,
.panel-dark,
.cta-box,
.project-card-content {
    padding: 18px;
}

.stat-card {
    border: 1px solid rgba(229, 231, 235, 0.7);
}

.stat-card strong,
.stats-band .info-card h3 {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
}

.section,
.content-wrap {
    padding: 62px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 14px 0 0;
    color: var(--dark);
    font-size: clamp(22px, 2.8vw, 30px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.grid-2,
.grid-3,
.grid-4,
.split-grid,
.media-grid,
.project-grid {
    display: grid;
    gap: 24px;
}

.grid-2,
.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.media-grid,
.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.service-card,
.value-card,
.contact-card,
.highlight-card,
.timeline-card,
.showcase-card,
.media-card {
    border: 1px solid rgba(229, 231, 235, 0.7);
}

.info-card h3,
.service-card h3,
.value-card h3,
.contact-card h3,
.project-card h3,
.highlight-card h3,
.timeline-card h3,
.showcase-card h3,
.media-card h3,
.article h2,
.article h3,
.admin-top h1 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 400;
}

.icon-chip {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(143, 31, 36, 0.12), rgba(200, 164, 93, 0.16));
    color: var(--primary);
    font-size: 18px;
    font-weight: 400;
}

.dual-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: stretch;
}

.panel-dark {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 23, 34, 0.96), rgba(24, 33, 48, 0.9)),
        url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.panel-dark h2,
.panel-dark h3 {
    margin-top: 0;
    color: #fff;
    font-weight: 400;
}

.panel-dark p,
.panel-dark li,
.panel-dark .list-check li,
.panel-dark .metric-list li,
.panel-dark .hero-badge {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
}

.panel-stack {
    display: grid;
    gap: 24px;
}

.project-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.72);
}

.project-card img,
.media-card img,
.showcase-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card-content {
    padding: 18px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.project-meta span,
.status-pill {
    background: rgba(143, 31, 36, 0.08);
    color: var(--primary);
}

.article {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.7);
}

.list-check,
.feature-list,
.timeline,
.admin-menu,
.contact-list,
.detail-list,
.metric-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-check li,
.feature-list li,
.contact-list li,
.detail-list li,
.metric-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 300;
}

.list-check li::before,
.feature-list li::before,
.contact-list li::before,
.detail-list li::before,
.metric-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gold));
}

.metric-list li strong,
.detail-list li strong {
    color: var(--dark);
    font-weight: 400;
}

.page-hero {
    position: relative;
    padding: 84px 0 64px;
    background:
        linear-gradient(90deg, rgba(15, 22, 32, 0.9), rgba(15, 22, 32, 0.64)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.content-wrap {
    padding-top: 62px;
}

.media-card img,
.showcase-card img {
    border-radius: 18px;
    margin-bottom: 18px;
}

.stats-band {
    position: relative;
    background: linear-gradient(135deg, #121a25, #1c2736 60%, #7d1b20);
    color: #fff;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(200, 164, 93, 0.16), transparent 30%);
}

.stats-band .container {
    position: relative;
    z-index: 1;
}

.stats-band .info-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.stats-band .info-card h3 {
    color: #fff;
}

.stats-band .info-card p,
.stats-band .section-head p,
.stats-band .section-head h2,
.stats-band .hero-badge {
    color: rgba(255, 255, 255, 0.92);
}

.cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 36px;
    background:
        linear-gradient(120deg, rgba(143, 31, 36, 0.98), rgba(20, 28, 39, 0.95)),
        url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-box h2,
.cta-box p {
    color: #fff;
}

.cta-box p {
    opacity: 0.86;
    font-weight: 300;
}

.site-footer {
    position: relative;
    margin-top: 40px;
    padding-top: 82px;
    background:
        linear-gradient(180deg, #111827 0%, #0e1620 100%);
    color: rgba(255, 255, 255, 0.84);
}

.site-footer-premium {
    background:
        radial-gradient(circle at top right, rgba(200, 164, 93, 0.12), transparent 24%),
        linear-gradient(180deg, #0f1722 0%, #0b121b 100%);
    border-top: 1px solid rgba(200, 164, 93, 0.16);
}

.footer-top-shell {
    padding-bottom: 30px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.footer-top-grid-single {
    grid-template-columns: 1fr;
}

.footer-brand-card,
.footer-links-card {
    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.footer-brand-card {
    background:
        linear-gradient(135deg, rgba(143, 31, 36, 0.22), rgba(17, 24, 39, 0.16)),
        rgba(255, 255, 255, 0.04);
}

.footer-brand-card-wide {
    max-width: 100%;
}

.footer-brand-card h3,
.footer-links-card h4 {
    color: #fff;
}

.footer-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.footer-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
}

.footer-feature-list span::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.footer-links-inline,
.footer-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 18px;
}

.footer-links-inline a,
.footer-contact-inline a {
    color: rgba(255, 255, 255, 0.82);
}

.premium-footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
    padding-bottom: 34px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: #fff;
    font-weight: 400;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.34);
}

.floating-whatsapp .whatsapp-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

.form-card {
    border: 1px solid rgba(229, 231, 235, 0.72);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    color: var(--dark);
    font-weight: 400;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(143, 31, 36, 0.4);
    box-shadow: 0 0 0 4px rgba(143, 31, 36, 0.08);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid rgba(229, 231, 235, 0.72);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-weight: 300;
}

th {
    color: var(--dark);
    background: #f9fafb;
    font-weight: 400;
}

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-weight: 300;
}

.alert-success {
    background: #ecfdf5;
    color: var(--success);
}

.alert-error {
    background: #fef2f2;
    color: var(--danger);
}

.admin-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 28px 22px;
    background: linear-gradient(180deg, #141b25, #10161f);
    color: #fff;
}

.admin-brand {
    display: block;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 400;
}

.admin-menu li {
    margin-bottom: 10px;
}

.admin-menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
}

.admin-menu a.active,
.admin-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-main {
    padding: 34px;
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-card,
.login-box {
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.72);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(143, 31, 36, 0.88)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.login-box {
    width: min(480px, 100%);
}

.muted {
    color: var(--muted);
    font-weight: 300;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1200px) {
    .hero-shell,
    .dual-panel,
    .grid-4,
    .project-grid,
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .topbar-inner,
    .section-head,
    .cta-box,
    .admin-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner {
        position: relative;
        padding: 16px 0;
    }

    .mobile-menu-button {
        width: 52px;
        height: 52px;
        margin-left: auto;
        border-radius: 16px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #fff;
        border: 1px solid rgba(17, 24, 39, 0.08);
        box-shadow: var(--shadow-sm);
        cursor: pointer;
    }

    .mobile-menu-button span {
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--dark);
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        opacity: 0;
        pointer-events: none;
        z-index: 110;
    }

    .header-side-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 92vw);
        height: 100vh;
        padding: 24px 20px 30px;
        background: #fff;
        box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
        z-index: 120;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 22px;
        overflow-y: auto;
    }

    .header-side-panel-clean {
        flex: none;
        justify-content: flex-start;
    }

    .mobile-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--line);
        font-size: 20px;
        color: var(--dark);
    }

    .mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 34px;
        line-height: 1;
        color: var(--dark);
        cursor: pointer;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-toggle:checked ~ .header-side-panel {
        transform: translateX(0);
    }

    .topbar-contact,
    .main-nav,
    .hero-actions,
    .inline-actions,
    .header-panel-actions,
    .footer-actions,
    .footer-links-inline,
    .footer-contact-inline,
    .premium-right {
        width: 100%;
    }

    .main-nav,
    .header-panel-actions,
    .footer-links-inline,
    .footer-contact-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .main-nav a,
    .hero-actions .btn,
    .inline-actions .btn,
    .topbar-contact a,
    .header-panel-actions .btn,
    .footer-actions .btn,
    .footer-links-inline a,
    .footer-contact-inline a {
        width: 100%;
    }

    .main-nav a {
        padding: 14px 12px;
        border-radius: 14px;
        background: #f8fafc;
    }

    .hero::before {
        height: 100%;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .hero-shell,
    .grid-4,
    .grid-3,
    .grid-2,
    .split-grid,
    .project-grid,
    .hero-stats,
    .footer-grid,
    .form-grid,
    .dual-panel,
    .media-grid,
    .admin-layout,
    .slider-thumbs,
    .footer-top-grid,
    .footer-top-grid-single {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-slider {
        padding-top: 72px;
    }

    .hero-content {
        padding-bottom: 46px;
    }

    .hero-stats {
        gap: 14px;
    }

    .stat-card strong {
        font-size: 18px;
    }

    .stats-band .info-card h3 {
        font-size: 18px;
    }

    .hero-bottom-cards {
        margin-top: 0;
        padding-top: 26px;
    }
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }

    .section,
    .content-wrap {
        padding: 44px 0;
    }

    .site-logo-image {
        height: 24px !important;
        max-height: 24px !important;
        max-width: 150px !important;
    }

    .container {
        width: calc(100% - 16px);
    }

    .topbar-inner {
        gap: 6px;
        padding: 6px 0;
        align-items: flex-start;
    }

    .header-inner {
        min-height: 56px;
        padding: 10px 0;
    }

    .header-side-panel {
        width: min(320px, 88vw);
        padding: 16px 14px 22px;
    }

    .mobile-panel-head {
        padding-bottom: 10px;
        margin-bottom: 8px;
    }

    .main-nav-premium {
        width: 100%;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .main-nav,
    .header-panel-actions {
        gap: 8px;
    }

    .main-nav a {
        padding: 10px 12px;
        border-radius: 12px;
        background: #f8fafc;
    }

    .header-panel-actions {
        margin-top: 6px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 22px;
    }

    .stat-card,
    .article,
    .info-card,
    .service-card,
    .value-card,
    .contact-card,
    .highlight-card,
    .timeline-card,
    .showcase-card,
    .media-card,
    .form-card,
    .admin-card,
    .login-box,
    .panel-dark,
    .cta-box,
    .project-card-content,
    .footer-brand-card,
    .footer-links-card {
        padding: 14px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .section-head p,
    .article p,
    .service-card p,
    .info-card p,
    .value-card p,
    .contact-card p,
    .highlight-card p,
    .media-card p,
    .timeline-card p,
    .showcase-card p {
        font-size: 12px;
    }

    .stats-band .info-card h3,
    .stat-card strong {
        font-size: 17px;
    }

    .stat-card span,
    .stats-band .info-card p {
        font-size: 11px;
    }

    .slider-card img {
        height: 190px;
    }

    .slider-overlay {
        padding: 14px;
    }

    .slider-overlay h3 {
        font-size: 16px;
    }

    .project-card img,
    .media-card img,
    .showcase-card img {
        height: 150px;
    }

    .footer-grid {
        gap: 18px;
    }

    .admin-main {
        padding: 14px;
    }
}
