:root {
    --primary: #0047d9;
    --cyan: #00c8f0;
    --dark: #0f172a;
    --ink: #061650;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #dbe7f5;
    --gradient: linear-gradient(135deg, #0047d9 0%, #0078ea 52%, #00c8f0 100%);
    --shadow: 0 24px 80px rgba(15, 23, 42, .12);
    --soft-shadow: 0 16px 48px rgba(0, 71, 217, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gradient {
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.top-info-bar {
    color: var(--white);
    background: linear-gradient(90deg, #0030b8, var(--primary), var(--cyan));
}
.top-info-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.top-info-list,
.top-socials {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.top-info-list a,
.top-info-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: .9rem;
    font-weight: 500;
}
.top-info-list span span,
.top-info-list a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
}
.top-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: var(--white);
    font-size: .8rem;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.top-socials a:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.social-svg-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: currentColor;
}
.main-header {
    background: rgba(255,255,255,.76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219,231,245,.8);
    transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled .main-header {
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .09);
}
.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.brand img {
    width: 200px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,71,217,.18));
    animation: floatLogo 5s ease-in-out infinite;
}
.brand .mobile-logo { display: none; }
.brand .desktop-logo { display: block; }
.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.primary-nav a,
.nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #07185d;
    font-size: .94rem;
    font-weight: 500;
    line-height: 1.1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.primary-nav a:hover,
.primary-nav a.active,
.nav-item.active > .nav-trigger,
.nav-trigger:hover {
    color: var(--primary);
    background: rgba(0,71,217,.08);
    transform: translateY(-1px);
}
.nav-svg-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: currentColor;
}
.nav-trigger .nav-arrow {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}
.nav-item { position: relative; display: inline-flex; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 100;
    display: grid;
    min-width: 245px;
    padding: 12px;
    border: 1px solid rgba(219,231,245,.9);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.98);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.dropdown-menu-right { right: 0; left: auto; }
.dropdown-menu a {
    justify-content: flex-start;
    width: 100%;
    border-radius: 12px;
    white-space: nowrap;
}
.dropdown-submenu {
    display: grid;
    gap: 2px;
}
.dropdown-submenu > a {
    padding-left: calc(13px + (var(--menu-level, 0) * 16px));
}
.dropdown-submenu .dropdown-submenu > a {
    color: #334155;
    font-size: .9rem;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.has-dropdown:hover > .nav-trigger .nav-arrow,
.has-dropdown:focus-within > .nav-trigger .nav-arrow,
.has-dropdown.open > .nav-trigger .nav-arrow {
    transform: translateY(2px) rotate(225deg);
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}
.header-cta-mobile { display: none; }
.nav-cta {
    min-width: 214px;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    color: var(--white);
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    box-shadow: 0 14px 30px rgba(0,71,217,.24);
}
.nav-cta .nav-svg-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}
.header-cta-label {
    white-space: nowrap;
}
.nav-cta:hover,
.get-started.active > .nav-cta,
.get-started.open > .nav-cta {
    color: var(--white);
    background: linear-gradient(135deg, #04d7ff, #003fbe);
    transform: translateY(-2px);
}
.header-cta-wrap .dropdown-menu {
    min-width: 250px;
    border-color: #E5E7EB;
    border-radius: 14px;
    z-index: 130;
}
.header-cta-menu a {
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--dark);
    font-weight: 500;
}
.header-cta-menu a + a {
    margin-top: 4px;
}
.header-cta-menu a:hover,
.header-cta-menu a.active {
    color: var(--primary);
    background: rgba(0,200,240,.12);
}
.cta-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--primary);
}
.cta-menu-icon .nav-svg-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--ink);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef8ff 0%, #f8fbff 42%, #ffffff 100%);
}
.hero-premium {
    min-height: calc(100vh - 42px);
    padding: clamp(74px, 9vw, 122px) 0 0;
    isolation: isolate;
}
.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 12% 28%, rgba(0,200,240,.2), transparent 26%),
        radial-gradient(circle at 84% 18%, rgba(0,71,217,.16), transparent 28%),
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(235,247,255,.88) 42%, rgba(168,219,255,.55) 100%);
}
.hero-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .55;
    background-image:
        linear-gradient(30deg, rgba(0,71,217,.08) 1px, transparent 1px),
        linear-gradient(150deg, rgba(0,200,240,.08) 1px, transparent 1px);
    background-size: 82px 82px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,.84), rgba(255,255,255,.32));
}
.shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    opacity: .7;
}
.shape-one { width: 320px; height: 320px; right: -90px; top: 160px; background: rgba(0,200,240,.2); animation: drift 12s ease-in-out infinite; }
.shape-two { width: 220px; height: 220px; left: -70px; bottom: 120px; background: rgba(0,71,217,.13); animation: drift 14s ease-in-out infinite reverse; }
.shape-three { width: 110px; height: 110px; left: 48%; top: 24%; background: rgba(255,255,255,.62); box-shadow: 0 20px 60px rgba(0,71,217,.12); animation: floatLogo 7s ease-in-out infinite; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}
.hero-slider-grid {
    grid-template-columns: 1fr;
}
.hero-copy { padding-bottom: 80px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(0,200,240,.26);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255,255,255,.7);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.75rem); max-width: 980px; font-weight: 600; }
h1 span { color: transparent; background: var(--gradient); -webkit-background-clip: text; background-clip: text; }
h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 16px; color: var(--muted); }
.hero p, .page-hero p { max-width: 700px; font-size: 1.1rem; color: #1e3275; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn.primary {
    color: var(--white);
    background: var(--gradient);
    box-shadow: 0 18px 38px rgba(0,71,217,.24);
}
.btn.secondary {
    color: var(--primary);
    background: rgba(255,255,255,.78);
    border-color: rgba(0,71,217,.32);
}
.btn.ghost {
    color: var(--ink);
    background: var(--white);
    border-color: var(--border);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,71,217,.18); }
.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
}
.hero-visual-wide {
    min-height: clamp(520px, 68vh, 720px);
}
.lab-slider {
    position: relative;
    min-height: 440px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(230,246,255,.36));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.hero-visual-wide .lab-slider {
    min-height: clamp(500px, 68vh, 700px);
}
.lab-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: end;
    padding: 34px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .45s ease, transform .45s ease;
}
.lab-slide.active { opacity: 1; transform: translateX(0); }
.lab-slide h2 { font-size: clamp(1.5rem, 2vw, 2.2rem); }
.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide-caption {
    position: relative;
    z-index: 2;
    max-width: 460px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 24px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 18px 50px rgba(15,23,42,.12);
    backdrop-filter: blur(14px);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(239,246,255,.78));
    box-shadow: 0 22px 70px rgba(15,23,42,.14);
    backdrop-filter: blur(14px);
}
.hero-slide-content h1 {
    font-size: clamp(2.35rem, 5vw, 5.25rem);
}
.hero-slide-content p {
    max-width: 640px;
}

.hero-pharma-slider {
    min-height: 720px;
    padding: 0;
    background: var(--dark);
}
.hero-pharma-slider::before,
.hero-pharma-slider::after { display: none; }
.hero-slider-track,
.hero-slide,
.hero-slide-bg {
    position: absolute;
    inset: 0;
}
.hero-slider-track {
    overflow: hidden;
}
.hero-slide {
    display: grid;
    align-items: center;
    min-height: 720px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .75s ease;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide-bg {
    background-image:
        linear-gradient(90deg, rgba(8,25,60,var(--overlay-opacity, .85)) 0%, rgba(8,25,60,.68) 44%, rgba(0,71,217,.25) 100%),
        linear-gradient(90deg, var(--overlay-color, #08193c), rgba(0,71,217,.25)),
        var(--hero-bg);
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    min-height: 720px;
    padding-top: 42px;
    padding-bottom: 84px;
}
.hero-slide.align-center .hero-slide-inner {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    text-align: center;
}
.hero-slide.align-right .hero-slide-inner {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 650px);
}
.hero-slide.align-right .hero-slide-copy {
    grid-column: 2;
}
.hero-slide-copy {
    max-width: 650px;
}
.hero-badge,
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    border-radius: 999px;
    text-transform: uppercase;
}
.hero-badge {
    margin-right: 10px;
    padding: 8px 13px;
    color: var(--white);
    background: var(--badge-color, var(--cyan));
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.hero-subtitle {
    padding: 0;
    color: var(--cyan);
    background: transparent;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.hero-slide-copy h1 {
    max-width: 650px;
    color: var(--white);
    font-size: clamp(3rem, 5.6vw, 6.25rem);
    line-height: 1.03;
    text-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.hero-slide-copy p {
    max-width: 620px;
    color: rgba(255,255,255,.88);
    font-size: 1.125rem;
    line-height: 1.85;
}
.hero-slide-copy .btn.secondary {
    color: var(--white);
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.38);
    backdrop-filter: blur(12px);
}
.hero-foreground {
    justify-self: end;
    width: min(42vw, 520px);
}
.hero-foreground img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 26px 50px rgba(0,0,0,.28));
}
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255,255,255,.14);
    box-shadow: 0 18px 44px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .2s ease, background .2s ease;
}
.hero-arrow:hover {
    background: rgba(255,255,255,.24);
    transform: translateY(-50%) scale(1.06);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 42px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}
.hero-slider-dots button {
    width: 38px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.hero-slider-dots button.active {
    width: 58px;
    background: var(--cyan);
}
.hero-features-wrap {
    position: relative;
    z-index: 5;
    margin-top: -58px;
}
.hero-features-wrap .hero-feature-strip {
    margin-top: 0;
}
.lab-scene {
    position: absolute;
    inset: 30px 26px 128px;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,0)),
        radial-gradient(circle at 70% 30%, rgba(0,200,240,.22), transparent 30%),
        linear-gradient(135deg, rgba(0,71,217,.12), rgba(255,255,255,.55));
}
.lab-scene::before {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 24px;
    background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
    background-size: 34px 34px;
}
.lab-scope {
    position: absolute;
    right: 72px;
    bottom: 36px;
    width: 92px;
    height: 180px;
    border-radius: 26px 26px 14px 14px;
    background: linear-gradient(180deg, #ffffff, #dbeafe);
    box-shadow: 0 16px 42px rgba(0,71,217,.18);
}
.lab-scope::before {
    content: "";
    position: absolute;
    left: -72px;
    top: 62px;
    width: 136px;
    height: 24px;
    border-radius: 999px;
    background: #0d2b78;
    transform: rotate(-28deg);
}
.lab-scope::after {
    content: "";
    position: absolute;
    left: -36px;
    bottom: -20px;
    width: 170px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #ffffff);
}
.lab-vial {
    position: absolute;
    bottom: 34px;
    width: 28px;
    height: 110px;
    border-radius: 12px 12px 8px 8px;
    background: linear-gradient(180deg, #ffffff 0 36%, rgba(0,200,240,.58) 36% 100%);
    box-shadow: 0 12px 28px rgba(0,71,217,.13);
}
.vial-one { left: 50px; }
.vial-two { left: 94px; height: 138px; }
.vial-three { left: 140px; height: 96px; }
.lab-scene.alt .lab-vial { background: linear-gradient(180deg, #ffffff 0 32%, rgba(0,71,217,.5) 32% 100%); }
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}
.slider-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0,71,217,.24);
    cursor: pointer;
}
.slider-dots button.active { background: var(--primary); }
.hero-feature-strip {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -28px;
    padding: 24px 30px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.hero-feature-strip article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 8px 22px;
    border-right: 1px solid var(--border);
}
.hero-feature-strip article:last-child { border-right: 0; }
.hero-feature-strip span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--white);
    background: var(--gradient);
    box-shadow: 0 14px 28px rgba(0,71,217,.18);
}
.hero-feature-strip strong { color: var(--ink); font-weight: 600; }
.hero-feature-strip small { color: var(--muted); }

/* Sections */
.section { padding: clamp(72px, 8vw, 112px) 0; }
.band { background: var(--light); }
.section-heading {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}
.section-heading p { font-size: 1.05rem; }
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 98px 0 76px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(248,250,252,.94), rgba(238,248,255,.88)),
        var(--page-hero-image, linear-gradient(135deg, #f8fbff, #eef8ff)),
        radial-gradient(circle at 12% 20%, rgba(0,200,240,.18), transparent 28%),
        linear-gradient(135deg, #f8fbff, #eef8ff);
    background-position: center;
    background-size: cover;
}
.page-hero p { margin-left: auto; margin-right: auto; }
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card,
.info-box,
.form-card,
.glass-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--soft-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card { padding: 30px; }
.feature-card::before,
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.feature-card:hover,
.glass-card:hover,
.info-box:hover {
    transform: translateY(-8px);
    border-color: rgba(0,200,240,.45);
    box-shadow: 0 24px 70px rgba(0,71,217,.14);
}
.feature-card:hover::before,
.glass-card:hover::before { transform: scaleX(1); }
.icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--white);
    background: var(--gradient);
    font-weight: 600;
    box-shadow: 0 14px 32px rgba(0,71,217,.2);
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
}
.premium-image {
    min-height: 430px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(0,71,217,.12), rgba(0,200,240,.18));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.building-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
        linear-gradient(145deg, rgba(255,255,255,.5), rgba(255,255,255,.08));
    background-size: 44px 44px, 44px 44px, auto;
}
.building-visual::before {
    content: "";
    position: absolute;
    bottom: 46px;
    width: 72%;
    height: 58%;
    border-radius: 22px 22px 6px 6px;
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(219,234,254,.78));
    box-shadow: 0 24px 70px rgba(15,23,42,.14);
}
.building-visual img {
    position: relative;
    z-index: 2;
    width: 170px;
    filter: drop-shadow(0 20px 34px rgba(0,71,217,.2));
}
.building-visual .cms-feature-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}
.cms-card-image,
.cms-wide-image {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
}
.cms-card-image {
    height: 220px;
    margin-bottom: 22px;
}
.cms-wide-image {
    height: clamp(260px, 32vw, 430px);
    margin-bottom: 34px;
}
.glass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 28px;
}
.glass-card {
    padding: 26px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(14px);
}
.mini-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
}

/* Products */
.product-category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}
.product-category-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(219,231,245,.96);
    border-radius: 999px;
    color: #1e3275;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
    font-size: .92rem;
    font-weight: 500;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.product-category-tabs a:hover,
.product-category-tabs a.active {
    color: var(--white);
    border-color: transparent;
    background: var(--gradient);
    transform: translateY(-2px);
}
.product-category-tabs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(0,71,217,.1);
    font-size: .78rem;
    font-weight: 600;
}
.product-category-tabs a:hover span,
.product-category-tabs a.active span { background: rgba(255,255,255,.2); }
.product-listing {
    display: grid;
    gap: 42px;
}
.product-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.product-group-heading h3 { margin: 0; }
.product-group-heading span {
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.product-card {
    overflow: hidden;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,200,240,.45);
    box-shadow: 0 24px 70px rgba(0,71,217,.14);
}
.product-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-image span {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--white);
    background: var(--gradient);
    font-size: .78rem;
    font-weight: 600;
    box-shadow: 0 14px 28px rgba(0,71,217,.18);
}
.product-card-body { padding: 26px; }
.product-category {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.product-card h3 { margin: 0 0 10px; }
.product-card .btn { margin-top: 10px; }
.empty-public-state {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 24px;
    text-align: center;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
.public-pagination {
    margin-top: 34px;
}
.public-pagination nav > div:first-child { display: none; }
.public-pagination nav > div:last-child {
    display: flex;
    justify-content: center;
}
.public-pagination span,
.public-pagination a {
    color: var(--primary);
}
.product-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(86px, 9vw, 130px) 0 clamp(68px, 8vw, 104px);
    background:
        radial-gradient(circle at 82% 16%, rgba(0,200,240,.2), transparent 30%),
        linear-gradient(135deg, #f8fbff, #eef8ff);
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 6vw, 74px);
    align-items: center;
}
.product-detail-image {
    overflow: hidden;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.product-detail-image img {
    width: 100%;
    height: clamp(320px, 38vw, 520px);
    object-fit: cover;
}
.product-detail-copy h1 {
    max-width: 680px;
    margin-bottom: 18px;
}
.product-detail-copy p {
    max-width: 680px;
    font-size: 1.08rem;
}
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.product-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.product-info-panel {
    padding: 30px;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
.product-info-panel:first-child { grid-column: 1 / -1; }
.product-info-panel h2 { margin-top: 0; }
.dynamic-page-hero {
    background-blend-mode: normal;
}
.dynamic-content,
.dynamic-section {
    max-width: 920px;
    margin-inline: auto;
}
.dynamic-content p,
.dynamic-section p {
    font-size: 1.05rem;
}
.reverse-split > :first-child {
    order: 2;
}
.reverse-split > :last-child {
    order: 1;
}

/* Receipts */
.receipt-section {
    min-height: 72vh;
    background:
        radial-gradient(circle at 12% 20%, rgba(0,200,240,.16), transparent 26%),
        linear-gradient(135deg, #f8fbff, #eef8ff);
}
.receipt-card {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.receipt-head {
    margin-bottom: 28px;
    text-align: center;
}
.receipt-head h1 {
    margin-bottom: 10px;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
}
.receipt-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.receipt-details div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--light);
}
.receipt-details span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
}
.receipt-details strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* Team and verification */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.team-card,
.team-profile-public,
.team-admin-profile,
.verification-card {
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
.team-card {
    overflow: hidden;
}
.team-card > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--light);
}
.team-card > div { padding: 24px; }
.team-profile-public,
.team-admin-profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 180px;
    gap: 28px;
    align-items: center;
    padding: 30px;
}
.team-profile-public {
    grid-template-columns: 320px minmax(0, 1fr);
}
.team-profile-public > img,
.team-admin-profile > img:first-child {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 22px;
}
.team-qr-large {
    width: 180px;
    height: 180px;
    object-fit: contain;
}
.verification-page {
    min-height: 80vh;
    padding: clamp(64px, 8vw, 110px) 16px;
    background:
        radial-gradient(circle at 12% 18%, rgba(0,200,240,.18), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(0,71,217,.14), transparent 28%),
        linear-gradient(135deg, #f8fbff, #eef8ff);
}
.verification-card {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
}
.verification-logo {
    width: 180px;
    max-height: 80px;
    object-fit: contain;
    margin: 0 auto 18px;
}
.verified-mark {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}
.verified-mark.invalid {
    color: #be123c;
    background: #fff1f2;
    border-color: #fecdd3;
}
.verification-person {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 28px 0;
    text-align: left;
}
.verification-person img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 24px;
}
.verification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    text-align: left;
}
.verification-grid div {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--light);
}
.verification-grid span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
}
.verification-grid strong { overflow-wrap: anywhere; }
.verification-qr {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 26px auto 0;
}
.security-notice {
    margin-top: 18px;
    color: var(--muted);
    font-size: .92rem;
}
.verification-print-sheet {
    max-width: 900px;
    margin: 32px auto;
    padding: 42px;
    border: 1px solid var(--border);
    background: var(--white);
}
.print-logo { width: 180px; max-height: 80px; object-fit: contain; }
.verification-print-grid {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    gap: 22px;
    align-items: center;
    margin: 28px 0;
}
.verification-print-grid img {
    width: 170px;
    height: 170px;
    object-fit: cover;
}
.signature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 60px;
}
.signature-block span {
    padding-top: 18px;
    border-top: 1px solid var(--dark);
}
.id-card-print {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 30px;
}
.id-card-face {
    width: 85.6mm;
    height: 53.98mm;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    text-align: center;
    overflow: hidden;
}
.id-logo { width: 90px; height: 28px; object-fit: contain; margin: 0 auto 4px; }
.id-photo { width: 58px; height: 58px; object-fit: cover; border-radius: 14px; margin: 0 auto 4px; }
.id-qr { width: 70px; height: 70px; object-fit: contain; margin: 0 auto 4px; }
.id-card-face h2 { margin: 2px 0; font-size: 15px; }
.id-card-face p { margin: 1px 0; font-size: 10px; line-height: 1.25; }
.signature-line { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--dark); font-size: 10px; }
.mini-link:hover { color: var(--cyan); }
.timeline {
    display: grid;
    gap: 18px;
}
.timeline-item {
    position: relative;
    padding: 24px 26px 24px 34px;
    border-left: 4px solid var(--cyan);
    border-radius: 0 22px 22px 0;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
.research-premium { background: linear-gradient(180deg, #ffffff, #f6fbff); }
.quality-premium {
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(0,200,240,.25), transparent 28%),
        linear-gradient(135deg, #061650, #0047d9);
}
.quality-premium h2,
.quality-premium .section-heading p { color: var(--white); }
.quality-premium .eyebrow { background: rgba(255,255,255,.14); color: var(--white); }
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 26px;
}
.stat-row div {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
}
.stat-row strong {
    display: block;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
}
.stat-row span { color: #dbeafe; }
.check-list,
.info-box { padding: 30px; }
.check-list p {
    position: relative;
    margin: 0 0 12px;
    padding-left: 32px;
    color: #334155;
    font-weight: 500;
}
.check-list p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient);
}
.cta-section { background: var(--white); }
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 72px);
    border-radius: 34px;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 0%, rgba(0,200,240,.34), transparent 32%),
        linear-gradient(135deg, #061650, var(--primary));
    box-shadow: var(--shadow);
}
.cta-panel h2,
.cta-panel p { color: var(--white); }
.cta-panel .eyebrow { color: var(--white); background: rgba(255,255,255,.14); }

/* Forms and tables */
.form-wrap { max-width: 920px; margin-inline: auto; }
.form-wrap.narrow { max-width: 540px; }
.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 8px; margin-bottom: 18px; color: #334155; font-weight: 500; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--dark);
    background: var(--white);
}
input:focus, select:focus, textarea:focus {
    outline: 4px solid rgba(0,200,240,.18);
    border-color: var(--cyan);
}
.check-row { display: flex; grid-template-columns: none; align-items: center; gap: 10px; }
.check-row input { width: auto; }
.alert { padding: 16px 18px; border-radius: 16px; margin-bottom: 18px; }
.alert.success { background: linear-gradient(135deg, #ecfdf5, #f0fdfa); color: #047857; border: 1px solid #bbf7d0; }
.alert.error { background: linear-gradient(135deg, #fff1f2, #fff7ed); color: #be123c; border: 1px solid #fecdd3; }
.form-note { font-size: .9rem; }
.settings-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.settings-preview div {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: var(--light);
}
.settings-preview span {
    display: block;
    color: #334155;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.settings-preview img { width: 72px; height: 72px; object-fit: contain; }
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}
.admin-filter-card {
    margin-bottom: 22px;
    padding: 22px;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
}
.status-badge.active {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}
.status-badge.inactive {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}
.status-form {
    min-width: 150px;
}
.status-form select {
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: .86rem;
}
.menu-builder {
    padding: 24px;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
.menu-builder-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.menu-builder-head h2 { margin: 0 0 6px; }
.menu-builder-head p { margin: 0; color: var(--muted); }
.menu-tree {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-tree .menu-tree {
    margin-top: 10px;
    padding-left: 28px;
}
.menu-tree-item.dragging {
    opacity: .55;
}
.menu-tree-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--light);
}
.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    color: var(--primary);
    background: rgba(0,71,217,.08);
    cursor: grab;
    font-weight: 700;
    letter-spacing: -2px;
}
.menu-tree-row small {
    display: block;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.menu-tree-empty {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--muted);
    background: var(--light);
}
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.admin-thumb {
    width: 124px;
    height: 78px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--light);
}
.admin-thumb.square {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}
.admin-qr-thumb {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}
.admin-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}
th, td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #eff6ff; color: var(--primary); }
td small { color: var(--muted); }
.form-card table { min-width: 0; }

/* Admin */
.admin-body { overflow-x: hidden; background: linear-gradient(180deg, #f8fbff, var(--light)); }
.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    transition: grid-template-columns .25s ease;
}
.admin-shell.sidebar-collapsed {
    grid-template-columns: 96px minmax(0, 1fr);
}
.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0,200,240,.18), transparent 32%),
        linear-gradient(180deg, #061650, var(--dark));
    color: var(--white);
    box-shadow: 18px 0 48px rgba(15,23,42,.12);
}
.admin-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    color: var(--white);
    font-weight: 600;
}
.admin-brand img {
    width: 96px;
    height: 54px;
    flex: 0 0 auto;
    object-fit: contain;
}
.admin-collapse-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    color: var(--white);
    background: rgba(255,255,255,.08);
    cursor: pointer;
}
.admin-nav { display: grid; gap: 8px; }
.admin-nav a,
.admin-logout button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #dbeafe;
    font-weight: 500;
}
.admin-nav a span,
.admin-logout button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex: 0 0 24px;
}
.admin-nav a em,
.admin-logout button em { font-style: normal; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(0,200,240,.14); color: var(--white); }
.admin-nav a.active { box-shadow: inset 3px 0 0 var(--cyan); }
.admin-logout { margin-top: auto; }
.admin-logout .btn { width: 100%; justify-content: flex-start; border-color: rgba(255,255,255,.14); color: var(--white); background: rgba(255,255,255,.08); }
.sidebar-collapsed .admin-brand span,
.sidebar-collapsed .admin-nav a em,
.sidebar-collapsed .admin-logout button em { display: none; }
.sidebar-collapsed .admin-sidebar { align-items: center; }
.sidebar-collapsed .admin-nav,
.sidebar-collapsed .admin-logout { width: 100%; }
.sidebar-collapsed .admin-nav a,
.sidebar-collapsed .admin-logout button { justify-content: center; }
.admin-main {
    min-width: 0;
    padding: 0 24px 24px;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: rgba(248,250,252,.94);
    box-shadow: none;
    backdrop-filter: blur(16px);
}
.admin-topbar h1 {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 0;
}
.admin-section { margin-bottom: 22px; }
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(219,231,245,.95);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.9));
    box-shadow: var(--soft-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.admin-stat-card:hover { transform: translateY(-4px); box-shadow: 0 22px 62px rgba(0,71,217,.14); }
.admin-stat-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 18px;
    background: var(--gradient);
    box-shadow: 0 14px 34px rgba(0,71,217,.18);
}
.admin-stat-card strong {
    display: block;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
}
.admin-stat-card small { color: var(--muted); }
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.admin-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--soft-shadow);
}
.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.admin-panel-head h2 { font-size: 15px; margin-bottom: 0; }
.admin-panel-head a { color: var(--primary); font-weight: 600; }
.admin-list { display: grid; gap: 12px; }
.admin-list-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e8f0fb;
    border-radius: 14px;
    background: #f8fbff;
}
.admin-list-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--white);
    background: var(--gradient);
}
.admin-list-item strong { display: block; color: var(--ink); font-weight: 600; }
.admin-list-item small { color: var(--muted); }
.empty-state {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--muted);
    background: var(--light);
}
.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.report-grid span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e8f0fb;
    border-radius: 14px;
    background: #f8fbff;
    color: #334155;
}
.report-grid strong { color: var(--primary); font-weight: 600; }
.admin-footer {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 22px 0 4px;
    color: var(--muted);
    text-align: center;
}
.admin-footer a { color: var(--primary); font-weight: 600; }
.admin-footer a:hover { color: var(--cyan); }
.admin-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
}
.admin-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--ink);
}
.admin-profile {
    position: relative;
    flex: 0 0 auto;
}
.admin-profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    height: 46px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f8fbff;
    color: var(--ink);
    cursor: pointer;
}
.admin-profile-trigger span,
.admin-profile-menu div {
    display: grid;
    min-width: 0;
    text-align: left;
}
.admin-profile-trigger strong,
.admin-profile-menu strong { font-weight: 600; line-height: 1.2; }
.admin-profile-trigger small,
.admin-profile-menu small {
    overflow: hidden;
    color: var(--muted);
    font-size: .8rem;
    text-overflow: ellipsis;
}
.admin-profile-trigger em,
.admin-profile-menu em {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: var(--gradient);
    font-size: .72rem;
    font-style: normal;
    line-height: 1;
    white-space: nowrap;
}
.admin-profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    display: grid;
    gap: 8px;
    min-width: 260px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.admin-profile.open .admin-profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.admin-profile-menu a,
.admin-profile-menu button {
    display: block;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #334155;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.admin-profile-menu a:hover,
.admin-profile-menu button:hover {
    color: var(--primary);
    background: #eff6ff;
}

/* Premium admin dashboard */
.ui-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-body.dark-admin {
    --ink: #e5edff;
    --muted: #94a3b8;
    --light: #071225;
    --white: #0f172a;
    --border: #1e3152;
    background: #050b18;
}
.admin-body.dark-admin .admin-main,
.admin-body.dark-admin .admin-topbar,
.admin-body.dark-admin .admin-panel,
.admin-body.dark-admin .admin-stat-card,
.admin-body.dark-admin .table-search,
.admin-body.dark-admin .admin-search,
.admin-body.dark-admin .admin-profile-trigger,
.admin-body.dark-admin .admin-profile-menu {
    background: rgba(15,23,42,.96);
}
.admin-body.dark-admin input { background: #111c31; color: #e5edff; }
.admin-sidebar { overflow: visible; }
.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-brand { min-width: 0; }
.admin-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-nav {
    overflow-y: auto;
    padding-right: 2px;
}
.admin-nav-group {
    display: grid;
    gap: 6px;
}
.admin-nav-label {
    padding: 8px 12px 4px;
    color: rgba(219,234,254,.62);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.admin-nav a,
.admin-logout button {
    position: relative;
    min-height: 44px;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.admin-nav a:hover,
.admin-logout button:hover {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.1);
    transform: translateX(2px);
}
.admin-nav a.active {
    border-color: rgba(0,200,240,.28);
    background: linear-gradient(135deg, rgba(0,71,217,.32), rgba(0,200,240,.16));
}
.admin-shell.sidebar-collapsed { grid-template-columns: 80px minmax(0, 1fr); }
.sidebar-collapsed .admin-sidebar { padding-inline: 18px; }
.sidebar-collapsed .admin-collapse-toggle { width: 44px; }
.sidebar-collapsed .admin-nav-label,
.sidebar-collapsed .admin-sidebar-profile a > span:not(.admin-avatar),
.sidebar-collapsed .admin-sidebar-profile .ui-icon { display: none; }
.sidebar-collapsed [data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    z-index: 90;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--white);
    background: #061650;
    box-shadow: var(--shadow);
    font-size: .82rem;
    white-space: nowrap;
    transform: translateY(-50%);
}
.admin-sidebar-profile {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar-profile a {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    color: var(--white);
    background: rgba(255,255,255,.08);
}
.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--white);
    background: var(--gradient);
    font-weight: 700;
}
.admin-sidebar-profile strong { display: block; font-size: .9rem; line-height: 1.2; }
.admin-sidebar-profile small { color: #bfdbfe; font-size: .75rem; }
.admin-topbar-left,
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.admin-topbar-left {
    flex: 1 1 240px;
    min-width: 240px;
}
.admin-topbar-actions {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.admin-search,
.table-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f8fbff;
}
.admin-search {
    width: 260px;
    height: 42px;
    max-width: 100%;
    padding: 0 12px;
}
.admin-search input,
.table-search input {
    border: 0;
    outline: 0;
    background: transparent;
}
.admin-search input { padding: 9px 0; }
.table-search {
    margin-bottom: 14px;
    padding: 0 12px;
}
.admin-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    background: #f8fbff;
    cursor: pointer;
}
.admin-icon-btn span {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border: 2px solid #f8fbff;
    border-radius: 50%;
    background: var(--cyan);
}
.admin-profile-trigger .admin-avatar { width: 34px; height: 34px; border-radius: 12px; }
.admin-profile-menu a,
.admin-profile-menu button {
    display: flex;
    align-items: center;
    gap: 9px;
}
.admin-hero-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid rgba(219,231,245,.92);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 10%, rgba(0,200,240,.24), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.88));
    box-shadow: var(--shadow);
}
.admin-hero-panel h2 {
    max-width: 780px;
    font-size: 32px;
    line-height: 1.15;
}
.admin-hero-panel p {
    max-width: 680px;
    margin-bottom: 0;
}
.role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: var(--gradient);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.role-badge.light {
    color: var(--primary);
    background: #eff6ff;
}
.admin-stat-grid.premium { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-stat-card.premium {
    position: relative;
    align-items: flex-start;
    min-height: 150px;
}
.admin-stat-card.premium .stat-icon { width: 50px; height: 50px; flex: 0 0 50px; }
.stat-copy { min-width: 0; }
.stat-copy small {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
}
.stat-copy strong { font-size: 2rem; }
.stat-copy em {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-style: normal;
}
.stat-meta {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: grid;
    justify-items: end;
    gap: 6px;
}
.stat-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: .72rem;
    font-weight: 700;
}
.stat-meta svg { width: 86px; height: 32px; }
.stat-meta path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
}
.admin-dashboard-grid.premium { grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); }
.chart-panel { min-height: 360px; }
.line-chart {
    height: 220px;
    border: 1px solid #e8f0fb;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,250,252,.92)),
        radial-gradient(circle at 30% 20%, rgba(0,200,240,.12), transparent 32%);
}
.line-chart svg { width: 100%; height: 100%; }
.line-chart .grid {
    fill: none;
    stroke: rgba(100,116,139,.16);
    stroke-width: 1;
}
.chart-line {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 10px 16px rgba(0,71,217,.16));
}
.chart-line.bookings { stroke: var(--primary); }
.chart-line.quotations { stroke: var(--cyan); }
.chart-line.messages { stroke: #0f172a; }
.chart-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.chart-legend i { width: 10px; height: 10px; border-radius: 50%; }
.chart-legend .blue { background: var(--primary); }
.chart-legend .cyan { background: var(--cyan); }
.chart-legend .dark { background: var(--dark); }
.activity-timeline { display: grid; gap: 14px; }
.timeline-log {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 14px;
}
.timeline-log:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: -5px;
    width: 2px;
    background: #e8f0fb;
}
.timeline-log > span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    color: var(--white);
    background: var(--gradient);
}
.timeline-log strong { display: block; color: var(--ink); font-weight: 600; }
.timeline-log p { margin-bottom: 2px; }
.timeline-log small { color: var(--muted); }
.recent-table-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.admin-mini-table { display: grid; gap: 10px; }
.mini-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e8f0fb;
    border-radius: 14px;
    background: #f8fbff;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.mini-row:hover {
    border-color: rgba(0,200,240,.5);
    background: var(--white);
    transform: translateY(-2px);
}
.mini-row > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: var(--primary);
    background: #eff6ff;
}
.mini-row strong { display: block; color: var(--ink); font-weight: 600; }
.mini-row small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mini-row em {
    padding: 5px 8px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
}
.mini-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .82rem;
}
.mini-pagination button {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--ink);
    background: var(--white);
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 76px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        radial-gradient(circle at 82% 8%, rgba(0, 200, 240, .22), transparent 27%),
        radial-gradient(circle at 12% 0%, rgba(0, 71, 217, .42), transparent 34%),
        linear-gradient(135deg, #061536 0%, #0F172A 48%, #00318c 100%);
    background-size: 54px 54px, 54px 54px, auto, auto, auto;
    animation: footerFadeIn .75s ease both;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 4px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
}

.footer-gradient {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0047D9, #00C8F0, #ffffff, #00C8F0, #0047D9);
    background-size: 260% 100%;
    animation: footerGradient 5s linear infinite;
}

.footer-orb {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(1px);
    opacity: .72;
}

.footer-orb-one {
    right: -150px;
    top: 38px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(0, 200, 240, .22);
    background: radial-gradient(circle, rgba(0, 71, 217, .24), transparent 67%);
}

.footer-orb-two {
    left: -90px;
    bottom: 32px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 200, 240, .15), transparent 68%);
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr .82fr 1fr 1.15fr;
    gap: 30px;
    align-items: start;
    z-index: 1;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.02rem;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.footer-column-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-column-label::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--primary));
}

.site-footer p,
.site-footer a { color: #d8e2f0; }
.footer-about p {
    max-width: 380px;
    margin-top: 16px;
    color: rgba(226, 232, 240, .84);
    font-size: .94rem;
    line-height: 1.8;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .16);
}
.footer-brand img { width: 250px; max-height: 132px; object-fit: contain; }
.footer-kicker {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(0, 200, 240, .22);
    border-radius: 999px;
    color: #eaf8ff;
    background: rgba(0, 200, 240, .1);
    font-size: .78rem;
    font-weight: 700;
}
.footer-links { display: grid; gap: 9px; }
.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 7px 12px 7px 24px;
    border-radius: 999px;
    font-size: .93rem;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease, background .2s ease;
}
.footer-links a::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 200, 240, .1);
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}
.footer-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateX(4px);
}
.footer-links a:hover::before { background: #fff; transform: translateY(-50%) scale(1.25); }
.footer-contact { display: grid; gap: 16px; }
.footer-contact-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 200, 240, .16), transparent 42%),
        rgba(255, 255, 255, .075);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
}
.footer-contact-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px;
    border-radius: 16px;
    transition: background .2s ease, transform .2s ease;
}
.footer-contact-item:hover {
    background: rgba(255, 255, 255, .075);
    transform: translateX(3px);
}
.footer-contact-item p {
    margin-bottom: 0;
    min-width: 0;
    color: rgba(226, 232, 240, .86);
    font-size: .92rem;
    line-height: 1.6;
}
.footer-contact-item strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 200, 240, .24), rgba(0, 71, 217, .34));
    color: var(--cyan);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 28px rgba(0, 71, 217, .2);
}
.footer-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-contact-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 16px 38px rgba(0, 71, 217, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.footer-contact-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(0, 200, 240, .24);
}
.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 58px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 18px 0;
    color: #cbd5e1;
    background: rgba(2, 6, 23, .18);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
    font-size: .9rem;
}
.footer-bottom a { color: var(--white); font-weight: 600; }
.footer-bottom a:hover { color: var(--cyan); }
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 58px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--white);
    background: #16a34a;
    font-weight: 600;
    box-shadow: 0 18px 38px rgba(22,163,74,.28);
}
.whatsapp-widget .whatsapp-float {
    position: static;
    right: auto;
    bottom: auto;
}
.whatsapp-float::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: inset 5px -4px 0 #16a34a;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-left { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.fade-left.visible,
.fade-right.visible { transform: translateX(0); }
.delay { transition-delay: .15s; }
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(22px, -18px); }
}
@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}
@keyframes footerFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1080px) {
    .menu-toggle { display: block; }
    .header-inner { min-height: 74px; }
    .brand .desktop-logo { display: none; }
    .brand .mobile-logo {
        display: block;
        width: auto;
        height: auto;
        max-width: 130px;
        max-height: 55px;
    }
    .top-location { display: none; }
    .primary-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 74px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        max-height: calc(100vh - 118px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255,255,255,.98);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
    }
    .primary-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    .primary-nav a,
    .primary-nav .nav-trigger {
        width: 100%;
        justify-content: space-between;
        min-height: 44px;
    }
    .primary-nav .nav-item { display: grid; width: 100%; }
    .primary-nav .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 2px solid #dbeafe;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: max-height .25s ease;
    }
    .primary-nav .has-dropdown.open > .dropdown-menu { max-height: 460px; }
    .primary-nav .dropdown-menu a { white-space: normal; color: #475569; }
    .header-cta-desktop { display: none; }
    .header-cta-mobile { display: grid; width: 100%; }
    .header-cta-mobile .nav-cta {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        padding: 12px 20px;
        font-size: .94rem;
    }
    .primary-nav .header-cta-mobile .dropdown-menu {
        padding-left: 10px;
    }
    .hero-pharma-slider,
    .hero-slide,
    .hero-slide-inner { min-height: 550px; }
    .hero-slide-inner {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 34px;
        padding-bottom: 74px;
    }
    .hero-slide.align-right .hero-slide-inner,
    .hero-slide.align-center .hero-slide-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-slide.align-right .hero-slide-copy { grid-column: auto; }
    .hero-foreground {
        position: absolute;
        right: 24px;
        bottom: 76px;
        width: min(34vw, 260px);
        opacity: .9;
    }
    .hero-slide-copy { max-width: 610px; }
    .hero-slide-copy h1 { font-size: clamp(2.7rem, 7vw, 4.5rem); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail-grid,
    .product-content-grid { grid-template-columns: 1fr; }
    .card-grid.four,
    .hero-feature-strip { grid-template-columns: repeat(2, 1fr); }
    .hero-feature-strip article:nth-child(2) { border-right: 0; }
    .hero-feature-strip article { border-bottom: 1px solid var(--border); }
    .hero-feature-strip article:nth-child(n+3) { border-bottom: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-shell.sidebar-collapsed { grid-template-columns: 1fr; }
    .admin-collapse-toggle { display: none; }
    .admin-menu-toggle { display: block; flex: 0 0 44px; }
    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 70;
        width: min(82vw, 310px);
        height: 100vh;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }
    .admin-shell.sidebar-open .admin-sidebar { transform: translateX(0); }
    .admin-shell.sidebar-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 60;
        background: rgba(15,23,42,.42);
    }
    .admin-nav { grid-template-columns: 1fr; }
    .admin-logout { margin-top: auto; }
    .admin-search { width: 260px; }
    .admin-profile-trigger { min-width: 210px; }
    .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-stat-grid.premium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .admin-dashboard-grid.premium,
    .recent-table-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .top-info-inner { justify-content: center; }
    .top-info-list { justify-content: center; gap: 10px; }
    .top-socials { display: none; }
    .hero-pharma-slider,
    .hero-slide,
    .hero-slide-inner { min-height: 480px; }
    .hero-slide-inner {
        padding-top: 30px;
        padding-bottom: 70px;
    }
    .hero-slide-copy h1 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
    .hero-slide-copy p { font-size: 1rem; line-height: 1.65; }
    .hero-foreground { display: none; }
    .hero-arrow {
        top: auto;
        bottom: 20px;
        width: 42px;
        height: 42px;
        transform: none;
    }
    .hero-arrow:hover { transform: scale(1.04); }
    .hero-prev { left: 16px; }
    .hero-next { right: 16px; }
    .hero-slider-dots { bottom: 32px; }
    .hero-slider-dots button { width: 24px; }
    .hero-slider-dots button.active { width: 38px; }
    .hero-features-wrap { margin-top: 24px; }
    .hero-premium { min-height: auto; padding-top: 62px; }
    .hero-grid,
    .split { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 16px; }
    .hero-visual { min-height: 430px; }
    .lab-slider { min-height: 390px; }
    .product-grid { grid-template-columns: 1fr; }
    .team-grid,
    .team-profile-public,
    .team-admin-profile,
    .verification-person,
    .verification-grid,
    .verification-print-grid,
    .signature-block { grid-template-columns: 1fr; }
    .team-qr-large,
    .verification-qr { width: 150px; height: 150px; margin-inline: auto; }
    .product-category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
    .product-category-tabs a { flex: 0 0 auto; }
    .product-group-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .product-card-image { height: 220px; }
    .receipt-details { grid-template-columns: 1fr; }
    .receipt-actions { align-items: stretch; flex-direction: column; }
    .receipt-actions .btn { width: 100%; }
    .product-detail-image img { height: 320px; }
    .product-detail-actions { align-items: stretch; flex-direction: column; }
    .product-detail-actions .btn { width: 100%; }
    .card-grid.three,
    .card-grid.four,
    .form-grid,
    .settings-preview,
    .stat-row,
    .glass-grid,
    .footer-grid,
    .hero-feature-strip { grid-template-columns: 1fr; }
    .hero-feature-strip { margin-top: 28px; }
    .hero-feature-strip article { border-right: 0; border-bottom: 1px solid var(--border); }
    .hero-feature-strip article:last-child { border-bottom: 0; }
    .footer-bottom-inner { display: grid; }
    .footer-about p { max-width: none; }
    .footer-brand {
        padding: 10px 12px;
        border-radius: 16px;
    }
    .footer-brand img {
        width: min(230px, 82vw);
        max-height: 116px;
    }
    .footer-contact-card {
        padding: 20px;
    }
    .footer-links a {
        width: 100%;
    }
    .admin-main { padding: 0 16px 18px; }
    .admin-topbar {
        top: 0;
        align-items: flex-start;
        padding: 16px;
    }
    .admin-topbar-left,
    .admin-topbar-actions {
        width: 100%;
    }
    .admin-topbar-left {
        flex: 1 1 100%;
        min-width: 0;
    }
    .admin-topbar-actions {
        justify-content: flex-start;
        gap: 10px;
    }
    .admin-search {
        width: 100%;
        order: 3;
    }
    .admin-hero-panel { display: grid; }
    .admin-profile-trigger { min-width: 0; }
    .admin-profile-trigger small { display: none; }
    .admin-profile-menu { right: -4px; min-width: min(280px, calc(100vw - 36px)); }
    .admin-sidebar { padding: 18px; }
    .admin-nav { grid-template-columns: 1fr; }
    .admin-stat-grid,
    .admin-stat-grid.premium,
    .report-grid { grid-template-columns: 1fr; }
    .menu-builder { padding: 16px; }
    .menu-builder-head,
    .menu-tree-row { grid-template-columns: 1fr; }
    .menu-tree .menu-tree { padding-left: 14px; }
}
@media (max-width: 520px) {
    .container { width: min(100% - 24px, 1180px); }
    .top-info-list a,
    .top-info-list span { font-size: .78rem; }
    .header-inner { gap: 10px; }
    .header-actions { gap: 8px; }
    .header-cta-mobile .nav-cta { min-width: 0; padding: 12px 20px; font-size: .9rem; }
    .menu-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
    .admin-topbar { gap: 10px; min-height: 64px; }
    .admin-topbar h1 { font-size: 24px; }
    .admin-search { display: none; }
    .admin-profile-trigger { padding: 9px; }
    .admin-profile-trigger > span:not(.admin-avatar),
    .admin-profile-trigger em { display: none; }
    .admin-icon-btn { width: 40px; height: 40px; }
    .admin-stat-card.premium { min-height: 160px; }
    .mini-row { grid-template-columns: 34px minmax(0, 1fr); }
    .mini-row em { display: none; }
    h1 { font-size: 2.35rem; }
    h2 { font-size: 1.9rem; }
    .hero-actions .btn { width: 100%; }
    .hero-pharma-slider,
    .hero-slide,
    .hero-slide-inner { min-height: 480px; }
    .hero-slide-inner { padding-inline: 0; }
    .hero-badge,
    .hero-subtitle { margin-bottom: 10px; }
    .lab-slide { padding: 24px; }
    .lab-scene { inset: 24px 18px 140px; }
    .whatsapp-float {
        min-width: 52px;
        height: 52px;
        padding: 0 14px;
        font-size: .84rem;
    }
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.homepage-cms-section { scroll-margin-top: 110px; }
.section-svg-icon { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cms-heading-compact { text-align: left; margin-left: 0; margin-right: 0; }
.cms-text-center { text-align: center; }
.cms-text-right { text-align: right; }
.cms-centered-actions { justify-content: center; }
.cms-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.cms-avatar-image { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(0, 200, 240, .2); box-shadow: 0 18px 35px rgba(15, 23, 42, .12); margin-bottom: 18px; }
.cms-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner-logo-card { min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(148, 163, 184, .22); box-shadow: 0 20px 45px rgba(15, 23, 42, .08); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.partner-logo-card:hover { transform: translateY(-4px); border-color: rgba(0, 200, 240, .45); box-shadow: 0 25px 55px rgba(0, 71, 217, .14); }
.partner-logo-card img { max-width: 160px; max-height: 70px; object-fit: contain; }
.cms-contact-list { display: grid; gap: 12px; margin: 24px 0; }
.cms-contact-list a, .cms-contact-list span { color: var(--dark); font-weight: 500; }
.map-card { min-height: 360px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .22); background: linear-gradient(135deg, rgba(0, 71, 217, .08), rgba(0, 200, 240, .12)); box-shadow: 0 25px 60px rgba(15, 23, 42, .1); display: flex; align-items: center; justify-content: center; }
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-placeholder { padding: 34px; color: var(--dark); font-weight: 600; }
.newsletter-panel { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: center; padding: 42px; border-radius: 24px; background: linear-gradient(135deg, rgba(0, 71, 217, .08), rgba(0, 200, 240, .14)); border: 1px solid rgba(0, 71, 217, .12); box-shadow: 0 25px 60px rgba(15, 23, 42, .08); }
.newsletter-form { display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(148, 163, 184, .24); }
.newsletter-form label { display: grid; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--dark); }
.newsletter-form input[type="email"] { min-height: 48px; border: 1px solid rgba(148, 163, 184, .42); border-radius: 999px; padding: 0 18px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .09); color: #fff; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.footer-socials a .social-svg-icon { width: 17px; height: 17px; flex-basis: 17px; }
.footer-socials a:hover { background: linear-gradient(135deg, var(--cyan), var(--primary)); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 200, 240, .22); }
.order-input { max-width: 90px; }
[data-order-row] { cursor: grab; }
[data-order-row].dragging { opacity: .55; }
.media-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media-card { display: grid; gap: 14px; padding: 18px; background: #fff; border: 1px solid rgba(148, 163, 184, .22); border-radius: 18px; box-shadow: 0 18px 45px rgba(15, 23, 42, .08); }
.media-preview { aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #f1f5f9; overflow: hidden; }
.media-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-card input[readonly] { width: 100%; font-size: .82rem; }

@media (max-width: 992px) {
    .partner-logo-grid,
    .media-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .newsletter-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .partner-logo-grid,
    .media-library-grid { grid-template-columns: 1fr; }
    .newsletter-panel { padding: 24px; }
    .cms-card-actions { flex-direction: column; align-items: stretch; }
}

.whatsapp-widget {
    position: fixed;
    z-index: 180;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 12px;
    justify-items: end;
}

.whatsapp-widget.bottom-left {
    right: auto;
    left: 22px;
    justify-items: start;
}

.whatsapp-popup-card {
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(0, 71, 217, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.whatsapp-popup-card.show {
    display: grid;
    gap: 10px;
    animation: fadeUp .28s ease both;
}

.whatsapp-popup-card button[data-whatsapp-close] {
    justify-self: end;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    cursor: pointer;
}

.reply-box {
    min-width: 280px;
}

.reply-box summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
}

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

.mini-upload-form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.verification-card,
.print-sheet,
.product-label-card {
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.verification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.verification-head img,
.print-logo {
    max-width: 170px;
    max-height: 78px;
    object-fit: contain;
}

.verification-qr {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 16px 0;
}

.print-body {
    background: #f8fafc;
    padding: 24px;
}

.print-sheet,
.product-label-sheet {
    max-width: 820px;
    margin: 0 auto;
}

.product-label-card {
    max-width: 420px;
    text-align: center;
}

@media print {
    .site-header,
    .site-footer,
    .whatsapp-widget,
    .whatsapp-float,
    .receipt-actions {
        display: none !important;
    }

    .receipt-section {
        min-height: auto;
        padding: 0;
        background: var(--white);
    }

    .receipt-card {
        border: 1px solid #cbd5e1;
        box-shadow: none;
    }

    .no-print,
    .admin-sidebar,
    .admin-topbar,
    .site-header,
    .site-footer,
    .whatsapp-float {
        display: none !important;
    }

    @page {
        size: A4;
        margin: 12mm;
    }

    .verification-print-sheet {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .id-card-print {
        padding: 0;
        gap: 8mm;
    }

    .id-card-face {
        box-shadow: none;
        break-inside: avoid;
    }
}

/* UI redesign refinements: public navigation, homepage CMS, page heroes, admin sidebar */
body.nav-open {
    overflow: hidden;
}

.site-header {
    z-index: 90;
}

.main-header {
    min-height: 74px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
}

.header-inner {
    gap: 22px;
}

.brand img {
    width: 172px;
    height: 52px;
    animation: none;
}

.primary-nav {
    gap: 6px;
}

.primary-nav a,
.nav-trigger {
    position: relative;
    min-height: 42px;
    padding: 10px 12px;
    color: #0f2467;
    font-size: .91rem;
    font-weight: 600;
}

.primary-nav > a::after,
.primary-nav > .nav-item > .nav-trigger::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00C8F0, #0047D9);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after,
.primary-nav > .nav-item:hover > .nav-trigger::after,
.primary-nav > .nav-item.active > .nav-trigger::after {
    opacity: 0;
    transform: scaleX(.35);
}

.primary-nav > a.active,
.primary-nav > .nav-item.active > .nav-trigger {
    color: #0047D9;
    background: rgba(0, 71, 217, .07);
    box-shadow: none;
}

.primary-nav > a.active::after,
.primary-nav > .nav-item.active > .nav-trigger::after {
    display: none;
}

.dropdown-menu {
    top: calc(100% + 12px);
    min-width: 260px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.dropdown-menu a {
    gap: 12px;
    min-height: 46px;
    padding: 12px 14px;
    color: #0F172A;
    font-size: .9rem;
    font-weight: 500;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: #0047D9;
    background: rgba(0, 200, 240, .11);
}

.header-actions {
    min-width: max-content;
}

.nav-cta {
    min-width: 238px;
    min-height: 46px;
    padding: 12px 20px;
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    font-size: .9rem;
    font-weight: 700;
}

.nav-cta .nav-svg-icon,
.nav-cta .nav-arrow {
    color: #fff;
}

.header-cta-wrap .dropdown-menu {
    min-width: 280px;
}

.hero-pharma-slider,
.hero-slide,
.hero-slide-inner {
    min-height: clamp(560px, 72vh, 700px);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 200, 240, .2), transparent 28%),
        linear-gradient(90deg, rgba(8, 25, 60, .88), rgba(0, 71, 217, .26));
    pointer-events: none;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 650px) minmax(280px, 1fr);
    gap: clamp(28px, 4vw, 64px);
    padding-block: 74px 92px;
}

.hero-slide-copy {
    max-width: 650px;
}

.hero-badge,
.hero-subtitle,
.eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
}

.hero-slide-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 4.7vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-slide-copy p {
    max-width: 620px;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.75;
}

.hero-actions {
    gap: 12px;
}

.hero-slide .btn,
.professional-page-hero .btn,
.page-hero .btn {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    box-shadow: 0 14px 30px rgba(0, 71, 217, .24);
}

.hero-slide .btn:hover,
.professional-page-hero .btn:hover,
.page-hero .btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #04d7ff, #003fbe);
    transform: translateY(-2px);
}

.btn {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: .92rem;
}

.hero-foreground img {
    max-height: 470px;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .22);
}

.hero-slider-dots {
    bottom: 30px;
}

.homepage-cms-section {
    position: relative;
    overflow: hidden;
}

.section {
    padding-block: clamp(58px, 7vw, 96px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.dynamic-section h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.55rem);
    line-height: 1.16;
}

.section-heading p,
.dynamic-content,
.dynamic-section p {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.75;
}

.card-grid {
    gap: 22px;
}

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

.feature-card,
.product-card,
.glass-card {
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
}

.feature-card:hover,
.product-card:hover,
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(0, 71, 217, .14);
}

.cms-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    object-fit: cover;
}

.cms-avatar-image {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(0, 200, 240, .18);
}

.product-preview .feature-card {
    align-items: flex-start;
}

.cms-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.mini-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 71, 217, .08);
    color: #0047D9;
    font-size: .85rem;
    font-weight: 700;
}

.mini-link:hover {
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    color: #fff;
}

.quality-premium {
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 200, 240, .18), transparent 30%),
        linear-gradient(135deg, #061536, #0F172A 48%, #00398f);
    color: #fff;
}

.quality-premium .section-heading p,
.quality-premium .feature-card p,
.quality-premium .stat-row span {
    color: rgba(255, 255, 255, .78);
}

.quality-premium .feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(15, 23, 42, .34));
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.quality-premium .feature-card h3 {
    color: #fff;
    font-weight: 700;
}

.quality-premium .feature-card:hover {
    border-color: rgba(0, 200, 240, .52);
    box-shadow: 0 26px 70px rgba(0, 200, 240, .16);
}

.timeline {
    border-left: 2px solid rgba(0, 200, 240, .35);
}

.timeline-item {
    border-radius: 16px;
}

.stat-row {
    gap: 14px;
}

.stat-row > div {
    min-width: 150px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
}

.verification-inline-form {
    display: grid;
    gap: 10px;
    width: min(100%, 620px);
    margin: 22px auto 0;
}

.verification-inline-form label {
    color: rgba(255, 255, 255, .82);
    font-size: .88rem;
    font-weight: 700;
}

.verification-inline-form > div {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.verification-inline-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0 12px;
    outline: none;
}

.verification-inline-form input::placeholder {
    color: rgba(255, 255, 255, .62);
}

.verification-inline-form small {
    color: #fecaca;
}

.page-hero.dynamic-page-hero {
    min-height: clamp(240px, 34vw, 360px);
    display: grid;
    align-items: center;
    padding-block: 74px;
    background:
        linear-gradient(90deg, rgba(8, 25, 60, .86), rgba(0, 71, 217, .54)),
        var(--page-hero-image, radial-gradient(circle at 80% 20%, rgba(0, 200, 240, .25), transparent 32%)),
        #0F172A;
    background-size: cover;
    background-position: center;
}

.page-hero.dynamic-page-hero h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.page-hero.dynamic-page-hero p {
    max-width: 720px;
    font-size: clamp(.95rem, 1.5vw, 1.06rem);
    line-height: 1.7;
}

.admin-sidebar {
    width: 260px;
}

.admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-shell.sidebar-collapsed {
    grid-template-columns: 76px minmax(0, 1fr);
}

.admin-nav-modern {
    gap: 8px;
}

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

.admin-nav-group-toggle,
.admin-nav-direct,
.admin-nav-submenu a {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #cbd5e1;
    text-align: left;
    cursor: pointer;
}

.admin-nav-group-toggle {
    padding: 11px 12px;
    font: inherit;
}

.admin-nav-group-toggle .ui-icon:last-child {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform .2s ease;
}

.admin-nav-group.open .admin-nav-group-toggle .ui-icon:last-child {
    transform: rotate(180deg);
}

.admin-nav-submenu {
    display: grid;
    gap: 3px;
    max-height: 0;
    overflow: hidden;
    padding-left: 12px;
    transition: max-height .24s ease;
}

.admin-nav-group.open .admin-nav-submenu {
    max-height: 560px;
}

.admin-nav-submenu a {
    min-height: 38px;
    padding: 9px 10px 9px 18px;
    font-size: .84rem;
}

.admin-nav-direct:hover,
.admin-nav-group-toggle:hover,
.admin-nav-submenu a:hover,
.admin-nav-direct.active,
.admin-nav-submenu a.active,
.admin-nav-group.open > .admin-nav-group-toggle {
    color: #fff;
    background: rgba(0, 200, 240, .13);
}

.admin-nav-submenu a.active {
    box-shadow: inset 3px 0 0 #00C8F0;
}

.sidebar-collapsed .admin-nav-group-toggle em,
.sidebar-collapsed .admin-nav-direct em,
.sidebar-collapsed .admin-nav-submenu,
.sidebar-collapsed .admin-nav-group-toggle .ui-icon:last-child {
    display: none;
}

.sidebar-collapsed .admin-nav-group-toggle,
.sidebar-collapsed .admin-nav-direct {
    justify-content: center;
}

@media (max-width: 1180px) {
    .brand img {
        width: 148px;
    }

    .primary-nav a,
    .nav-trigger {
        padding-inline: 9px;
        font-size: .86rem;
    }

    .nav-cta {
        min-width: 210px;
        padding-inline: 16px;
    }

    .header-cta-label {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 1080px) {
    .brand .mobile-logo {
        max-width: 132px;
        max-height: 56px;
    }

    .primary-nav {
        top: 78px;
        max-height: calc(100vh - 94px);
        border-radius: 20px;
    }

    .primary-nav a,
    .primary-nav .nav-trigger {
        justify-content: flex-start;
        gap: 12px;
        min-height: 46px;
        padding: 12px 14px;
    }

    .primary-nav > a::after,
    .primary-nav > .nav-item > .nav-trigger::after {
        display: none;
    }

    .primary-nav .nav-arrow {
        margin-left: auto;
    }

    .primary-nav .dropdown-menu {
        padding: 0 0 0 14px;
    }

    .header-cta-mobile .nav-cta {
        justify-content: center;
        min-height: 48px;
        margin-top: 8px;
    }

    .hero-pharma-slider,
    .hero-slide,
    .hero-slide-inner {
        min-height: 550px;
    }

    .hero-slide-inner {
        grid-template-columns: 1fr;
    }

    .hero-foreground {
        display: none;
    }

    .card-grid.four,
    .card-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar {
        width: min(88vw, 300px);
    }
}

@media (max-width: 720px) {
    .top-info-inner {
        justify-content: center;
    }

    .top-info-list {
        justify-content: center;
        gap: 12px;
    }

    .hero-pharma-slider,
    .hero-slide,
    .hero-slide-inner {
        min-height: 480px;
    }

    .hero-slide-inner {
        padding-block: 44px 74px;
    }

    .hero-slide-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .hero-actions,
    .verification-inline-form > div,
    .cms-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .card-grid.four,
    .card-grid.three,
    .split {
        grid-template-columns: 1fr;
    }

    .page-hero.dynamic-page-hero {
        min-height: 240px;
        padding-block: 54px;
    }
}

/* Production error pages */
.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        radial-gradient(circle at 82% 12%, rgba(0, 200, 240, .28), transparent 30%),
        linear-gradient(135deg, #061536, #0F172A 54%, #0047D9);
    background-size: 56px 56px, 56px 56px, auto, auto;
}

.error-card {
    width: min(100%, 620px);
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
}

.error-logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
}

.error-logo img {
    width: 180px;
    max-height: 86px;
    object-fit: contain;
}

.error-code {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.error-card h1 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
}

.error-card p {
    max-width: 480px;
    margin: 0 auto 26px;
    color: rgba(226, 232, 240, .9);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Admin responsive safety overrides */
.admin-shell {
    width: 100%;
    max-width: 100vw;
}

.admin-sidebar {
    width: 100%;
    min-width: 0;
}

.admin-shell.sidebar-collapsed .admin-sidebar {
    width: 76px;
    padding-inline: 14px;
    gap: 18px;
}

.admin-shell.sidebar-collapsed .admin-sidebar-head {
    justify-content: center;
}

.admin-shell.sidebar-collapsed .admin-brand {
    display: flex;
}

.admin-shell.sidebar-collapsed .admin-brand img {
    width: 48px;
    height: 48px;
}

.admin-shell.sidebar-collapsed .admin-collapse-toggle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 18px;
    padding: 12px;
}

.admin-shell.sidebar-collapsed .admin-nav-group-toggle,
.admin-shell.sidebar-collapsed .admin-nav-direct,
.admin-shell.sidebar-collapsed .admin-logout button {
    width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 0;
    margin-inline: auto;
}

.admin-shell.sidebar-collapsed .admin-sidebar-profile a {
    display: flex;
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 6px;
    margin-inline: auto;
    border-radius: 18px;
}

.admin-shell.sidebar-collapsed .admin-sidebar-profile .admin-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.admin-body .form-wrap {
    width: 100%;
    max-width: 1280px;
}

.admin-body .form-card {
    width: 100%;
    max-width: 100%;
}

.admin-main {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.admin-topbar {
    width: 100%;
}

.admin-stat-grid,
.admin-stat-grid.premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) and (min-width: 901px) {
    .admin-shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .admin-shell.sidebar-collapsed {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .admin-sidebar {
        position: sticky;
        inset: auto;
        top: 0;
        z-index: 40;
        width: 100%;
        height: 100vh;
        transform: none;
    }

    .admin-collapse-toggle {
        display: inline-flex;
    }

    .admin-menu-toggle {
        display: none;
    }

    .admin-search {
        width: 240px;
    }

    .admin-profile-trigger {
        min-width: 190px;
    }
}

@media (max-width: 900px) {
    .admin-shell,
    .admin-shell.sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .admin-sidebar,
    .admin-shell.sidebar-collapsed .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 70;
        width: min(88vw, 310px);
        height: 100vh;
        padding: 18px;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    .admin-shell.sidebar-collapsed .admin-brand {
        display: flex;
    }

    .admin-shell.sidebar-collapsed .admin-sidebar-profile a {
        display: grid;
        width: 100%;
        min-height: auto;
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        justify-content: stretch;
        padding: 10px;
    }

    .admin-shell.sidebar-open .admin-sidebar,
    .admin-shell.sidebar-collapsed.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-collapse-toggle {
        display: none;
    }

    .admin-menu-toggle {
        display: inline-flex;
    }

    .admin-main {
        padding: 0 16px 18px;
    }

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

    .settings-preview,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-topbar {
        min-height: auto;
        padding: 12px 0;
    }

    .admin-topbar-left,
    .admin-topbar-actions,
    .admin-search {
        width: 100%;
    }

    .admin-topbar-actions {
        justify-content: flex-start;
    }

    .admin-search {
        order: 3;
    }

    .admin-profile-trigger {
        min-width: 0;
    }

    .admin-profile-trigger strong {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-stat-grid,
    .admin-stat-grid.premium {
        grid-template-columns: 1fr;
    }
}

/* Compact responsive top information bar */
.top-info-inner {
    min-height: 36px;
}

.top-info-list,
.top-socials {
    gap: 10px;
}

.top-info-list a,
.top-info-list span {
    gap: 6px;
    font-size: .78rem;
    line-height: 1.2;
}

.top-info-list span span,
.top-info-list a span {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    font-size: .72rem;
}

.top-info-icon .nav-svg-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
}

.top-socials a {
    width: 24px;
    height: 24px;
    font-size: .72rem;
}

.top-socials .social-svg-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
}

@media (max-width: 760px) {
    .top-info-inner {
        min-height: auto;
        padding-block: 7px;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .top-info-list {
        width: 100%;
        justify-content: center;
        gap: 8px 12px;
    }

    .top-info-list a,
    .top-info-list span {
        max-width: 100%;
        font-size: .72rem;
        white-space: nowrap;
    }

    .top-socials {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-info-inner {
        padding-block: 6px;
    }

    .top-info-list {
        justify-content: space-between;
        gap: 6px;
    }

    .top-info-list a {
        font-size: .68rem;
    }

    .top-info-list span span,
    .top-info-list a span {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
        font-size: .66rem;
    }

    .top-info-list a[href^="mailto"] {
        max-width: 48vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Professional contact page */
.contact-page-section {
    padding-top: clamp(36px, 5vw, 64px);
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 200, 240, .12), transparent 28%),
        linear-gradient(180deg, #fff, #F8FAFC);
}

.page-intro-section {
    padding-block: clamp(28px, 4vw, 48px);
}

.page-intro-section + .section {
    padding-top: clamp(32px, 5vw, 58px);
}

.page-intro-content {
    max-width: 920px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.page-intro-content p {
    margin: 0;
    max-width: none;
    color: #475569;
}

.professional-page-hero + .section,
.dynamic-page-hero + .section,
.product-detail-hero + .section,
.receipt-hero + .section,
.verification-hero + .section,
.verification-hero + .verification-page {
    padding-top: clamp(36px, 5vw, 64px);
}

/* Product verification homepage tool */
.product-verification-tool-section {
    scroll-margin-top: 128px;
    background:
        radial-gradient(circle at 12% 22%, rgba(0, 200, 240, .2), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(0, 71, 217, .24), transparent 32%),
        linear-gradient(135deg, #061536, #0F172A 48%, #0047D9);
    color: #fff;
}

.section-anchor {
    position: absolute;
    top: -128px;
}

.product-verification-tool {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
}

.verification-tool-copy {
    max-width: 700px;
}

.verification-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    box-shadow: 0 18px 42px rgba(0, 200, 240, .2);
}

.verification-tool-icon .nav-svg-icon {
    width: 30px;
    height: 30px;
}

.product-verification-tool .section-heading {
    margin: 0;
    text-align: left;
}

.product-verification-tool .section-heading h2,
.product-verification-tool .section-heading p {
    color: #fff;
}

.product-verification-tool .section-heading p {
    color: rgba(255, 255, 255, .78);
}

.verification-tool-points {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.verification-tool-points li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, .82);
}

.verification-tool-points li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00C8F0;
    box-shadow: 0 0 0 5px rgba(0, 200, 240, .13);
}

.product-verification-tool .verification-inline-form {
    width: 100%;
    margin: 0;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.product-verification-tool .verification-inline-form > div {
    border-radius: 18px;
    background: #fff;
}

.product-verification-tool .verification-inline-form input {
    min-height: 50px;
    color: #0F172A;
}

.product-verification-tool .verification-inline-form input::placeholder {
    color: #94a3b8;
}

.product-verification-tool .hero-actions {
    grid-column: 2;
    justify-content: stretch;
    margin-top: -42px;
    padding: 0 clamp(20px, 4vw, 30px) clamp(20px, 4vw, 30px);
}

.product-verification-tool .hero-actions .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 900px) {
    .product-verification-tool {
        grid-template-columns: 1fr;
    }

    .product-verification-tool .hero-actions {
        grid-column: auto;
        margin-top: 0;
        padding: 0;
    }
}

/* Professional public submenu design */
.primary-nav > .has-dropdown > .dropdown-menu {
    min-width: 300px;
    padding: 10px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
}

.primary-nav > .has-dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 28px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    background: #fff;
    transform: rotate(45deg);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 14px;
    white-space: normal;
}

.submenu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #0047D9;
    background: linear-gradient(135deg, rgba(0, 200, 240, .14), rgba(0, 71, 217, .1));
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.submenu-icon .nav-svg-icon {
    width: 19px;
    height: 19px;
}

.submenu-copy {
    display: grid;
    min-width: 0;
}

.submenu-copy strong {
    color: #0F172A;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
}

.dropdown-submenu > a:hover .submenu-icon,
.dropdown-submenu > a.active .submenu-icon {
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    transform: translateY(-1px);
}

.dropdown-submenu > a:hover .submenu-copy strong,
.dropdown-submenu > a.active .submenu-copy strong {
    color: #0047D9;
}

.header-cta-menu .cta-menu-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #0047D9;
    background: linear-gradient(135deg, rgba(0, 200, 240, .14), rgba(0, 71, 217, .1));
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.header-cta-menu .cta-menu-icon .nav-svg-icon {
    width: 19px;
    height: 19px;
}

.header-cta-menu a:hover .cta-menu-icon,
.header-cta-menu a.active .cta-menu-icon {
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    transform: translateY(-1px);
}

@media (min-width: 1081px) {
    .primary-nav > .has-dropdown:nth-of-type(3) > .dropdown-menu,
    .primary-nav > .has-dropdown:nth-of-type(4) > .dropdown-menu {
        min-width: 330px;
    }
}

@media (max-width: 1080px) {
    .primary-nav > .has-dropdown > .dropdown-menu::before {
        display: none;
    }

    .dropdown-submenu > a {
        grid-template-columns: 36px minmax(0, 1fr);
        min-height: 50px;
        padding: 9px 10px;
    }

    .submenu-icon {
        width: 36px;
        height: 36px;
    }
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.contact-info-panel,
.contact-form-panel .form-card {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.contact-info-panel {
    padding: clamp(24px, 4vw, 36px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .96)),
        radial-gradient(circle at 90% 10%, rgba(0, 200, 240, .12), transparent 28%);
}

.contact-info-panel h3,
.contact-form-panel h3 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.contact-intro {
    margin-bottom: 24px;
    color: #475569;
}

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

.contact-info-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    background: #fff;
    color: #0F172A;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a.contact-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 200, 240, .45);
    box-shadow: 0 18px 40px rgba(0, 71, 217, .1);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    box-shadow: 0 12px 28px rgba(0, 71, 217, .18);
}

.contact-info-icon .nav-svg-icon {
    width: 20px;
    height: 20px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: .88rem;
    color: #0F172A;
}

.contact-info-item span:not(.contact-info-icon) {
    display: block;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-form-panel .form-card {
    padding: clamp(24px, 4vw, 38px);
}

.contact-form-panel input,
.contact-form-panel textarea {
    border-radius: 14px;
}

.contact-form-panel .btn {
    width: fit-content;
}

@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-info-item {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 58px;
        padding: 10px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .contact-info-icon .nav-svg-icon {
        width: 18px;
        height: 18px;
    }

    .contact-form-panel .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Professional public page hero system */
.professional-page-hero,
.page-hero.professional-page-hero,
.page-hero.dynamic-page-hero,
.product-detail-hero.professional-page-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(260px, 34vw, 380px);
    display: grid;
    align-items: center;
    padding: clamp(58px, 7vw, 86px) 0;
    overflow: hidden;
    text-align: left;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 25, 60, .91), rgba(0, 71, 217, .58)),
        radial-gradient(circle at 82% 20%, rgba(0, 200, 240, .28), transparent 31%),
        var(--page-hero-image, linear-gradient(135deg, #0F172A, #0047D9)),
        #0F172A;
    background-position: center;
    background-size: cover;
}

.professional-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.professional-page-hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 8vw, 120px);
    bottom: -72px;
    z-index: -1;
    width: clamp(180px, 28vw, 420px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 240, .18), transparent 62%);
}

.professional-page-hero .container {
    position: relative;
    display: grid;
    justify-items: start;
    max-width: 1180px;
}

.professional-page-hero .page-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .76);
    font-size: .85rem;
    font-weight: 600;
}

.professional-page-hero .page-breadcrumb a {
    color: rgba(255, 255, 255, .88);
}

.professional-page-hero .page-breadcrumb a:hover {
    color: #00C8F0;
}

.professional-page-hero .eyebrow {
    margin-bottom: 12px;
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    box-shadow: 0 12px 28px rgba(0, 71, 217, .22);
}

.professional-page-hero h1,
.page-hero.dynamic-page-hero h1,
.product-detail-hero.professional-page-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.05rem, 4vw, 2.95rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.professional-page-hero p,
.page-hero.dynamic-page-hero p,
.product-detail-hero.professional-page-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(.96rem, 1.4vw, 1.06rem);
    line-height: 1.72;
}

.product-detail-hero.professional-page-hero .product-detail-grid {
    grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
    gap: clamp(26px, 5vw, 62px);
}

.product-detail-hero.professional-page-hero .product-detail-image {
    border-color: rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.product-detail-hero.professional-page-hero .product-detail-image img {
    height: clamp(260px, 30vw, 380px);
}

.product-detail-hero.professional-page-hero .product-detail-actions .btn.secondary,
.product-detail-hero.professional-page-hero .product-detail-actions .btn.ghost {
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.verification-hero,
.receipt-hero {
    min-height: clamp(230px, 30vw, 330px);
}

.verification-section,
.verification-page,
.receipt-section {
    padding-top: clamp(48px, 6vw, 76px);
}

.team-profile-hero {
    background-position: center 24%;
}

@media (max-width: 760px) {
    .professional-page-hero,
    .page-hero.professional-page-hero,
    .page-hero.dynamic-page-hero,
    .product-detail-hero.professional-page-hero {
        min-height: 240px;
        padding: 48px 0;
        text-align: left;
    }

    .professional-page-hero h1,
    .page-hero.dynamic-page-hero h1,
    .product-detail-hero.professional-page-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.3rem);
    }

    .product-detail-hero.professional-page-hero .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-hero.professional-page-hero .product-detail-image {
        order: 2;
    }

    .product-detail-hero.professional-page-hero .product-detail-copy {
        order: 1;
    }
}

/* Professional typography scale */
body {
    font-size: 15px;
    line-height: 1.68;
    font-weight: 400;
}

p,
li,
label,
input,
textarea,
select,
button {
    font-size: .95rem;
}

h1,
h2,
h3,
h4 {
    letter-spacing: 0;
    color: #0F172A;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.85rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.14;
}

h3 {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.24;
}

.brand-title,
.section-heading h2 strong,
.dynamic-section h2 strong,
.hero-slide-copy h1 span,
h1 span,
h2 span,
h3 span {
    color: transparent;
    background: linear-gradient(135deg, #00C8F0, #0047D9);
    -webkit-background-clip: text;
    background-clip: text;
}

.primary-nav a,
.nav-trigger {
    font-size: .88rem;
    font-weight: 600;
}

.dropdown-menu a,
.header-cta-menu a {
    font-size: .88rem;
    font-weight: 500;
}

.nav-cta {
    font-size: .88rem;
}

.top-info-list a,
.top-info-list span,
.top-socials {
    font-size: .82rem;
}

.hero-slide-copy h1,
.professional-page-hero h1,
.page-hero.dynamic-page-hero h1,
.product-detail-hero.professional-page-hero h1 {
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    font-weight: 700;
}

.hero-slide-copy p,
.professional-page-hero p,
.page-hero.dynamic-page-hero p,
.section-heading p,
.feature-card p,
.product-card p,
.dynamic-content,
.dynamic-section p {
    font-size: .96rem;
    line-height: 1.72;
}

.section-heading h2,
.dynamic-section h2,
.cta-panel h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 700;
}

.feature-card h3,
.product-card h3,
.glass-card h3,
.product-info-panel h2 {
    font-size: 1.08rem;
    font-weight: 700;
}

.eyebrow,
.hero-badge,
.hero-subtitle {
    font-size: .74rem;
    font-weight: 700;
}

.btn,
.mini-link {
    font-size: .86rem;
    font-weight: 700;
}

.admin-topbar h1 {
    font-size: 1.55rem;
    font-weight: 700;
}

.admin-hero-panel h2 {
    font-size: clamp(1.65rem, 2.4vw, 2rem);
}

.admin-nav-group-toggle,
.admin-nav-direct {
    font-size: .88rem;
}

.admin-nav-submenu a {
    font-size: .82rem;
}

@media (max-width: 720px) {
    body {
        font-size: 14px;
    }

    h1,
    .hero-slide-copy h1,
    .professional-page-hero h1,
    .page-hero.dynamic-page-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    h2,
    .section-heading h2,
    .dynamic-section h2 {
        font-size: clamp(1.45rem, 6vw, 1.95rem);
    }
}
