:root {
    --nav-dark: #08111f;
    --nav-mid: #172536;
    --amc-blue: #0b4ea2;
    --amc-green: #12a86b;
    --amc-accent: #b8ff3d;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #dbe3ee;
    --page: #e7eef5;
    --white: #ffffff;
    --footer-bg: #0b1220;
    --button-bg: #ffd814;
    --site-container: 1240px;
    --card-radius: 8px;
    --warning: #ffb454;
    --font-ui: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    --font-display: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;
}

@property --amc-edge-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    background:
        radial-gradient(circle at 82% 0, rgba(18, 168, 107, 0.1), transparent 28%),
        linear-gradient(180deg, var(--page), #dfe8f1);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: var(--weight-regular);
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body:not(.auth-body)::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 9% 18%, rgba(143, 255, 103, 0.14), transparent 28%),
        radial-gradient(circle at 92% 32%, rgba(11, 78, 162, 0.12), transparent 24%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%);
    background-size: auto, auto, 74px 74px;
    content: "";
    opacity: 0.72;
    pointer-events: none;
}

body.auth-body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #08111f;
}

body.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(18, 168, 107, 0.16), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(11, 78, 162, 0.2), transparent 30%),
        #edf3f8;
}

body.portal-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 10%, rgba(18, 168, 107, 0.18), transparent 30%),
        radial-gradient(circle at 90% 4%, rgba(11, 78, 162, 0.18), transparent 26%),
        #edf3f8;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
select,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.auth-shell {
    position: relative;
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(12px, 2.5vw, 28px);
}

.auth-backdrop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.76), rgba(8, 17, 31, 0.88)),
        radial-gradient(circle at 18% 12%, rgba(18, 168, 107, 0.32), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(11, 78, 162, 0.34), transparent 28%),
        linear-gradient(135deg, #08111f, #132238 46%, #071421);
}

.auth-blur-header,
.auth-blur-hero {
    position: absolute;
    left: 50%;
    width: min(1200px, 94vw);
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    filter: blur(2px);
}

.auth-blur-header {
    top: 20px;
    height: 62px;
    border-radius: 16px;
}

.auth-blur-hero {
    top: 118px;
    height: 330px;
    border-radius: 22px;
}

.auth-panel {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: min(420px, 92vw);
    max-height: calc(100vh - 34px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 22px;
    padding: clamp(15px, 2.2vw, 22px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.36)),
        rgba(255, 255, 255, 0.42);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.38),
        0 10px 28px rgba(11, 78, 162, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(32px) saturate(1.42);
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 168, 107, 0.45) transparent;
}

.auth-panel::before {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--auth-edge-angle, 0deg),
        rgba(18, 168, 107, 0.92),
        rgba(143, 255, 103, 0.72),
        rgba(11, 78, 162, 0.88),
        rgba(255, 184, 77, 0.7),
        rgba(18, 168, 107, 0.92)
    );
    content: "";
    filter: drop-shadow(0 0 10px rgba(18, 168, 107, 0.22));
    pointer-events: none;
    z-index: 0;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: authEdgeRun 4.8s linear infinite;
}

.auth-panel::after {
    position: absolute;
    inset: 2px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18));
    content: "";
    pointer-events: none;
    z-index: -1;
}

.auth-panel > * {
    position: relative;
    z-index: 1;
}

@keyframes authEdgeRun {
    0% {
        filter: drop-shadow(0 0 8px rgba(18, 168, 107, 0.2)) hue-rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(11, 78, 162, 0.24)) hue-rotate(360deg);
        transform: rotate(360deg);
    }
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
}

.auth-close:hover {
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink);
}

.auth-brand {
    display: grid;
    place-items: center;
    text-align: center;
}

.auth-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.auth-brand strong {
    margin-top: 2px;
    color: #071421;
    font-size: 18px;
    font-weight: 900;
}

.auth-brand > span:last-child {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 12px 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 15px;
    padding: 5px;
    background: rgba(248, 250, 252, 0.58);
}

.auth-tabs a {
    border-radius: 11px;
    padding: 9px 10px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 900;
    text-align: center;
}

.auth-tabs a.is-active {
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 78, 162, 0.2);
}

.auth-heading {
    text-align: center;
}

.auth-heading p {
    margin: 0 0 5px;
    color: var(--amc-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-heading h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(22px, 3vw, 26px);
    line-height: 1.05;
}

.auth-heading span {
    display: block;
    max-width: 360px;
    margin: 7px auto 0;
    color: #64748b;
    font-size: 12.5px;
}

.auth-alert {
    border: 1px solid rgba(239, 68, 68, 0.24);
    border-radius: 14px;
    padding: 11px 13px;
    background: rgba(254, 242, 242, 0.9);
    color: #991b1b;
    font-size: 14px;
    font-weight: 800;
}

.auth-alert.success {
    border-color: rgba(18, 168, 107, 0.26);
    background: rgba(236, 253, 245, 0.92);
    color: #047857;
}

.auth-alert.info {
    border-color: rgba(14, 165, 233, 0.24);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(236, 253, 245, 0.92));
    color: #075985;
}

.auth-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.auth-form-grid {
    grid-template-columns: 1fr 1fr;
}

.auth-form label {
    display: grid;
    gap: 5px;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 800;
}

.auth-form input,
.auth-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.52);
    border-radius: 11px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--ink);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: rgba(18, 168, 107, 0.78);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18, 168, 107, 0.12);
}

.auth-form small {
    color: #b42318;
    font-size: 12px;
}

.auth-form b {
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: 900;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 68px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 7px;
    min-height: 34px;
    border: 0;
    border-radius: 10px;
    padding: 0 12px;
    background: rgba(11, 78, 162, 0.08);
    color: var(--amc-blue);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    transform: translateY(-50%);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 12.5px;
}

.auth-check {
    display: inline-flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px !important;
    font-weight: 700 !important;
}

.auth-check input {
    width: 18px;
    min-height: 18px;
}

.auth-row a,
.auth-switch a {
    color: var(--amc-blue);
    font-weight: 900;
}

.auth-form button[type="submit"] {
    display: inline-flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #071421, #0b4ea2 58%, #12a86b);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(11, 78, 162, 0.26);
}

.auth-switch {
    margin: 14px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    padding-top: 12px;
    color: #64748b;
    text-align: center;
}

.auth-secure-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.auth-secure-note span {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    padding: 6px 9px;
    background: rgba(255, 255, 255, 0.54);
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: grid;
    align-content: start;
    gap: 22px;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(12, 27, 44, 0.95)),
        var(--nav-dark);
    color: #fff;
    box-shadow: 14px 0 42px rgba(15, 23, 42, 0.18);
}

.admin-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-brand strong {
    display: block;
    font-size: 18px;
    font-weight: var(--weight-bold);
}

.admin-brand small {
    display: block;
    color: #b8ffd2;
    font-size: 12px;
    font-weight: var(--weight-semibold);
}

.admin-nav {
    display: grid;
    gap: 10px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.035);
    color: #e7eef5;
    font-size: 13px;
    font-weight: var(--weight-semibold);
}

.admin-nav a:hover {
    border-color: rgba(143, 255, 103, 0.5);
    background: rgba(18, 168, 107, 0.16);
    color: #fff;
}

.admin-nav-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.admin-nav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 6px 4px 8px;
    color: #b8ffd2;
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    list-style: none;
    text-transform: uppercase;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none;
}

.admin-nav-group summary::after {
    content: "+";
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1;
}

.admin-nav-group[open] summary::after {
    content: "-";
}

.admin-nav-group a + a,
.admin-nav-group a + .admin-logout-form {
    margin-top: 6px;
}

.admin-logout-form {
    margin: 6px 0 0;
}

.admin-logout-form button {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 9px 11px;
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    cursor: pointer;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    text-align: left;
}

.admin-logout-form button:hover {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(239, 68, 68, 0.2);
    color: #fff;
}

.admin-main {
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 22px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
}

.admin-topbar span,
.admin-section-head p,
.admin-hero p,
.admin-control-grid span {
    color: var(--amc-green);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-topbar strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 18px;
    font-weight: var(--weight-bold);
}

.admin-user {
    border-radius: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    text-align: right;
}

.admin-user span {
    display: block;
    color: var(--ink);
    text-transform: none;
}

.admin-user small {
    color: var(--muted);
}

.admin-hero,
.admin-section {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(20px, 3vw, 30px);
    background:
        linear-gradient(135deg, rgba(11, 78, 162, 0.95), rgba(18, 168, 107, 0.88)),
        #0b4ea2;
    color: #fff;
}

.admin-hero.compact {
    padding: 22px;
}

.admin-hero p {
    margin: 0 0 8px;
    color: #b8ffd2;
}

.admin-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.14;
}

.admin-hero span {
    display: block;
    max-width: 820px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.admin-hero a {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 12px 16px;
    background: #fff;
    color: var(--amc-blue);
    font-weight: var(--weight-semibold);
}

.admin-easy-control {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-easy-control article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 16px;
    background:
        radial-gradient(circle at 0 0, rgba(143, 255, 103, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(1.12);
}

.admin-easy-control article > span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    box-shadow: 0 12px 26px rgba(11, 78, 162, 0.18);
}

.admin-easy-control svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.admin-easy-control strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    font-weight: var(--weight-bold);
}

.admin-easy-control p {
    margin: 5px 0 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.admin-easy-control a {
    display: inline-flex;
    margin: 3px 4px 0 0;
    border: 1px solid rgba(18, 168, 107, 0.18);
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(233, 251, 242, 0.9);
    color: #087548;
    font-size: 11px;
    font-weight: var(--weight-semibold);
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric-grid article {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-metric-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    text-transform: capitalize;
}

.admin-metric-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 21px;
    font-weight: var(--weight-bold);
}

.admin-section {
    padding: 18px;
}

.admin-section-head {
    margin-bottom: 18px;
}

.admin-section-head p,
.admin-section-head h2 {
    margin: 0;
}

.admin-section-head h2 {
    margin-top: 4px;
    font-size: 20px;
}

.admin-control-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-widget-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-control-grid article,
.admin-widget-grid article,
.admin-roadmap article {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.admin-widget-grid strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
    font-weight: var(--weight-bold);
}

.admin-widget-grid span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.admin-control-grid h3 {
    margin: 8px 0;
    font-size: 16px;
}

.admin-control-grid p,
.admin-roadmap span,
.admin-governance p {
    color: var(--muted);
    font-size: 14px;
}

.admin-control-grid a {
    display: inline-flex;
    margin-top: 10px;
    border-radius: 999px;
    padding: 9px 12px;
    background: #e9fbf2;
    color: #087548;
    font-weight: var(--weight-semibold);
}

.admin-governance ul,
.admin-roadmap {
    display: grid;
    gap: 12px;
}

.admin-governance li {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    color: var(--text);
}

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

.admin-roadmap strong {
    display: block;
    margin-bottom: 8px;
}

.admin-save-alert {
    border: 1px solid rgba(18, 168, 107, 0.26);
    border-radius: 12px;
    padding: 12px;
    background: #e9fbf2;
    color: #087548;
    font-weight: var(--weight-semibold);
}

.admin-db-status,
.admin-media-guide {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    margin: 0 0 16px;
    padding: 13px 14px;
    background: #f8fafc;
}

.admin-db-status strong,
.admin-media-guide strong {
    color: var(--ink);
    font-size: 14px;
}

.admin-db-status span,
.admin-media-guide span {
    color: var(--muted);
    font-size: 13px;
}

.theme-preset-panel {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    padding: 18px;
    background:
        radial-gradient(circle at 12% 0, rgba(18, 168, 107, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

.admin-section-head.compact {
    gap: 4px;
}

.admin-section-head.compact h2 {
    margin: 0;
    font-size: 22px;
}

.admin-section-head.compact span {
    color: var(--muted);
    font-size: 13px;
}

.theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.theme-preset-card {
    display: grid;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.theme-preset-card.is-active {
    border-color: rgba(18, 168, 107, 0.58);
    box-shadow: 0 16px 34px rgba(18, 168, 107, 0.14);
}

.theme-preset-preview {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.5fr;
    min-height: 54px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--preset-bg);
}

.theme-preset-preview span:nth-child(1) {
    background: linear-gradient(135deg, var(--preset-secondary), var(--preset-primary));
}

.theme-preset-preview span:nth-child(2) {
    background: rgba(255, 255, 255, 0.72);
}

.theme-preset-preview span:nth-child(3) {
    background: var(--preset-accent);
}

.theme-preset-card strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.15;
}

.theme-preset-card p {
    min-height: 46px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.theme-preset-card button {
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.admin-db-status.is-connected {
    border-color: rgba(18, 168, 107, 0.28);
    background: #e9fbf2;
}

.admin-db-status.is-file-mode {
    border-color: rgba(251, 191, 36, 0.36);
    background: #fff8e6;
}

.admin-control-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-control-form label,
.admin-form-note {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    color: var(--ink);
    font-weight: var(--weight-semibold);
}

.admin-form-note span {
    color: var(--muted);
    font-size: 13px;
    font-weight: var(--weight-regular);
}

.admin-control-form label.wide,
.admin-control-form button,
.admin-form-note {
    grid-column: 1 / -1;
}

.admin-control-form input,
.admin-control-form textarea,
.admin-control-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    color: var(--ink);
    font-weight: var(--weight-regular);
}

.admin-control-form textarea {
    min-height: 110px;
    resize: vertical;
}

.admin-control-form button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    cursor: pointer;
    font-weight: var(--weight-bold);
}

.admin-builder-table {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
}

.admin-builder-row,
.admin-menu-builder-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.84)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.admin-builder-row .admin-catalog-row-head,
.admin-menu-builder-row .admin-catalog-row-head,
.admin-builder-row .wide {
    grid-column: 1 / -1;
}

.admin-builder-row label,
.admin-menu-builder-row label {
    margin: 0;
}

.admin-user-manager,
.admin-user-create,
.admin-portal-control-grid {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
}

.admin-user-manager-head,
.admin-user-row,
.admin-user-create,
.admin-portal-row {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.admin-user-manager-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-user-manager-head span,
.admin-user-row small,
.admin-user-row span,
.admin-user-create > span {
    color: var(--muted);
    font-size: 13px;
    font-weight: var(--weight-regular);
}

.admin-user-row,
.admin-user-create {
    display: grid;
    grid-template-columns: 1.2fr repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.admin-user-row > div {
    display: grid;
    gap: 4px;
}

.admin-user-create > strong,
.admin-user-create > span,
.admin-portal-row .admin-catalog-row-head,
.admin-portal-row .wide {
    grid-column: 1 / -1;
}

.admin-portal-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portal-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(18px, 4vw, 44px);
}

.portal-card {
    width: min(1120px, 96vw);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 24px;
    padding: clamp(18px, 4vw, 34px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84)),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.portal-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}

.portal-head p {
    margin: 0 0 4px;
    color: var(--amc-green);
    font-size: 12px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
}

.portal-head h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.08;
}

.portal-head span,
.portal-user-strip span,
.portal-section-grid span {
    color: var(--muted);
}

.portal-head button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: #102033;
    color: #fff;
    cursor: pointer;
    font-weight: var(--weight-bold);
}

.portal-user-strip {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 22px 0;
    border: 1px solid rgba(18, 168, 107, 0.18);
    border-radius: 16px;
    padding: 14px;
    background: rgba(236, 253, 245, 0.74);
}

.portal-section-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.portal-section-grid article {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.portal-section-link {
    color: inherit;
    text-decoration: none;
}

.portal-section-link article {
    border-color: rgba(18, 168, 107, 0.42);
    background:
        radial-gradient(circle at 82% 12%, rgba(18, 168, 107, 0.18), transparent 32%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 46px rgba(18, 168, 107, 0.14);
}

.portal-section-grid p {
    margin: 0 0 8px;
    font-weight: var(--weight-bold);
}

.portal-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.portal-action-group a,
.portal-action-group button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--amc-blue);
    text-decoration: none;
    font-weight: var(--weight-bold);
    cursor: pointer;
}

.utility-portal-card {
    max-width: 1180px;
}

.utility-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.utility-category-strip span {
    border: 1px solid rgba(18, 168, 107, 0.24);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(236, 253, 245, 0.74);
    color: #047857;
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.utility-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.utility-download-grid article {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.72));
    box-shadow: 0 18px 44px rgba(8, 17, 31, 0.08);
}

.utility-download-grid article > div {
    display: grid;
    gap: 4px;
}

.utility-download-grid span {
    color: var(--amc-green);
    font-size: 11px;
    font-weight: var(--weight-heavy);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.utility-download-grid strong {
    color: var(--ink);
    font-size: 18px;
}

.utility-download-grid small,
.utility-download-grid p {
    color: var(--muted);
}

.utility-download-grid a,
.utility-download-grid button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    text-decoration: none;
    font-weight: var(--weight-bold);
}

.utility-download-grid button:disabled {
    background: rgba(148, 163, 184, 0.5);
    cursor: not-allowed;
}

.utility-empty-card {
    grid-column: 1 / -1;
}

.admin-asset-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-media-preview {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(231, 238, 245, 0.72)),
        #fff;
}

.admin-media-preview span {
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
}

.admin-media-preview img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
}

.admin-media-preview small {
    color: var(--muted);
    font-size: 12px;
    word-break: break-word;
}

.admin-storage-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-storage-grid article {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    padding: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(231, 238, 245, 0.64)),
        #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.admin-storage-grid span {
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-storage-grid strong {
    color: var(--ink);
    font-size: 15px;
}

.admin-upload-panel,
.admin-media-library {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72)),
        rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 14px 34px rgba(15, 23, 42, 0.06);
}

.admin-upload-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.6fr);
}

.admin-upload-panel > div {
    display: grid;
    gap: 5px;
}

.admin-upload-panel strong {
    color: var(--ink);
    font-size: 17px;
}

.admin-upload-panel span {
    color: var(--muted);
    font-size: 13px;
}

.admin-upload-panel select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    background: #fff;
    color: var(--ink);
}

.admin-upload-attachment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    grid-column: 1 / -1;
    border: 1px dashed rgba(11, 78, 162, 0.28);
    border-radius: 14px;
    padding: 12px;
    background:
        linear-gradient(135deg, rgba(11, 78, 162, 0.06), rgba(18, 168, 107, 0.08)),
        rgba(255, 255, 255, 0.78);
}

.admin-upload-attachment input {
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.admin-upload-attachment button,
.admin-view-toggle button {
    border: 1px solid rgba(11, 78, 162, 0.18);
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    font-weight: var(--weight-bold);
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(11, 78, 162, 0.16);
}

.admin-view-toggle {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-self: end;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.72);
}

.admin-view-toggle button {
    padding: 7px 12px;
    background: transparent;
    color: var(--amc-blue);
    box-shadow: none;
}

.admin-view-toggle button.is-active {
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
}

.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-folder-library {
    display: grid;
    gap: 12px;
}

.admin-media-folder {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.74)),
        rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 26px rgba(15, 23, 42, 0.05);
}

.admin-media-folder summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.admin-media-folder summary::-webkit-details-marker {
    display: none;
}

.admin-media-folder summary::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--amc-green);
    border-bottom: 2px solid var(--amc-green);
    transform: rotate(-45deg);
    transition: transform 0.18s ease;
}

.admin-media-folder[open] summary::before {
    transform: rotate(45deg);
}

.admin-media-folder summary span {
    color: var(--amc-blue);
    font-size: 14px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-media-folder summary strong {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(18, 168, 107, 0.1);
    color: var(--amc-green);
    font-size: 12px;
    white-space: nowrap;
}

.admin-media-folder .admin-media-grid {
    padding: 0 14px 14px;
}

.admin-media-grid.is-compact {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.admin-media-grid.is-list,
.admin-folder-library.is-list .admin-media-grid {
    grid-template-columns: 1fr;
}

.admin-media-grid.is-list .admin-media-card,
.admin-folder-library.is-list .admin-media-card {
    grid-template-columns: 84px minmax(180px, 0.8fr) minmax(0, 1.4fr) minmax(160px, 0.8fr);
    align-items: center;
}

.admin-media-grid.is-list .admin-media-card img,
.admin-media-grid.is-list .admin-file-icon,
.admin-folder-library.is-list .admin-media-card img,
.admin-folder-library.is-list .admin-file-icon {
    grid-row: 1 / span 4;
    width: 84px;
    height: 64px;
}

.admin-media-card {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
}

.admin-media-card span {
    color: var(--amc-green);
    font-size: 10px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-media-card strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-media-card img,
.admin-file-icon {
    width: 100%;
    height: 92px;
    max-height: 92px;
    max-width: 100%;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(11, 78, 162, 0.08), rgba(18, 168, 107, 0.12)),
        #f8fafc;
    object-fit: contain;
}

.admin-media-library .admin-media-card img {
    max-width: 100%;
    min-height: 0;
    object-fit: contain;
}

.admin-operation-grid {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
}

.admin-operation-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    padding: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.72)),
        rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 28px rgba(15, 23, 42, 0.05);
}

.admin-operation-row label {
    padding: 0;
    border: 0;
    background: transparent;
}

.admin-operation-row .wide,
.admin-operation-row .admin-catalog-row-head {
    grid-column: 1 / -1;
}

.tender-page {
    display: grid;
    gap: 20px;
}

.tender-hero,
.tender-source-panel,
.tender-search-panel,
.tender-board {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(231, 238, 245, 0.7)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
}

.tender-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 20px;
    padding: clamp(24px, 4vw, 44px);
    background:
        radial-gradient(circle at 82% 12%, rgba(18, 168, 107, 0.24), transparent 30%),
        linear-gradient(135deg, #08111f, #0b4ea2 58%, #12a86b);
    color: #fff;
}

.tender-hero p,
.tender-section-head p {
    margin: 0 0 8px;
    color: #b8ffd2;
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tender-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.tender-hero span {
    display: block;
    max-width: 760px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.tender-hero .tender-sync-note {
    display: inline-flex;
    width: fit-content;
    margin-top: 12px;
    border: 1px solid rgba(184, 255, 210, 0.35);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(8, 17, 31, 0.2);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: var(--weight-semibold);
}

.tender-hero aside {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
}

.tender-hero aside strong {
    font-size: 42px;
}

.tender-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tender-actions a,
.tender-list a,
.tender-source-grid a {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 14px;
    background: #ffd814;
    color: #111827;
    font-size: 13px;
    font-weight: var(--weight-bold);
}

.tender-stat-grid,
.tender-source-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tender-stat-grid article,
.tender-source-grid article,
.tender-list article {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.tender-stat-grid span,
.tender-source-grid span,
.tender-list span,
.tender-list dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tender-stat-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
    font-size: 22px;
}

.tender-source-panel,
.tender-search-panel,
.tender-board {
    padding: 18px;
}

.tender-section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
}

.tender-section-head p {
    color: var(--amc-green);
}

.tender-filter-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.tender-filter-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tender-filter-form input,
.tender-filter-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 12px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: var(--weight-medium);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tender-filter-form input:focus,
.tender-filter-form select:focus {
    border-color: rgba(18, 168, 107, 0.64);
    box-shadow: 0 0 0 3px rgba(18, 168, 107, 0.12);
}

.tender-filter-form .wide {
    grid-column: span 2;
}

.tender-filter-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    grid-column: 1 / -1;
}

.tender-filter-actions strong {
    color: var(--amc-blue);
    font-size: 13px;
}

.tender-filter-actions button {
    border: 1px solid rgba(11, 78, 162, 0.2);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: var(--weight-bold);
    cursor: pointer;
}

.tender-empty-state {
    border: 1px dashed rgba(11, 78, 162, 0.28);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.tender-list {
    display: grid;
    gap: 12px;
}

.tender-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr) auto;
    align-items: center;
    gap: 14px;
}

.tender-list article.is-hidden {
    display: none;
}

.tender-list strong,
.tender-source-grid strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
}

.tender-list p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.tender-list dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.tender-list dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: var(--weight-semibold);
}

.admin-file-icon {
    display: grid;
    place-items: center;
    color: var(--amc-blue);
    font-weight: var(--weight-bold);
}

.admin-media-card small {
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 11px;
}

.admin-live-preview {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(231, 238, 245, 0.58)),
        rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 16px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
}

.admin-live-preview strong {
    color: var(--ink);
    font-size: 15px;
}

.admin-live-preview div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-live-preview a {
    border: 1px solid rgba(11, 78, 162, 0.16);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: var(--weight-semibold);
}

.admin-live-preview iframe {
    width: 100%;
    height: 360px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 14px;
    background: #fff;
}

.admin-catalog-editor {
    display: grid;
    grid-column: 1 / -1;
    gap: 16px;
}

.admin-catalog-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.72)),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-catalog-row-new {
    border-color: rgba(18, 168, 107, 0.34);
    background: linear-gradient(145deg, rgba(233, 251, 242, 0.78), rgba(255, 255, 255, 0.84));
}

.admin-catalog-row-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding-bottom: 10px;
}

.admin-catalog-row-head strong {
    color: var(--ink);
    font-size: 16px;
}

.admin-catalog-row-head label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
}

.market-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    box-shadow: 0 12px 34px rgba(2, 6, 23, 0.28);
}

.topbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(156px, 210px) minmax(320px, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 76px;
    overflow: hidden;
    padding: 8px 28px;
    background:
        radial-gradient(circle at 9% 10%, rgba(143, 255, 103, 0.12), transparent 25%),
        radial-gradient(circle at 88% 0%, rgba(11, 78, 162, 0.22), transparent 28%),
        linear-gradient(90deg, rgba(5, 15, 30, 0.99), rgba(8, 24, 42, 0.98) 46%, rgba(7, 19, 34, 0.99)),
        var(--nav-dark);
    backdrop-filter: blur(18px) saturate(1.35);
}

.topbar::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%);
    background-size: 72px 72px, 100% 32px;
    content: "";
    opacity: 0.22;
    pointer-events: none;
}

.topbar::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 255, 103, 0.34), rgba(11, 78, 162, 0.32), transparent);
    content: "";
}

.market-brand {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: 13px;
    width: fit-content;
    min-width: 0;
    z-index: 1;
}

.logo-glow-ring {
    display: grid;
    place-items: center;
    position: relative;
    width: 62px;
    height: 62px;
    isolation: isolate;
}

.logo-glow-ring::before {
    position: absolute;
    inset: 9px 8px 7px;
    border-radius: 28% 28% 42% 42%;
    background: conic-gradient(from 0deg, transparent 0 12%, rgba(18, 168, 107, 0.72) 16%, transparent 28%, rgba(11, 78, 162, 0.68) 42%, transparent 54%, rgba(199, 255, 53, 0.58) 64%, transparent 77%, rgba(18, 168, 107, 0.68) 88%, transparent 100%);
    clip-path: polygon(50% 2%, 90% 18%, 82% 72%, 50% 98%, 18% 72%, 10% 18%);
    content: "";
    filter: blur(1.2px);
    opacity: 0.38;
    animation: logoGlowSpin 3.8s linear infinite, logoGlowBlink 1.9s ease-in-out infinite;
    z-index: -1;
}

.logo-glow-ring::after {
    position: absolute;
    inset: 13px 12px 10px;
    border-radius: 28% 28% 42% 42%;
    border: 1px solid rgba(210, 255, 218, 0.36);
    clip-path: polygon(50% 2%, 90% 18%, 82% 72%, 50% 98%, 18% 72%, 10% 18%);
    box-shadow: 0 0 4px rgba(18, 168, 107, 0.34), 0 0 6px rgba(11, 78, 162, 0.22);
    content: "";
    animation: logoGlowBlink 1.45s ease-in-out infinite;
    z-index: -1;
}

.logo-glow-ring img {
    position: relative;
    filter: drop-shadow(0 0 3px rgba(18, 168, 107, 0.36)) drop-shadow(0 0 5px rgba(11, 78, 162, 0.2));
    animation: logoShieldGlow 2.6s ease-in-out infinite;
    z-index: 1;
}

.logo-glow-ring--sm {
    width: 48px;
    height: 48px;
}

.logo-glow-ring--md {
    width: 82px;
    height: 82px;
}

.logo-glow-ring--hero {
    width: min(188px, 48vw);
    height: min(188px, 48vw);
}

.logo-glow-ring--md::before,
.logo-glow-ring--hero::before {
    inset: 12px 11px 10px;
    filter: blur(2px);
}

.logo-glow-ring--md::after,
.logo-glow-ring--hero::after {
    inset: 17px 16px 14px;
}

.market-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.market-brand .logo-glow-ring img {
    filter: drop-shadow(0 0 3px rgba(143, 255, 103, 0.36)) drop-shadow(0 0 6px rgba(11, 78, 162, 0.22));
}

.market-brand strong {
    display: block;
    color: #f8fff9;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 12px rgba(18, 168, 107, 0.24);
}

@keyframes logoGlowSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes logoGlowBlink {
    0%,
    100% {
        opacity: 0.32;
    }
    50% {
        opacity: 0.62;
    }
}

@keyframes logoShieldGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(18, 168, 107, 0.28)) drop-shadow(0 0 4px rgba(11, 78, 162, 0.18));
    }
    50% {
        filter: drop-shadow(0 0 4px rgba(199, 255, 53, 0.42)) drop-shadow(0 0 7px rgba(18, 168, 107, 0.28));
    }
}

.delivery-chip {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0 6px;
    position: relative;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(143, 255, 103, 0.16);
    border-radius: 12px;
    padding: 7px 10px;
    background: rgba(18, 168, 107, 0.075);
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 1;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.delivery-chip:hover {
    border-color: rgba(18, 168, 107, 0.65);
    background: rgba(18, 168, 107, 0.13);
    transform: translateY(-1px);
}

.delivery-chip svg {
    grid-row: span 2;
    width: 20px;
    height: 20px;
    fill: #b8ffd2;
}

.delivery-chip span {
    color: #cdebdc;
    font-size: 10px;
    line-height: 1.05;
}

.delivery-chip strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-search {
    display: grid;
    position: relative;
    grid-template-columns: 86px minmax(0, 1fr) 62px;
    min-height: 48px;
    border: 1px solid rgba(184, 255, 210, 0.24);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(11, 78, 162, 0.08), 0 16px 32px rgba(0, 0, 0, 0.22);
    z-index: 1;
}

.market-search:focus-within {
    border-color: var(--amc-green);
    box-shadow: 0 0 0 3px rgba(18, 168, 107, 0.22);
}

.market-search select,
.market-search input,
.market-search button {
    border: 0;
    outline: 0;
}

.market-search select {
    padding: 0 12px;
    background: linear-gradient(180deg, #f4f7fb, #e9eef5);
    color: #1f2937;
    font-weight: var(--weight-medium);
}

.market-search input {
    min-width: 0;
    padding: 0 16px;
    background: linear-gradient(180deg, #fff, #f9fbfd);
    color: #0f172a;
    font-size: 14px;
}

.market-search button {
    background: linear-gradient(135deg, #b8ffd2, #8fff67);
    color: #062317;
    cursor: pointer;
    font-weight: 800;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.market-search button:hover {
    background: linear-gradient(135deg, #12a86b, #99ff55);
    color: #061321;
    transform: scale(1.02);
}

.market-search svg,
.header-actions svg,
.category-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.header-actions {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 244px;
    z-index: 1;
}

.header-actions a,
.cart-button {
    display: inline-flex;
    width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 255, 210, 0.16);
    border-radius: 12px;
    padding: 4px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
        rgba(7, 19, 34, 0.54);
    color: #eafff1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-actions a:hover,
.cart-button:hover {
    transform: translateY(-1px);
    background: rgba(18, 168, 107, 0.18);
    border-color: rgba(143, 255, 103, 0.75);
    color: #b8ffd2;
}

.cart-button {
    position: relative;
    font-size: 16px;
}

.cart-button span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb454, #ff9f1a);
    color: #061321;
    font-size: 11px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
}

.category-nav {
    display: flex;
    position: relative;
    gap: 4px;
    align-items: center;
    min-height: 44px;
    overflow: visible;
    padding: 0 28px;
    background:
        linear-gradient(90deg, rgba(16, 32, 49, 0.98), rgba(31, 47, 65, 0.96)),
        var(--nav-mid);
    backdrop-filter: blur(16px) saturate(1.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.category-nav::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 168, 107, 0.08), transparent 34%, rgba(11, 78, 162, 0.1));
    content: "";
    pointer-events: none;
}

.category-nav a,
.category-nav button {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 8px 11px;
    background: transparent;
    color: #f7fff8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    z-index: 1;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.nav-item {
    position: relative;
}

.category-nav a:hover,
.category-nav button:hover {
    border-color: rgba(143, 255, 103, 0.55);
    background: rgba(18, 168, 107, 0.14);
    color: #b8ffd2;
    transform: translateY(-1px);
}

.nav-submenu {
    display: grid;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    z-index: 70;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0 0 16px 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    visibility: hidden;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
    gap: 2px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.nav-submenu a {
    justify-content: flex-start;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.nav-submenu a:hover {
    background: #eef6ff;
    color: var(--amc-blue);
}

.mega-menu {
    display: none;
    position: absolute;
    right: 18px;
    left: 18px;
    z-index: 60;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(18px);
}

.mega-menu.is-open {
    display: grid;
}

.mega-menu div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.mega-menu p {
    margin: 0 0 4px;
    color: var(--amc-blue);
    font-weight: 900;
}

.mega-menu a {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    color: var(--ink);
    font-weight: 800;
}

.market-main {
    max-width: 1500px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 78% 0, rgba(18, 168, 107, 0.12), transparent 26%),
        linear-gradient(180deg, var(--page), #dfe8f1);
}

.hero-market {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.32), transparent 25%),
        radial-gradient(circle at 18% 12%, rgba(184, 255, 61, 0.16), transparent 22%),
        linear-gradient(112deg, var(--section-bg, var(--amc-blue)), var(--amc-green) 56%, #e6fbff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px rgba(15, 23, 42, 0.14);
}

.hero-market::after {
    position: absolute;
    inset: auto 2% -60px 2%;
    height: 118px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    content: "";
    filter: blur(42px);
    pointer-events: none;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 28px;
    align-items: center;
    min-height: 230px;
    padding: 28px clamp(24px, 6vw, 88px) 42px;
    color: var(--section-color, #fff);
}

.hero-slide.is-active {
    display: grid;
}

.hero-slide p {
    margin: 0 0 8px;
    color: #c8ffe6;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-slide h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.hero-slide span {
    display: block;
    max-width: 620px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.hero-slide a {
    display: inline-flex;
    margin-top: 18px;
    border-radius: 12px;
    padding: 12px 18px;
    background: #fff;
    color: var(--amc-blue);
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-art {
    display: grid;
    place-items: center;
}

.hero-art img {
    width: min(180px, 46vw);
    max-height: 170px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.hero-art .logo-glow-ring--hero img {
    width: min(176px, 45vw);
    max-height: 166px;
}

.slider-control {
    position: absolute;
    top: 42%;
    width: 42px;
    height: 64px;
    border: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #111827;
    cursor: pointer;
    font-size: 38px;
}

.slider-control.prev {
    left: 0;
}

.slider-control.next {
    right: 0;
}

.quick-card-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: -42px 24px 28px;
}

.quick-card,
.product-card,
.info-panel,
.contact-market,
.careers-banner {
    background:
        radial-gradient(circle at 0 0, rgba(143, 255, 103, 0.13), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(11, 78, 162, 0.1), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
        rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
}

.quick-card {
    position: relative;
    min-height: 244px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    isolation: isolate;
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 0%, rgba(143, 255, 103, 0.24), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(11, 78, 162, 0.16), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 255, 0.82));
    content: "";
    opacity: 0.82;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.quick-card::after {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--amc-blue), var(--amc-green), #99ff55);
    content: "";
    opacity: 0.9;
}

.quick-card:hover {
    border-color: rgba(18, 168, 107, 0.38);
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(18, 168, 107, 0.09);
    transform: translateY(-3px);
}

.quick-card:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.quick-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(18, 168, 107, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--amc-blue);
    font-size: 10px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.quick-card h2 {
    max-width: calc(100% - 42px);
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.2;
    position: relative;
    letter-spacing: -0.01em;
}

.quick-card-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-card a {
    display: grid;
    gap: 8px;
    position: relative;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 13px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quick-card a::after {
    position: absolute;
    right: 9px;
    bottom: 9px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amc-green), #99ff55);
    content: "";
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 160ms ease, transform 160ms ease;
}

.quick-card a:hover {
    border-color: rgba(18, 168, 107, 0.34);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.quick-card a:hover::after {
    opacity: 1;
    transform: scale(1);
}

.thumb-box {
    display: grid;
    place-items: center;
    min-height: 78px;
    border: 1px solid rgba(18, 168, 107, 0.14);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(234, 243, 255, 0.82), rgba(223, 248, 235, 0.9)),
        #f7fbff;
    color: var(--amc-blue);
    font-weight: 900;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.thumb-box img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.02);
    transition: transform 180ms ease, filter 180ms ease;
}

.quick-card a:hover .thumb-box img {
    filter: saturate(1.14) contrast(1.04);
    transform: scale(1.05);
}

.quick-card small {
    color: var(--text);
    font-size: 12px;
    font-weight: var(--weight-medium);
    line-height: 1.25;
    min-height: 30px;
    padding-right: 12px;
}

.market-section {
    margin: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
        #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(16px);
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-title-row p {
    margin: 0 0 4px;
    color: var(--amc-green);
    font-weight: 900;
    text-transform: uppercase;
}

.section-title-row h2 {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
}

.section-title-row span {
    color: var(--muted);
    font-weight: 800;
}

.department-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.department-tabs button,
.department-tabs a {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
}

.department-tabs button.is-active,
.department-tabs a.is-active {
    border-color: var(--amc-blue);
    background: var(--amc-blue);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    display: grid;
    grid-template-rows: 158px 1fr;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    min-height: 388px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
    border-color: rgba(18, 168, 107, 0.36);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
    transform: translateY(-3px);
}

.product-card.is-hidden {
    display: none;
}

.product-visual {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(18, 168, 107, 0.25), transparent 34%),
        linear-gradient(135deg, #eef6ff, #e8fff3);
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.product-card:hover .product-visual img {
    transform: scale(1.035);
}

.product-visual span {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff;
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: 900;
}

.product-body {
    display: grid;
    align-content: start;
    padding: 16px;
}

.product-body small {
    color: var(--amc-green);
    font-weight: 900;
}

.product-body h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.2;
}

.product-body p {
    margin: 0;
    color: var(--muted);
}

.rating {
    margin-top: 12px;
    color: #f59e0b;
    font-size: 14px;
    font-weight: 900;
}

.rating span {
    color: var(--muted);
    font-weight: 700;
}

.card-badges,
.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.card-badges span,
.detail-badges span {
    border-radius: 999px;
    padding: 5px 8px;
    background: #e9fbf2;
    color: #087548;
    font-size: 12px;
    font-weight: 900;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.product-actions button,
.product-actions a,
.detail-actions button[data-wishlist],
.detail-actions button[data-compare] {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.product-actions button.is-selected,
.detail-actions button.is-selected {
    border-color: var(--amc-green);
    background: #e9fbf2;
    color: #087548;
}

.product-request-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.product-request-actions button,
.detail-actions button[data-inquiry-open],
.buy-box button[data-inquiry-open] {
    border: 1px solid rgba(18, 168, 107, 0.28);
    border-radius: 999px;
    padding: 9px 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(225, 245, 255, 0.78)),
        rgba(255, 255, 255, 0.84);
    color: #074f86;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-request-actions button:hover,
.detail-actions button[data-inquiry-open]:hover,
.buy-box button[data-inquiry-open]:hover {
    border-color: rgba(18, 168, 107, 0.58);
    box-shadow: 0 12px 24px rgba(18, 168, 107, 0.16);
    transform: translateY(-1px);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.price-row strong {
    color: #b42318;
    font-size: 18px;
}

.price-row button,
.checkout-link,
.contact-market a,
.deal-strip a,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #ffd814;
    color: #111827;
    cursor: pointer;
    font-weight: 900;
}

.fulfillment-line {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.deal-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 24px;
    padding: 28px;
    background: linear-gradient(135deg, #0b4ea2, #12a86b);
    color: #fff;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.deal-card {
    display: grid;
    align-content: start;
    position: relative;
    gap: 12px;
    overflow: hidden;
    min-height: 306px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 22px;
    background:
        radial-gradient(circle at 0 0, rgba(11, 78, 162, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px) saturate(1.15);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.deal-card:nth-child(2) {
    background:
        radial-gradient(circle at 0 0, rgba(255, 180, 84, 0.26), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(255, 246, 229, 0.78));
}

.deal-card:nth-child(3) {
    background:
        radial-gradient(circle at 0 0, rgba(18, 168, 107, 0.24), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(229, 255, 241, 0.78));
}

.deal-card:nth-child(4) {
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(244, 232, 255, 0.76));
}

.deal-card::after {
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 116px;
    height: 116px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 168, 107, 0.14), rgba(11, 78, 162, 0.12));
    content: "";
}

.deal-card:hover {
    border-color: rgba(18, 168, 107, 0.34);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.15);
    transform: translateY(-3px);
}

.deal-card > i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--amc-blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 28px rgba(15, 23, 42, 0.08);
}

.deal-card > i svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.deal-card > span {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.82);
    color: #087548;
    font-size: 12px;
    font-weight: var(--weight-bold);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.deal-card h2,
.deal-card p,
.deal-card ul {
    margin: 0;
}

.deal-card strong {
    color: var(--amc-blue);
}

.deal-card ul {
    display: grid;
    gap: 7px;
    padding-left: 0;
    color: var(--text);
    list-style: none;
}

.deal-card li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
}

.deal-card li::before {
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--amc-green);
    content: "";
}

.deal-card button {
    border: 0;
    border-radius: 999px;
    padding: 11px 14px;
    background: #ffd814;
    color: #111827;
    cursor: pointer;
    font-weight: 900;
}

.deal-strip h2,
.deal-strip p {
    margin: 0;
}

.deal-strip p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.88);
}

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

.info-panel {
    border: 1px solid var(--line);
    padding: 24px;
}

.info-panel h2 {
    margin: 0 0 10px;
}

.info-panel li {
    margin: 8px 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.industry-grid span {
    border: 1px solid var(--line);
    padding: 16px;
    background: #f8fafc;
    font-weight: 900;
}

.contact-market,
.careers-banner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin: 24px;
    padding: 30px;
}

.contact-market p {
    margin: 0 0 8px;
    color: var(--amc-green);
    font-weight: 900;
}

.contact-market h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.contact-market span,
.careers-banner span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.about-page {
    background:
        radial-gradient(circle at 14% 6%, rgba(22, 163, 74, 0.1), transparent 26%),
        radial-gradient(circle at 86% 8%, rgba(11, 78, 162, 0.14), transparent 32%),
        #f3f7fb;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    margin: 24px;
}

.about-intro-card,
.about-intro-panel {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.about-intro-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-top: 4px solid var(--amc-blue);
}

.about-intro-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.about-intro-card p,
.about-section-head p,
.about-cta p {
    margin: 0 0 10px;
    color: var(--amc-green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-intro-card h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
}

.about-intro-card div > span,
.about-intro-panel span,
.about-section-head > span {
    display: block;
    max-width: 920px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.about-intro-card > .logo-glow-ring {
    margin: 0;
    max-width: none;
}

.about-intro-panel {
    display: grid;
    align-content: center;
    padding: 28px;
    border-top: 4px solid var(--amc-green);
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(11, 78, 162, 0.9)),
        #111827;
    color: #fff;
}

.about-intro-panel strong {
    display: block;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.1;
}

.about-intro-panel span {
    color: #dbeafe;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin: 24px;
}

.about-hero-copy,
.about-hero-visual,
.about-overview,
.value-grid article,
.leadership-section,
.why-amc-section,
.core-services-section,
.about-stats,
.trust-section,
.about-cta {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.about-hero-copy {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 58px);
}

.about-hero-copy::after {
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border: 38px solid rgba(11, 78, 162, 0.08);
    border-radius: 50%;
    content: "";
}

.about-hero-copy h1 {
    position: relative;
    max-width: 920px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.02;
    z-index: 1;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 78, 162, 0.16);
    border-radius: 999px;
    padding: 11px 16px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
}

.about-actions a:first-child {
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
}

.about-hero-visual {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(11, 78, 162, 0.92)),
        #111827;
    color: #fff;
    text-align: center;
}

.network-orbit {
    display: grid;
    place-items: center;
    position: relative;
    width: min(320px, 74vw);
    height: min(320px, 74vw);
}

.network-orbit span {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: orbitPulse 4.8s ease-in-out infinite;
}

.network-orbit span:nth-child(2) {
    inset: 48px;
    animation-delay: 0.8s;
}

.network-orbit span:nth-child(3) {
    inset: 82px;
    animation-delay: 1.6s;
}

.network-orbit img {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.3));
}

.about-hero-visual strong {
    margin-top: -18px;
    font-size: 28px;
}

.about-hero-visual small {
    color: #c7f9d7;
    font-weight: 900;
}

@keyframes orbitPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.about-overview,
.leadership-section,
.why-amc-section,
.core-services-section,
.trust-section {
    margin: 24px;
    padding: 28px;
}

.about-section-head h2,
.about-cta h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
}

.identity-grid,
.value-grid,
.why-amc-grid,
.about-service-grid,
.trust-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.identity-grid article,
.why-amc-grid article,
.about-service-grid article,
.trust-card-grid article {
    border: 1px solid var(--line);
    padding: 18px;
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.identity-grid article:hover,
.value-grid article:hover,
.director-card:hover,
.why-amc-grid article:hover,
.about-service-grid article:hover,
.trust-card-grid article:hover {
    border-color: rgba(11, 78, 162, 0.3);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
}

.identity-grid span,
.value-grid span,
.about-service-grid h3,
.trust-card-grid strong {
    color: var(--amc-blue);
    font-weight: 900;
}

.identity-grid strong {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    line-height: 1.35;
}

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

.value-grid article {
    padding: 22px;
}

.value-grid p,
.trust-card-grid span {
    color: var(--muted);
    line-height: 1.6;
}

.director-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.director-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    border: 1px solid var(--line);
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 255, 0.9)),
        #fff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.director-photo {
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(11, 78, 162, 0.12), rgba(22, 163, 74, 0.12));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
}

.director-card strong {
    display: block;
    margin-top: 5px;
    color: var(--amc-green);
}

.director-card p {
    color: var(--muted);
    line-height: 1.6;
}

.leader-message {
    border-left: 4px solid var(--amc-green);
    padding: 10px 12px;
    background: #f8fafc;
}

.leader-message span {
    display: block;
    color: var(--amc-blue);
    font-weight: 900;
}

.leader-message small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.5;
}

.why-amc-grid article {
    display: grid;
    gap: 14px;
}

.why-amc-grid article span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
}

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

.about-service-grid article span {
    display: block;
    border-top: 1px solid var(--line);
    padding: 10px 0;
    color: var(--ink);
    font-weight: 800;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 24px;
    overflow: hidden;
    background: var(--line);
}

.about-stats article {
    padding: 28px;
    background: #fff;
    text-align: center;
}

.about-stats strong {
    display: block;
    color: var(--amc-blue);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
}

.about-stats span {
    color: var(--muted);
    font-weight: 900;
}

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

.about-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin: 24px;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(11, 78, 162, 0.96), rgba(22, 163, 74, 0.9)),
        var(--amc-blue);
    color: #fff;
}

.about-cta p,
.about-cta h2 {
    color: #fff;
}

.about-cta span {
    display: block;
    margin-top: 10px;
    color: #e0f2fe;
    line-height: 1.55;
}

.contact-page {
    background:
        linear-gradient(180deg, rgba(11, 78, 162, 0.06), transparent 320px),
        #eef3f8;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 18px;
    align-items: start;
    margin: 16px 24px 18px;
}

.contact-hero > div,
.contact-command-grid article,
.contact-map-preview,
.contact-office-card,
.social-connect {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.contact-hero-copy {
    min-height: 320px;
    padding: clamp(24px, 4vw, 42px);
    border-top: 4px solid var(--amc-blue);
}

.contact-hero p,
.map-panel-head p,
.social-connect p {
    margin: 0 0 10px;
    color: var(--amc-green);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1;
}

.contact-hero span {
    display: block;
    max-width: 720px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.contact-hero-actions,
.social-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.contact-hero-actions a,
.map-panel-head a,
.contact-command-grid a,
.social-link-grid a,
.social-link-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 78, 162, 0.16);
    border-radius: 999px;
    padding: 11px 16px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
}

.contact-hero-actions a:first-child,
.map-panel-head a {
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
}

.contact-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 760px;
    margin-top: 22px;
}

.contact-trust-row span {
    display: grid;
    align-items: center;
    min-height: 58px;
    margin: 0;
    border: 1px solid rgba(11, 78, 162, 0.12);
    padding: 10px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.contact-map-preview {
    overflow: hidden;
    background: #fff;
    border-top: 4px solid var(--amc-green);
}

.contact-map-preview iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
}

.contact-signal-card {
    display: grid;
    align-content: center;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(11, 78, 162, 0.9)),
        #111827;
    color: #fff;
}

.contact-signal-card span {
    color: #9ee7b4;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-signal-card strong {
    display: block;
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.2;
}

.contact-signal-card small {
    display: block;
    margin-top: 18px;
    color: #dbeafe;
    font-weight: 800;
}

.contact-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 24px 18px;
}

.contact-command-grid article {
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.contact-command-grid article::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amc-blue), var(--amc-green));
    content: "";
}

.contact-command-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-command-grid strong {
    display: block;
    margin: 8px 0 14px;
    color: var(--ink);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.contact-command-grid a {
    width: fit-content;
    padding: 8px 12px;
    background: #eef6ff;
    color: var(--amc-blue);
}

.contact-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    gap: 18px;
    margin: 0 24px 18px;
}

.map-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 20px;
}

.map-panel-head h2,
.social-connect h2,
.contact-office-card h2 {
    margin: 0;
    color: var(--ink);
}

.contact-office-card {
    padding: 24px;
}

.contact-office-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.contact-office-card > .logo-glow-ring {
    margin-bottom: 10px;
}

.contact-office-card p {
    color: var(--muted);
    line-height: 1.6;
}

.contact-office-card > strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 18px;
}

.office-location-button {
    display: inline-flex;
    margin-top: 10px;
    border-radius: 999px;
    padding: 10px 14px;
    background: #111827;
    color: #fff;
    font-weight: 900;
}

.contact-office-card dl {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
}

.contact-office-card dl div {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.contact-office-card dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-office-card dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-weight: 900;
}

.social-connect {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
    margin: 0 24px 24px;
    padding: 22px;
}

.social-link-grid {
    margin-top: 0;
}

.social-link-grid a {
    background: #dcfce7;
    color: #166534;
}

.social-link-grid span {
    color: var(--muted);
}

.contact-page-v2 {
    display: grid;
    gap: 18px;
    padding: 18px 24px 26px;
    background:
        radial-gradient(circle at 6% 0%, rgba(18, 168, 107, 0.14), transparent 32%),
        radial-gradient(circle at 94% 16%, rgba(11, 78, 162, 0.12), transparent 34%),
        linear-gradient(180deg, #eef4f8, #f8fafc 56%, #eef4f8);
}

.contact-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 18px;
    align-items: stretch;
}

.contact-intro-card,
.contact-map-card,
.contact-channel-grid article,
.contact-office-profile,
.contact-routing-card,
.contact-service-card,
.contact-social-strip {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.78)),
        rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
}

.contact-intro-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
}

.contact-intro-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--amc-blue), var(--amc-green));
    content: "";
}

.contact-kicker,
.contact-map-toolbar span,
.contact-channel-grid span,
.contact-office-head span,
.contact-routing-card > span,
.contact-service-card > span,
.contact-social-strip span {
    color: var(--amc-green);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-intro-card h1 {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
}

.contact-intro-card p {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.contact-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.contact-action-row a,
.contact-map-toolbar a,
.contact-channel-grid a,
.contact-routing-list a,
.contact-social-strip a,
.contact-social-strip .social-link-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 78, 162, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--amc-blue);
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.contact-action-row .primary,
.contact-map-toolbar a {
    border-color: transparent;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
}

.contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.contact-mini-grid article {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-mini-grid span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
}

.contact-mini-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.35;
}

.contact-map-card {
    display: grid;
    overflow: hidden;
    min-height: 360px;
}

.contact-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.contact-map-toolbar strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 18px;
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    height: 300px;
    min-height: 300px;
    border: 0;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.contact-channel-grid article {
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.contact-channel-grid article::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--amc-blue), var(--amc-green));
    content: "";
}

.contact-channel-grid strong {
    display: block;
    margin: 10px 0 14px;
    color: var(--ink);
    font-size: 16px;
    overflow-wrap: anywhere;
}

.contact-channel-grid a {
    width: fit-content;
    background: rgba(11, 78, 162, 0.08);
}

.contact-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(260px, 0.72fr));
    gap: 14px;
}

.contact-office-profile,
.contact-routing-card,
.contact-service-card {
    padding: 22px;
}

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

.contact-office-head img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.contact-office-head h2,
.contact-routing-card h2,
.contact-service-card h2,
.contact-social-strip h2 {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.18;
}

.contact-office-profile p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-office-profile dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.contact-office-profile dl div {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.66);
}

.contact-office-profile dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--weight-bold);
}

.contact-office-profile dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: var(--weight-bold);
    overflow-wrap: anywhere;
}

.contact-routing-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.contact-routing-list a {
    display: grid;
    justify-content: stretch;
    border-radius: 14px;
    padding: 12px;
    text-align: left;
}

.contact-routing-list a span {
    color: var(--amc-green);
    font-size: 11px;
}

.contact-routing-list a strong {
    margin-top: 4px;
    color: var(--ink);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-service-card ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.contact-service-card li {
    border-left: 3px solid var(--amc-green);
    padding-left: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.contact-social-strip {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: 18px;
    align-items: center;
    padding: 22px;
}

.contact-social-strip .social-link-grid {
    margin: 0;
}

.contact-social-strip a {
    background: rgba(220, 252, 231, 0.9);
    color: #166534;
}

.site-footer {
    background: #111827;
    color: #dbe3ee;
}

.back-top {
    display: block;
    padding: 14px;
    background: #263449;
    text-align: center;
    font-weight: 900;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px;
}

.footer-grid h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
}

.footer-company {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    color: #cbd5e1;
    font-size: 13px;
    text-align: center;
}

.footer-brandline {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
    text-align: center;
}

.footer-brandline img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.footer-brandline .logo-glow-ring--sm img {
    width: 44px;
    height: 44px;
}

.footer-v2 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(18, 168, 107, 0.18), transparent 28%),
        radial-gradient(circle at 92% 6%, rgba(11, 78, 162, 0.2), transparent 30%),
        linear-gradient(180deg, #162335, #08111f 52%, #070d18);
}

.footer-v2::before {
    position: absolute;
    inset: 70px 8% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 255, 210, 0.34), transparent);
    content: "";
}

.footer-command {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 8px;
}

.footer-brand-card,
.footer-action-card {
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(1.14);
}

.footer-brand-card img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.footer-brand-card p,
.footer-action-card > span,
.footer-social-row > span {
    margin: 0;
    color: #9ee7b4;
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-brand-card h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 26px;
}

.footer-brand-card span {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.55;
}

.footer-action-card {
    display: grid;
    align-content: center;
}

.footer-action-card strong {
    color: #fff;
    font-size: 25px;
}

.footer-action-card small {
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-action-card div,
.footer-social-row div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.footer-action-card a,
.footer-social-row a,
.footer-social-row div span {
    display: inline-flex;
    border: 1px solid rgba(184, 255, 210, 0.22);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5f9ed;
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.footer-v2 .footer-grid {
    padding-top: 24px;
}

.footer-v2 .footer-grid > div {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.footer-v2 .footer-grid a {
    transition: color 180ms ease, transform 180ms ease;
}

.footer-v2 .footer-grid a:hover {
    color: #b8ffd2;
    transform: translateX(3px);
}

.footer-social-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 14px 24px;
}

.footer-v2 .footer-brandline {
    color: #e5edf7;
    font-weight: var(--weight-semibold);
}

.footer-compact {
    background:
        radial-gradient(circle at 8% 0%, rgba(18, 168, 107, 0.18), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(11, 78, 162, 0.18), transparent 30%),
        linear-gradient(180deg, #111827, #08111f 72%, #07101d);
    color: #dbe3ee;
}

.footer-compact .logo-glow-ring--sm img {
    width: 58px;
    height: 58px;
}

.footer-compact-main,
.footer-compact-bottom,
.footer-copyright {
    max-width: 1220px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.footer-compact-main {
    display: grid;
    grid-template-columns: 1.2fr 0.78fr 1.18fr 1fr;
    gap: 34px;
    align-items: start;
    padding-top: 36px;
    padding-bottom: 34px;
}

.footer-compact-brand {
    display: grid;
    gap: 14px;
    align-items: start;
}

.footer-compact-brand strong {
    display: block;
    color: #fff;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.footer-compact-brand p {
    max-width: 320px;
    margin: 0;
    color: #aeb9c8;
    font-size: 13px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #93a4b8;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-socials a:hover {
    border-color: rgba(153, 255, 85, 0.45);
    background: rgba(18, 168, 107, 0.16);
    color: #eafff1;
    transform: translateY(-2px);
}

.footer-quick-links,
.footer-compact-contact,
.footer-newsletter {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-quick-links h2,
.footer-compact-contact h2,
.footer-newsletter h2 {
    position: relative;
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.footer-quick-links h2::after,
.footer-compact-contact h2::after {
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amc-green), var(--amc-blue));
    content: "";
}

.footer-quick-links a {
    position: relative;
    padding-left: 18px;
    color: #c5cfdb;
    font-size: 13px;
    line-height: 1.35;
    transition: color 160ms ease, transform 160ms ease;
}

.footer-quick-links a::before {
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--amc-green);
    content: "";
    opacity: 0.85;
}

.footer-quick-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-compact-contact a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #d9e3ef;
    font-size: 13px;
    line-height: 1.5;
}

.footer-compact-contact a span {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(11, 78, 162, 0.24);
    color: #99ff55;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.footer-compact-contact a span svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-compact-contact a b {
    max-width: 260px;
    color: inherit;
    font-weight: var(--weight-medium);
}

.footer-newsletter {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(15, 23, 42, 0.34);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-newsletter p {
    margin: 0;
    color: #9eacbb;
    font-size: 12px;
    line-height: 1.5;
}

.footer-newsletter label {
    display: grid;
    gap: 6px;
}

.footer-newsletter label span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: var(--weight-semibold);
}

.footer-newsletter input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    padding: 0 12px;
    background: rgba(15, 23, 42, 0.64);
    color: #fff;
    font: inherit;
}

.footer-newsletter button,
.footer-top-link {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: var(--weight-bold);
    box-shadow: 0 14px 28px rgba(11, 78, 162, 0.2);
}

.footer-compact-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #9eacbb;
    font-size: 12px;
}

.footer-copyright nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.footer-copyright nav a {
    color: #d3deeb;
    font-weight: var(--weight-medium);
}

.footer-copyright nav a + a::before {
    margin: 0 14px;
    color: rgba(148, 163, 184, 0.5);
    content: "|";
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 18px;
}

.amc-copilot {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    font-family: var(--font-ui);
}

.amc-copilot-toggle {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(143, 255, 103, 0.34);
    border-radius: 20px;
    background: conic-gradient(from var(--amc-edge-angle), var(--amc-green), var(--amc-blue), var(--amc-accent), var(--amc-green));
    box-shadow: 0 18px 44px rgba(8, 17, 31, 0.28), 0 0 24px rgba(18, 168, 107, 0.2);
    color: #fff;
    cursor: pointer;
    animation: amcEdgeSpin 5s linear infinite;
}

.amc-copilot-toggle span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    background: rgba(8, 17, 31, 0.88);
    font-size: 15px;
    font-weight: var(--weight-heavy);
}

.amc-copilot-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: grid;
    width: min(380px, calc(100vw - 28px));
    max-height: min(620px, calc(100vh - 120px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    background:
        radial-gradient(circle at 16% 0, rgba(18, 168, 107, 0.16), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
    box-shadow: 0 28px 70px rgba(8, 17, 31, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(22px) saturate(1.28);
}

.amc-copilot-panel[hidden] {
    display: none !important;
}

.amc-copilot-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--nav-dark), var(--amc-blue) 58%, var(--amc-green));
    color: #fff;
}

.amc-copilot-panel header span {
    display: block;
    color: #c8ffe6;
    font-size: 10px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.amc-copilot-panel header strong {
    display: block;
    margin-top: 2px;
    font-size: 16px;
}

.amc-copilot-panel header button {
    border: 0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
}

.amc-copilot-log {
    display: grid;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 14px;
}

.amc-copilot-log article {
    width: fit-content;
    max-width: 92%;
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.45;
}

.amc-copilot-log .bot {
    background: rgba(241, 245, 249, 0.86);
    color: var(--ink);
}

.amc-copilot-log .user {
    justify-self: end;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
}

.amc-copilot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.amc-copilot-actions a,
.amc-copilot-prompts button {
    border: 1px solid rgba(11, 78, 162, 0.16);
    border-radius: 999px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--amc-blue);
    cursor: pointer;
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.amc-copilot-prompts {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 0 14px 12px;
    scrollbar-width: thin;
}

.amc-copilot-prompts button {
    flex: 0 0 auto;
    max-width: 118px;
    white-space: normal;
}

.amc-copilot-form {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 12px;
}

.amc-copilot-form input {
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 14px;
    padding: 0 12px;
    outline: 0;
}

.amc-copilot-form button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    cursor: pointer;
    font-weight: var(--weight-bold);
}

.amc-copilot-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

@keyframes amcEdgeSpin {
    to {
        --amc-edge-angle: 360deg;
    }
}

.legal-page {
    padding: 20px 24px 28px;
    background:
        radial-gradient(circle at 8% 0%, rgba(18, 168, 107, 0.12), transparent 28%),
        linear-gradient(180deg, #eef4f8, #f8fafc);
}

.legal-card {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.legal-card > p {
    margin: 0 0 8px;
    color: var(--amc-green);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-card h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 4vw, 42px);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

.legal-body {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.legal-body p {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
}

.appointment-page {
    background:
        radial-gradient(circle at 18% 8%, rgba(18, 168, 107, 0.12), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(11, 78, 162, 0.12), transparent 30%),
        #eef4f8;
    padding: 28px 34px 42px;
}

.appointment-hero,
.appointment-layout,
.appointment-alert {
    margin: 0 auto 18px;
    max-width: 1240px;
}

.appointment-hero {
    align-items: stretch;
    background: linear-gradient(130deg, rgba(8, 17, 31, 0.96), rgba(11, 78, 162, 0.86), rgba(18, 168, 107, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) 340px;
    padding: 34px;
}

.appointment-hero p,
.appointment-form-head p,
.appointment-panel p {
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.appointment-hero h1 {
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: 0;
    line-height: 1.04;
    margin: 0 0 14px;
    max-width: 780px;
}

.appointment-hero span {
    color: rgba(255, 255, 255, 0.88);
    display: block;
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
}

.appointment-hero aside {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: grid;
    gap: 10px;
    padding: 22px;
}

.appointment-hero aside strong {
    font-size: 20px;
}

.appointment-hero aside small {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.appointment-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.appointment-hero-actions a,
.appointment-form button {
    background: linear-gradient(135deg, #d8ffe7, #7ff0b6);
    border: 0;
    border-radius: 999px;
    color: #06381f;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    padding: 12px 18px;
    text-decoration: none;
}

.appointment-hero-actions a + a {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.appointment-alert {
    border-radius: 14px;
    display: grid;
    gap: 4px;
    padding: 16px 18px;
}

.appointment-alert.success {
    background: #e8fff3;
    border: 1px solid #8ee7ba;
    color: #064e2a;
}

.appointment-alert.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.appointment-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.appointment-form,
.appointment-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.appointment-form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
}

.appointment-form-head,
.appointment-form .wide,
.slot-picker,
.payment-choice,
.appointment-form button {
    grid-column: 1 / -1;
}

.appointment-form-head h2 {
    font-size: 28px;
    margin: 0;
}

.appointment-form label {
    color: #172033;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    background: #fff;
    border: 1px solid #d7e1ec;
    border-radius: 12px;
    color: #0f172a;
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
}

.appointment-form textarea {
    min-height: 98px;
    resize: vertical;
}

.slot-picker,
.payment-choice {
    background: #f8fbfd;
    border: 1px solid #dce7f1;
    border-radius: 16px;
    display: grid;
    gap: 12px;
    padding: 16px;
}

.slot-day {
    display: grid;
    gap: 10px;
}

.slot-day > span {
    color: #0b4ea2;
    font-weight: 900;
}

.slot-day div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-day button {
    background: #fff;
    border: 1px solid #cbdcec;
    border-radius: 999px;
    color: #0f2a45;
    cursor: pointer;
    font-weight: 800;
    padding: 9px 12px;
}

.slot-day button.is-selected {
    background: #0b4ea2;
    border-color: #0b4ea2;
    color: #fff;
}

.slot-day button.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.payment-choice label {
    align-items: center;
    display: flex;
    gap: 10px;
}

.appointment-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.appointment-panel > div {
    background: linear-gradient(135deg, #ffffff, #f3f8fc);
    border: 1px solid #dce7f1;
    border-radius: 16px;
    display: grid;
    gap: 6px;
    padding: 16px;
}

.appointment-panel strong {
    color: #0f172a;
    line-height: 1.35;
}

.appointment-security-note span {
    color: #586b84;
    line-height: 1.6;
}

.admin-booking-board,
.admin-payment-status {
    display: grid;
    gap: 14px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-booking-board > div,
.admin-payment-status article {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 252, 0.9));
    border: 1px solid #d9e4ef;
    border-radius: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
}

.admin-booking-board p,
.admin-payment-status span {
    color: #0b4ea2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin: 0;
    text-transform: uppercase;
}

.admin-booking-manager {
    display: grid;
    gap: 14px;
    grid-column: 1 / -1;
}

.admin-booking-row {
    align-items: start;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 252, 0.92)),
        radial-gradient(circle at 8% 0%, rgba(18, 168, 107, 0.08), transparent 28%);
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
    padding: 16px;
}

.admin-booking-row > div {
    display: grid;
    gap: 5px;
}

.admin-booking-row strong {
    color: var(--ink);
    font-size: 15px;
}

.admin-booking-row span,
.admin-booking-row small {
    color: #64748b;
    line-height: 1.45;
}

.admin-booking-row .wide {
    grid-column: 1 / -1;
}

.about-page-v2 {
    display: grid;
    gap: 18px;
    padding: 18px 24px 26px;
    background:
        radial-gradient(circle at 7% 3%, rgba(18, 168, 107, 0.14), transparent 30%),
        radial-gradient(circle at 94% 8%, rgba(11, 78, 162, 0.13), transparent 34%),
        linear-gradient(180deg, #eef4f8, #f8fafc 58%, #eef4f8);
}

.about-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 18px;
}

.about-hero-copy-v2,
.about-brand-visual,
.about-identity-band,
.about-story-grid article,
.about-page-v2 .leadership-section,
.about-services-v2,
.about-why-v2,
.about-page-v2 .about-stats,
.about-cta-v2 {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.8)),
        rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
}

.about-hero-copy-v2 {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4.6vw, 52px);
}

.about-hero-copy-v2::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--amc-blue), var(--amc-green));
    content: "";
}

.about-kicker,
.about-identity-band span,
.about-story-grid span,
.director-card-v2 span,
.about-page-v2 .about-section-head p {
    color: var(--amc-green);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-hero-copy-v2 h1 {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
}

.about-hero-copy-v2 p,
.about-story-grid p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.about-brand-visual {
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 50% 28%, rgba(184, 255, 210, 0.16), transparent 35%),
        linear-gradient(145deg, rgba(8, 17, 31, 0.96), rgba(11, 78, 162, 0.92));
    color: #fff;
    text-align: center;
}

.about-brand-visual strong {
    margin-top: -10px;
    color: #fff;
    font-size: 26px;
}

.about-brand-visual small {
    color: #c7f9d7;
    font-weight: var(--weight-semibold);
}

.about-identity-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 0;
    background: rgba(148, 163, 184, 0.18);
}

.about-identity-band article {
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.about-identity-band strong {
    display: block;
    margin-top: 7px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(190px, 0.65fr));
    gap: 14px;
}

.about-story-grid article {
    padding: 22px;
}

.about-story-card h2,
.about-page-v2 .about-section-head h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
}

.about-page-v2 .leadership-section,
.about-services-v2,
.about-why-v2 {
    margin: 0;
    padding: 24px;
}

.director-card-v2 {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.88)),
        #fff;
}

.director-card-v2 h3 {
    margin-top: 6px;
}

.about-page-v2 .about-service-grid,
.about-page-v2 .why-amc-grid {
    margin-top: 18px;
}

.about-page-v2 .about-service-grid article,
.about-page-v2 .why-amc-grid article {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
}

.about-stats-v2 {
    margin: 0;
    border-radius: 18px;
}

.about-cta-v2 {
    margin: 0;
    border: 0;
    border-radius: 18px;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(420px, 92vw);
    height: 100vh;
    padding: 22px;
    background: #fff;
    box-shadow: -22px 0 60px rgba(15, 23, 42, 0.22);
    transform: translateX(110%);
    transition: transform 180ms ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer h2 {
    margin: 0;
}

.cart-drawer button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 30px;
}

.cart-drawer ul {
    display: grid;
    gap: 10px;
    min-height: 160px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.cart-drawer li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    padding: 12px;
    font-weight: 800;
}

.modal-open {
    overflow: hidden;
}

.inquiry-modal {
    position: fixed;
    z-index: 2200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.inquiry-modal[hidden] {
    display: none;
}

.inquiry-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(18, 168, 107, 0.2), transparent 32%),
        rgba(2, 8, 18, 0.58);
    backdrop-filter: blur(14px);
}

.inquiry-card {
    position: relative;
    width: min(520px, calc(100vw - 28px));
    max-height: min(92vh, 760px);
    overflow: auto;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 22px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, #12a86b, #0b4ea2, #b8ff3d, #12a86b) border-box;
    box-shadow: 0 28px 90px rgba(3, 12, 28, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    animation: inquiryGlow 5s linear infinite;
}

.inquiry-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.inquiry-card-head img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.inquiry-card-head p {
    margin: 0 0 4px;
    color: #0f9f63;
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inquiry-card-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.05;
}

.inquiry-card-head small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.inquiry-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: #64748b;
    cursor: pointer;
}

.inquiry-card form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.inquiry-card label {
    display: grid;
    gap: 6px;
    color: #1f2937;
    font-size: 12px;
    font-weight: var(--weight-semibold);
}

.inquiry-card label.wide,
.inquiry-actions {
    grid-column: 1 / -1;
}

.inquiry-card input,
.inquiry-card textarea {
    width: 100%;
    border: 1px solid #d7e1ec;
    border-radius: 14px;
    padding: 12px 13px;
    background: rgba(248, 252, 255, 0.92);
    color: var(--ink);
    font: inherit;
}

.inquiry-card input[readonly] {
    background: #eef9f4;
    color: #0a7349;
}

.inquiry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.inquiry-actions button,
.inquiry-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: var(--weight-bold);
    text-decoration: none;
}

.inquiry-actions button {
    min-width: 190px;
    background: linear-gradient(135deg, var(--amc-blue), var(--amc-green));
    color: #fff;
    box-shadow: 0 14px 26px rgba(18, 168, 107, 0.24);
    cursor: pointer;
}

.inquiry-actions a {
    border: 1px solid #d7e1ec;
    background: #fff;
    color: #0b4ea2;
}

.inquiry-toast {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 2300;
    display: grid;
    gap: 3px;
    max-width: min(380px, calc(100vw - 34px));
    border: 1px solid rgba(18, 168, 107, 0.32);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(240, 255, 247, 0.94);
    color: #0d3b2b;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
}

.inquiry-toast.is-error {
    border-color: rgba(220, 38, 38, 0.28);
    background: rgba(255, 245, 245, 0.95);
    color: #7f1d1d;
}

.inquiry-toast strong {
    font-size: 13px;
}

.inquiry-toast span {
    font-size: 12px;
    line-height: 1.45;
}

@keyframes inquiryGlow {
    0% { box-shadow: 0 28px 90px rgba(3, 12, 28, 0.35), 0 0 0 rgba(18, 168, 107, 0.2); }
    50% { box-shadow: 0 28px 90px rgba(3, 12, 28, 0.35), 0 0 28px rgba(11, 78, 162, 0.18); }
    100% { box-shadow: 0 28px 90px rgba(3, 12, 28, 0.35), 0 0 0 rgba(18, 168, 107, 0.2); }
}

.admin-ecommerce-control-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(160px, 0.55fr));
    gap: 14px;
    align-items: stretch;
    border: 1px solid rgba(18, 168, 107, 0.18);
    border-radius: 22px;
    padding: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(18, 168, 107, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.9));
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.admin-ecommerce-control-panel article {
    display: grid;
    align-content: center;
    gap: 6px;
    border-radius: 18px;
    padding: 16px;
    background: rgba(8, 17, 31, 0.94);
    color: #fff;
}

.admin-ecommerce-control-panel article span {
    color: #b8c9d9;
    font-size: 13px;
    line-height: 1.45;
}

.admin-ecommerce-control-panel label {
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.82);
}

.admin-ecommerce-control-panel label.wide,
.admin-control-shortcuts.wide {
    grid-column: 1 / -1;
}

.admin-control-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-control-shortcuts a {
    border: 1px solid rgba(11, 78, 162, 0.16);
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff;
    color: #0b4ea2;
    font-size: 13px;
    font-weight: var(--weight-bold);
}

.admin-inquiry-board {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-inquiry-board article {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.admin-inquiry-board article div {
    display: grid;
    gap: 4px;
}

.admin-inquiry-board strong {
    color: var(--ink);
}

.admin-inquiry-board span,
.admin-inquiry-board small {
    color: #64748b;
    font-size: 12px;
}

.admin-inquiry-board p {
    margin: 0;
    color: #0b4ea2;
    font-size: 13px;
    font-weight: var(--weight-semibold);
}

.checkout-link {
    display: inline-flex;
}

.checkout-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.tracking-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
}

.checkout-form-card,
.checkout-summary,
.success-card,
.tracking-panel {
    background: #fff;
    padding: 26px;
}

.checkout-kicker {
    margin: 0 0 8px;
    color: var(--amc-green);
    font-weight: 900;
    text-transform: uppercase;
}

.checkout-form-card h1,
.success-card h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.08;
}

.checkout-form-card form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.checkout-form-card label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 800;
}

.checkout-form-card input,
.checkout-form-card textarea,
.checkout-form-card select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
}

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

.checkout-form-card small,
.form-errors {
    color: #b42318;
}

.checkout-payment-options {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(18, 168, 107, 0.22);
    border-radius: 18px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 250, 246, 0.82)),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.checkout-payment-options legend {
    padding: 0 8px;
    color: var(--ink);
    font-weight: 900;
}

.checkout-payment-options > p,
.payment-mode-hint {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.payment-option-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px !important;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.payment-option-card:hover {
    transform: translateY(-1px);
    border-color: rgba(18, 168, 107, 0.44);
    box-shadow: 0 14px 28px rgba(18, 168, 107, 0.1);
}

.payment-option-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--amc-green);
}

.payment-option-card span {
    display: grid;
    gap: 3px;
}

.payment-option-card strong {
    font-size: 14px;
}

.payment-option-card small {
    color: #64748b;
    font-weight: 600;
}

.payment-option-card.is-disabled {
    cursor: not-allowed;
    opacity: 0.58;
    background: rgba(241, 245, 249, 0.8);
}

.payment-confirmation-card {
    position: relative;
    overflow: hidden;
}

.payment-confirmation-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(18, 168, 107, 0.2), transparent 68%);
    pointer-events: none;
}

.payment-detail-form {
    position: relative;
    z-index: 1;
}

.payment-selected-mode,
.payment-instructions {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(18, 168, 107, 0.2);
    border-radius: 16px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.84), rgba(239, 246, 255, 0.78));
}

.payment-selected-mode span,
.payment-instructions span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.payment-confirm-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.04);
}

.payment-confirm-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--amc-green);
}

.gateway-launcher {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(11, 78, 162, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 17, 31, 0.94), rgba(11, 78, 162, 0.86));
    color: #fff;
}

.gateway-launcher span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.gateway-launcher button {
    justify-self: start;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #12a86b, #0b4ea2);
    color: #fff;
}

.payment-gateway-modal[hidden] {
    display: none;
}

.payment-gateway-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 18px;
}

.payment-gateway-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(18px);
}

.payment-gateway-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 26px;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 253, 245, 0.88)),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.34), 0 0 0 1px rgba(18, 168, 107, 0.14) inset;
}

.payment-gateway-card h2 {
    margin: 6px 0 10px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.08;
}

.payment-gateway-card p {
    color: #475569;
}

.payment-gateway-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.gateway-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.gateway-modal-actions a,
.gateway-modal-actions button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b4ea2, #12a86b);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.gateway-amount-field {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    color: #0f172a;
    font-weight: 900;
}

.gateway-amount-field input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
}

.checkout-form-card button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #ffd814;
    cursor: pointer;
    font-weight: 900;
}

.checkout-summary ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.checkout-summary li {
    border: 1px solid var(--line);
    padding: 12px;
    font-weight: 800;
}

.checkout-summary a,
.success-card a {
    display: inline-flex;
    margin-top: 12px;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--amc-blue);
    color: #fff;
    font-weight: 900;
}

.checkout-step-list {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.checkout-step-list span {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
    color: var(--text);
    font-weight: 800;
}

.tracking-panel h2,
.tracking-panel h3 {
    margin-top: 0;
}

.tracking-panel span {
    display: block;
    margin: 6px 0;
    color: var(--text);
}

.tracking-panel ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.tracking-panel li {
    border: 1px solid var(--line);
    padding: 12px;
    font-weight: 800;
}

.timeline-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.timeline-list li {
    border: 1px solid var(--line);
    padding: 12px;
}

.timeline-list small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.cart-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.cart-panel,
.cart-summary-card,
.cart-side-panel {
    background: #fff;
    padding: 26px;
}

.cart-panel {
    grid-row: span 3;
}

.cart-panel h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.08;
}

.cart-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin: 22px 0;
}

.cart-toolbar a,
.cart-toolbar button,
.cart-summary-card a {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--amc-blue);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.cart-toolbar button {
    background: #fee2e2;
    color: #991b1b;
}

.cart-line-items {
    display: grid;
    gap: 12px;
}

.cart-line,
.empty-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 16px;
}

.cart-line span,
.cart-summary-card p {
    color: var(--muted);
}

.cart-line p,
.saved-meta {
    margin: 6px 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.cart-line a,
.saved-card a,
.compare-head a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.qty-control {
    display: inline-grid;
    grid-template-columns: 36px 42px 36px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-align: center;
}

.qty-control button,
.cart-line-actions button {
    border: 0;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 900;
}

.qty-control button {
    min-height: 34px;
}

.cart-line-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cart-line-actions button {
    border-radius: 999px;
    padding: 9px 12px;
}

.cart-line-actions button:first-child {
    color: var(--amc-blue);
}

.cart-line-actions button:last-child {
    color: #991b1b;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.cart-side-panel ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.cart-side-panel li {
    border: 1px solid var(--line);
    padding: 10px;
    font-weight: 800;
}

.order-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.order-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 16px;
}

.order-card span {
    display: block;
    color: var(--muted);
}

.order-card a {
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--amc-blue);
    color: #fff;
    font-weight: 900;
}

.saved-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.saved-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 16px;
}

.saved-card span {
    display: block;
    color: var(--muted);
}

.saved-card div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.saved-card button,
.compare-row button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #ffd814;
    color: #111827;
    cursor: pointer;
    font-weight: 900;
}

.saved-card button:last-child {
    background: #fee2e2;
    color: #991b1b;
}

.compare-table {
    display: grid;
    gap: 1px;
    margin-top: 22px;
    overflow-x: auto;
    background: var(--line);
}

.compare-row {
    display: grid;
    grid-auto-columns: minmax(210px, 1fr);
    grid-auto-flow: column;
    gap: 1px;
}

.compare-row > * {
    min-height: 58px;
    padding: 14px;
    background: #fff;
}

.compare-head > * {
    background: #f8fafc;
}

.compare-head strong {
    display: grid;
    gap: 8px;
}

.catalog-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 24px;
    padding: 34px;
    background: linear-gradient(135deg, #0b4ea2, #12a86b);
    color: #fff;
}

.catalog-hero p {
    margin: 0 0 8px;
    color: #dff8eb;
    font-weight: 900;
    text-transform: uppercase;
}

.catalog-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.08;
}

.catalog-hero span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.88);
}

.catalog-hero a {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 12px 18px;
    background: #fff;
    color: var(--amc-blue);
    font-weight: 900;
}

.catalog-tools {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 10px;
    margin-bottom: 12px;
}

.catalog-tools input,
.catalog-tools select,
.catalog-tools button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
}

.search-page-form {
    grid-template-columns: minmax(220px, 1fr) 190px 120px;
}

.product-detail-page {
    max-width: 1500px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 24px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amc-blue);
    font-weight: 800;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr) 300px;
    gap: 20px;
    margin: 24px;
    padding: 24px;
    background: #fff;
}

.gallery-stage {
    display: grid;
    gap: 12px;
    place-items: center;
    min-height: 340px;
    background: radial-gradient(circle at 24% 20%, rgba(18, 168, 107, 0.25), transparent 32%), linear-gradient(135deg, #eaf3ff, #eefbf5);
    text-align: center;
}

.gallery-stage img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.gallery-stage iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 8px;
    background: #08111f;
}

.gallery-stage.is-playing {
    background: linear-gradient(135deg, #0b4ea2, #12a86b);
    color: #fff;
}

.gallery-stage span {
    color: var(--amc-blue);
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 900;
}

.gallery-stage strong {
    display: block;
    color: var(--ink);
}

.gallery-stage.is-playing strong {
    color: #fff;
}

.gallery-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: var(--amc-blue);
    cursor: pointer;
    font-weight: 900;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.gallery-thumbs button {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    cursor: pointer;
}

.gallery-thumbs button.is-active {
    border-color: var(--amc-blue);
    box-shadow: 0 0 0 2px rgba(11, 78, 162, 0.12);
}

.gallery-thumbs span {
    display: block;
    color: var(--amc-green);
    font-weight: 900;
}

.detail-category {
    margin: 0 0 8px;
    color: var(--amc-green);
    font-weight: 900;
    text-transform: uppercase;
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.06;
}

.detail-info p {
    color: var(--text);
    font-size: 18px;
}

.detail-price {
    margin: 22px 0;
    color: #b42318;
    font-size: 24px;
    font-weight: 900;
}

.offer-box {
    display: grid;
    gap: 8px;
    max-width: 680px;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #f8fafc;
}

.offer-box span {
    color: var(--text);
}

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

.detail-actions button,
.buy-box button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: #ffd814;
    cursor: pointer;
    font-weight: 900;
}

.detail-actions a,
.buy-box a {
    border-radius: 999px;
    padding: 12px 18px;
    background: #ffa41c;
    color: #111827;
    font-weight: 900;
}

.buy-box {
    display: grid;
    align-content: start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.product-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px;
}

.detail-card {
    padding: 24px;
    background: #fff;
}

.video-preview {
    display: grid;
    place-items: center;
    min-height: 260px;
    border-radius: 8px;
    background: linear-gradient(135deg, #071f43, #0b4ea2);
    color: #fff;
    text-align: center;
}

.video-preview button {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--amc-blue);
    cursor: pointer;
    font-size: 24px;
}

.video-preview.is-playing {
    background: linear-gradient(135deg, #0b4ea2, #12a86b);
}

.video-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 8px;
    background: #08111f;
}

.video-preview span {
    max-width: 320px;
    margin-top: 12px;
}

.video-preview a {
    border-radius: 999px;
    padding: 9px 13px;
    background: #fff;
    color: var(--amc-blue);
    font-weight: 900;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.faq-grid article {
    border: 1px solid var(--line);
    padding: 18px;
}

.faq-grid h3 {
    margin: 0 0 8px;
}

.faq-grid p {
    margin: 0;
    color: var(--muted);
}

.qa-list,
.review-grid,
.recent-view-grid {
    display: grid;
    gap: 14px;
}

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

.review-grid,
.recent-view-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qa-list article,
.review-grid article,
.recent-card {
    border: 1px solid var(--line);
    padding: 16px;
    background: #fff;
}

.qa-list span,
.review-grid span,
.recent-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.review-grid p {
    color: var(--text);
}

/* Typography calibration: keep the enterprise UI compact and readable. */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    letter-spacing: 0;
}

p,
li,
span,
small,
label,
input,
select,
textarea,
button,
a {
    letter-spacing: 0;
}

.market-brand strong {
    font-size: 18px;
    font-weight: var(--weight-bold);
}

.auth-brand strong,
.detail-price,
.price-row strong {
    font-weight: var(--weight-bold);
}

.auth-heading h1,
.hero-slide h1,
.section-title-row h2,
.contact-market h2,
.about-intro-card h1,
.about-hero-copy h1,
.about-section-head h2,
.about-cta h2,
.contact-hero h1,
.catalog-hero h1,
.checkout-form-card h1,
.success-card h1,
.cart-panel h1,
.detail-info h1 {
    font-weight: var(--weight-bold);
    line-height: 1.16;
}

.auth-heading h1 {
    font-size: clamp(22px, 2.8vw, 26px);
}

.hero-slide h1 {
    font-size: clamp(24px, 2.8vw, 36px);
}

.section-title-row h2,
.contact-market h2,
.about-section-head h2,
.about-cta h2,
.catalog-hero h1,
.checkout-form-card h1,
.success-card h1,
.cart-panel h1,
.detail-info h1 {
    font-size: clamp(22px, 2.4vw, 30px);
}

.about-intro-card h1,
.about-hero-copy h1,
.contact-hero h1 {
    font-size: clamp(24px, 2.7vw, 34px);
}

.hero-slide p,
.section-title-row p,
.catalog-hero p,
.contact-market p,
.contact-hero p,
.about-intro-card p,
.about-section-head p,
.about-cta p,
.detail-category,
.checkout-kicker,
.product-body small,
.deal-card > span,
.contact-signal-card span,
.contact-command-grid span {
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.04em;
}

.auth-tabs a,
.auth-form label,
.auth-alert,
.delivery-chip strong,
.category-nav a,
.category-nav button,
.mega-menu p,
.mega-menu a,
.nav-submenu a,
.department-tabs a,
.product-actions button,
.product-actions a,
.detail-actions button,
.detail-actions a,
.buy-box button,
.buy-box a,
.price-row button,
.checkout-link,
.contact-market a,
.deal-strip a,
.deal-card button,
.checkout-form-card label,
.checkout-summary li,
.checkout-step-list span,
.tracking-panel li,
.cart-drawer li,
.cart-toolbar a,
.cart-toolbar button,
.cart-summary-card a,
.cart-line a,
.saved-card a,
.saved-card button,
.gallery-video-button {
    font-weight: var(--weight-semibold);
}

.auth-secure-note span,
.product-visual span,
.card-badges span,
.detail-badges span,
.gallery-thumbs span,
.fulfillment-line,
.breadcrumb,
.rating {
    font-size: 12px;
}

.product-body h3,
.quick-card h2,
.info-panel h2,
.deal-card h2,
.director-card h3,
.contact-office-card h2,
.contact-command-grid strong,
.faq-grid h3 {
    font-size: 17px;
    font-weight: var(--weight-bold);
    line-height: 1.25;
}

.product-body p,
.deal-card p,
.detail-info p,
.catalog-hero span,
.hero-slide span,
.about-intro-card div > span,
.about-intro-panel span,
.about-section-head > span,
.contact-hero span,
.contact-market span,
.careers-banner span,
.contact-office-card p,
.faq-grid p,
.review-grid p {
    font-size: 14px;
    line-height: 1.55;
}

.detail-price {
    font-size: 21px;
}

.gallery-stage span {
    font-size: clamp(28px, 4vw, 46px);
}

.slider-control {
    font-size: 28px;
}

.auth-form button[type="submit"],
.market-search button,
.header-actions a,
.cart-button,
.price-row button,
.detail-actions button,
.detail-actions a,
.buy-box button,
.buy-box a {
    letter-spacing: 0;
}

@media (max-width: 1100px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-metric-grid,
    .admin-control-grid,
    .admin-widget-grid,
    .admin-easy-control,
    .admin-roadmap,
    .admin-control-form,
    .admin-asset-grid,
    .admin-storage-grid,
    .admin-media-grid,
    .admin-upload-panel,
    .admin-catalog-row,
    .admin-inquiry-board,
    .theme-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar {
        grid-template-columns: minmax(210px, auto) minmax(260px, 1fr) auto;
        padding-right: 18px;
        padding-left: 18px;
    }

    .market-search {
        grid-column: auto;
    }

    .admin-upload-attachment,
    .admin-media-grid.is-list .admin-media-card,
    .admin-folder-library.is-list .admin-media-card,
    .admin-operation-row,
    .tender-filter-form,
    .tender-hero,
    .tender-list article {
        grid-template-columns: 1fr;
    }

    .tender-filter-form .wide,
    .tender-filter-actions {
        grid-column: auto;
    }

    .tender-stat-grid,
    .tender-source-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-media-grid.is-list .admin-media-card img,
    .admin-media-grid.is-list .admin-file-icon,
    .admin-folder-library.is-list .admin-media-card img,
    .admin-folder-library.is-list .admin-file-icon {
        grid-row: auto;
        width: 100%;
        height: 112px;
    }

    .header-actions {
        justify-content: flex-start;
        min-width: 0;
    }

    .delivery-chip {
        display: none;
    }

    .mega-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        right: 10px;
        left: 10px;
    }

    .quick-card-grid,
    .deal-grid,
    .product-grid,
    .industry-grid,
    .faq-grid,
    .qa-list,
    .review-grid,
    .recent-view-grid,
    .footer-grid,
    .product-detail,
    .footer-command,
    .footer-social-row,
    .contact-command-grid,
    .contact-map-grid,
    .appointment-hero,
    .appointment-layout,
    .appointment-form,
    .admin-booking-board,
    .admin-payment-status,
    .admin-booking-row,
    .contact-channel-grid,
    .contact-profile-grid,
    .contact-social-strip,
    .social-connect,
    .about-intro,
    .about-hero,
    .about-hero-v2,
    .about-identity-band,
    .about-story-grid,
    .identity-grid,
    .value-grid,
    .director-grid,
    .why-amc-grid,
    .about-service-grid,
    .about-stats,
    .trust-card-grid,
    .product-content-grid,
    .footer-compact-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero,
    .contact-hero-v2,
    .about-intro,
    .about-hero {
        grid-template-columns: 1fr;
    }

    .contact-mini-grid,
    .contact-office-profile dl,
    .about-page-v2 .about-service-grid,
    .about-page-v2 .why-amc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buy-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .topbar {
        grid-template-columns: 1fr;
        padding-right: 14px;
        padding-left: 14px;
    }

    .admin-main,
    .admin-sidebar {
        padding: 14px;
    }

    .admin-topbar,
    .admin-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-metric-grid,
    .admin-control-grid,
    .admin-widget-grid,
    .admin-easy-control,
    .admin-roadmap,
    .admin-control-form,
    .admin-asset-grid,
    .admin-storage-grid,
    .admin-media-grid,
    .admin-upload-panel,
    .admin-catalog-row,
    .admin-user-row,
    .admin-user-create,
    .admin-portal-row,
    .portal-head,
    .portal-section-grid,
    .utility-download-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-card form,
    .admin-ecommerce-control-panel,
    .admin-inquiry-board {
        grid-template-columns: 1fr;
    }

    .inquiry-card {
        padding: 18px;
    }

    .portal-user-strip {
        flex-direction: column;
    }

    .admin-live-preview iframe {
        height: 260px;
    }

    .auth-shell {
        padding: 14px;
        place-items: start center;
    }

    .auth-panel {
        margin-top: 10px;
        border-radius: 20px;
        padding: 16px 14px;
    }

    .auth-tabs,
    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-heading h1 {
        font-size: 23px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar {
        padding: 10px 12px;
    }

    .market-search {
        grid-template-columns: 78px 1fr;
    }

    .market-search button {
        grid-column: 1 / -1;
        min-height: 42px;
    }

    .tender-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .header-actions a,
    .cart-button {
        width: 42px;
        min-height: 42px;
    }

    .mega-menu {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 126px);
        overflow: auto;
    }

    .hero-slide,
    .two-column,
    .catalog-hero,
    .catalog-tools,
    .form-row,
    .cart-page-grid,
    .cart-line,
    .order-card,
    .saved-card,
    .product-detail,
    .product-content-grid,
    .checkout-grid,
    .tracking-grid {
        grid-template-columns: 1fr;
    }

    .catalog-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-slide {
        padding: 24px 18px 58px;
    }

    .quick-card-grid,
    .product-grid,
    .industry-grid,
    .footer-grid,
    .footer-compact-main {
        grid-template-columns: 1fr;
    }

    .quick-card-grid,
    .market-section,
    .deal-strip,
    .contact-market,
    .contact-hero,
    .contact-page-v2,
    .about-page-v2,
    .contact-command-grid,
    .contact-map-grid,
    .footer-command,
    .footer-social-row,
    .footer-compact-main,
    .contact-channel-grid,
    .contact-profile-grid,
    .contact-social-strip,
    .social-connect,
    .about-intro,
    .about-hero,
    .about-overview,
    .value-grid,
    .leadership-section,
    .why-amc-section,
    .core-services-section,
    .about-stats,
    .trust-section,
    .about-cta,
    .careers-banner {
        margin-right: 12px;
        margin-left: 12px;
    }

    .footer-compact-main,
    .footer-compact-bottom,
    .footer-copyright {
        padding-right: 18px;
        padding-left: 18px;
    }

    .footer-copyright {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-copyright nav {
        justify-content: flex-start;
    }

    .deal-strip,
    .contact-market,
    .careers-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-command-grid,
    .contact-map-grid,
    .contact-channel-grid,
    .contact-profile-grid,
    .contact-social-strip,
    .contact-mini-grid,
    .contact-office-profile dl,
    .about-hero-v2,
    .about-identity-band,
    .about-story-grid,
    .about-page-v2 .about-service-grid,
    .about-page-v2 .why-amc-grid,
    .about-page-v2 .director-card,
    .social-connect,
    .identity-grid,
    .value-grid,
    .director-grid,
    .why-amc-grid,
    .about-service-grid,
    .about-stats,
    .trust-card-grid {
        grid-template-columns: 1fr;
    }

    .about-intro-card {
        grid-template-columns: 1fr;
    }

    .director-card,
    .about-cta {
        grid-template-columns: 1fr;
    }

    .director-card,
    .about-cta {
        display: grid;
    }

    .about-cta {
        align-items: flex-start;
    }

    .map-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-page-v2 {
        padding: 12px;
    }

    .about-page-v2 {
        padding: 12px;
    }

    .contact-intro-card,
    .contact-office-profile,
    .contact-routing-card,
    .contact-service-card,
    .contact-social-strip {
        padding: 18px;
    }

    .contact-map-toolbar,
    .contact-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-map-card iframe {
        height: 240px;
        min-height: 240px;
    }

    .footer-brand-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-compact-contact,
    .footer-copyright {
        justify-content: flex-start;
    }

    .contact-map-preview iframe {
        height: 280px;
    }
}
