:root {
    --navy: #0e3157;
    --gold: #dda941;
    --light-blue: #e9f2fb;
    --beige: #fbf5e9;
    --white: #ffffff;
    --ink: #0a2442;
    --shadow: 0 12px 35px rgba(14, 49, 87, 0.12);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Segoe UI", "Inter", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 6% 4%, rgba(221, 169, 65, 0.09), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 44%);
    line-height: 1.5;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section-light { background: var(--light-blue); }
.section-beige { background: var(--beige); }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 16px; }
a { color: var(--navy); text-decoration: none; }
.eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 14px;
}

.navbar {
    position: sticky;
    top: 0;
    background: rgba(14, 49, 87, 0.92);
    backdrop-filter: blur(9px);
    border-bottom: 1px solid rgba(233, 242, 251, 0.16);
    z-index: 20;
}
.nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 14px;
    padding: 10px 0;
}
.nav-inner .brand {
    flex: 0 0 auto;
    margin-right: auto;
}
.brand img { height: 56px; }
.nav-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(233, 242, 251, 0.2);
    border-radius: 8px;
    background: rgba(233, 242, 251, 0.1);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover {
    background: rgba(233, 242, 251, 0.18);
    border-color: rgba(221, 169, 65, 0.45);
}
.nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--light-blue);
    border-radius: 1px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-links {
    display: none;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 600;
    flex-basis: 100%;
    width: 100%;
}
.nav-links.is-open {
    display: flex;
    flex-direction: column;
}
.nav-links a { color: #e9f2fb; opacity: 0.9; }
.nav-links a:hover { color: var(--gold); }
@media (max-width: 767px) {
    .nav-links.is-open {
        padding: 12px 0 6px;
        margin-top: 4px;
        border-top: 1px solid rgba(233, 242, 251, 0.14);
    }
    .nav-links.is-open a {
        padding: 11px 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        width: 100%;
    }
    .nav-links.is-open a:last-child {
        border-bottom: none;
        padding-bottom: 4px;
    }
}
.nav-cta-contact {
    white-space: nowrap;
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-blue { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: #1c1c1c; }
.btn-outline { background: #fff; color: var(--navy); border-color: rgba(14, 49, 87, 0.25); }
.btn-blue:hover { background: #184a81; transform: translateY(-2px); }
.btn-gold:hover { background: #e5b75a; transform: translateY(-2px); }
.btn-outline:hover { background: #f1f6fb; transform: translateY(-2px); }

.hero {
    display: grid;
    gap: 28px;
    align-items: center;
    padding-top: 54px;
    position: relative;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
}
.hero-shape-a { width: 330px; right: -80px; top: -50px; }
.hero-shape-b { width: 260px; left: -80px; bottom: -100px; }
.hero > * { position: relative; z-index: 1; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 18px; color: var(--navy); }
.hero-text p { max-width: 540px; margin-bottom: 24px; color: #395a7c; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.hero-metrics article {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 49, 87, 0.12);
    border-radius: 8px;
    padding: 12px;
}
.hero-metrics strong {
    display: block;
    color: var(--navy);
    font-size: 1.28rem;
    line-height: 1.1;
}
.hero-metrics span { font-size: 0.82rem; color: #5a7695; }
.hero-media img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 8px solid #fff;
}
.hero-media { position: relative; }
.hero-badge {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 108px !important;
    border-radius: 12px !important;
    border: 5px solid #fff !important;
    background: #fff;
}

.service-slider {
    position: relative;
    min-height: 360px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 38px rgba(14, 49, 87, 0.18);
    border: 1px solid rgba(14, 49, 87, 0.12);
}
.service-slide {
    display: none;
    position: relative;
    min-height: 360px;
}
.service-slide.active { display: block; }
.service-slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    filter: saturate(1.08);
}
.service-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 49, 87, 0.88) 0%, rgba(14, 49, 87, 0.55) 46%, rgba(14, 49, 87, 0.18) 100%);
}
.service-slide-content {
    position: absolute;
    z-index: 2;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 560px;
}
.service-slide-content h3 {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}
.service-slide-content p {
    margin-bottom: 18px;
    color: #dce8f5;
}
.slider-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(14, 49, 87, 0.58);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.slider-control.prev { left: 12px; }
.slider-control.next { right: 12px; }
.slider-control:hover { background: rgba(221, 169, 65, 0.75); }
.slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}
.dot.active { background: var(--gold); }

.section-intro { max-width: 760px; }
.cards-3, .cards-4, .pricing-grid, .contact-grid {
    display: grid;
    gap: 22px;
}
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr; }
.card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 22px;
    border-radius: 10px;
    border: 1px solid rgba(14, 49, 87, 0.08);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(14, 49, 87, 0.17);
}
.card-service { position: relative; padding-top: 48px; }
.service-icon {
    position: absolute;
    top: 15px;
    left: 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--gold) 0%, #be8d35 100%);
    box-shadow: 0 0 0 7px rgba(221, 169, 65, 0.22);
}
.price { color: var(--gold); font-weight: 800; }
.hidden { display: none; }
.toggle-btn {
    background: transparent;
    border: 1px solid rgba(14, 49, 87, 0.24);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

.pricing-grid { grid-template-columns: 1fr; }
.price-card {
    background: var(--white);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(14, 49, 87, 0.1);
    box-shadow: 0 16px 30px rgba(14, 49, 87, 0.1);
}
.price-tag { margin: 0 0 8px; color: #49698d; font-size: 0.84rem; }
.price-card.featured {
    border: 2px solid var(--gold);
    transform: translateY(-6px);
    background: linear-gradient(180deg, #fffef8 0%, #fff8e8 100%);
}
.btn-full { display: block; text-align: center; margin-top: 14px; }
.badge {
    display: inline-block;
    margin-bottom: 10px;
    background: var(--gold);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}
.amount { font-size: 2rem; font-weight: 900; margin: 6px 0 14px; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tab {
    border: 1px solid rgba(14, 49, 87, 0.2);
    background: var(--white);
    color: var(--navy);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
}
.tab.active { background: var(--navy); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.resource-thumb {
    width: 100%;
    height: 136px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(14, 49, 87, 0.11);
}
.resources-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    margin-bottom: 10px;
    color: var(--navy);
}
.resources-grid-wrap { padding-top: 30px; }
.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
.resource-card-elegant {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(14, 49, 87, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(14, 49, 87, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.resource-card-elegant:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(14, 49, 87, 0.18);
}
.resource-card-elegant img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.resource-card-body { padding: 16px 18px 20px; }
.resource-card-body h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.resource-card-body p { color: #3e5f81; margin-bottom: 12px; }
.resource-card-body small { color: #5a7695; display: block; margin-bottom: 12px; }
.resource-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.internal-shell {
    padding: 106px 0 64px;
}
.internal-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(14, 49, 87, 0.96);
    border-bottom: 1px solid rgba(233, 242, 251, 0.22);
    backdrop-filter: blur(8px);
}
.internal-topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.internal-brand img {
    height: 52px;
}
.internal-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e9f2fb;
}
.internal-user small {
    display: block;
    color: rgba(233, 242, 251, 0.75);
}
.internal-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(221, 169, 65, 0.95);
    background: #fff;
}
.internal-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--navy);
    background: #f7f0de;
}
.internal-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 24px;
}
.internal-nav .btn {
    padding: 8px 10px;
    font-size: 0.88rem;
    line-height: 1.2;
}
.logout-form-inline {
    margin: 0;
    display: inline-flex;
}
.internal-card {
    background: #fff;
    border: 1px solid rgba(14, 49, 87, 0.12);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--shadow);
}
.staff-apps-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.staff-app-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 16px;
}
.app-preview-box-create {
    margin-bottom: 12px;
}
.app-preview-title {
    display: block;
    margin-bottom: 8px;
}
.app-preview-image {
    width: 180px;
    height: 102px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(14, 49, 87, 0.16);
}
.form-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.app-preview-empty {
    margin: 8px 0 0;
    color: #4a6788;
}
.staff-link-store-card {
    margin-top: 18px;
    border-color: rgba(22, 84, 151, 0.2);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.staff-link-store-help {
    margin-top: 0;
    margin-bottom: 14px;
}
.staff-link-store-help.is-warning {
    color: #8a5a00;
}
.staff-env-guide-card {
    margin-top: 18px;
}
.dashboard-quick-actions-card {
    margin-bottom: 18px;
}
.dashboard-quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.dashboard-quick-links .btn {
    padding: 8px 10px;
    font-size: 0.85rem;
}
.dashboard-steps-card {
    margin-top: 18px;
}
.staff-apps-list-card {
    margin-top: 18px;
}
.internal-sync-toolbar-inline {
    margin: 10px 0 18px;
}
.internal-card-staff-mt {
    margin-top: 18px;
}
.staff-app-list-image {
    width: 64px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(14, 49, 87, 0.16);
}
.staff-store-delete-disabled {
    color: rgba(14, 49, 87, 0.45);
}
.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
.metric-box {
    background: linear-gradient(180deg, #fff, #f6fbff);
    border: 1px solid rgba(14, 49, 87, 0.12);
    border-radius: 10px;
    padding: 14px;
}
.metric-box strong {
    display: block;
    font-size: 1.5rem;
    color: var(--navy);
}
.simple-chart {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    align-items: end;
    min-height: 170px;
    margin: 18px 0;
}
.simple-chart .bar-wrap {
    text-align: center;
    font-size: 0.75rem;
    color: #4b6888;
}
.simple-chart .bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--gold), #be8d35);
}
.data-table-wrap { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.data-table th, .data-table td {
    border-bottom: 1px solid rgba(14, 49, 87, 0.1);
    padding: 10px 8px;
    text-align: left;
    font-size: 0.92rem;
}
.data-table th {
    color: var(--navy);
    background: #f5f9fd;
}
.table-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(14, 49, 87, 0.2);
}
.table-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy);
    background: #f3e8cb;
}
.inline-form {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.action-buttons {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.icon-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(14, 49, 87, 0.22);
    background: #fff;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.icon-action-btn:hover {
    background: #f1f6fb;
    transform: translateY(-1px);
}
.icon-action-btn.danger {
    color: #b22828;
    border-color: rgba(178, 40, 40, 0.3);
}
.icon-action-btn.danger:hover {
    background: #fff0f0;
}
.icon-eye,
.icon-edit,
.icon-trash {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}
.icon-eye {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.icon-edit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E");
}
.icon-trash {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b22828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14H6L5 6m3 0V4a1 1 0 011-1h6a1 1 0 011 1v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E");
}
.user-detail-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.user-edit-head {
    display: flex;
    gap: 14px;
    align-items: center;
    background: linear-gradient(180deg, #f9fcff 0%, #f3f8fe 100%);
    border: 1px solid rgba(14, 49, 87, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.user-detail-avatar {
    width: 74px;
    height: 74px;
}

.video-scroll-shell {
    margin-top: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
}
.video-grid {
    display: flex;
    gap: 22px;
    min-width: max-content;
}
.video-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f4f8fd 62%, #eef4fc 100%);
    border: 1px solid rgba(14, 49, 87, 0.14);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 14px 30px rgba(14, 49, 87, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    width: min(360px, 84vw);
    flex: 0 0 auto;
}
.video-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid rgba(221, 169, 65, 0.9);
    pointer-events: none;
}
.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(221, 169, 65, 0.52);
    box-shadow: 0 22px 40px rgba(14, 49, 87, 0.16);
}
.video-card img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(14, 49, 87, 0.16);
    background: #0b1f39;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.video-card video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(14, 49, 87, 0.16);
    background: #0b1f39;
    aspect-ratio: 16/9;
}
.video-card h3 {
    margin: 14px 0 8px;
    color: var(--navy);
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}
.video-card p {
    margin: 0;
    color: #35587c;
    line-height: 1.6;
    font-size: 0.95rem;
}
.video-note {
    margin-top: 18px;
    color: #4f6f92;
    font-size: 0.9rem;
    background: linear-gradient(90deg, rgba(14, 49, 87, 0.05) 0%, rgba(221, 169, 65, 0.13) 100%);
    border-left: 3px solid rgba(221, 169, 65, 0.9);
    padding: 10px 12px;
    border-radius: 8px;
}
#videos .section-intro {
    max-width: 680px;
}
#videos h2 {
    color: var(--navy);
    letter-spacing: 0.01em;
}

.apps-scroll-shell {
    margin-top: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
}
.apps-grid {
    display: flex;
    gap: 18px;
    min-width: max-content;
}
.app-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid rgba(14, 49, 87, 0.12);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    width: min(340px, 84vw);
    flex: 0 0 auto;
}
.app-card-image {
    width: 100%;
    aspect-ratio: 16/8;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(14, 49, 87, 0.16);
    margin-bottom: 4px;
}
.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(221, 169, 65, 0.5);
    box-shadow: 0 22px 40px rgba(14, 49, 87, 0.16);
}
.app-chip {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(221, 169, 65, 0.24);
    color: #29384b;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
}
.app-card h3 {
    margin: 0;
    color: var(--navy);
}
.app-card p {
    margin: 0;
    color: #3f6083;
    line-height: 1.55;
}
.app-link-btn {
    margin-top: 8px;
    width: fit-content;
}
.section-stores {
    padding-top: 22px;
}
.stores-scroll-shell {
    margin-top: 16px;
}
.stores-grid {
    gap: 14px;
}
.store-card {
    width: min(170px, 42vw);
    padding: 12px;
    gap: 8px;
}
.store-card-logo {
    aspect-ratio: 1 / 1;
    max-height: 120px;
}
.store-card h3 {
    font-size: 0.95rem;
}
.store-card p {
    font-size: 0.82rem;
    line-height: 1.4;
}
.store-card-branch {
    min-height: 2.8em;
}
.store-link-btn {
    margin-top: 4px;
    font-size: 0.82rem;
    padding: 8px 10px;
}

.form p { margin: 0 0 12px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input, .form textarea, .form select {
    width: 100%;
    border: 1px solid rgba(14, 49, 87, 0.2);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}
.password-field {
    position: relative;
}
.password-field input[type="password"],
.password-field input[type="text"] {
    padding-right: 92px;
}
.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(14, 49, 87, 0.25);
    background: #fff;
    color: var(--navy);
    border-radius: 8px;
    font-weight: 700;
    padding: 6px;
    width: 36px;
    height: 34px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.password-toggle-btn:hover {
    background: #f1f6fb;
}
.password-toggle-btn .icon-eye,
.password-toggle-btn .icon-eye-off {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}
.password-toggle-btn .icon-eye {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.password-toggle-btn .icon-eye-off {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0112 19c-7 0-11-7-11-7a21.77 21.77 0 015.06-5.94'/%3E%3Cpath d='M9.9 4.24A10.94 10.94 0 0112 5c7 0 11 7 11 7a21.8 21.8 0 01-3.12 4.36'/%3E%3Cpath d='M14.12 14.12a3 3 0 01-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.form textarea { min-height: 130px; resize: vertical; }
.form ul.errorlist {
    list-style: none;
    margin: 4px 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fde0e0;
    font-weight: 600;
}
.form ul.errorlist li { margin: 0 0 4px; }
.form ul.errorlist li:last-child { margin-bottom: 0; }
.message { padding: 10px 12px; border-radius: 8px; }
.message.success { background: #d6f5df; }
.message.error { background: #fde0e0; }
.contact-grid > div {
    position: relative;
}
.newsletter-form p:has(.hp-lead-field) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.hp-lead-field {
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.contact-grid > div:first-child .form,
.newsletter-form {
    background: #fff;
    border: 1px solid rgba(14, 49, 87, 0.1);
    border-radius: 10px;
    padding: 18px;
}

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 48px 0;
    border-top: 4px solid var(--gold);
}
.footer-grid { display: grid; gap: 20px; }
.footer a { color: var(--light-blue); display: block; margin: 4px 0; }
.footer-logo { width: 160px; margin-bottom: 10px; }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .nav-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
    }
    .nav-inner .brand {
        margin-right: 0;
    }
    .nav-toggle {
        display: none;
    }
    .nav-toolbar {
        order: 3;
        margin-left: 0;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        width: auto;
        flex-basis: auto;
        order: 2;
        gap: clamp(12px, 2vw, 18px);
    }
    .nav-links.is-open {
        flex-direction: row;
    }
    .hero { grid-template-columns: 1.1fr 1fr; }
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1.2fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .metric-grid { grid-template-columns: repeat(4, 1fr); }
    .app-card { width: 320px; }
}

@media (min-width: 992px) {
    .cards-4 { grid-template-columns: repeat(4, 1fr); }
    .resources-grid { grid-template-columns: repeat(3, 1fr); }
    .app-card { width: 340px; }
    .video-card { width: 340px; }
}

@media (max-width: 640px) {
    .hero-metrics { grid-template-columns: 1fr; }
    .hero-badge { width: 86px !important; right: 10px; bottom: -14px; }
    .service-slide img { height: 430px; }
    .service-slide { min-height: 430px; }
    .service-slide-content { left: 18px; right: 18px; max-width: unset; }
    .slider-control { width: 34px; height: 34px; font-size: 1.2rem; }
    .internal-shell { padding-top: 118px; }
    .internal-topbar-inner { min-height: 86px; align-items: flex-start; padding: 8px 0; }
    .internal-brand img { height: 42px; }
    .internal-user { font-size: 0.9rem; }
    .internal-nav .btn {
        font-size: 0.8rem;
        padding: 7px 9px;
    }
    .dashboard-quick-links .btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
    .user-detail-head { flex-direction: column; }
    .user-edit-head { flex-direction: column; align-items: flex-start; }
}
