/* ============================================================
   AC Service Management - Main Stylesheet
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;

    --page-pad-y: 22px;
    --page-pad-x: 24px;
    --card-gap: 20px;
    --card-pad: 18px;
    --card-header-pad-y: 12px;
    --card-header-pad-x: 18px;
    --grid-gap-lg: 20px;
    --grid-gap-md: 16px;
    --grid-gap-sm: 14px;
    --topbar-pad-y: 12px;
    --topbar-pad-x: 24px;
}

body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    background: #e8edf2;
    color: #2c3e50;
    min-height: 100vh;
}

html { scroll-behavior: smooth; }

.app-wrapper { display: flex; min-height: 100vh; }

/* ---- Mobile Top Bar ---- */
.mobile-topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    background: #111c2d;
    border-bottom: 2px solid #2980b9;
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ecf0f1;
    border-radius: 2px;
    transition: all 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-logo { display: flex; align-items: center; }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 150;
}
.sidebar-overlay.active { display: block; }

/* ---- Sidebar ---- */
.sidebar {
    width: 220px;
    min-width: 220px;
    max-width: 85vw;
    background: #1a2535;
    color: #c8d6e5;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 160;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 16px;
    background: #111c2d;
    border-bottom: 2px solid #2980b9;
    flex-shrink: 0;
}

.logo-icon { font-size: 28px; color: #3498db; line-height: 1; }
.logo-text strong { display: block; font-size: 14px; color: #ecf0f1; letter-spacing: 0.5px; }
.logo-text small  { font-size: 11px; color: #7f8c8d; }

.sidebar-nav { flex: 1; padding: 12px 0; }

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #546e7a;
    padding: 14px 16px 4px;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    color: #b0bec5;
    text-decoration: none;
    font-size: 13.5px;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
}

.nav-item:hover  { background: #243044; color: #ecf0f1; }
.nav-item.active { background: #1e3a5f; color: #fff; border-left-color: #2980b9; font-weight: 600; }
.nav-icon { font-size: 10px; color: #546e7a; }
.nav-item.active .nav-icon { color: #2980b9; }

.sidebar-footer {
    padding: 12px 14px;
    background: #111c2d;
    border-top: 1px solid #243044;
    flex-shrink: 0;
}

.user-info { margin-bottom: 8px; }
.user-name { display: block; font-size: 13px; font-weight: 600; color: #ecf0f1; }
.user-role { font-size: 11px; color: #7f8c8d; text-transform: capitalize; }

.btn-logout {
    display: block;
    text-align: center;
    padding: 6px 10px;
    background: #c0392b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.btn-logout:hover { background: #a93226; }

/* ---- Main Content ---- */
.main-content {
    flex: 1;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
}

.topbar {
    background: #fff;
    border-bottom: 2px solid #d5dce6;
    padding: var(--topbar-pad-y) var(--topbar-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title { font-size: 18px; font-weight: 700; color: #1a2535; letter-spacing: 0.3px; }
.topbar-right { font-size: 13px; color: #7f8c8d; white-space: nowrap; }

.content-area { padding: var(--page-pad-y) var(--page-pad-x); }

/* ---- Cards ---- */
.card {
    background: #fff;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    margin-bottom: var(--card-gap);
    min-width: 0;
}

.card-header {
    padding: var(--card-header-pad-y) var(--card-header-pad-x);
    background: #f4f7fb;
    border-bottom: 1px solid #d5dce6;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.card-title { font-size: 15px; font-weight: 700; color: #1a2535; }
.card-body  { padding: var(--card-pad); }
.card-body.tight { padding-bottom: var(--space-2); }

/* ---- Stats ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--grid-gap-sm);
    margin-bottom: var(--page-pad-y);
}

.stat-card {
    background: #fff;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    padding: 16px 14px;
    text-align: center;
    border-top: 4px solid #2980b9;
}

.stat-card.orange { border-top-color: #e67e22; }
.stat-card.blue   { border-top-color: #2980b9; }
.stat-card.green  { border-top-color: #27ae60; }
.stat-card.purple { border-top-color: #8e44ad; }
.stat-card.teal   { border-top-color: #16a085; }

.stat-number { font-size: 28px; font-weight: 800; color: #1a2535; line-height: 1; margin-bottom: 4px; min-height: 28px; display: flex; align-items: center; justify-content: center; }
.stat-label  { font-size: 11.5px; color: #7f8c8d; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Semantic layout grids (responsive-safe) ---- */
.dash-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap-lg); }
.wa-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap-md); }
.users-grid  { display: grid; grid-template-columns: 2fr 1fr; gap: var(--grid-gap-lg); }
.board-image-gallery { margin-top: 8px; padding: 14px; border: 1px solid #dbe4ee; border-radius: 12px; background: linear-gradient(180deg, #fcfdff 0%, #f7fafc 100%); }
.board-image-gallery-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: #5b6b7f; font-size: 12px; }
.board-image-gallery-head span { font-weight: 700; color: #1f2d3d; font-size: 13px; }
.board-image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.board-image-slot { display: flex; flex-direction: column; gap: 10px; }
.board-image-card { display: block; padding: 10px; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(21, 38, 61, 0.06); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.board-image-card:hover { transform: translateY(-2px); border-color: #b8cbe0; box-shadow: 0 12px 24px rgba(21, 38, 61, 0.1); }
.board-image-preview { width: 100%; height: 220px; object-fit: cover; border: 1px solid #e1e8f0; border-radius: 10px; background: #f8fafc; display: block; }
.board-image-caption { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; color: #294661; text-align: center; }
.board-image-empty { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 1px dashed #c8d6e5; border-radius: 12px; background: #f8fafc; color: #6b7b8f; font-size: 13px; }
/* Flex fallback first, grid overrides when supported */
.report-summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gap-sm);
    margin-bottom: var(--card-gap);
}
.report-summary-grid > .stat-card { flex: 1 1 220px; }

@supports (display: grid) {
    .report-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
}

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 20px 0; flex-wrap: wrap; }
.page-btn { display: inline-block; padding: 6px 12px; background: #f0f4f8; color: #333; text-decoration: none; border-radius: 4px; font-size: 13px; transition: background 0.2s; }
.page-btn:hover { background: #e0e4e8; }
.page-btn.active { background: #2980b9; color: #fff; font-weight: 600; }
.page-ellipsis { padding: 6px 8px; color: #666; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

thead th {
    background: #f0f4f8;
    color: #1a2535;
    font-weight: 700;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid #d5dce6;
    white-space: nowrap;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

thead th.sortable-th {
    cursor: pointer;
    user-select: none;
}

.sort-indicator {
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    color: #7f8c8d;
}

tbody tr { border-bottom: 1px solid #ecf0f1; transition: background 0.1s; }
tbody tr:hover { background: #f8fafc; }
tbody td { padding: 9px 12px; color: #2c3e50; vertical-align: middle; overflow-wrap: anywhere; }

/* Keep number/index column readable */
table th:first-child,
table td:first-child {
    width: 42px;
    min-width: 42px;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
}

/* ---- Badge ---- */
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 3px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
}

.btn:hover { opacity: 0.88; }

.btn-primary   { background: #2980b9; color: #fff; }
.btn-success   { background: #27ae60; color: #fff; }
.btn-warning   { background: #e67e22; color: #fff; }
.btn-danger    { background: #c0392b; color: #fff; }
.btn-secondary { background: #7f8c8d; color: #fff; }
.btn-whatsapp  { background: #25D366; color: #fff; }
.btn-sm        { padding: 4px 10px; font-size: 12px; }
.btn-lg        { padding: 10px 16px; font-size: 14px; }
.btn-light     { background: #ecf0f1; color: #2c3e50; border: 1px solid #bdc3c7; }

/* ---- Forms ---- */
.form-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap-md) var(--grid-gap-lg); }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--grid-gap-md) var(--grid-gap-lg); }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full-width { grid-column: 1 / -1; }

label { font-size: 12.5px; font-weight: 700; color: #4a5568; letter-spacing: 0.3px; }

input[type="text"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="password"],
select,
textarea {
    padding: 8px 10px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 13.5px;
    color: #2c3e50;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41,128,185,0.15);
}

textarea { resize: vertical; min-height: 70px; }
.textarea-lg { min-height: 110px; }

.password-wrap {
    position: relative;
}
.password-wrap input {
    padding-right: 44px;
}
.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #bdc3c7;
    background: #f4f7fb;
    color: #2c3e50;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    min-width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.password-toggle:hover { opacity: 0.9; }
.password-toggle svg { width: 16px; height: 16px; display: block; }
.password-toggle .icon-hide { display: none; }
.password-toggle.is-visible .icon-show { display: none; }
.password-toggle.is-visible .icon-hide { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.option-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #bdc3c7;
    border-radius: 20px;
    background: #f8fafc;
    font-size: 12.5px;
    cursor: pointer;
}
.option-pill input { margin: 0; accent-color: #2980b9; }
.option-pill input:checked + span { font-weight: 700; color: #1a2535; }

.report-no {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px dashed #bdc3c7;
    border-radius: 6px;
    background: #f6f9fc;
    font-size: 13px;
    font-weight: 700;
    color: #1a2535;
}

.checklist-grid {
    display: grid;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    background: #f8fafc;
}
.checklist-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.check-item {
    display: grid;
    grid-template-columns: 28px 16px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #2c3e50;
}
.check-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    background: #fff;
}
.check-item input { margin: 0; accent-color: #2980b9; }
.check-item-empty {
    visibility: hidden;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #d5dce6;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #1a2535;
}

.boxed-panel {
    border: 1px solid #d5dce6;
    border-radius: 6px;
    background: #f8fafc;
    padding: 10px 12px;
}
.boxed-title {
    font-size: 12px;
    font-weight: 800;
    color: #1a2535;
    margin-bottom: 8px;
}
.boxed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.form-actions {
    margin-top: var(--space-5);
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
}

/* ---- Alerts ---- */
.alert {
    padding: 11px 16px;
    border-radius: 4px;
    margin-bottom: var(--space-4);
    font-size: 13.5px;
    font-weight: 600;
    border-left: 4px solid;
}

.alert-success { background: #eafaf1; border-color: #27ae60; color: #1e8449; }
.alert-error   { background: #fdedec; border-color: #c0392b; color: #922b21; }
.alert-info    { background: #ebf5fb; border-color: #2980b9; color: #1a5276; }
.alert-warning { background: #fef9e7; border-color: #e67e22; color: #9c6003; }

/* ---- Detail View ---- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap-sm) var(--grid-gap-lg); }

.detail-item label {
    color: #7f8c8d;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.detail-item .value {
    font-size: 14px;
    color: #1a2535;
    font-weight: 600;
    word-break: break-word;
}

.detail-full { grid-column: 1 / -1; }

/* ---- Filter bar ---- */
.filter-bar {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.filter-bar input  { flex: 1; min-width: 160px; }
.filter-bar select { min-width: 130px; }

@media (min-width: 901px) {
    .filter-bar { flex-wrap: nowrap; }
    .filter-bar input  { flex: 1 1 auto; min-width: 0; }
    .filter-bar select { flex: 0 0 180px; min-width: 180px; }
}

/* ---- Divider ---- */
.divider { border: none; border-top: 1px solid #ecf0f1; margin: var(--space-4) 0; }

/* ---- Login ---- */
.login-page {
    min-height: 100vh;
    background: #1a2535;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.login-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px 36px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo .icon { font-size: 48px; color: #2980b9; }
.login-logo h2 { font-size: 20px; font-weight: 800; color: #1a2535; margin-top: 6px; }
.login-logo p  { font-size: 12px; color: #7f8c8d; margin-top: 2px; }
.login-box .form-group { margin-bottom: 14px; }

/* ---- Public Landing ---- */
.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background:
        linear-gradient(180deg, #eff4f9 0%, #f7f9fc 40%, #eef3f8 100%);
    color: #203247;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page .btn,
.landing-page .page-kicker,
.landing-page .section-tag {
    font-family: 'Syne', 'DM Sans', sans-serif;
}

.landing-page main {
    flex: 1 0 auto;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(24, 68, 110, 0.12);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 320px;
    height: 100px;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.public-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(18, 54, 93, 0.15);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 8px 20px rgba(20, 46, 76, 0.08);
}

.public-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #12365d;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.public-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.public-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.public-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.public-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 26, 43, 0.42);
    z-index: 90;
}

.public-nav-overlay.active {
    display: block;
}

.landing-nav a {
    color: #203247;
    text-decoration: none;
    font-weight: 600;
}

.landing-nav a.active:not(.btn) {
    color: #0a76c9;
}

.landing-nav a:not(.btn):hover {
    color: #0a76c9;
}

.landing-nav .btn,
.landing-nav .btn:visited {
    color: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(135deg, rgba(7, 20, 43, 0.82), rgba(20, 53, 98, 0.58));
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06) translateX(24px);
    transition: opacity 0.85s ease, visibility 0.85s ease, transform 0.9s cubic-bezier(.2,.75,.2,1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(117, 195, 255, 0.28), transparent 34%),
        radial-gradient(circle at center, rgba(255, 209, 153, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(5, 13, 28, 0.18), rgba(5, 13, 28, 0.4));
    pointer-events: none;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 18px;
    backdrop-filter: blur(4px);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #fff;
    border-color: #fff;
}

.hero-dot:hover {
    border-color: #fff;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 400px);
    gap: 28px;
    align-items: stretch;
}

.hero-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
    padding: 22px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(18, 118, 198, 0.10);
    color: #0f67b3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: 1px solid rgba(18, 118, 198, 0.12);
}

.hero-section .eyebrow {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-copy h1,
.section-intro h2 {
    color: #122b47;
    line-height: 1.15;
}

.hero-copy h1 {
    font-size: 46px;
    margin: 20px 0 16px;
    max-width: 720px;
    color: #fff;
    text-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.hero-copy p,
.section-intro p,
.about-card p,
.service-card p,
.contact-card p {
    color: #53667a;
    line-height: 1.7;
}

.hero-copy p {
    font-size: 16px;
    max-width: 700px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 6px 18px rgba(0,0,0,0.24);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.hero-point {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.hero-contact-strip a {
    color: #fff;
    text-decoration: none;
}

.login-panel,
.about-card,
.service-card,
.contact-card,
.about-visual {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(18, 54, 93, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(20, 46, 76, 0.08);
}

.login-panel {
    padding: 26px;
    align-self: start;
}

.login-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.login-panel-head img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.login-panel-head h2 {
    font-size: 21px;
    color: #12365d;
    margin-bottom: 4px;
}

.login-panel-head p {
    color: #687b8d;
    line-height: 1.5;
}

.login-panel .form-group {
    margin-bottom: 14px;
}

.info-section {
    padding: 74px 0;
}

.contact-hero-section {
    padding: 0;
}

.contact-hero-card {
    min-height: 360px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 18, 58, 0.78), rgba(28, 52, 121, 0.52)),
        url('../assets/contact.webp') center center / cover no-repeat;
}

.contact-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 28%),
        linear-gradient(180deg, rgba(6, 12, 33, 0.16), rgba(6, 12, 33, 0.42));
}

.contact-hero-overlay {
    position: relative;
    z-index: 1;
    min-height: 360px;
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.contact-hero-section .eyebrow {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}

.contact-hero-overlay h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.14;
    margin: 18px 0 14px;
    text-shadow: 0 10px 26px rgba(0,0,0,0.3);
}

.contact-hero-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.75;
    max-width: 680px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.24);
}

.since-banner-section {
    padding: 34px 0 76px;
}

.since-banner-card {
    min-height: 420px;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(180deg, rgba(2, 8, 18, 0.2) 0%, rgba(2, 10, 24, 0.74) 100%),
        url('../assets/since.jpg') center center / cover no-repeat;
    box-shadow: 0 28px 54px rgba(7, 18, 35, 0.22);
}

.since-banner-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(47, 117, 191, 0.24), transparent 42%),
        linear-gradient(135deg, rgba(5, 12, 25, 0.1), rgba(5, 12, 25, 0.55));
}

.since-banner-overlay {
    position: relative;
    z-index: 1;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 28px;
    color: #fff;
}

.since-banner-overlay .eyebrow {
    color: rgba(255,255,255,0.82);
    margin-bottom: 10px;
}

.since-banner-overlay h2 {
    max-width: 820px;
    color: #fff;
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 14px;
    text-shadow: 0 10px 24px rgba(0,0,0,0.38);
}

.since-banner-overlay p {
    max-width: 720px;
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.section-intro {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-intro h2 {
    font-size: 34px;
    margin: 16px 0 12px;
    color: #12365d;
}

.section-intro p {
    color: #53667a;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-card,
.contact-card {
    padding: 24px;
}

.about-card h3,
.service-card h3,
.contact-card h3 {
    margin-bottom: 10px;
    color: #12365d;
    font-size: 20px;
}

.contact-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(229, 57, 75, 0.12), rgba(24, 79, 134, 0.12));
    color: #cf3648;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-line i {
    color: #d43346;
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.contact-line + .contact-line {
    margin-top: 10px;
}

.contact-line a {
    color: #12365d;
    text-decoration: none;
    font-weight: 600;
}

.contact-line a:hover {
    color: #0a76c9;
}

.about-card-primary {
    background: linear-gradient(180deg, #12365d 0%, #184f86 100%);
    border-color: rgba(18, 54, 93, 0.22);
    color: #fff;
}

.about-card-primary h3,
.about-card-primary p {
    color: #fff;
}

.about-card-secondary {
    background:
        linear-gradient(135deg, rgba(229, 57, 75, 0.08), rgba(23, 144, 223, 0.06)),
        rgba(255,255,255,0.97);
    border: 1px solid rgba(229, 57, 75, 0.18);
    position: relative;
    overflow: hidden;
}

.about-card-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e5394b, #1790df);
}

.services-section {
    background:
        linear-gradient(180deg, rgba(13, 76, 129, 0.04), rgba(229, 54, 72, 0.03));
}

.service-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(18, 54, 93, 0.10);
    box-shadow: 0 18px 38px rgba(20, 46, 76, 0.08);
}

.service-card h3 {
    margin-bottom: 10px;
    color: #12365d;
    font-size: 20px;
}

.service-card p {
    color: #53667a;
    line-height: 1.7;
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card-link .service-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-link:hover .service-card,
.service-card-link:focus-visible .service-card {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(20, 46, 76, 0.12);
    border-color: rgba(23, 144, 223, 0.22);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e5394b, #1790df);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: #0f67b3;
    font-weight: 700;
}

.service-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 78px;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(5, 16, 38, 0.84), rgba(22, 70, 121, 0.56));
    z-index: 1;
}

.service-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(120, 200, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(4, 11, 26, 0.12), rgba(4, 11, 26, 0.46));
}

.service-detail-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff;
}

.service-detail-hero-copy h1 {
    color: #fff;
    font-size: 48px;
    line-height: 1.12;
    margin: 18px 0 16px;
    text-shadow: 0 10px 26px rgba(0,0,0,0.3);
}

.service-detail-hero-copy p {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 6px 16px rgba(0,0,0,0.24);
}

.service-detail-section {
    background: linear-gradient(180deg, rgba(13, 76, 129, 0.03), rgba(229, 54, 72, 0.02));
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.service-detail-main,
.service-detail-side {
    display: grid;
    gap: 20px;
}

.service-detail-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-detail-panel {
    padding: 24px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(18, 54, 93, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(20, 46, 76, 0.08);
}

.service-detail-panel h3 {
    margin-bottom: 14px;
    color: #12365d;
    font-size: 20px;
}

.service-detail-panel-accent {
    background: linear-gradient(180deg, rgba(18, 54, 93, 0.98), rgba(24, 79, 134, 0.95));
    border-color: rgba(18, 54, 93, 0.28);
}

.service-detail-panel-accent h3,
.service-detail-panel-accent .service-list li {
    color: #fff;
}

.service-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 12px;
}

.service-list li {
    color: #53667a;
    line-height: 1.7;
}

.service-detail-cta p {
    margin-bottom: 18px;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-card-wide {
    grid-column: 1 / -1;
}

.contact-section {
    padding-bottom: 82px;
}

.brand-section {
    padding: 20px 0 40px;
}

.brand-section-intro {
    margin-bottom: 10px;
}

.brand-showcase {
    padding: 10px 22px;
    background:
        linear-gradient(135deg, rgba(255, 243, 228, 0.98), rgba(250, 239, 225, 0.96));
    border: 1px solid rgba(143, 92, 43, 0.16);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(78, 46, 18, 0.10);
}

.brand-showcase img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.landing-footer {
    margin-top: auto;
    background: #11263f;
    color: rgba(255,255,255,0.78);
    padding: 20px 0;
    text-align: center;
}

/* ---- Technician Report ---- */
/* Flex fallback first, grid overrides when supported */
.tech-report-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gap-md);
    margin-bottom: var(--card-gap);
}
.tech-report-grid > .tech-card { flex: 1 1 290px; max-width: 100%; }

@supports (display: grid) {
    .tech-report-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

.tech-card {
    background: #fff;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    border-top: 4px solid #2980b9;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tech-card-header {
    padding: 12px 16px;
    background: #f4f7fb;
    border-bottom: 1px solid #d5dce6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2980b9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}

.tech-name { font-size: 14px; font-weight: 700; color: #1a2535; }
.tech-role-badge { font-size: 10.5px; color: #7f8c8d; font-weight: 600; }

.tech-stats-row {
    display: flex;
    border-bottom: 1px solid #ecf0f1;
}
.tech-stats-row > .tech-stat-item { flex: 1 1 0; }

@supports (display: grid) {
    .tech-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.tech-stat-item { padding: 12px 10px; text-align: center; border-right: 1px solid #ecf0f1; }
.tech-stat-item:last-child { border-right: none; }

.tech-stat-num { font-size: 22px; font-weight: 800; color: #1a2535; line-height: 1; }
.tech-stat-num.green  { color: #27ae60; }
.tech-stat-num.blue   { color: #2980b9; }

.tech-stat-lbl {
    font-size: 10px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 3px;
}

.tech-days-row {
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-days-label { font-size: 12px; color: #4a5568; font-weight: 600; }
.tech-days-val   { font-size: 14px; font-weight: 800; color: #1a2535; }

.tech-days-bar-wrap { padding: 0 14px 12px; }
.tech-days-bar-bg   { height: 6px; background: #e8edf2; border-radius: 3px; overflow: hidden; }
.tech-days-bar-fill { height: 100%; background: linear-gradient(90deg, #2980b9, #27ae60); border-radius: 3px; }

.tech-revenue-row {
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ecf0f1;
}

.tech-service-list { padding: 0 14px 12px; border-top: 1px solid #ecf0f1; }
.tech-service-list-title {
    font-size: 11px;
    font-weight: 700;
    color: #546e7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: var(--space-2) 0 var(--space-2);
}

.tech-service-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-2) 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 12.5px;
    gap: var(--space-2);
}
.tech-service-list-item:last-child { border-bottom: none; }

.map-embed {
  margin: 12px 0 4px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
}
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
.map-embed .map-canvas {
  width: 100%;
  height: 280px;
}

/* ---- Misc ---- */
.text-right  { text-align: right; }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

.flex-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.no-data { text-align: center; padding: 30px; color: #95a5a6; font-style: italic; }

.section-heading {
    font-size: 13px;
    font-weight: 800;
    color: #2980b9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #ebf5fb;
    padding-bottom: 6px;
    margin-bottom: var(--space-3);
    margin-top: var(--space-1);
}

/* ---- Utilities ---- */
.btn-block { width: 100%; }
.form-stack .form-group { margin-bottom: var(--space-3); }
.form-stack .form-group:last-child { margin-bottom: 0; }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}
.modal-card {
    background: #fff;
    border-radius: 6px;
    padding: var(--space-6);
    width: 100%;
    max-width: 360px;
}
.modal-title {
    margin-bottom: var(--space-4);
    font-size: 15px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large tablet */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .report-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tablet ≤900px ---- */
@media (max-width: 900px) {
    :root {
        --page-pad-y: 14px;
        --page-pad-x: 16px;
        --card-gap: 16px;
        --card-pad: 14px;
        --card-header-pad-y: 10px;
        --card-header-pad-x: 14px;
        --grid-gap-lg: 16px;
        --grid-gap-md: 14px;
        --grid-gap-sm: 10px;
        --topbar-pad-y: 10px;
        --topbar-pad-x: 16px;
    }

    /* Show mobile bar, hide sidebar by default */
    .mobile-topbar { display: flex; }

    .sidebar { transform: translateX(-100%); width: 240px; min-width: 240px; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-header { display: none; }
    .sidebar { padding-top: var(--space-3); }

    .main-content { margin-left: 0; padding-top: 52px; }
    .topbar { position: static; }
    .topbar-right .date-display { display: none; }
    .page-title { font-size: 16px; }

    .header-inner,
    .hero-grid,
    .about-grid,
    .service-detail-layout,
    .service-detail-panels,
    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        display: flex;
        align-items: center;
        padding: 16px 0;
    }

    .public-menu-btn {
        display: inline-flex;
        margin-left: auto;
    }

    .landing-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid rgba(18, 54, 93, 0.12);
        border-radius: 16px;
        box-shadow: 0 20px 36px rgba(20, 46, 76, 0.14);
        z-index: 110;
    }

    .landing-nav.open {
        display: flex;
    }

    .landing-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .landing-nav .btn {
        margin-top: 8px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .service-detail-hero-copy h1 {
        font-size: 38px;
    }

    .since-banner-section {
        padding: 24px 0 60px;
    }

    .contact-hero-card,
    .contact-hero-overlay {
        min-height: 300px;
    }

    .contact-hero-overlay {
        padding: 36px 18px;
    }

    .contact-hero-overlay h1 {
        font-size: 32px;
    }

    .contact-hero-overlay p {
        font-size: 15px;
    }

    .since-banner-card,
    .since-banner-overlay {
        min-height: 340px;
    }

    .since-banner-overlay {
        padding: 36px 20px;
    }

    .since-banner-overlay h2 {
        font-size: 30px;
    }

    .since-banner-overlay p {
        font-size: 15px;
    }

    .section-intro h2 {
        font-size: 30px;
    }

    .login-panel {
        max-width: 100%;
    }

    /* All layout grids collapse */
    .dash-grid           { grid-template-columns: 1fr; }
    .wa-grid             { grid-template-columns: 1fr; }
    .users-grid          { grid-template-columns: 1fr; }
    .form-grid           { grid-template-columns: 1fr; }
    .form-grid-3         { grid-template-columns: 1fr 1fr; }
    .detail-grid         { grid-template-columns: 1fr; }
    .report-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-report-grid    { grid-template-columns: 1fr 1fr; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap-sm); }
    .stat-number { font-size: 22px; }
}

/* ---- Mobile ≤600px ---- */
@media (max-width: 600px) {
    :root {
        --page-pad-y: 10px;
        --page-pad-x: 12px;
        --card-gap: 14px;
        --card-pad: 12px;
        --card-header-pad-y: 10px;
        --card-header-pad-x: 12px;
        --grid-gap-lg: 14px;
        --grid-gap-md: 12px;
        --grid-gap-sm: 8px;
        --topbar-pad-y: 8px;
        --topbar-pad-x: 12px;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap-sm); margin-bottom: var(--page-pad-y); }
    .stat-number { font-size: 20px; }
    .stat-label  { font-size: 10px; }

    .contact-hero-card,
    .contact-hero-overlay {
        min-height: 260px;
    }

    .contact-hero-overlay h1 {
        font-size: 26px;
    }

    .contact-hero-overlay p {
        font-size: 14px;
        line-height: 1.6;
    }

    .since-banner-card,
    .since-banner-overlay {
        min-height: 300px;
    }

    .since-banner-overlay {
        padding: 30px 16px;
    }

    .since-banner-overlay h2 {
        font-size: 26px;
    }

    .since-banner-overlay p {
        font-size: 14px;
        line-height: 1.6;
    }
    .stat-card   { padding: 10px 8px; }

    .container {
        width: min(100% - 20px, 1160px);
    }

    .brand-mark img {
        width: 240px;
        height: 70px;
    }

    .header-inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .public-menu-btn {
        width: 44px;
        height: 44px;
    }

    .hero-section,
    .info-section,
    .service-detail-hero,
    .brand-section {
        padding: 48px 0;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .service-detail-hero-copy h1 {
        font-size: 30px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .section-intro h2 {
        font-size: 26px;
    }

    .hero-actions,
    .hero-contact-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-panel,
    .about-card,
    .service-card,
    .contact-card,
    .brand-showcase {
        padding: 18px;
        border-radius: 14px;
    }

    .page-title { font-size: 14px; }
    .form-grid-3      { grid-template-columns: 1fr; }
    .tech-report-grid { grid-template-columns: 1fr; }
    .report-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .checklist-row { grid-template-columns: 1fr; }

    .btn    { font-size: 12.5px; padding: 6px 12px; }
    .btn-sm { font-size: 11.5px; padding: 4px 8px; }

    /* Filter bar stacks on mobile */
    .filter-bar { flex-direction: column; align-items: stretch; gap: var(--space-2); }
    .filter-bar input,
    .filter-bar select { width: 100%; min-width: unset; flex: none; }

    /* Form actions stack vertically */
    .form-actions { flex-direction: column; align-items: stretch; gap: 8px; }
    .form-actions .btn { width: 100%; }

    .section-heading { font-size: 11.5px; }

    /* Tables stay scrollable */
    table { font-size: 12.5px; }
    thead th { padding: 8px 9px; font-size: 11px; }
    tbody td { padding: 7px 9px; }
}

@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .stat-number { font-size: 18px; }
    .login-box { padding: 24px 14px; }
}

@media (max-width: 520px) {
    .report-summary-grid { grid-template-columns: 1fr; }
    .tech-stats-row { grid-template-columns: 1fr 1fr; }
    .tech-days-row { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
}

/* ============================================================
   Public Template Integration
   ============================================================ */

.page-hero-lite {
    position: relative;
    overflow: hidden;
    padding: 150px 0 92px;
    border-bottom: 1px solid rgba(18, 54, 93, 0.10);
}

.page-hero-lite::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 35%, rgba(29, 143, 191, 0.10), transparent 34%);
    pointer-events: none;
}

.page-hero-about {
    background:
        linear-gradient(135deg, rgba(232, 245, 254, 0.90) 0%, rgba(238, 248, 253, 0.88) 52%, rgba(248, 251, 254, 0.90) 100%),
        url('../assets/since.jpg') center center / cover no-repeat;
}

.page-hero-services {
    background:
        linear-gradient(135deg, rgba(232, 245, 254, 0.90) 0%, rgba(230, 243, 251, 0.88) 52%, rgba(248, 251, 254, 0.90) 100%),
        url('../assets/services/service-hero-1.jpg') center center / cover no-repeat;
}

.page-hero-contact {
    background:
        linear-gradient(135deg, rgba(254, 242, 236, 0.90) 0%, rgba(255, 246, 242, 0.88) 52%, rgba(255, 250, 248, 0.90) 100%),
        url('../assets/contact.webp') center center / cover no-repeat;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-kicker,
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d53a2a;
}

.page-kicker::before,
.section-tag::before {
    content: "";
    width: 22px;
    height: 2px;
    background: #d53a2a;
    border-radius: 999px;
}

.page-hero-inner h1,
.section-title {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    color: #0f2c45;
    margin: 18px 0 14px;
}

.section-title {
    font-size: clamp(30px, 3.1vw, 44px);
    margin: 14px 0 10px;
}

.page-hero-inner p,
.public-section-intro p,
.public-story-copy p,
.public-value-card p,
.public-timeline-item p,
.public-process-card p,
.public-channel-card p,
.public-area-copy p,
.public-booking-step p {
    color: #55738d;
    font-size: 16px;
    line-height: 1.75;
}

.public-section-intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.public-section-intro-invert .section-title,
.section-title-invert {
    color: #fff;
}

.public-section-intro-invert p {
    color: rgba(255,255,255,0.62);
}

.section-tag-invert {
    color: #8bd7f3;
}

.section-tag-invert::before {
    background: #8bd7f3;
}

.public-stat-row {
    background: #fff;
    border-top: 1px solid rgba(18, 54, 93, 0.08);
    border-bottom: 1px solid rgba(18, 54, 93, 0.08);
    box-shadow: 0 10px 24px rgba(7, 30, 52, 0.05);
}

.public-stat-grid,
.public-values-grid,
.public-process-grid,
.public-channel-grid,
.public-booking-grid {
    display: grid;
    gap: 20px;
}

.public-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-stat-card {
    padding: 24px 18px;
    text-align: center;
    border-right: 1px solid rgba(18, 54, 93, 0.08);
}

.public-stat-card:last-child {
    border-right: none;
}

.public-stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #0f2c45;
}

.public-stat-card span {
    display: block;
    margin-top: 6px;
    color: #68839a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.public-story-layout,
.public-area-layout,
.public-cta-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.public-story-visual {
    position: relative;
}

.public-story-card {
    min-height: 360px;
    padding: 34px 34px 124px;
    border-radius: 26px;
    background: linear-gradient(135deg, #071e34 0%, #1a3d5c 100%);
    box-shadow: 0 24px 48px rgba(7, 30, 52, 0.18);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.public-story-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 22%, rgba(29, 143, 191, 0.18), transparent 34%);
}

.public-story-card h2,
.public-story-card p {
    position: relative;
    z-index: 1;
}

.public-story-card h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.public-story-card p {
    color: rgba(255,255,255,0.68);
}

.public-story-stamp {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 76px;
    line-height: 1;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    z-index: 0;
}

.public-story-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 16px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e8410f, #c93309);
    color: #fff;
    box-shadow: 0 14px 30px rgba(232, 65, 15, 0.28);
}

.public-story-badge strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.public-story-badge span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.86;
}

.public-story-copy {
    padding-top: 18px;
}

.public-timeline-section,
.public-process-section,
.public-contact-channels,
.public-booking-section {
    padding: 88px 0;
}

.public-timeline-section,
.public-process-section,
.public-contact-channels {
    background: linear-gradient(180deg, rgba(232, 245, 254, 0.55), rgba(243, 250, 253, 0.92));
    border-top: 1px solid rgba(18, 54, 93, 0.08);
    border-bottom: 1px solid rgba(18, 54, 93, 0.08);
}

.public-timeline {
    position: relative;
    margin-top: 10px;
    padding-left: 32px;
}

.public-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d7ecf7;
}

.public-timeline-item {
    position: relative;
    padding: 0 0 28px 30px;
}

.public-timeline-dot {
    position: absolute;
    left: -2px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #1d8fbf;
    background: #fff;
}

.public-timeline-dot-accent {
    border-color: #e8410f;
}

.public-timeline-year {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #1d8fbf;
}

.public-timeline-year-accent {
    color: #e8410f;
}

.public-timeline-item h3 {
    color: #0f2c45;
    font-size: 21px;
    margin-bottom: 6px;
}

.public-values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.public-value-card,
.public-process-card,
.public-booking-step,
.public-channel-card {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(18, 54, 93, 0.10);
    box-shadow: 0 18px 38px rgba(20, 46, 76, 0.08);
}

.public-value-icon,
.public-service-icon,
.public-channel-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    margin-bottom: 16px;
}

.public-value-icon,
.public-service-icon {
    background: linear-gradient(180deg, rgba(232, 65, 15, 0.10), rgba(29, 143, 191, 0.10));
    color: #d33d29;
}

.public-value-card h3,
.public-process-card h3,
.public-booking-step h3,
.public-channel-card h3,
.public-service-copy h3 {
    color: #0f2c45;
    font-size: 22px;
    margin-bottom: 10px;
}

.public-services-grid {
    display: grid;
    gap: 24px;
}

.public-service-block {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(18, 54, 93, 0.10);
    box-shadow: 0 18px 38px rgba(20, 46, 76, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.public-service-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(20, 46, 76, 0.12);
    border-color: rgba(29, 143, 191, 0.24);
}

.public-service-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #1d8fbf;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-service-copy p {
    color: #5b7f9a;
    line-height: 1.7;
}

.public-service-list {
    margin: 16px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: #3a5f7a;
}

.public-process-grid,
.public-booking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-process-card strong,
.public-booking-step strong {
    display: block;
    margin-bottom: 12px;
    font-size: 40px;
    line-height: 1;
    color: #d7ecf7;
}

.public-brand-band,
.public-hours-section {
    padding: 88px 0;
    background: #071e34;
}

.public-brand-band .brand-showcase {
    margin-top: 26px;
}

.brand-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    padding: 8px 0;
}

.brand-carousel::before,
.brand-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 92px;
    z-index: 2;
    pointer-events: none;
}

.brand-carousel::before {
    left: 0;
    background: linear-gradient(to right, #071e34, rgba(7, 30, 52, 0));
}

.brand-carousel::after {
    right: 0;
    background: linear-gradient(to left, #071e34, rgba(7, 30, 52, 0));
}

.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: brandScroll 28s linear infinite;
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused;
}

.brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.86);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.brand-item:hover {
    transform: translateY(-2px);
    background: rgba(29, 143, 191, 0.22);
    border-color: rgba(125, 212, 240, 0.42);
    color: #c8ecfb;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.public-cta-band {
    padding: 76px 0;
    background: linear-gradient(135deg, #e8f5fe 0%, #e3f0fa 50%, #cde9f9 100%);
    border-top: 1px solid rgba(18, 54, 93, 0.08);
}

.public-cta-band-inner {
    gap: 24px;
}

.public-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.public-call-banner {
    background: linear-gradient(135deg, #e8410f, #c93309);
    padding: 28px 0;
}

.public-call-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.public-call-banner-inner h2,
.public-call-banner-inner p {
    color: #fff;
}

.public-call-banner-inner h2 {
    font-size: 26px;
    margin-bottom: 4px;
}

.public-call-banner-inner p {
    opacity: 0.86;
}

.public-call-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.public-call-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.16);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.public-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-channel-card {
    text-decoration: none;
    color: inherit;
}

.public-channel-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0f2c45;
    font-size: 22px;
}

.public-channel-icon-hot { background: rgba(232, 65, 15, 0.10); color: #d53a2a; }
.public-channel-icon-cool { background: rgba(29, 143, 191, 0.10); color: #1d8fbf; }
.public-channel-icon-chat { background: rgba(37, 211, 102, 0.12); color: #1d9d55; }
.public-channel-icon-loc { background: rgba(74, 200, 100, 0.10); color: #2f9d4f; }
.public-channel-icon-time { background: rgba(255, 200, 50, 0.14); color: #ca8d14; }
.public-channel-icon-build { background: rgba(9, 22, 40, 0.06); color: #0f2c45; }

.public-area-section {
    padding: 88px 0;
    background: #fff;
}

.public-area-visual {
    min-height: 360px;
    border-radius: 26px;
    background: linear-gradient(135deg, #071e34 0%, #1a3d5c 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 24px 48px rgba(7, 30, 52, 0.18);
}

.public-area-visual i {
    font-size: 74px;
}

.public-area-visual span {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 700;
}

.public-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.public-area-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3fafd;
    border: 1px solid #ddeef8;
    color: #1a3d5c;
    font-size: 13px;
    font-weight: 600;
}

.public-hours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.public-hours-card {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.public-hours-card h3 {
    color: rgba(255,255,255,0.60);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.public-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.public-hours-row:last-child {
    border-bottom: none;
}

.public-hours-row span {
    color: rgba(255,255,255,0.60);
}

.public-hours-row strong {
    color: #fff;
}

.public-booking-grid.service-highlight-grid {
    margin-bottom: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-highlight-step h3 {
    font-size: 18px;
    line-height: 1.3;
}

.service-highlight-step p {
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .public-booking-grid.service-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .public-booking-grid.service-highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .public-stat-grid,
    .public-values-grid,
    .public-process-grid,
    .public-booking-grid,
    .public-channel-grid,
    .public-hours-grid,
    .public-story-layout,
    .public-area-layout,
    .public-cta-band-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-section-intro,
    .page-hero-inner {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .page-hero-lite {
        padding: 120px 0 72px;
    }

    .public-story-layout,
    .public-area-layout,
    .public-cta-band-inner,
    .public-stat-grid,
    .public-values-grid,
    .public-process-grid,
    .public-booking-grid,
    .public-channel-grid,
    .public-hours-grid {
        grid-template-columns: 1fr;
    }

    .public-stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(18, 54, 93, 0.08);
    }

    .public-stat-card:last-child {
        border-bottom: none;
    }

    .public-cta-actions {
        justify-content: flex-start;
    }

    .public-call-banner-inner,
    .public-call-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-service-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .page-hero-lite {
        padding: 110px 0 60px;
    }

    .page-hero-inner h1,
    .section-title {
        font-size: 30px;
    }

    .public-story-card,
    .public-value-card,
    .public-process-card,
    .public-booking-step,
    .public-channel-card,
    .public-hours-card,
    .public-service-block {
        padding: 22px;
        border-radius: 18px;
    }

    .public-story-card {
        padding-bottom: 108px;
    }

    .public-story-badge {
        left: 18px;
        bottom: 18px;
    }

    .public-timeline {
        padding-left: 18px;
    }

    .public-timeline-item {
        padding-left: 22px;
    }
}

/* ============================================================
   Home Clean Redesign
   ============================================================ */

.home-stat-row-clean {
    margin-top: 0;
}

.home-clean-services {
    padding-top: 84px;
}

.home-clean-service-accent {
    background: linear-gradient(135deg, #071e34 0%, #1a3d5c 100%);
    border-color: rgba(7, 30, 52, 0.24);
}

.home-clean-service-accent .public-service-icon {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.home-clean-service-accent .public-service-kicker,
.home-clean-service-accent .public-service-copy h3,
.home-clean-service-accent .public-service-copy p,
.home-clean-service-accent .public-service-list,
.home-clean-service-accent .service-card-cta {
    color: #fff;
}

.home-clean-service-accent .public-service-list {
    opacity: 0.88;
}

.home-clean-story {
    background: linear-gradient(180deg, rgba(232, 245, 254, 0.38), rgba(255,255,255,0.95));
}

.home-mini-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.home-mini-values .public-value-card {
    padding: 22px;
}

.home-brand-band-clean .brand-showcase {
    margin-top: 26px;
}

.home-final-cta {
    border-bottom: 1px solid rgba(18, 54, 93, 0.08);
}

@media (max-width: 900px) {
    .home-mini-values {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Public Home Refresh
   ============================================================ */

.site-utility-bar {
    background: linear-gradient(90deg, #12365d, #184f86);
    color: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-utility-inner {
    min-height: 46px;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-utility-inner a,
.site-utility-inner span {
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-utility-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.site-utility-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
}

.home-hero-section {
    padding: 0;
}

.home-hero-section .hero-slider {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(18, 54, 93, 0.16);
    min-height: 700px;
}

.home-hero-section .hero-slide {
    min-height: 700px;
}

.home-hero-shell {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 28px;
    padding-top: 88px;
    padding-bottom: 72px;
    position: relative;
    z-index: 2;
}

.home-hero-copy {
    max-width: 720px;
    color: #fff;
}

.home-hero-copy > *,
.home-hero-panel {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active .home-hero-copy > *,
.hero-slide.active .home-hero-panel {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .home-hero-copy .eyebrow { transition-delay: 0.12s; }
.hero-slide.active .home-hero-copy h1 { transition-delay: 0.22s; }
.hero-slide.active .home-hero-copy p { transition-delay: 0.32s; }
.hero-slide.active .home-hero-actions { transition-delay: 0.42s; }
.hero-slide.active .home-hero-panel { transition-delay: 0.32s; }

.home-hero-copy h1 {
    font-size: 56px;
    line-height: 1.06;
    color: #fff;
    margin: 16px 0 18px;
    text-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.home-hero-copy p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
}

.home-hero-actions,
.home-offer-links,
.home-service-actions,
.home-contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero-actions {
    margin-top: 28px;
}

.home-hero-panel {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(18, 54, 93, 0.12);
    box-shadow: 0 20px 46px rgba(15, 42, 73, 0.18);
}

.home-hero-panel-accent {
    background: linear-gradient(180deg, rgba(18, 54, 93, 0.92), rgba(24, 79, 134, 0.94));
    color: #fff;
}

.home-hero-panel-accent .home-panel-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.home-hero-panel-minimal {
    max-width: 420px;
    margin-left: auto;
}

.home-hero-panel-accent h2,
.home-hero-panel-accent p,
.home-hero-panel-accent li {
    color: #fff;
}

.home-hero-panel-head h2 {
    margin: 10px 0 10px;
    font-size: 28px;
    line-height: 1.2;
    color: #12365d;
}

.home-hero-panel-head p {
    color: #5b6f83;
    line-height: 1.7;
}

.home-panel-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(229, 57, 75, 0.12);
    color: #c33143;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.home-hero-panel-grid,
.home-stat-stack,
.home-counter-grid,
.home-testimonial-grid {
    display: grid;
    gap: 16px;
}

.home-hero-mini-points {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.home-hero-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #12365d;
    font-weight: 600;
    line-height: 1.5;
}

.home-hero-panel-accent .home-hero-mini-points span {
    color: #fff;
}

.home-hero-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.home-mini-card,
.home-stat-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(18, 54, 93, 0.08);
}

.home-mini-card i {
    font-size: 24px;
    color: #e5394b;
    margin-bottom: 12px;
}

.home-mini-card strong,
.home-stat-card strong {
    display: block;
    color: #12365d;
    margin-bottom: 6px;
}

.home-mini-card span,
.home-stat-card span {
    color: #617489;
    font-size: 14px;
    line-height: 1.6;
}

.home-stat-stack {
    margin-top: 18px;
}

.home-check-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.home-check-list li {
    display: flex;
    gap: 10px;
    line-height: 1.7;
}

.home-check-list i {
    color: #fff;
    margin-top: 4px;
}

.hero-slide {
    transform: scale(1.06) translateX(24px);
}

.hero-slide.active {
    transform: scale(1) translateX(0);
    transition: opacity 0.85s ease, visibility 0.85s ease, transform 0.9s cubic-bezier(.2,.75,.2,1);
}

.hero-slide.active::before {
    animation: heroGlowShift 3s linear both;
}

.hero-dots {
    align-items: center;
    gap: 12px;
}

.hero-dot {
    width: auto;
    height: auto;
    min-width: 122px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(8, 22, 40, 0.42);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
}

.hero-dot span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.hero-dot small {
    font-size: 13px;
    font-weight: 600;
}

.hero-dot.active {
    background: rgba(255,255,255,0.96);
    border-color: rgba(255,255,255,0.96);
    color: #12365d;
}

.hero-dot:hover {
    border-color: rgba(255,255,255,0.86);
}

@keyframes heroGlowShift {
    0% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
    }
}

.home-strip-section,
.home-offer-section,
.home-counter-section,
.home-testimonial-section {
    padding: 56px 0 78px;
}

.home-strip-grid,
.home-offer-grid,
.home-service-grid,
.home-story-grid,
.home-contact-grid {
    display: grid;
    gap: 22px;
}

.home-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.home-strip-card,
.home-story-card,
.home-offer-card,
.home-counter-card,
.home-testimonial-card,
.home-contact-card,
.home-service-tile {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(18, 54, 93, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(18, 54, 93, 0.08);
}

.home-strip-card {
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.home-strip-section {
    position: relative;
}

.home-strip-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(18, 54, 93, 0.06), rgba(18, 54, 93, 0));
    pointer-events: none;
}

.home-strip-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #12365d;
}

.home-strip-card p {
    color: #617489;
    line-height: 1.7;
}

.home-strip-icon,
.home-service-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(229, 57, 75, 0.12), rgba(24, 79, 134, 0.12));
    color: #c93145;
    font-size: 24px;
}

.home-story-section {
    padding-top: 24px;
}

.home-story-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
}

.home-story-card {
    padding: 28px;
}

.home-story-primary {
    background: linear-gradient(180deg, rgba(18, 54, 93, 0.98), rgba(24, 79, 134, 0.94));
}

.home-story-primary h2,
.home-story-primary p,
.home-story-primary .eyebrow {
    color: #fff;
}

.home-story-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 18px;
}

.home-story-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #12365d;
}

.home-story-card p {
    color: #617489;
    line-height: 1.75;
}

.home-section-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.home-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-offer-card {
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.home-offer-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: #e5394b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.home-offer-card h3 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.15;
    color: #12365d;
}

.home-offer-card p {
    color: #617489;
    line-height: 1.75;
}

.home-offer-card-dark {
    background: linear-gradient(135deg, #12365d, #0f2742);
}

.home-offer-card-dark h3,
.home-offer-card-dark p,
.home-offer-card-dark span {
    color: #fff;
}

.home-offer-card-accent {
    background: linear-gradient(135deg, #e5394b, #c82e40);
}

.home-offer-card-accent h3,
.home-offer-card-accent h4,
.home-offer-card-accent p,
.home-offer-card-accent span,
.home-offer-card-accent strong,
.home-offer-card-accent a {
    color: #fff;
}

.home-story-primary h3,
.home-story-primary h4,
.home-story-primary strong,
.home-hero-panel-accent h2,
.home-hero-panel-accent h3 {
    color: #fff;
}

.home-offer-card-image {
    padding: 0;
}

.home-offer-media {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.home-offer-content {
    padding: 24px;
}

.home-offer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
}

.home-services-section {
    padding-top: 10px;
}

.home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.home-service-tile {
    display: block;
    padding: 26px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-service-tile:hover,
.home-service-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(20, 46, 76, 0.12);
    border-color: rgba(229, 57, 75, 0.18);
}

.home-service-tile h3 {
    margin: 18px 0 10px;
    font-size: 22px;
    color: #12365d;
}

.home-service-tile p {
    color: #617489;
    line-height: 1.7;
}

.home-service-actions {
    justify-content: center;
    margin-top: 28px;
}

.home-counter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-counter-card {
    padding: 30px 20px;
    text-align: center;
}

.home-counter-card strong {
    display: block;
    font-size: 54px;
    line-height: 1;
    color: #12365d;
}

.home-counter-card span {
    display: block;
    margin-top: 10px;
    color: #617489;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    font-weight: 700;
}

.home-brand-section {
    padding-top: 6px;
}

.home-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-testimonial-card {
    padding: 26px;
}

.home-testimonial-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    color: #e5394b;
}

.home-testimonial-card p {
    color: #617489;
    line-height: 1.8;
    margin-bottom: 14px;
}

.home-testimonial-card strong {
    color: #12365d;
}

.home-contact-section {
    padding-top: 12px;
}

.home-contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.home-contact-card {
    padding: 30px;
}

.home-contact-card-info {
    background:
        radial-gradient(circle at left top, rgba(229, 57, 75, 0.1), transparent 40%),
        linear-gradient(180deg, rgba(18, 54, 93, 0.06), rgba(24, 79, 134, 0.03)),
        rgba(255,255,255,0.97);
}

.home-contact-card h2 {
    margin: 12px 0 14px;
    font-size: 38px;
    line-height: 1.12;
    color: #12365d;
}

.home-contact-card p {
    color: #617489;
    line-height: 1.8;
}

.home-contact-points {
    margin-top: 22px;
    flex-direction: column;
    align-items: flex-start;
}

.home-contact-actions,
.home-process-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-contact-points div {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #12365d;
    font-weight: 600;
}

.home-contact-points i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 57, 75, 0.08);
    color: #d43346;
}

.home-process-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 251, 255, 0.96));
}

.home-process-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.home-process-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 18px;
    background: rgba(18, 54, 93, 0.04);
    border: 1px solid rgba(18, 54, 93, 0.08);
}

.home-process-number {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #12365d, #184f86);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.home-process-item strong {
    display: block;
    color: #12365d;
    font-size: 20px;
    margin-bottom: 8px;
}

.home-process-item p {
    margin: 0;
}

.home-process-links .service-card-cta {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .site-utility-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .site-utility-social {
        justify-self: start;
    }

    .home-hero-shell,
    .home-story-grid,
    .home-offer-grid,
    .home-counter-grid,
    .home-testimonial-grid,
    .home-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-story-primary,
    .home-contact-card-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .site-utility-bar {
        display: none;
    }

    .home-hero-section .hero-slide,
    .home-hero-shell {
        min-height: auto;
    }

    .home-hero-shell {
        grid-template-columns: 1fr;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .hero-slider,
    .home-hero-section .hero-slider,
    .home-hero-section .hero-slide {
        min-height: 760px;
    }

    .home-hero-copy h1 {
        font-size: 40px;
    }

    .hero-dots {
        bottom: 24px;
        width: calc(100% - 36px);
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-strip-grid,
    .home-offer-grid,
    .home-service-grid,
    .home-counter-grid,
    .home-testimonial-grid,
    .home-story-grid,
    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-panel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-strip-grid {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .hero-slider,
    .home-hero-section .hero-slider,
    .home-hero-section .hero-slide {
        min-height: 820px;
    }

    .home-hero-copy h1 {
        font-size: 32px;
    }

    .home-hero-copy p,
    .home-story-card p,
    .home-offer-card p,
    .home-contact-card p {
        font-size: 15px;
    }

    .home-hero-panel,
    .home-strip-card,
    .home-story-card,
    .home-offer-card,
    .home-counter-card,
    .home-testimonial-card,
    .home-contact-card,
    .home-service-tile {
        padding: 20px;
        border-radius: 18px;
    }

    .home-hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-actions,
    .home-offer-links,
    .home-service-actions,
    .home-contact-actions,
    .home-process-links {
        flex-direction: column;
        align-items: stretch;
    }

    .home-process-item {
        grid-template-columns: 1fr;
    }

    .hero-dot {
        min-width: 104px;
        padding: 10px 12px;
    }

    .home-counter-card strong {
        font-size: 40px;
    }

    .home-contact-card h2,
    .home-offer-card h3 {
        font-size: 28px;
    }
}
