:root {
    --red: #0b3a6f;
    --red-dark: #061b34;
    --gold: #38bdf8;
    --ink: #202124;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f7f7f4;
    --panel: #ffffff;
    --blue: #0f5ea8;
    --navy: #061b34;
    --sky: #38bdf8;
    --shadow: 0 18px 55px rgba(24, 24, 27, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body.has-modal-open {
    overflow: hidden;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 72px);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, .9);
}

.site-top-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 4vw, 42px);
    padding: 8px clamp(16px, 5vw, 72px);
    color: white;
    background:
        linear-gradient(90deg, rgba(201, 22, 29, .96), rgba(112, 14, 22, .96)),
        var(--red);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .16);
    font-size: .88rem;
    font-weight: 800;
}

.site-top-strip a,
.site-top-strip > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
}

.site-top-strip svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(15, 94, 168, .24));
    animation: logoPulse 4s ease-in-out infinite;
}

.brand strong,
.admin-brand span {
    display: block;
    color: var(--red);
    font-size: 1.08rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.brand-electric-text {
    color: transparent !important;
    background: linear-gradient(90deg, var(--navy), var(--blue), var(--sky), var(--red));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 9px rgba(56, 189, 248, .22);
    animation: titleCharge 5s linear infinite;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .76rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 9px 13px;
    color: #3f3f46;
    font-weight: 700;
    font-size: .92rem;
    transition: background .2s, color .2s, transform .2s;
}

.site-nav svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--red);
    background: rgba(56, 189, 248, .16);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: white;
}

.hero,
.page-hero,
.section {
    padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    min-height: calc(100vh - 76px);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, .18), transparent 32%),
        linear-gradient(160deg, #fff 0%, #eef7ff 62%, rgba(11, 58, 111, .1) 100%);
}

.eyebrow {
    color: var(--red);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 980px;
    font-size: clamp(2.25rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: 0;
}

.electric-title {
    position: relative;
    color: transparent;
    font-family: "Trebuchet MS", "Arial Black", Impact, system-ui, sans-serif;
    font-size: clamp(2.7rem, 6.8vw, 6.8rem);
    font-weight: 900;
    text-transform: uppercase;
    text-shadow:
        0 0 8px rgba(56, 189, 248, .35),
        0 0 18px rgba(15, 94, 168, .28);
    background:
        linear-gradient(90deg, #061b34 0%, #0f5ea8 28%, #38bdf8 52%, #ffffff 58%, #38bdf8 64%, #0b3a6f 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleCharge 4.4s linear infinite;
}

.hero-signature {
    display: inline-block;
    margin-bottom: 16px;
    font-size: clamp(1.35rem, 3vw, 2.55rem);
    line-height: 1;
}

.electric-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.12em;
    width: min(560px, 100%);
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--gold), white, transparent);
    box-shadow: 0 0 18px rgba(56, 189, 248, .8);
    animation: titleSpark 2.4s ease-in-out infinite;
}

.hero-signature::after {
    height: 3px;
    width: 100%;
}

.inline-electric {
    color: transparent;
    font-weight: 900;
    background: linear-gradient(90deg, var(--navy), var(--sky), var(--blue));
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleCharge 5s linear infinite;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    line-height: 1.08;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.2;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.image-text p,
.text-columns p {
    color: #4b5563;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-range-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px clamp(18px, 5vw, 72px) 0;
    border: 1px solid rgba(201, 22, 29, .12);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
}

.hero-range-strip p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.btn.primary {
    color: white;
    background: var(--red);
}

.btn.ghost {
    color: var(--red);
    background: white;
    border-color: rgba(15, 94, 168, .25);
}

.btn.small {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .9rem;
}

.hero-media {
    position: relative;
}

.hero-media img,
.image-text img,
.wide-card img,
.contact-side img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-media img {
    aspect-ratio: 4 / 3;
}

.hero-badge {
    display: grid;
    gap: 5px;
    width: min(430px, 100%);
    border-left: 6px solid var(--gold);
    border-radius: 8px;
    padding: 14px 18px;
    color: white;
    background:
        linear-gradient(135deg, rgba(201, 22, 29, .94), rgba(92, 10, 16, .92)),
        var(--red);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .24);
    backdrop-filter: blur(10px);
}

.hero-badge strong,
.hero-badge span {
    display: block;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.hero-badge strong {
    color: var(--gold);
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    letter-spacing: .02em;
}

.hero-badge span {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.82rem, 1.2vw, .96rem);
    font-weight: 800;
}

.split {
    display: grid;
    grid-template-columns: .55fr 1fr;
    gap: 32px;
    align-items: start;
}

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

.product-card,
.mini-card,
.quality-card,
.client-pill,
.admin-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
}

.product-card {
    overflow: hidden;
    transition: transform .2s, border-color .2s;
}

.product-card:hover,
.wide-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 94, 168, .35);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card div {
    padding: 18px;
}

.product-card p {
    margin: 0;
    color: var(--blue);
    font-weight: 800;
}

.dark-band {
    color: white;
    background: linear-gradient(120deg, #061b34, #082b52 55%, var(--blue));
}

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

.stats div {
    border-left: 4px solid var(--gold);
    padding: 12px 18px;
}

.stats strong {
    display: block;
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.stats span {
    color: #f4f4f5;
    font-weight: 800;
}

.image-text {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.image-text.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.image-text.reverse img {
    order: 2;
}

.dispatch-section img {
    aspect-ratio: 4 / 3;
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--red);
    font-weight: 900;
    border-bottom: 2px solid var(--gold);
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    color: white;
    background:
        linear-gradient(90deg, rgba(6, 27, 52, .92), rgba(15, 94, 168, .72)),
        var(--hero-image, url("../../images/unnamed-11.webp")) center / cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(125deg, transparent 0 30%, rgba(56, 189, 248, .3) 30.2% 30.55%, transparent 30.75% 58%, rgba(255, 255, 255, .2) 58.2% 58.35%, transparent 58.55%),
        repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 255, 255, .08) 85px, transparent 86px);
    animation: circuitMove 9s linear infinite;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 6vw, 86px);
    bottom: -54px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(56, 189, 248, .42);
    border-radius: 50%;
    box-shadow: inset 0 0 42px rgba(56, 189, 248, .18), 0 0 45px rgba(56, 189, 248, .16);
    animation: energyOrbit 8s linear infinite;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero-about { --hero-image: url("../images/site/product-discussion.jpeg"); }
.hero-products { --hero-image: url("../images/site/transformer-production-line.jpeg"); }
.hero-quality { --hero-image: url("../images/site/substation-yard.jpeg"); }
.hero-facilities { --hero-image: url("../images/site/factory-shop-floor.jpeg"); }
.hero-clients { --hero-image: url("../images/site/expo-team.jpeg"); }
.hero-contact { --hero-image: url("../../images/unnamed-19.webp"); }

.page-hero.compact {
    min-height: 300px;
}

.text-columns,
.contact-grid,
.facility-layout,
.inquiry-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 28px;
}

.info-panel,
.contact-form,
.contact-side,
.facility-list {
    border-radius: 8px;
    padding: clamp(20px, 3vw, 32px);
    background: var(--soft);
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding-top: 0;
}

.mini-card {
    padding: 18px;
}

.mini-card span,
dt {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mini-card strong {
    display: block;
    color: var(--blue);
    word-break: break-word;
}

.product-list {
    display: grid;
    gap: 20px;
}

.wide-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    transition: transform .2s, border-color .2s;
}

.wide-card img {
    aspect-ratio: 4 / 3;
}

.wide-card dl,
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 18px 0;
}

dd {
    margin: 0;
    font-weight: 800;
}

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

.quality-card {
    display: flex;
    gap: 14px;
    padding: 22px;
}

.quality-card span {
    flex: 0 0 12px;
    width: 12px;
    height: 44px;
    border-radius: 99px;
    background: var(--gold);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 0;
}

.gallery-strip img,
.facility-mosaic img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}

.facility-list p {
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 13px 0;
    font-weight: 800;
}

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

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

.client-logo-section {
    padding-bottom: 8px;
}

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

.client-logo-card {
    display: grid;
    justify-items: center;
    align-content: center;
    align-items: center;
    gap: 10px;
    min-height: 154px;
    border: 1px solid rgba(15, 94, 168, .16);
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(240, 249, 255, .84));
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    text-align: center;
}

.client-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(128px, 100%);
    height: 72px;
    border: 1px solid rgba(15, 94, 168, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 6px rgba(240, 249, 255, .85);
}

.client-logo-mark img {
    display: block;
    max-width: 104px;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo-card strong {
    display: block;
    color: var(--red);
    font-size: 1.04rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.client-logo-card > span:not(.client-logo-mark) {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.client-pill {
    padding: 16px 18px;
    font-weight: 800;
}

.digital-card-page {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 22px;
    min-height: calc(100vh - 180px);
    padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px);
    background:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, .2), transparent 32%),
        linear-gradient(135deg, #061b34 0%, #0b3a6f 52%, #f8fafc 52.2%, #ffffff 100%);
}

.digital-card-shell {
    display: grid;
    grid-template-columns: 1fr;
    width: min(720px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 26px 80px rgba(6, 27, 52, .26);
}

.digital-card-profile {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: clamp(26px, 4vw, 46px);
    text-align: center;
}

.profile-photo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(240, 249, 255, .95), rgba(255, 255, 255, .98));
    box-shadow: 0 18px 44px rgba(15, 94, 168, .18);
    cursor: pointer;
    padding: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

.profile-photo-mark:hover,
.profile-photo-mark:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(15, 94, 168, .24);
}

.profile-photo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.digital-card-profile h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.05rem, 4vw, 3.8rem);
    line-height: 1.02;
}

.profile-role,
.profile-company,
.profile-summary {
    margin: 0;
}

.profile-role {
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 900;
}

.profile-company {
    color: var(--ink);
    font-weight: 900;
}

.profile-summary {
    color: var(--muted);
    font-weight: 700;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.profile-contact-grid {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    text-align: left;
}

.profile-contact-grid a,
.profile-contact-grid > span {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(15, 94, 168, .1);
    border-radius: 8px;
    padding: 10px 12px;
    color: #374151;
    background: #f8fafc;
    font-size: .92rem;
    font-weight: 800;
}

.profile-contact-grid svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.profile-photo-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.profile-photo-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 27, 52, .76);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.profile-photo-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.profile-photo-modal__dialog img {
    width: 100%;
    max-height: min(78vh, 720px);
    border-radius: 8px;
    object-fit: contain;
    background: #f8fafc;
}

.profile-photo-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    padding: 8px 13px;
    color: white;
    background: rgba(6, 27, 52, .78);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
}

.contact-form label,
.login-card label,
.admin-panel label {
    display: grid;
    gap: 7px;
    color: #374151;
    font-weight: 800;
}

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

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: white;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(56, 189, 248, .35);
    border-color: var(--red);
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.alert {
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    font-weight: 800;
}

.alert.success {
    color: #065f46;
    background: #d1fae5;
}

.alert.error {
    color: #991b1b;
    background: #fee2e2;
}

.contact-side {
    display: grid;
    gap: 16px;
}

.contact-side img {
    aspect-ratio: 4 / 3;
}

.contact-card {
    border-left: 4px solid var(--red);
    padding-left: 16px;
}

.map-section iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.site-footer {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.3fr .7fr;
    gap: 28px;
    padding: 44px clamp(18px, 5vw, 72px);
    color: white;
    background:
        linear-gradient(125deg, rgba(6, 27, 52, .98), rgba(8, 43, 82, .96)),
        radial-gradient(circle at 85% 18%, rgba(56, 189, 248, .22), transparent 30%);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .2;
    background:
        linear-gradient(115deg, transparent 0 18%, var(--gold) 18.15% 18.35%, transparent 18.5% 62%, rgba(255, 255, 255, .5) 62.15% 62.3%, transparent 62.45%),
        repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, .22) 43px, transparent 44px);
    animation: circuitMove 10s linear infinite;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer h2 {
    font-size: 1rem;
}

.footer-logo {
    width: 82px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 22px rgba(56, 189, 248, .34));
}

.footer-brand-panel,
.footer-contact-panel,
.footer-social-panel {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 22px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px);
}

.footer-brand-panel h2 {
    color: var(--gold);
    text-transform: uppercase;
}

.footer-energy-line {
    width: 100%;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--gold), white, var(--gold), var(--red));
    background-size: 220% 100%;
    animation: shimmerLine 3s linear infinite;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, .12);
    font-weight: 900;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.socials a:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
}

.socials svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-facebook { background: #1877f2 !important; }
.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4) !important; }
.social-linkedin { background: #0a66c2 !important; }
.social-youtube { background: #ff0033 !important; }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    padding: 24px;
    color: white;
    background: radial-gradient(circle at center, rgba(56, 189, 248, .16), transparent 34%), #061b34;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
    animation: none;
    text-align: center;
}

.loader-logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    overflow: visible;
}

.loader-logo::before,
.loader-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--gold);
    border-right-color: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(255, 196, 0, .24);
    animation: spin .9s linear infinite;
}

.loader-logo::after {
    inset: 12px;
    border-width: 1px;
    border-top-color: rgba(56, 189, 248, .82);
    border-right-color: rgba(255, 255, 255, .3);
    animation-duration: 1.45s;
    animation-direction: reverse;
}

.loader-logo img {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .36));
}

.page-loader strong {
    display: block;
    max-width: min(92vw, 560px);
    color: var(--gold);
    font-family: "Trebuchet MS", "Arial Black", Impact, system-ui, sans-serif;
    font-size: clamp(1.15rem, 4.4vw, 2.2rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 196, 0, .35);
}

body.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

body.is-transitioning .page-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none;
}

.footer-admin {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold);
    font-weight: 900;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    border-radius: 999px;
    padding: 0 18px;
    color: white;
    background: #0f5ea8;
    box-shadow: 0 15px 35px rgba(15, 94, 168, .35);
    font-weight: 900;
}

.whatsapp-float::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 50%;
    background: white;
    animation: ping 1.8s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-body,
.login-body {
    min-height: 100vh;
    background: #f3f4f6;
}

.admin-body {
    display: grid;
    grid-template-columns: 260px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    color: white;
    background: #061b34;
}

.admin-brand img {
    width: 44px;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.admin-sidebar nav a {
    border-radius: 8px;
    padding: 11px 12px;
    color: #f4f4f5;
    font-weight: 800;
}

.admin-sidebar nav a:hover {
    color: #061b34;
    background: var(--gold);
}

.admin-main {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.admin-topbar p {
    margin-bottom: 4px;
    color: var(--muted);
}

.admin-topbar h1 {
    margin: 0;
    font-size: 2rem;
}

.crm-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.crm-stats article {
    border-radius: 8px;
    padding: 18px;
    background: white;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.crm-stats span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.crm-stats strong {
    display: block;
    color: var(--red);
    font-size: 2rem;
}

.admin-panel {
    padding: 20px;
}

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

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
}

td a {
    color: var(--red);
    font-weight: 900;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    color: #111827;
    background: #e5e7eb;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status.new { background: #fef3c7; color: #92400e; }
.status.contacted { background: #dbeafe; color: #1e40af; }
.status.quoted { background: #ede9fe; color: #5b21b6; }
.status.closed { background: #d1fae5; color: #065f46; }
.status.lost { background: #fee2e2; color: #991b1b; }
.status.draft { background: #e5e7eb; color: #374151; }
.status.sent { background: #dbeafe; color: #1e40af; }
.status.accepted { background: #d1fae5; color: #065f46; }
.status.rejected { background: #fee2e2; color: #991b1b; }
.status.expired { background: #f3f4f6; color: #4b5563; }

.filters {
    display: grid;
    grid-template-columns: 1.4fr .9fr 1.1fr .8fr .8fr auto auto;
    gap: 10px;
    margin-bottom: 16px;
}

.quote-filters {
    grid-template-columns: minmax(220px, 1fr) minmax(160px, .4fr) auto;
}

.quick-composer {
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(260px, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 94, 168, .12);
    border-radius: 8px;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(240, 249, 255, .82)),
        repeating-linear-gradient(90deg, rgba(15, 94, 168, .035) 0 1px, transparent 1px 56px);
}

.detail-composer {
    grid-template-columns: 1fr;
}

.lead-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mail-action-form {
    display: inline-flex;
    margin: 0;
}

.lead-actions.large {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.lead-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    color: white;
    background: #0f5ea8;
    box-shadow: 0 8px 18px rgba(15, 94, 168, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

button.lead-action {
    border-color: rgba(255, 255, 255, .72);
    cursor: pointer;
    font: inherit;
}

.lead-actions.large .lead-action {
    width: auto;
    min-height: 42px;
    padding: 8px 12px;
    font-weight: 900;
}

.lead-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 94, 168, .28);
}

.lead-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quotation-form {
    display: grid;
    gap: 18px;
}

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

.span-2 {
    grid-column: span 2;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.quote-items {
    display: grid;
    gap: 12px;
}

.quote-item-row {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr .75fr .7fr .45fr .45fr .65fr .5fr .75fr auto;
    gap: 10px;
    align-items: end;
    border: 1px solid rgba(15, 94, 168, .12);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.quote-item-row output {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
    color: var(--red);
    font-weight: 900;
}

.quote-remove {
    min-height: 42px;
    border: 1px solid #fee2e2;
    border-radius: 8px;
    color: #991b1b;
    background: #fff5f5;
    cursor: pointer;
    font-weight: 900;
}

.quote-summary-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr);
    gap: 18px;
    align-items: start;
}

.quote-total-box {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(15, 94, 168, .12);
    border-radius: 8px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(240, 249, 255, .9), rgba(255, 255, 255, .94));
}

.quote-total-box span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-weight: 900;
}

.quote-total-box span:last-child {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    color: var(--red);
    font-size: 1.12rem;
}

.quote-share-card {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(15, 94, 168, .12);
    border-radius: 8px;
    padding: 14px;
    background: #f8fafc;
}

.quote-table span {
    color: var(--muted);
}

.quote-public {
    padding-top: 24px;
}

.quote-public-hero {
    min-height: 280px;
}

.btn.full {
    width: 100%;
    margin-top: 10px;
}

.lead-action.call {
    background: linear-gradient(135deg, #0f5ea8, #38bdf8);
}

.lead-action.sms {
    background: linear-gradient(135deg, #374151, #111827);
}

.lead-action.whatsapp {
    background: linear-gradient(135deg, #128c4a, #25d366);
}

.lead-action.mail {
    background: linear-gradient(135deg, #c9161d, #ffc400);
}

.lead-action.is-disabled {
    pointer-events: none;
    opacity: .36;
    filter: grayscale(1);
}

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

.notes article {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.notes time {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.login-body {
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(420px, 100%);
    border-radius: 8px;
    padding: 32px;
    background: white;
    box-shadow: var(--shadow);
}

.login-card img {
    width: 72px;
    margin-bottom: 12px;
}

@keyframes logoPulse {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-4deg) scale(1.05); }
}

@keyframes ping {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(1.55); }
}

@media (max-width: 1080px) {
    .hero,
    .split,
    .image-text,
    .image-text.reverse,
    .text-columns,
    .contact-grid,
    .facility-layout,
    .inquiry-detail {
        grid-template-columns: 1fr;
    }

    .image-text.reverse img {
        order: 0;
    }

    .cards-row,
    .clients-wrap,
    .client-logo-grid,
    .crm-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters,
    .quick-composer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .digital-card-shell {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {
    .site-top-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 7px 12px;
        font-size: .76rem;
        line-height: 1.3;
    }

    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 36px;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
    }

    .brand {
        width: 100%;
        min-width: 0;
        cursor: pointer;
        gap: 8px;
    }

    .brand > span:last-child {
        min-width: 0;
    }

    .brand strong {
        font-size: clamp(.86rem, 4.25vw, 1.18rem);
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand small {
        display: none;
    }

    .brand-logo-wrap {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .digital-card-page {
        padding: 18px 12px 28px;
    }

    .digital-card-profile {
        padding: 22px 16px;
    }

    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        position: relative;
        display: inline-grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid rgba(255, 196, 0, .82);
        border-radius: 10px;
        background:
            radial-gradient(circle at 30% 22%, rgba(255, 196, 0, .42), transparent 30%),
            linear-gradient(145deg, #241012 0%, #7b0d12 50%, #c9161d 100%);
        box-shadow:
            0 8px 22px rgba(201, 22, 29, .28),
            0 0 18px rgba(255, 196, 0, .2),
            inset 0 1px 0 rgba(255, 255, 255, .26),
            inset 0 -10px 18px rgba(0, 0, 0, .2);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .nav-toggle::before {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 12px;
        border: 1px solid rgba(255, 196, 0, .34);
        opacity: .8;
        animation: energyOrbit 4s linear infinite;
    }

    .nav-toggle:hover,
    .nav-toggle[aria-expanded="true"] {
        transform: translateY(-1px) scale(1.04);
        box-shadow:
            0 10px 26px rgba(201, 22, 29, .34),
            0 0 24px rgba(255, 196, 0, .34),
            inset 0 0 14px rgba(255, 255, 255, .34);
    }

    .nav-toggle svg {
        position: relative;
        z-index: 1;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: var(--gold);
        stroke-width: 2.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        filter: drop-shadow(0 0 7px rgba(255, 196, 0, .95));
        transition: transform .24s ease, stroke .2s ease;
    }

    .nav-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
        stroke: #fff;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: auto;
        border: 1px solid rgba(255, 255, 255, .7);
        border-radius: 8px;
        padding: 10px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
        backdrop-filter: blur(16px);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-range-strip {
        display: grid;
        margin: 12px;
        padding: 12px;
    }

    h1 {
        font-size: 2.35rem;
    }

    .product-grid,
    .quality-grid,
    .gallery-strip,
    .facility-mosaic,
    .cards-row,
    .clients-wrap,
    .client-logo-grid,
    .form-row,
    .wide-card,
    .site-footer,
    .filters,
    .quick-composer,
    .quote-grid,
    .quote-summary-panel,
    .quote-item-row,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .quote-actions {
        justify-content: flex-start;
    }

    .quote-item-row output {
        justify-content: flex-start;
    }

    .admin-body {
        display: block;
    }

    .admin-sidebar {
        padding: 14px;
    }

    .admin-sidebar nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-top: 14px;
        padding-bottom: 4px;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto;
        padding: 9px 11px;
    }

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

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

    .admin-panel {
        padding: 14px;
    }

    .table-wrap {
        overflow: visible;
    }

    table {
        min-width: 0;
    }

    thead {
        display: none;
    }

    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }

    tr {
        border: 1px solid var(--line);
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px;
        background: white;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    }

    td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        border-bottom: 1px solid #f1f5f9;
        padding: 9px 0;
    }

    td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: .78rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    td:last-child {
        border-bottom: 0;
    }

    .lead-actions {
        flex-wrap: wrap;
    }

    .lead-actions.large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-card img {
        width: 100%;
    }

    .hero-badge {
        position: static;
        margin-top: 12px;
        max-width: none;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

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

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

/* Electric/glass enhancement layer */
.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.brand-logo-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
}

.brand-logo-wrap::before,
.brand-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, .7);
    opacity: .85;
    animation: energyOrbit 3.2s linear infinite;
}

.brand-logo-wrap::after {
    inset: 0;
    border-color: rgba(15, 94, 168, .48);
    animation-duration: 4.6s;
    animation-direction: reverse;
}

.brand-logo-wrap .brand-mark {
    position: relative;
    z-index: 2;
}

.brand-spark {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 16px var(--gold), 0 0 28px rgba(15, 94, 168, .7);
    offset-path: circle(24px at 27px 27px);
    animation: sparkRun 2.6s linear infinite;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 22%, rgba(56, 189, 248, .26) 22.1% 22.5%, transparent 22.6% 42%, rgba(15, 94, 168, .16) 42.1% 42.5%, transparent 42.6%),
        radial-gradient(circle at 74% 20%, rgba(56, 189, 248, .25), transparent 22%),
        radial-gradient(circle at 14% 74%, rgba(15, 94, 168, .12), transparent 30%);
    animation: energySweep 8s ease-in-out infinite alternate;
}

.energy-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .42;
}

.hero > *:not(.energy-canvas) {
    position: relative;
    z-index: 1;
}

.css-logo-field {
    position: absolute;
    top: -26px;
    left: -22px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .58);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16), inset 0 0 28px rgba(56, 189, 248, .28);
}

.css-logo-field img {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(15, 94, 168, .28));
    animation: logoFloat 3.8s ease-in-out infinite;
}

.field-ring {
    position: absolute;
    inset: 14px;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    border-right-color: rgba(15, 94, 168, .75);
    border-radius: 50%;
    animation: spin 3.4s linear infinite;
}

.field-ring.delay {
    inset: 24px;
    animation-duration: 2.3s;
    animation-direction: reverse;
}

.hero-media img,
.image-text img,
.wide-card img,
.contact-side img,
.gallery-strip img,
.facility-mosaic img {
    border: 1px solid rgba(255, 255, 255, .76);
}

.power-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(247, 247, 244, .92)),
        repeating-linear-gradient(90deg, rgba(15, 94, 168, .035) 0 1px, transparent 1px 72px);
}

.glass-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 8px;
    padding: 26px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.glass-card::after {
    content: "";
    position: absolute;
    inset: -70% auto auto -20%;
    width: 160px;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
    transform: rotate(22deg);
    animation: glassFlash 5.5s ease-in-out infinite;
}

.glass-card h2 {
    font-size: 1.35rem;
}

.icon-orb {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--red);
    background: radial-gradient(circle at 30% 25%, white, rgba(56, 189, 248, .32));
    box-shadow: inset 0 0 24px rgba(56, 189, 248, .24), 0 12px 26px rgba(15, 94, 168, .16);
}

.small-orb {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
}

.icon-orb::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(15, 94, 168, .35);
    animation: spin 8s linear infinite;
}

.icon-orb svg {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dark-band {
    position: relative;
    overflow: hidden;
}

.electric-grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background:
        linear-gradient(90deg, transparent 0 18%, var(--gold) 18.2% 18.45%, transparent 18.65% 47%, rgba(255, 255, 255, .75) 47.2% 47.35%, transparent 47.55%),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, .35) 39px, transparent 40px);
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, .75));
    transform: skewY(-4deg);
    animation: circuitMove 7s linear infinite;
}

.dark-band > *:not(.electric-grid) {
    position: relative;
    z-index: 1;
}

.product-card,
.wide-card {
    position: relative;
    overflow: hidden;
}

.wide-card::after,
.product-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--red), transparent);
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .25s ease;
}

.wide-card:hover::after,
.product-card:hover::after {
    transform: scaleX(1);
}

.info-panel,
.contact-form,
.contact-side,
.facility-list,
.admin-panel,
.login-card {
    border: 1px solid rgba(255, 255, 255, .78);
    background-color: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
}

@keyframes energyOrbit {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.08); }
    to { transform: rotate(360deg) scale(1); }
}

@keyframes sparkRun {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@keyframes energySweep {
    from { transform: translateX(-2%); opacity: .65; }
    to { transform: translateX(2%); opacity: 1; }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(-3deg); }
}

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

@keyframes glassFlash {
    0%, 48% { transform: translateX(-150%) rotate(22deg); opacity: 0; }
    55% { opacity: .9; }
    72%, 100% { transform: translateX(420%) rotate(22deg); opacity: 0; }
}

@keyframes circuitMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 220px 0, 0 120px; }
}

@keyframes shimmerLine {
    from { background-position: 0 0; }
    to { background-position: 220% 0; }
}

@keyframes titleCharge {
    from { background-position: 0 0; filter: drop-shadow(0 0 0 rgba(56, 189, 248, .2)); }
    50% { filter: drop-shadow(0 0 12px rgba(56, 189, 248, .42)); }
    to { background-position: 220% 0; filter: drop-shadow(0 0 0 rgba(56, 189, 248, .2)); }
}

@keyframes titleSpark {
    0%, 100% { transform: scaleX(.55); opacity: .68; }
    50% { transform: scaleX(1); opacity: 1; }
}

@keyframes loaderAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 1080px) {
    .power-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .power-icons {
        grid-template-columns: 1fr;
    }

    .css-logo-field {
        width: 92px;
        height: 92px;
        top: -18px;
        left: -10px;
    }

    .css-logo-field img {
        width: 58px;
        height: 58px;
    }
}

/* Wide-range homepage slider and floating enquiry form */
.hero-slider {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: #111827;
    box-shadow: var(--shadow);
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .8s ease, transform 1.2s ease;
}

.hero-slider .slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .72)),
        linear-gradient(120deg, rgba(201, 22, 29, .16), transparent 42%, rgba(255, 196, 0, .12));
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
}

.hero-slider figcaption {
    position: absolute;
    right: 18px;
    bottom: 86px;
    left: 18px;
    z-index: 2;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 14px 16px;
    color: white;
    background: rgba(17, 24, 39, .64);
    backdrop-filter: blur(14px);
}

.hero-slider figcaption strong,
.hero-slider figcaption span {
    display: block;
}

.hero-slider figcaption strong {
    color: var(--gold);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.slider-dots {
    position: absolute;
    left: 18px;
    bottom: 24px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.slider-dots button {
    width: 30px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.slider-dots button.is-active {
    width: 48px;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(255, 196, 0, .8);
}

.range-band {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15, 94, 168, .08), rgba(255, 196, 0, .14)),
        #fff;
}

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

.range-list p {
    position: relative;
    margin: 0;
    border: 1px solid rgba(201, 22, 29, .14);
    border-radius: 8px;
    padding: 15px 16px 15px 42px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    font-weight: 900;
}

.range-list p::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 21px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(255, 196, 0, .8);
}

.floating-form-toggle {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 61;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid rgba(255, 196, 0, .72);
    border-radius: 999px;
    padding: 0 16px;
    color: white;
    background: linear-gradient(135deg, #241012, var(--red));
    box-shadow: 0 15px 35px rgba(201, 22, 29, .28);
    cursor: pointer;
    font-weight: 900;
}

.floating-form-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-contact-form {
    position: fixed;
    right: 22px;
    bottom: 142px;
    z-index: 62;
    width: min(380px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.floating-contact-form.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-contact-form form {
    display: grid;
    gap: 10px;
}

.floating-contact-form header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--red);
    font-weight: 900;
}

.floating-form-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--red);
    cursor: pointer;
}

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

@media (max-width: 1080px) {
    .range-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hero-slider {
        min-height: 420px;
    }

    .hero-slider figcaption {
        bottom: 70px;
    }

    .hero-slider .slider-dots {
        top: 18px;
        bottom: auto;
        left: 18px;
    }

    .range-list,
    .mini-form-row {
        grid-template-columns: 1fr;
    }

    .floating-form-toggle {
        right: 14px;
        bottom: 78px;
        min-height: 44px;
        padding: 0 12px;
    }

    .floating-form-toggle span {
        display: none;
    }

    .floating-contact-form {
        right: 12px;
        bottom: 132px;
        width: calc(100vw - 24px);
    }
}
