@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto:wght@300;400;500;700&display=swap");

/* ── Design Tokens ── */
:root {
    --primary-rgb: 255, 184, 0;
    --primary: rgb(var(--primary-rgb));
    --primary-light: rgba(var(--primary-rgb), 0.15);
    --primary-mid: rgba(var(--primary-rgb), 0.4);
    --bg-color: #ffffff;
    --surface: #f4f5f7;
    --surface-2: #ecedf0;
    --text-dark: #111111;
    --text-light: #555555;
    --border: #e0e0e0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    background: #1e272e;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

@media (min-width: 520px) {
    body {
        padding: 20px 0;
    }
}

/* ── Animations ── */
@keyframes electricFlicker {
    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 0.05;
    }

    20%,
    24%,
    55% {
        opacity: 0.3;
    }
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmerBtn {
    0% {
        left: -80%;
    }

    100% {
        left: 120%;
    }
}

@keyframes slideUpAnim {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalPop {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.anim-flicker {
    animation: electricFlicker 4s infinite;
}

.anim-gear {
    animation: rotateGear 15s linear infinite;
}

/* ============================================================
       GRID WRAPPER — fixed, covers full viewport
    ============================================================ */
.vcard-bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ============================================================
       SVG POWER GRID LAYER
       Towers + transmission lines drawn with inline SVG
    ============================================================ */
.vcard-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.18;
}

/* Transmission lines pulse */
@keyframes linePulse {
    0%,
    100% {
        stroke-opacity: 0.4;
    }

    50% {
        stroke-opacity: 0.9;
    }
}

/* Power flow — animated dash offset along line */
@keyframes powerFlow {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Tower flicker */
@keyframes towerFlicker {
    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 0.5;
    }

    20%,
    24%,
    55% {
        opacity: 1;
    }
}

.grid-line {
    fill: none;
    stroke: #ffb800;
    stroke-width: 1;
    animation: linePulse 4s ease-in-out infinite;
}

.grid-line--flow {
    fill: none;
    stroke: #ffb800;
    stroke-width: 1.5;
    stroke-dasharray: 12 8;
    animation: powerFlow 3s linear infinite;
}

.grid-line--flow-slow {
    fill: none;
    stroke: #ffb800;
    stroke-width: 1;
    stroke-dasharray: 8 14;
    animation: powerFlow 5s linear infinite;
}

.grid-tower {
    fill: none;
    stroke: #ffb800;
    stroke-width: 1.2;
    animation: towerFlicker 6s ease-in-out infinite;
}

.grid-node {
    fill: #ffb800;
    animation: linePulse 3s ease-in-out infinite;
}

/* ============================================================
       FLOATING ELECTRICITY SPARKS — CSS pseudo particles
    ============================================================ */
.vcard-bg-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.spark {
    position: absolute;
    background: #ffb800;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes sparkFloat {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-60px) scale(0);
        opacity: 0;
    }
}

@keyframes sparkFlicker {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
        box-shadow:
            0 0 6px #ffb800,
            0 0 12px rgba(255, 184, 0, 0.5);
    }
}

/* 12 sparks at different tower positions */
.spark-1 {
    width: 3px;
    height: 3px;
    top: 28%;
    left: 8%;
    animation: sparkFloat 3.2s 0s ease-in infinite;
}

.spark-2 {
    width: 2px;
    height: 2px;
    top: 28%;
    left: 9%;
    animation: sparkFloat 2.8s 0.6s ease-in infinite;
}

.spark-3 {
    width: 4px;
    height: 4px;
    top: 55%;
    left: 32%;
    animation: sparkFloat 3.5s 1.2s ease-in infinite;
}

.spark-4 {
    width: 2px;
    height: 2px;
    top: 55%;
    left: 33%;
    animation: sparkFloat 2.5s 0.4s ease-in infinite;
}

.spark-5 {
    width: 3px;
    height: 3px;
    top: 28%;
    left: 58%;
    animation: sparkFloat 3.8s 2s ease-in infinite;
}

.spark-6 {
    width: 2px;
    height: 2px;
    top: 28%;
    left: 59%;
    animation: sparkFloat 2.9s 0.8s ease-in infinite;
}

.spark-7 {
    width: 4px;
    height: 4px;
    top: 55%;
    left: 82%;
    animation: sparkFloat 3.1s 1.5s ease-in infinite;
}

.spark-8 {
    width: 2px;
    height: 2px;
    top: 55%;
    left: 83%;
    animation: sparkFloat 2.7s 0.3s ease-in infinite;
}

.spark-9 {
    width: 3px;
    height: 3px;
    top: 78%;
    left: 20%;
    animation: sparkFloat 3.4s 2.5s ease-in infinite;
}

.spark-10 {
    width: 2px;
    height: 2px;
    top: 78%;
    left: 21%;
    animation: sparkFloat 2.6s 1.8s ease-in infinite;
}

.spark-11 {
    width: 3px;
    height: 3px;
    top: 78%;
    left: 70%;
    animation: sparkFloat 3.6s 0.9s ease-in infinite;
}

.spark-12 {
    width: 2px;
    height: 2px;
    top: 78%;
    left: 71%;
    animation: sparkFloat 2.4s 2.2s ease-in infinite;
}

/* ============================================================
       PYLON TOP WARNING LIGHTS — blinking red dots
    ============================================================ */
.vcard-bg-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pylon-light {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #e74c3c;
    border-radius: 50%;
    box-shadow:
        0 0 6px #e74c3c,
        0 0 12px rgba(231, 76, 60, 0.4);
}

@keyframes warningBlink {
    0%,
    49%,
    100% {
        opacity: 1;
        box-shadow:
            0 0 6px #e74c3c,
            0 0 12px rgba(231, 76, 60, 0.4);
    }

    50%,
    98% {
        opacity: 0.1;
        box-shadow: none;
    }
}

/* Warning lights at top of each tower */
.pylon-light-1 {
    top: calc(28% - 22px);
    left: calc(8% - 2px);
    animation: warningBlink 1.4s 0s ease infinite;
}

.pylon-light-2 {
    top: calc(55% - 22px);
    left: calc(32% - 2px);
    animation: warningBlink 1.4s 0.2s ease infinite;
}

.pylon-light-3 {
    top: calc(28% - 22px);
    left: calc(58% - 2px);
    animation: warningBlink 1.4s 0.7s ease infinite;
}

.pylon-light-4 {
    top: calc(55% - 22px);
    left: calc(82% - 2px);
    animation: warningBlink 1.4s 1.1s ease infinite;
}

.pylon-light-5 {
    top: calc(78% - 22px);
    left: calc(20% - 2px);
    animation: warningBlink 1.4s 0.4s ease infinite;
}

.pylon-light-6 {
    top: calc(78% - 22px);
    left: calc(70% - 2px);
    animation: warningBlink 1.4s 0.9s ease infinite;
}

/* ============================================================
       YELLOW GLOW HALOS — behind towers
    ============================================================ */
.vcard-bg-halos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.halo {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 184, 0, 0.12) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
}

@keyframes haloPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 1;
    }
}

.halo-1 {
    width: 100px;
    height: 100px;
    top: 28%;
    left: 8%;
    animation: haloPulse 5s 0s ease-in-out infinite;
}

.halo-2 {
    width: 80px;
    height: 80px;
    top: 55%;
    left: 32%;
    animation: haloPulse 4.5s 1.2s ease-in-out infinite;
}

.halo-3 {
    width: 100px;
    height: 100px;
    top: 28%;
    left: 58%;
    animation: haloPulse 5.5s 0.6s ease-in-out infinite;
}

.halo-4 {
    width: 80px;
    height: 80px;
    top: 55%;
    left: 82%;
    animation: haloPulse 4.8s 2s ease-in-out infinite;
}

.halo-5 {
    width: 90px;
    height: 90px;
    top: 78%;
    left: 20%;
    animation: haloPulse 5.2s 1.5s ease-in-out infinite;
}

.halo-6 {
    width: 90px;
    height: 90px;
    top: 78%;
    left: 70%;
    animation: haloPulse 4.6s 0.9s ease-in-out infinite;
}

/* ============================================================
       VIGNETTE
    ============================================================ */
.vcard-bg-vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(30, 39, 46, 0.7) 60%,
            rgba(30, 39, 46, 0.96) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(30, 39, 46, 0.6) 0%,
            transparent 22%,
            transparent 78%,
            rgba(30, 39, 46, 0.65) 100%
        );
}

/* ============================================================
       FLOATING ICONS
    ============================================================ */
.vcard-bg-icons {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.bg-icon {
    position: absolute;
    color: #ffb800;
    opacity: 0;
    will-change: transform, opacity;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes elecFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.055;
    }

    50% {
        transform: translateY(-18px) rotate(12deg);
        opacity: 0.13;
    }
}

@keyframes elecFloatDown {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.045;
    }

    50% {
        transform: translateY(16px) rotate(-10deg);
        opacity: 0.11;
    }
}

@keyframes elecSpin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.045;
    }

    50% {
        transform: rotate(180deg) scale(1.12);
        opacity: 0.1;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.045;
    }
}

@keyframes elecFlickerI {
    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 0.04;
    }

    20%,
    24%,
    55% {
        opacity: 0.13;
    }
}

@keyframes elecPulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.035;
    }

    50% {
        transform: scale(1.22) rotate(8deg);
        opacity: 0.09;
    }
}

@keyframes elecRise {
    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.04;
    }

    50% {
        transform: translateY(-22px) scale(1.1);
        opacity: 0.11;
    }
}

.bg-i1 {
    top: 4%;
    left: 4%;
    font-size: 32px;
    animation: elecFlickerI 4s 0s infinite;
}

.bg-i2 {
    top: 8%;
    right: 5%;
    font-size: 18px;
    animation: elecFlickerI 3.5s 1.2s infinite;
}

.bg-i3 {
    top: 30%;
    right: 3%;
    font-size: 26px;
    animation: elecFlickerI 5s 0.4s infinite;
}

.bg-i4 {
    top: 72%;
    right: 4%;
    font-size: 16px;
    animation: elecFlickerI 4.5s 3s infinite;
}

.bg-i5 {
    top: 88%;
    left: 5%;
    font-size: 13px;
    animation: elecFlickerI 3.8s 4.2s infinite;
}

.bg-i6 {
    top: 14%;
    left: 6%;
    font-size: 28px;
    animation: elecSpin 14s 1s infinite;
}

.bg-i7 {
    top: 46%;
    right: 6%;
    font-size: 20px;
    animation: elecSpin 11s 2.5s infinite;
}

.bg-i8 {
    top: 80%;
    right: 7%;
    font-size: 15px;
    animation: elecSpin 12s 3.8s infinite;
}

.bg-i9 {
    top: 20%;
    right: 4%;
    font-size: 22px;
    animation: elecFloat 8s 0.6s infinite;
}

.bg-i10 {
    top: 54%;
    left: 5%;
    font-size: 16px;
    animation: elecFloat 7.5s 2.8s infinite;
}

.bg-i11 {
    top: 92%;
    right: 5%;
    font-size: 13px;
    animation: elecFloat 6s 4.5s infinite;
}

.bg-i12 {
    top: 36%;
    left: 3%;
    font-size: 28px;
    animation: elecPulse 5.5s 0.8s infinite;
}

.bg-i13 {
    top: 62%;
    left: 4%;
    font-size: 17px;
    animation: elecPulse 4.8s 2s infinite;
}

.bg-i14 {
    top: 9%;
    left: 8%;
    font-size: 18px;
    animation: elecRise 7s 0.3s infinite;
}

.bg-i15 {
    top: 50%;
    left: 3%;
    font-size: 13px;
    animation: elecFlickerI 4.2s 2.2s infinite;
}

.bg-i16 {
    top: 78%;
    left: 7%;
    font-size: 20px;
    animation: elecPulse 6s 1.2s infinite;
}

.bg-i17 {
    top: 94%;
    right: 6%;
    font-size: 12px;
    animation: elecFlickerI 5s 3.6s infinite;
}

.bg-i18 {
    top: 24%;
    left: 3%;
    font-size: 22px;
    animation: elecRise 8s 0.7s infinite;
}

.bg-i19 {
    top: 66%;
    right: 3%;
    font-size: 17px;
    animation: elecFloatDown 7.5s 2.4s infinite;
}

.bg-i20 {
    top: 42%;
    right: 7%;
    font-size: 15px;
    animation: elecFloatDown 7.2s 1.6s infinite;
}

.bg-i21 {
    top: 84%;
    right: 5%;
    font-size: 13px;
    animation: elecPulse 5.8s 3.2s infinite;
}

.bg-i22 {
    top: 96%;
    left: 3%;
    font-size: 17px;
    animation: elecFlickerI 4.2s 1.5s infinite;
}

/* ── Container ── */
.vcard-container {
    width: 100%;
    max-width: 500px;
    background: var(--bg-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-bottom: 110px;
    overflow: visible;
    min-height: 100vh;
    z-index: 50;
}

@media (min-width: 520px) {
    .vcard-container {
        border-radius: 8px;
        overflow: hidden;
        min-height: auto;
    }
}

/* ── Cover ── */
.cover-photo {
    width: 100%;
    height: 260px;
    position: relative;
    background: #111;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}

.cover-media-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: auto;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 5;
}

/* ── Theme Switcher ── */
.theme-switcher {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid white;
    transition: transform 0.2s;
}

.color-dot:hover {
    transform: scale(1.2);
}

/* ── Language Switcher ── */
.custom-lang-switcher {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 50;
    pointer-events: auto;
    display: inline-block;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 58px;
    justify-content: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all 0.25s;
}

.lang-switcher-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-switcher-btn i {
    font-size: 9px;
    color: var(--primary);
    transition: transform 0.25s;
}

.lang-switcher-btn.open i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: fixed;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    background: var(--bg-color);
    border: 2px solid var(--text-dark);
    border-top: 4px solid var(--primary);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    min-width: 160px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    animation: slideUpAnim 0.18s ease;
}

.lang-dropdown-menu.open {
    display: block;
}

.lang-dropdown-menu li {
    padding: 10px 16px;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}

.lang-dropdown-menu li:hover {
    background: var(--primary-light);
    color: var(--text-dark);
}

.lang-dropdown-menu li.active {
    color: var(--text-dark);
    font-weight: 700;
}

.lang-dropdown-menu li.active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: auto;
    color: var(--text-dark);
}

.lang-dropdown-menu li + li {
    border-top: 1px solid var(--border);
}

/* ── Profile ── */
.profile-section {
    text-align: center;
    padding: 0 25px;
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    border: 4px solid var(--text-dark);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: var(--surface);
    display: block;
    margin-top: -70px;
}

.name {
    font-family: "Oswald", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 14px;
    line-height: 1.1;
    text-transform: uppercase;
}

.title-badge {
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--primary);
    padding: 4px 12px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 0.8rem;
    line-height: 1.6;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

/* ── Quick Actions — inside profile section in original ── */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex: 0 0 auto;
}

.action-btn__icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: var(--text-dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.action-btn__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.25s;
}

.action-btn__icon i {
    position: relative;
    z-index: 1;
}

.action-btn:hover .action-btn__icon {
    color: var(--text-dark);
    border-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.action-btn:hover .action-btn__icon::after {
    opacity: 1;
}

.action-btn__label {
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.action-btn:hover .action-btn__label {
    color: var(--text-dark);
}

/* ── Sections ── */
.section {
    padding: 15px 25px 30px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: left;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.section-title {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
}

/* Yellow underline accent */
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 36px;
    height: 4px;
    background: var(--primary);
}

.decor-icon {
    position: absolute;
    color: var(--text-dark);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* ── Tech Card (main card component) ── */
.tech-card {
    background: var(--surface);
    border-radius: 4px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.tech-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
    transform: translateY(-1px);
}

.tech-card i.icon-main {
    color: var(--text-dark);
    font-size: 24px;
}

.tech-card h4 {
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}

.tech-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ── Item Card ── */
.item-card {
    background: var(--surface);
    border-radius: 4px;
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.item-card img,
.item-card iframe {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 10px;
    border: none;
    display: block;
}

.item-card h4 {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}

.item-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 5px 0 8px;
    line-height: 1.4;
}

/* ── Price badge ── */
.product-price {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--primary);
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.product-price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 12px;
    margin-left: 5px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-dark);
    color: var(--primary);
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

/* ── Gallery ── */
.gallery-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    display: block;
    transition: 0.3s;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* ── Social Card ── */
.social-card {
    background: var(--surface);
    padding: 14px 10px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    border: 1px solid var(--border);
}

.social-card:hover {
    border-color: var(--primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.social-card i {
    color: var(--text-dark);
    font-size: 20px;
    transition: 0.3s;
}

.social-card span {
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 500;
}

.social-card:hover i {
    color: var(--primary);
}

/* ── Feature link cards ── */
.feature-link-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.feature-link-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-link-card i {
    color: var(--text-dark);
    font-size: 16px;
}

.feature-link-card h2 {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-link-card p {
    font-size: 12px;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Address card ── */
.address-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.address-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.address-card > i {
    font-size: 18px;
    color: var(--text-dark);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 4px;
    flex-shrink: 0;
}

.address-card-content h2 {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.address-card-content p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* ── Map wrapper ── */
.map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    border: none;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.map-label {
    padding: 10px 12px;
    background: var(--surface);
}

.map-label h4 {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
}

.map-label p {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ── Iframe wrapper ── */
.iframe-wrapper {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.iframe-label {
    padding: 8px 12px;
    background: var(--surface);
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── YouTube label ── */
.youtube-label {
    background: #f9f9f9;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
}

.youtube-label-text {
    font-family: "Oswald", sans-serif;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.youtube-iframe {
    width: 100%;
    height: 170px;
    display: block;
    border: none;
}

/* ── Grids ── */
.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    ); /* minmax(0,1fr) is the key fix */
    gap: 12px;
}

/* ── Forms ── */
.form-control {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--border);
    border-radius: 4px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin-bottom: 14px;
    background: #fff;
    color: var(--text-dark);
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control::placeholder {
    color: #aaa;
}

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

select.form-control option {
    background: #fff;
    color: var(--text-dark);
}

.form-label {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* ── Buttons ── */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--text-dark);
    color: var(--primary);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: skewX(-15deg);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.btn-primary:hover::after {
    animation: shimmerBtn 0.55s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    width: auto;
    display: inline-block;
}

/* ── Hour rows ── */
.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
}

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

.hour-row span:first-child {
    color: var(--text-light);
}

/* ── Pay links ── */
.pay-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.pay-btn {
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.pay-btn:hover {
    background: var(--text-dark);
    color: var(--primary);
    border-color: var(--text-dark);
}

/* ── Wallet ── */
.wallet-section {
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 22px;
    background: var(--surface);
}

/* ── Testimonial ── */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px 20px;
    text-align: left;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

/* ── Swiper ── */
.swiper {
    width: 100%;
    padding-bottom: 38px !important;
}

.swiper-slide {
    width: 100% !important;
    box-sizing: border-box;
}

.swiper-pagination-bullet {
    border-radius: 0 !important;
    width: 12px;
    height: 4px;
    background: var(--text-light);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--text-dark) !important;
    opacity: 1;
}

/* ── Alerts ── */
.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    margin-bottom: 13px;
}

.alert-error {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    margin-bottom: 13px;
}

.hidden {
    display: none !important;
}

/* ── Service booking ── */
.service-booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 13px;
}

/* ── Branding footer ── */
.branding-footer {
    padding: 18px 0 8px;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.branding-footer a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}

/* ── Floating Bottom Nav ── */
.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 380px;
    background: var(--text-dark);
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 10px;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-item {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-item.active,
.nav-item:hover {
    background: var(--primary);
    color: var(--text-dark);
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }

    .vcard-container {
        padding-bottom: 30px !important;
        margin: 40px 0;
    }

    .grid-1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .prtImg {
        height: 220px !important;
    }
}

.prtImg {
    height: 160px !important;
}

/* ── Modals ── */
.std-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.std-modal.hidden {
    display: none;
}

.std-modal-box {
    background: var(--bg-color);
    border-top: 5px solid var(--primary);
    width: 100%;
    max-width: 500px;
    border-radius: 8px 8px 0 0;
    padding: 28px 22px 34px;
    position: relative;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.std-modal-box::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.std-modal-box h2 {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.std-modal-box .close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    background: var(--surface);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.std-modal-box .close-btn:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.std-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.std-modal-footer button {
    flex: 1;
    padding: 13px;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-cancel {
    background: var(--surface);
    color: var(--text-light);
    border: 2px solid var(--border) !important;
}

.btn-cancel:hover {
    color: var(--text-dark);
}

.btn-confirm {
    background: var(--text-dark);
    color: var(--primary);
}

.btn-confirm:hover {
    background: var(--primary);
    color: var(--text-dark);
}

/* ── Password Modal ── */
.pw-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.pw-modal-box {
    background: var(--bg-color);
    border-top: 5px solid var(--primary);
    border-radius: 8px;
    width: 90%;
    max-width: 360px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.pw-modal-box h2 {
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.pw-modal-box p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.pw-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    text-align: center;
    font-size: 20px;
    font-family: "Oswald", sans-serif;
    letter-spacing: 8px;
    outline: none;
    transition: 0.3s;
    background: var(--surface);
    color: var(--text-dark);
}

.pw-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ── Info Popup ── */
#customInfoOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#customInfoOverlay.hidden {
    display: none;
}

#customInfoOverlay.is-active {
    opacity: 1;
}

/* ── Modal Box ── */
#customInfoBox {
    background: #ffffff;
    border-top: 5px solid var(--primary, #ffb800);
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    opacity: 0;
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
    animation: elecInfoPop 0.3s ease-out forwards;
}

@keyframes elecInfoPop {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#customInfoOverlay.is-active #customInfoBox {
    transform: scale(1);
    opacity: 1;
}

/* Yellow bottom hairline */
#customInfoBox::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary, #ffb800) 30%,
        var(--primary, #ffb800) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* ── Close Button ── */
.custom-info-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #f4f5f7;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    z-index: 2;
    line-height: 1;
}

.custom-info-close:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

/* ── Cover Image ── */
.custom-info-img-wrap {
    position: relative;
    width: 100%;
}

.custom-info-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Light gradient fade into white body */
.custom-info-img-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, #ffffff, transparent);
    pointer-events: none;
}

/* Yellow scan-line overlay on image — electrical diagnostic feel */
.custom-info-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 184, 0, 0.03) 3px,
        rgba(255, 184, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* ── Content Body ── */
.custom-info-body {
    padding: 24px 24px 28px;
    text-align: center;
}

.custom-info-body--with-img {
    padding-top: 14px;
}

/* ── Icon Badge (no image state) ── */
.custom-info-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--primary-light, rgba(255, 184, 0, 0.15));
    border: 2px solid var(--primary, #ffb800);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 20px;
    position: relative;
}

/* Bolt corner markers */
.custom-info-icon-wrap::before,
.custom-info-icon-wrap::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 50%;
}

.custom-info-icon-wrap::before {
    top: 4px;
    right: 4px;
}

.custom-info-icon-wrap::after {
    bottom: 4px;
    left: 4px;
}

.custom-info-icon {
    font-size: 28px;
    color: #111111;
    display: block;
}

/* ── Title ── */
.custom-info-title {
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* ── Yellow Divider Bar ── */
.custom-info-divider {
    width: 40px;
    height: 4px;
    background: var(--primary, #ffb800);
    border-radius: 2px;
    margin: 0 auto 14px;
}

/* ── Description Wrapper ── */
.custom-info-desc-wrapper {
    max-height: 140px;
    overflow-y: auto;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.custom-info-desc-wrapper::-webkit-scrollbar {
    width: 3px;
}

.custom-info-desc-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.custom-info-desc-wrapper::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

.custom-info-desc {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    font-weight: 400;
    text-align: center;
}

/* ── Action Button ── */
.custom-info-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #111111;
    color: var(--primary, #ffb800);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.custom-info-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: skewX(-15deg);
}

.custom-info-btn:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

.custom-info-btn:hover::after {
    animation: elecInfoShimmer 0.55s ease;
}

@keyframes elecInfoShimmer {
    from {
        left: -80%;
    }

    to {
        left: 120%;
    }
}

/* ── Newsletter Modal ── */
#newsletterModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 50;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

#newsletterModal.is-active {
    display: flex;
}

/* ── Bottom Sheet Box ── */
#customNewsBox {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 8px 8px 0 0;
    border-top: 5px solid var(--primary, #ffb800);
    padding: 28px 22px 34px;
    text-align: center;
    position: relative;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    animation: nlElecSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nlElecSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── Drag Handle ── */
#customNewsBox::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto 22px;
}

/* ── Close Button ── */
.custom-news-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #f4f5f7;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    line-height: 1;
}

.custom-news-close:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

/* ── Icon Badge ── */
.custom-news-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary-light, rgba(255, 184, 0, 0.15));
    border: 2px solid var(--primary, #ffb800);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
}

/* Bolt corner markers — industrial detail */
.custom-news-icon-wrap::before,
.custom-news-icon-wrap::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 50%;
}

.custom-news-icon-wrap::before {
    top: 4px;
    left: 4px;
}

.custom-news-icon-wrap::after {
    bottom: 4px;
    right: 4px;
}

.custom-news-icon {
    font-size: 24px;
    color: #111111;
    display: block;
}

/* ── Title ── */
.custom-news-title {
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

/* ── Yellow Divider Bar ── */
.custom-news-divider {
    width: 40px;
    height: 4px;
    background: var(--primary, #ffb800);
    border-radius: 2px;
    margin: 0 auto 14px;
}

/* ── Description ── */
.custom-news-desc {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 400;
}

/* ── Messages ── */
.news-message {
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    font-size: 13px;
    padding: 10px 13px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-align: left;
}

.news-message:empty {
    display: none;
}

.news-error {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.news-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Email Input ── */
.custom-news-input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    font-size: 14px;
    color: #111111;
    background: #ffffff;
    outline: none;
    margin-bottom: 12px;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    -webkit-appearance: none;
}

.custom-news-input:focus {
    border-color: var(--primary, #ffb800);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
}

.custom-news-input::placeholder {
    color: #aaaaaa;
}

/* ── Subscribe Button ── */
.custom-news-btn {
    width: 100%;
    padding: 14px;
    background: #111111;
    color: var(--primary, #ffb800);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.custom-news-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: skewX(-15deg);
}

.custom-news-btn:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

.custom-news-btn:hover::after {
    animation: nlElecShimmer 0.55s ease;
}

@keyframes nlElecShimmer {
    from {
        left: -80%;
    }

    to {
        left: 120%;
    }
}

/* ── Privacy note ── */
.custom-news-privacy {
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 12px;
    line-height: 1.5;
}

.custom-news-privacy i {
    color: #111111;
    margin-right: 3px;
    font-size: 9px;
}

.news-message {
    font-size: 13px;
    padding: 10px 13px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: "Roboto", sans-serif;
}

.news-error {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.news-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Share Modal ── */
.share-title {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.share-divider {
    width: 36px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.share-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.share-qr-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--surface);
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    position: relative;
}

.share-section-label {
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.share-icons a {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.share-icons a:hover {
    background: var(--text-dark);
    color: var(--primary);
    border-color: var(--text-dark);
    transform: translateY(-3px);
}

.share-copy-btn {
    width: 100%;
    padding: 13px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-copy-btn:hover {
    background: var(--text-dark);
    color: var(--primary);
}

.share-copy-btn.copied {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}

/* ── WhatsApp Modal ── */
.whatsapp-icon-wrap {
    width: 58px;
    height: 58px;
    background: rgba(37, 211, 102, 0.1);
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.whatsapp-icon-wrap i {
    font-size: 26px;
    color: #25d366;
}

.whatsapp-modal-title {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.whatsapp-divider {
    width: 36px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 18px;
    border-radius: 2px;
}

.whatsapp-modal-label {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-align: left;
}

.whatsapp-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 14px;
    transition: 0.25s;
}

.whatsapp-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.whatsapp-input-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-right: 2px solid var(--border);
    height: 48px;
    background: rgba(37, 211, 102, 0.06);
    flex-shrink: 0;
}

.whatsapp-input-prefix i {
    font-size: 16px;
    color: #25d366;
}

.whatsapp-input-wrap input {
    flex: 1;
    padding: 13px 14px;
    border: none;
    background: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    min-width: 0;
}

.whatsapp-input-wrap input::placeholder {
    color: #aaa;
}

.whatsapp-send-btn {
    width: 100%;
    padding: 13px;
    background: var(--text-dark);
    color: var(--primary);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-send-btn:hover {
    background: #25d366;
    color: #fff;
}

.whatsapp-helper {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.whatsapp-helper i {
    color: var(--text-dark);
    margin-right: 3px;
}

/* ── QR Modal ── */
.qr-modal-title {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.qr-divider {
    width: 36px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.qr-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    position: relative;
}

.qr-code.qr-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-hint {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.qr-hint i {
    color: var(--primary);
    font-size: 10px;
}

.qr-download-btn {
    width: 100%;
    padding: 13px;
    background: var(--text-dark);
    color: var(--primary);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-download-btn:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.qr-download-btn.downloaded {
    background: #e8f5e9;
    color: #2e7d32;
}

.qr-helper {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.qr-helper i {
    color: var(--text-dark);
    margin-right: 3px;
}

/* ── PWA Modal ── */
#pwaModal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
}

#pwaModal.show {
    display: block;
}

/* ── Backdrop ── */
#pwaModal .pwa-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}

/* ── Bottom Sheet Box ── */
#pwaModal .pwa-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 28px 22px 34px;
    border-radius: 8px 8px 0 0;
    border-top: 5px solid var(--primary, #ffb800);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    text-align: center;
    animation: pwaElecSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwaElecSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade out animation */
#pwaModal.fadeOut .pwa-box {
    animation: pwaElecSlideDown 0.25s ease forwards;
}

@keyframes pwaElecSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ── Drag Handle ── */
#pwaModal .pwa-handle {
    width: 36px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto 22px;
}

/* ── Close Button ── */
#pwaModal .pwa-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #f4f5f7;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    line-height: 1;
}

#pwaModal .pwa-close:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

/* ── Icon Badge ── */
#pwaModal .pwa-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary-light, rgba(255, 184, 0, 0.15));
    border: 2px solid var(--primary, #ffb800);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
}

/* Bolt corner markers */
#pwaModal .pwa-icon-wrap::before,
#pwaModal .pwa-icon-wrap::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 50%;
}

#pwaModal .pwa-icon-wrap::before {
    top: 4px;
    left: 4px;
}

#pwaModal .pwa-icon-wrap::after {
    bottom: 4px;
    right: 4px;
}

#pwaModal .pwa-icon-wrap i {
    font-size: 24px;
    color: #111111;
}

/* ── Title ── */
#pwaModal h3 {
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

/* ── Description ── */
#pwaModal .pwa-desc {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    max-width: 300px;
    margin: 0 auto 20px;
    font-weight: 400;
}

/* ── Feature Pills ── */
#pwaModal .pwa-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

#pwaModal .pwa-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f4f5f7;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 5px 11px;
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #555555;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

#pwaModal .pwa-pill i {
    color: #111111;
    font-size: 9px;
}

/* ── Button Row ── */
#pwaModal .pwa-btn-row {
    display: flex;
    gap: 10px;
}

/* ── Cancel Button ── */
#pwaModal .pwa-btn-cancel {
    flex: 1;
    padding: 13px;
    background: #f4f5f7;
    color: #555555;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

#pwaModal .pwa-btn-cancel:hover {
    border-color: #111111;
    color: #111111;
}

/* ── Install Button ── */
#pwaModal .pwa-btn-install {
    flex: 2;
    padding: 13px;
    background: #111111;
    color: var(--primary, #ffb800);
    border: none;
    border-radius: 4px;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

#pwaModal .pwa-btn-install::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: skewX(-15deg);
}

#pwaModal .pwa-btn-install:hover {
    background: var(--primary, #ffb800);
    color: #111111;
}

#pwaModal .pwa-btn-install:hover::after {
    animation: pwaElecShimmer 0.55s ease;
}

@keyframes pwaElecShimmer {
    from {
        left: -80%;
    }

    to {
        left: 120%;
    }
}

/* ── GSAP hooks ── */
.gsap-fade,
.gsap-scale,
.gsap-slide-up {
    opacity: 0;
    visibility: hidden;
}
