:root {
    --ink: #071827;
    --muted: #607083;
    --line: #d8e6ef;
    --paper: #ffffff;
    --soft: #f2f8f9;
    --brand: #087681;
    --brand-2: #12b59f;
    --accent: #f4aa2a;
    --danger: #bf3a46;
    --shadow: 0 22px 55px rgba(7, 24, 39, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #f8fcfc;
    line-height: 1.6;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(36,160,143,.16), transparent 28%),
        radial-gradient(circle at 92% 28%, rgba(242,184,75,.14), transparent 24%),
        linear-gradient(120deg, rgba(15,109,122,.04), transparent 46%);
    z-index: -1;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .5;
    background:
        linear-gradient(90deg, rgba(15,109,122,.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15,109,122,.06) 1px, transparent 1px);
    background-size: 46px 46px;
    animation: gridDrift 24s linear infinite;
    mask-image: radial-gradient(circle at 50% 18%, #000 0 38%, transparent 72%);
}
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, .brand, .btn, .metrics strong {
    font-family: Sora, Manrope, system-ui, sans-serif;
    letter-spacing: 0;
}
.cursor-tracker {
    position: fixed;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 1px solid rgba(18,181,159,.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity .2s ease, width .18s ease, height .18s ease, margin .18s ease, border-color .18s ease;
}
.cursor-tracker span {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 24px rgba(18,181,159,.6);
}
.cursor-tracker.active { opacity: 1; }
.cursor-tracker.cursor-hot {
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    border-color: rgba(244,170,42,.72);
}
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 8px;
    overflow: hidden;
}
.brand-mark.has-logo {
    background: transparent;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark.has-logo img {
    object-fit: contain;
}
.site-theme-amber {
    --brand: #8b5a08;
    --brand-2: #f4aa2a;
    --accent: #12b59f;
}
.site-theme-green {
    --brand: #12623b;
    --brand-2: #36b77b;
    --accent: #f4aa2a;
}
.site-theme-slate {
    --brand: #17233b;
    --brand-2: #5ca7ff;
    --accent: #f4aa2a;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; color: #26384d; }
.nav-cta { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; }
.hero {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    padding: 56px 0 72px;
    background:
        linear-gradient(120deg, rgba(15,109,122,.92), rgba(36,160,143,.78)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: #fff;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: 0; max-width: 760px; }
.hero-text { font-size: 1.12rem; max-width: 640px; color: rgba(255,255,255,.9); }
.hero-actions, .config-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #16202b; box-shadow: 0 12px 28px rgba(242,184,75,.28); }
.btn.secondary { background: rgba(255,255,255,.14); color: inherit; border: 1px solid rgba(255,255,255,.34); }
.btn.danger { background: #bf3a46; color: #fff; }
.config-form .btn.secondary, .admin-card .btn.secondary { color: var(--ink); background: #eef5f7; border-color: var(--line); }
.metrics { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: rgba(255,255,255,.86); }
.metrics strong { display: block; font-size: 1.45rem; color: #fff; }
.hero-panel {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 22px;
    backdrop-filter: blur(16px);
}
.status-card, .terminal-card, .signal-grid > div {
    background: rgba(255,255,255,.92);
    color: var(--ink);
    border-radius: 8px;
    padding: 18px;
}
.status-card span, .signal-grid span { color: var(--muted); display: block; }
.status-card strong { display: block; font-size: 1.45rem; margin-top: 8px; }
.signal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0; }
.signal-grid b { display: block; font-size: 1.55rem; }
.terminal-card { display: grid; gap: 9px; background: #102232; color: #b8fff1; }
.smart-home-bar {
    position: relative;
    padding: 22px 0;
    background: #071827;
    color: #fff;
    overflow: hidden;
}
.smart-home-bar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(18,181,159,.8), rgba(244,170,42,.75), transparent);
    animation: smartPulse 3.2s ease-in-out infinite;
}
.smart-home-track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.smart-home-item {
    min-height: 154px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    display: grid;
    align-content: start;
    gap: 8px;
    transform-style: preserve-3d;
    animation: smartFloat 5s ease-in-out infinite;
}
.smart-home-item:nth-child(2n) { animation-delay: .5s; }
.smart-home-item:nth-child(3n) { animation-delay: 1s; }
.smart-home-item strong { font-family: Sora, sans-serif; }
.smart-home-item small { color: rgba(255,255,255,.72); }
.smart-icon,
.service-icon {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-block;
    background: linear-gradient(135deg, #efffff, #9fe5dc);
    border: 1px solid rgba(18,181,159,.28);
    box-shadow: 0 16px 24px rgba(8,118,129,.18);
    transform: rotateX(18deg) rotateZ(-8deg);
}
.smart-icon span,
.service-icon span {
    position: absolute;
    background: #071827;
    border-radius: 999px;
}
.service-icon { margin-bottom: 18px; }
.service-icon-software span:nth-child(1),
.service-icon-web span:nth-child(1),
.smart-icon-app span:nth-child(1) { left: 13px; top: 16px; width: 32px; height: 5px; }
.service-icon-software span:nth-child(2),
.service-icon-web span:nth-child(2),
.smart-icon-app span:nth-child(2) { left: 13px; top: 29px; width: 22px; height: 5px; }
.service-icon-cctv span:nth-child(1),
.smart-icon-cctv span:nth-child(1) { left: 10px; top: 22px; width: 34px; height: 18px; border-radius: 7px; }
.service-icon-cctv span:nth-child(2),
.smart-icon-cctv span:nth-child(2) { right: 12px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.service-icon-laptop span:nth-child(1) { left: 10px; top: 15px; width: 36px; height: 24px; border-radius: 4px; }
.service-icon-laptop span:nth-child(2) { left: 7px; bottom: 10px; width: 44px; height: 7px; }
.service-icon-chip span:nth-child(1) { left: 15px; top: 15px; width: 28px; height: 28px; border-radius: 6px; }
.service-icon-chip span:nth-child(2) { left: 8px; top: 28px; width: 42px; height: 3px; background: var(--accent); }
.service-icon-computer span:nth-child(1),
.service-icon-build span:nth-child(1) { left: 8px; top: 12px; width: 34px; height: 25px; border-radius: 4px; }
.service-icon-computer span:nth-child(2),
.service-icon-build span:nth-child(2) { right: 9px; top: 10px; width: 12px; height: 40px; border-radius: 4px; background: var(--accent); }
.service-icon-network span:nth-child(1),
.smart-icon-wifi span:nth-child(1) { left: 14px; top: 16px; width: 30px; height: 30px; border: 5px solid #071827; border-left-color: transparent; border-bottom-color: transparent; background: transparent; transform: rotate(-45deg); }
.service-icon-network span:nth-child(2),
.smart-icon-wifi span:nth-child(2) { left: 25px; top: 34px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.service-icon-mobile span:nth-child(1) { left: 18px; top: 9px; width: 22px; height: 40px; border-radius: 7px; }
.service-icon-mobile span:nth-child(2) { left: 27px; bottom: 12px; width: 5px; height: 5px; background: var(--accent); }
.smart-icon-lock span:nth-child(1) { left: 16px; top: 26px; width: 28px; height: 22px; border-radius: 5px; }
.smart-icon-lock span:nth-child(2) { left: 21px; top: 12px; width: 18px; height: 22px; border: 5px solid #071827; border-bottom: 0; background: transparent; }
.smart-icon-power span:nth-child(1) { left: 26px; top: 10px; width: 6px; height: 24px; }
.smart-icon-power span:nth-child(2) { left: 15px; top: 23px; width: 28px; height: 22px; border: 5px solid #071827; border-top-color: transparent; background: transparent; }
.smart-icon-cloud span:nth-child(1) { left: 11px; top: 27px; width: 38px; height: 17px; }
.smart-icon-cloud span:nth-child(2) { left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); }
.hero-3d-stage {
    position: relative;
    min-height: 520px;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.device-3d {
    position: absolute;
    transform-style: preserve-3d;
    filter: drop-shadow(0 24px 32px rgba(0,0,0,.22));
}
.laptop-3d {
    left: 11%;
    top: 24%;
    width: 340px;
    height: 210px;
    border-radius: 10px;
    background: linear-gradient(145deg, #eff8ff, #7fcac2);
    border: 12px solid #0b2539;
    transform: rotateX(58deg) rotateZ(-24deg);
    animation: floatDevice 6s ease-in-out infinite;
}
.laptop-3d::after {
    content: "";
    position: absolute;
    left: -35px;
    right: -35px;
    bottom: -52px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #d8e8ee, #ffffff, #9db6c2);
    transform: rotateX(78deg);
    transform-origin: top;
}
.screen-line {
    position: absolute;
    left: 26px;
    height: 10px;
    border-radius: 20px;
    background: #0f6d7a;
    animation: pulseLine 2.6s ease-in-out infinite;
}
.line-a { top: 40px; width: 190px; }
.line-b { top: 72px; width: 250px; animation-delay: .25s; }
.line-c { top: 104px; width: 140px; animation-delay: .5s; }
.chip-3d {
    right: 10%;
    top: 18%;
    width: 130px;
    height: 130px;
    border-radius: 14px;
    background: linear-gradient(135deg, #092236, #18a999);
    transform: rotateX(52deg) rotateY(-26deg) rotateZ(18deg);
    animation: spinChip 8s linear infinite;
}
.chip-3d span {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 8px;
}
.chip-3d span:nth-child(1) { left: 18px; top: 18px; }
.chip-3d span:nth-child(2) { right: 18px; top: 18px; }
.chip-3d span:nth-child(3) { left: 18px; bottom: 18px; }
.chip-3d span:nth-child(4) { right: 18px; bottom: 18px; }
.camera-3d {
    right: 20%;
    bottom: 16%;
    width: 150px;
    height: 88px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4fbff, #9fd8cf);
    border: 8px solid #0b2539;
    transform: rotateY(-34deg) rotateX(18deg);
    animation: floatDevice 5.4s ease-in-out infinite reverse;
}
.camera-3d span {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #b8fff1 0 18%, #0f6d7a 19% 48%, #061b2b 49%);
}
.network-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    animation: orbitRing 10s linear infinite;
}
.ring-one { inset: 80px 42px 120px 30px; }
.ring-two { inset: 140px 90px 70px 100px; animation-direction: reverse; }
.data-pill {
    position: absolute;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #0b2539;
    font-weight: 800;
    box-shadow: var(--shadow);
    animation: floatDevice 4.8s ease-in-out infinite;
}
.pill-one { left: 4%; top: 12%; }
.pill-two { right: 4%; top: 48%; animation-delay: .5s; }
.pill-three { left: 18%; bottom: 8%; animation-delay: 1s; }
.information-band {
    background: linear-gradient(90deg, #f6fbfc, #ffffff);
    border-bottom: 1px solid var(--line);
}
.info-grid, .industry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.info-grid h2, .industry-grid h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.info-list { display: grid; gap: 14px; }
.info-list div, .process-card, .industry-list span {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.84);
    padding: 18px;
}
.info-list strong, .info-list span { display: block; }
.info-list span { color: var(--muted); margin-top: 6px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card {
    min-height: 190px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.process-card::before {
    content: "";
    position: absolute;
    inset: auto -30px -50px auto;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, rgba(36,160,143,.24), rgba(242,184,75,.18));
    transform: rotate(35deg);
}
.process-card:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--shadow); }
.process-card span { display: block; font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.process-card p { color: var(--muted); margin: 0; }
.industry-section { background: #f8fbfd; }
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-list span { font-weight: 800; }
.location-section {
    background: linear-gradient(135deg, #eef8f8, #ffffff);
}
.location-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}
.location-grid h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.location-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.location-points span {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(7,24,39,.06);
}
.company-contact-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-weight: 800;
}
.company-contact-list span {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.map-card {
    min-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    background: #dfeff0;
}
.map-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 2px solid rgba(18,181,159,.4);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
    animation: mapFocus 3s ease-in-out infinite;
}
.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: saturate(.9) contrast(1.05);
}
.shop-hero {
    padding: 82px 0;
    background: linear-gradient(135deg, #0b2539, #0f6d7a);
    color: #fff;
    overflow: hidden;
}
.shop-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 42px; align-items: center; }
.shop-hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; }
.shop-hero p { color: rgba(255,255,255,.85); }
.shop-cube-scene { height: 360px; display: grid; place-items: center; perspective: 900px; }
.shop-cube {
    width: 170px;
    height: 170px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s linear infinite;
}
.cube-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.13);
    color: #fff;
    font-weight: 900;
    backdrop-filter: blur(8px);
}
.face-front { transform: translateZ(85px); }
.face-back { transform: rotateY(180deg) translateZ(85px); }
.face-right { transform: rotateY(90deg) translateZ(85px); }
.face-left { transform: rotateY(-90deg) translateZ(85px); }
.face-top { transform: rotateX(90deg) translateZ(85px); }
.face-bottom { transform: rotateX(-90deg) translateZ(85px); }
.shop-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 28px; }
.shop-toolbar h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 32px rgba(17,32,49,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shop-card-visual {
    height: 150px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(15,109,122,.95), rgba(36,160,143,.75));
    color: #fff;
    overflow: hidden;
}
.shop-card-visual span {
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 900;
    transform: rotateX(22deg) rotateZ(-10deg);
    box-shadow: 0 18px 30px rgba(0,0,0,.18);
}
.shop-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-card-body { padding: 20px; display: grid; gap: 10px; }
.shop-card-body h3, .shop-card-body p { margin: 0; }
.shop-card-body p, .shop-card-body small { color: var(--muted); }
.shop-category { color: var(--brand); font-weight: 900; text-transform: uppercase; font-size: .76rem; }
.shop-cart { position: fixed; right: 18px; bottom: 18px; z-index: 30; }
.shop-cart-toggle {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    box-shadow: var(--shadow);
}
.shop-cart-toggle span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-left: 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
}
.shop-cart-panel {
    position: absolute;
    right: 0;
    bottom: 58px;
    width: min(390px, calc(100vw - 24px));
    max-height: min(720px, calc(100vh - 90px));
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}
.shop-cart-head, .shop-cart-total, .shop-cart-item, .shop-cart-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.shop-cart-head h2 { margin: 0; }
.shop-cart-items { display: grid; gap: 10px; margin: 16px 0; }
.shop-cart-item { align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.shop-cart-item small { display: block; color: var(--muted); margin-top: 3px; }
.shop-cart-quantity button { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 5px 7px; cursor: pointer; }
.shop-cart-total { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-checkout-form { display: grid; gap: 10px; margin-top: 14px; }
.shop-checkout-form label { display: grid; gap: 6px; font-weight: 800; font-size: .84rem; }
.resume-body {
    background:
        radial-gradient(circle at 12% 18%, rgba(18,181,159,.2), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(244,170,42,.18), transparent 24%),
        #eef7f7;
}
.resume-builder { padding-bottom: 36px; overflow: hidden; }
.resume-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px 260px;
    gap: 20px;
    align-items: center;
    padding: 30px 0 20px;
    position: relative;
}
.resume-intro h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.04; }
.resume-hero-graphic {
    position: relative;
    min-height: 190px;
    perspective: 900px;
}
.resume-graphic-sheet {
    position: absolute;
    inset: 20px 42px 14px 26px;
    border: 1px solid rgba(8,118,129,.24);
    border-radius: 8px;
    background: linear-gradient(155deg, #ffffff 0 64%, #dff5f2 65% 100%);
    box-shadow: 0 22px 50px rgba(7,24,39,.18);
    transform: rotateX(56deg) rotateZ(-16deg);
    animation: resumeSheetFloat 5.8s ease-in-out infinite;
}
.resume-graphic-sheet::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.78) 48%, transparent 58% 100%);
    translate: -115% 0;
    animation: resumeSheetScan 3.8s ease-in-out infinite;
}
.sheet-avatar {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #f2b84b 0 27%, #0f6d7a 28% 100%);
}
.sheet-line,
.sheet-chip {
    position: absolute;
    border-radius: 999px;
    background: #0f6d7a;
}
.line-wide { left: 78px; top: 28px; width: 112px; height: 8px; }
.line-mid { left: 78px; top: 48px; width: 82px; height: 7px; background: #24a08f; }
.line-short { left: 20px; top: 88px; width: 172px; height: 8px; background: #d4e7ec; }
.sheet-chip { height: 18px; bottom: 22px; background: rgba(244,170,42,.88); }
.chip-a { left: 20px; width: 46px; }
.chip-b { left: 76px; width: 58px; background: rgba(18,181,159,.82); }
.chip-c { left: 144px; width: 42px; background: rgba(8,118,129,.84); }
.resume-orbit {
    position: absolute;
    border: 1px solid rgba(8,118,129,.28);
    border-radius: 50%;
    transform: rotateX(64deg) rotateZ(-18deg);
    animation: resumeOrbit 10s linear infinite;
}
.orbit-a { inset: 16px 18px 22px 0; }
.orbit-b { inset: 42px 50px 8px 34px; animation-direction: reverse; }
.resume-ai-badge {
    position: absolute;
    right: 34px;
    top: 34px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #082340, #0fb5aa);
    color: #fff;
    font-family: Sora, sans-serif;
    font-weight: 900;
    box-shadow: 0 18px 28px rgba(7,24,39,.22);
    animation: resumeBadgePulse 3.2s ease-in-out infinite;
}
.resume-spark {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 24px rgba(244,170,42,.7);
    animation: resumeSpark 2.8s ease-in-out infinite;
}
.spark-a { left: 20px; top: 38px; }
.spark-b { right: 86px; bottom: 22px; animation-delay: .8s; }
.resume-score {
    min-width: 260px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.resume-score strong {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--accent);
    margin-right: 8px;
}
.resume-workspace { display: grid; grid-template-columns: minmax(360px, .88fr) minmax(560px, 1.62fr); column-gap: 18px; row-gap: 8px; align-items: start; }
.resume-form, .resume-controls, .resume-downloads, .resume-preview {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.resume-controls { grid-column: 1 / -1; }
.resume-form { padding: 16px; position: sticky; top: 1px; }
.resume-steps { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; scrollbar-width: thin; }
.resume-steps button {
    border: 0;
    background: transparent;
    color: #7b8da0;
    border-radius: 8px;
    padding: 7px 8px;
    white-space: nowrap;
    font-weight: 900;
    font-size: .76rem;
    cursor: pointer;
}
.resume-steps button.active { color: #fff; background: var(--brand); }
.resume-step-progress {
    height: 6px;
    border-radius: 999px;
    background: #e2eef2;
    overflow: hidden;
    margin: 0 0 14px;
}
.resume-step-progress span {
    display: block;
    width: 16.666%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
    transition: width .25s ease;
}
.form-title-row { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.form-title-row h2 { margin: 0; font-size: 1.35rem; }
.form-title-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.resume-polish-status { color: var(--muted); font-size: .78rem; font-weight: 800; max-width: 220px; text-align: right; }
.form-title-row .btn { padding: 10px 14px; min-height: 40px; }
.resume-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.resume-form-grid .wide { grid-column: 1 / -1; }
.resume-form-grid.nested { margin-top: 0; }
.resume-form label { font-size: .84rem; }
.resume-form input, .resume-form textarea {
    min-width: 0;
    padding: 10px 11px;
    font-size: .92rem;
}
.resume-repeatable-wrap { display: grid; gap: 12px; }
.resume-repeatable-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}
.resume-repeatable-head strong {
    display: block;
    font-size: .95rem;
    color: var(--ink);
}
.resume-repeatable-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .8rem;
}
.resume-repeatable-list { display: grid; gap: 12px; }
.resume-repeatable-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfd;
    padding: 12px;
}
.resume-repeatable-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.resume-remove-entry {
    border: 0;
    background: transparent;
    color: #b42318;
    font-weight: 800;
    padding: 0;
}
.resume-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.resume-step-actions .btn {
    min-width: 124px;
}
.resume-step-actions .btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.resume-finalize {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #f8fbfd;
}
.resume-finalize p { margin-top: 0; color: var(--muted); }
.resume-final-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.resume-download-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}
.resume-download-pdf {
    background: #7b1e3a;
    border-color: #7b1e3a;
    color: #fff;
}
.resume-download-pdf:hover {
    background: #66172f;
    border-color: #66172f;
}
.resume-download-word {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
.resume-download-word:hover {
    background: #1a43ba;
    border-color: #1a43ba;
}
.resume-final-actions .btn.is-locked {
    opacity: .5;
    filter: grayscale(.15);
    cursor: not-allowed;
    box-shadow: none;
}
.inline-check {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 700;
}
.inline-check input { width: auto; }
.format-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}
.format-panel h3 {
    margin: 0;
    font-size: .85rem;
    color: var(--ink);
}
.format-block p,
.format-panel label {
    margin: 0;
    color: #26384d;
    text-transform: uppercase;
    font-size: .74rem;
    font-weight: 900;
}
.format-panel select,
.format-panel input[type="range"] { margin-top: 8px; }
.segmented.compact button { padding: 8px 10px; }
.resume-preview-area { display: grid; gap: 12px; }
.resume-controls {
    position: relative;
    overflow: visible;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
    gap: 12px;
}
.resume-controls > div { min-width: 0; }
.resume-access-card,
.resume-payment-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 14px;
}
.resume-access-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}
.resume-access-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}
.resume-access-card strong {
    font-family: Sora, sans-serif;
    font-size: 1.1rem;
    color: var(--brand);
    white-space: nowrap;
}
.resume-payment-panel {
    display: grid;
    gap: 12px;
}
.resume-payment-panel p { margin: 0; }
.resume-payment-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.resume-download-ready {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 98, 59, .12);
    color: #12623b;
    font-weight: 800;
}
.segmented { display: flex; gap: 8px; overflow-x: auto; }
[data-template-options],
[data-theme-options] {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
[data-template-options] button,
[data-theme-options] button {
    flex: 0 0 auto;
}
.segmented button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 8px 10px;
    font-weight: 900;
    font-size: .84rem;
    white-space: nowrap;
}
.segmented button.active { background: #082340; color: #fff; border-color: #082340; }
.resume-downloads { padding: 12px; display: flex; justify-content: flex-end; gap: 10px; box-shadow: none; }
.resume-preview {
    min-height: 710px;
    overflow: hidden;
    --resume-main: #082340;
    --resume-accent: #0fb5aa;
    --resume-section-space: 13px;
    --resume-paragraph-space: 8px;
    position: relative;
}
.resume-preview header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: var(--resume-main);
    color: #fff;
    padding: 20px 24px;
}
.resume-preview h2 { margin: 0; font-size: 1.7rem; line-height: 1; }
.resume-preview header p { margin: 8px 0 0; color: #d7fffb; font-weight: 800; }
.resume-preview address { font-style: normal; display: grid; gap: 4px; text-align: right; font-weight: 800; font-size: .84rem; }
.resume-contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
}
.resume-contact-item[hidden] { display: none; }
.resume-contact-item svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 1px;
    fill: currentColor;
}
.resume-contact-item > span {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}
.resume-preview section { padding: var(--resume-section-space) 24px 0; }
.resume-preview h3 { margin: 0 0 8px; color: var(--resume-accent); text-transform: uppercase; font-size: .76rem; letter-spacing: .04em; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
    padding: 6px 8px;
    border-radius: 7px;
    border: 1px solid rgba(15,181,170,.24);
    background: rgba(15,181,170,.1);
    font-weight: 800;
    font-size: .78rem;
}
.resume-role { display: flex; justify-content: space-between; gap: 14px; background: #f5f8fb; border: 1px solid var(--line); border-radius: 8px 8px 0 0; padding: 10px; }
.resume-experience-item + .resume-experience-item,
.resume-education-item + .resume-education-item { margin-top: 14px; }
.resume-experience-item p,
.resume-education-item p { margin-bottom: var(--resume-paragraph-space); }
.resume-preview ul { margin: 0; padding: 8px 0 0 20px; }
.resume-preview p { margin-top: 0; margin-bottom: var(--resume-paragraph-space); }
.resume-empty-note {
    margin: 24px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 24px;
    color: var(--muted);
    background: #f8fbfd;
    text-align: center;
    font-weight: 800;
}
.resume-font-small { font-size: .88rem; }
.resume-font-normal { font-size: 1rem; }
.resume-font-large { font-size: 1.08rem; }
.resume-preview.inline-editing [contenteditable="true"] {
    outline: 1px dashed rgba(15,109,122,.45);
    outline-offset: 3px;
    border-radius: 4px;
}
.resume-two-col { display: grid; grid-template-columns: 1fr 1fr; }
.theme-amber { --resume-main: #102232; --resume-accent: #f2a51f; }
.theme-green { --resume-main: #123022; --resume-accent: #36b77b; }
.theme-slate { --resume-main: #17233b; --resume-accent: #5ca7ff; }
.template-classic {
    border: 10px solid #f2efe8;
    font-family: Georgia, serif;
}
.template-classic header {
    background: #fff;
    color: var(--resume-main);
    border-bottom: 2px solid var(--resume-main);
    text-align: center;
    display: block;
}
.template-classic header p { color: var(--resume-accent); }
.template-classic address {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 6px 14px;
    margin-top: 12px;
}
.template-classic .resume-contact-item { justify-content: center; }
.template-classic section { border-bottom: 1px solid #ece6dc; padding-bottom: 10px; }
.template-minimal {
    box-shadow: none;
    border: 1px solid #e8edf2;
}
.template-minimal header {
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}
.template-minimal header p { color: var(--muted); }
.template-minimal h3 { color: var(--ink); border-left: 3px solid var(--resume-accent); padding-left: 8px; }
.template-minimal .skill-tags span { background: #fff; border-radius: 999px; }
.template-executive {
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: start;
    border-top: 0;
}
.template-executive header {
    grid-row: 1 / span 20;
    min-height: 710px;
    display: block;
    background: linear-gradient(180deg, var(--resume-main), #1a4963);
    padding: 28px 22px;
}
.template-executive header h2 { font-size: 1.55rem; }
.template-executive address {
    margin-top: 24px;
    text-align: left;
    gap: 10px;
}
.template-executive address span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.template-executive .resume-contact-item { justify-content: flex-start; }
.template-executive section,
.template-executive .resume-two-col,
.template-executive .resume-bottom-meta { grid-column: 2; }
.template-executive .resume-empty-note { grid-column: 2; }
.template-tech-matrix {
    background:
        linear-gradient(90deg, rgba(18,181,159,.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(18,181,159,.07) 1px, transparent 1px),
        #071827;
    background-size: 28px 28px;
    color: #eafffb;
    border: 1px solid rgba(18,181,159,.38);
}
.template-tech-matrix header {
    background: linear-gradient(135deg, #071827, #0f6d7a);
    border-bottom: 3px solid var(--resume-accent);
}
.template-tech-matrix section {
    margin: 14px 18px 0;
    padding: var(--resume-section-space) 18px 0;
    border: 1px solid rgba(18,181,159,.22);
    background: rgba(255,255,255,.06);
}
.template-tech-matrix .resume-role {
    background: rgba(255,255,255,.08);
    border-color: rgba(18,181,159,.28);
}
.template-tech-matrix .skill-tags span {
    background: rgba(18,181,159,.16);
    border-color: rgba(18,181,159,.48);
    color: #eafffb;
}
.template-corporate-luxe {
    background: #fffaf0;
    border: 12px solid #efe2c5;
    font-family: Georgia, serif;
}
.template-corporate-luxe header {
    background: #fffaf0;
    color: #172033;
    border-bottom: 3px double #b88a2a;
    padding: 28px 32px 20px;
}
.template-corporate-luxe header p { color: #8b6418; }
.template-corporate-luxe h3 {
    color: #8b6418;
    border-bottom: 1px solid #dfc98f;
    padding-bottom: 5px;
}
.template-corporate-luxe .skill-tags span {
    border-color: #dfc98f;
    background: #fff4d6;
    border-radius: 2px;
}
.template-corporate-luxe .resume-role {
    background: #fff4d6;
    border-color: #dfc98f;
    border-radius: 0;
}
.template-portfolio-impact {
    border: 0;
    background: #ffffff;
}
.template-portfolio-impact header {
    min-height: 178px;
    background:
        linear-gradient(120deg, var(--resume-main) 0 58%, var(--resume-accent) 58% 100%);
    align-items: center;
}
.template-portfolio-impact h2 {
    font-size: 2.2rem;
    max-width: 360px;
}
.template-portfolio-impact address {
    background: rgba(255,255,255,.16);
    padding: 12px;
    border-radius: 8px;
    min-width: 210px;
}
.template-portfolio-impact section {
    margin: 14px 20px 0;
    padding: var(--resume-section-space) 18px 0;
    border-left: 5px solid var(--resume-accent);
    background: #f8fbfd;
}
.template-portfolio-impact .skill-tags span {
    border-radius: 999px;
    color: #fff;
    background: var(--resume-main);
    border-color: var(--resume-main);
}
.template-ats-elite {
    box-shadow: none;
    border: 1px solid #d9e2ea;
    background: #fff;
    color: #121826;
    font-family: Arial, Helvetica, sans-serif;
}
.template-ats-elite header {
    background: #fff;
    color: #121826;
    display: block;
    border-bottom: 2px solid #121826;
    padding: 26px 28px 16px;
}
.template-ats-elite header p { color: #374151; }
.template-ats-elite address {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    text-align: left;
    font-weight: 600;
}
.template-ats-elite .resume-contact-item { justify-content: flex-start; }
.template-ats-elite h3 {
    color: #121826;
    letter-spacing: 0;
    border-bottom: 1px solid #d9e2ea;
    padding-bottom: 4px;
}
.template-ats-elite .skill-tags span {
    background: #fff;
    border-color: #cbd5e1;
    border-radius: 0;
    font-weight: 700;
}
.template-ats-elite .resume-role {
    background: #fff;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #d9e2ea;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1100px) {
    .resume-intro {
        grid-template-columns: minmax(0, 1fr) 220px;
        padding: 18px 0 10px;
    }
    .resume-score {
        grid-column: 1 / -1;
        min-width: 0;
    }
    .resume-workspace {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }
    .resume-form {
        position: static;
    }
    .resume-preview-area {
        min-width: 0;
    }
}
@keyframes floatDevice {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -18px; }
}
@keyframes pulseLine {
    0%, 100% { opacity: .6; transform: scaleX(.86); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); }
}
@keyframes spinChip {
    to { transform: rotateX(52deg) rotateY(334deg) rotateZ(18deg); }
}
@keyframes resumeSheetFloat {
    0%, 100% { transform: rotateX(56deg) rotateZ(-16deg) translateY(0); }
    50% { transform: rotateX(56deg) rotateZ(-11deg) translateY(-12px); }
}
@keyframes resumeSheetScan {
    0%, 45% { translate: -115% 0; }
    76%, 100% { translate: 115% 0; }
}
@keyframes resumeOrbit {
    to { transform: rotateX(64deg) rotateZ(342deg); }
}
@keyframes resumeBadgePulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.06); }
}
@keyframes resumeSpark {
    0%, 100% { opacity: .35; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.45); }
}
@keyframes orbitRing {
    to { transform: rotate(360deg); }
}
@keyframes rotateCube {
    to { transform: rotateX(360deg) rotateY(360deg); }
}
.section { padding: 86px 0; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h1, .section-heading h2, .about-grid h2, .contact-grid h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: var(--paper);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { margin: 0 0 10px; }
.service-card p, .muted { color: var(--muted); margin: 0; }
.configurator-section { background: var(--soft); }
.hidden { display: none !important; }
.configurator-shell { display: grid; gap: 24px; }
.build-picker,
.config-form, .quote-panel, .contact-form, .admin-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
}
.build-picker h3 { margin: 0 0 10px; font-size: 1.85rem; }
.build-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.build-choice {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #eef5f7);
    padding: 22px;
    text-align: left;
    color: var(--ink);
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.build-choice strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.build-choice span { display: block; color: var(--muted); }
.build-choice:hover,
.build-choice.active {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}
.build-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 84px;
    height: 70px;
    transform-style: preserve-3d;
    filter: drop-shadow(0 16px 18px rgba(15,109,122,.18));
    animation: buildIconFloat 4.8s ease-in-out infinite;
    pointer-events: none;
}
.build-icon-cctv-setup span:nth-child(1) {
    position: absolute;
    left: 12px;
    top: 22px;
    width: 52px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f6ffff, #78cfc5);
    border: 5px solid #0b2539;
    transform: rotateY(-30deg) rotateX(16deg);
}
.build-icon-cctv-setup span:nth-child(2) {
    position: absolute;
    right: 14px;
    top: 29px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: radial-gradient(circle, #d9fffa 0 22%, #0f6d7a 23% 52%, #061b2b 53%);
}
.build-icon-cctv-setup span:nth-child(3) {
    position: absolute;
    left: 22px;
    bottom: 5px;
    width: 34px;
    height: 8px;
    border-radius: 8px;
    background: #0b2539;
    transform: rotateZ(-10deg);
}
.build-icon-cctv-setup span:nth-child(4) {
    position: absolute;
    left: 6px;
    top: 10px;
    width: 70px;
    height: 50px;
    border: 1px solid rgba(15,109,122,.16);
    border-radius: 50%;
    animation: orbitRing 5s linear infinite;
}
.build-icon-laptop span:nth-child(1) {
    position: absolute;
    left: 6px;
    top: 10px;
    width: 66px;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f6ffff, #74cfc4);
    border: 6px solid #0b2539;
    transform: rotateX(56deg) rotateZ(-18deg);
}
.build-icon-laptop span:nth-child(2) {
    position: absolute;
    left: 1px;
    bottom: 8px;
    width: 82px;
    height: 15px;
    border-radius: 5px;
    background: linear-gradient(90deg, #dcecf1, #fff, #9fb8c1);
    transform: rotateX(68deg) rotateZ(-18deg);
}
.build-icon-laptop span:nth-child(3),
.build-icon-laptop span:nth-child(4) {
    position: absolute;
    height: 4px;
    border-radius: 10px;
    background: #0f6d7a;
    transform: rotateZ(-18deg);
}
.build-icon-laptop span:nth-child(3) { left: 23px; top: 28px; width: 30px; }
.build-icon-laptop span:nth-child(4) { left: 23px; top: 37px; width: 42px; }
.build-icon-desktop span:nth-child(1) {
    position: absolute;
    left: 0;
    top: 8px;
    width: 54px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #efffff, #77cfc4);
    border: 5px solid #0b2539;
    transform: rotateY(-22deg) rotateX(10deg);
}
.build-icon-desktop span:nth-child(2) {
    position: absolute;
    left: 20px;
    bottom: 9px;
    width: 24px;
    height: 8px;
    background: #0b2539;
    border-radius: 4px;
}
.build-icon-desktop span:nth-child(3) {
    position: absolute;
    right: 6px;
    top: 4px;
    width: 24px;
    height: 58px;
    border-radius: 7px;
    background: linear-gradient(180deg, #0b2539, #0f6d7a);
    transform: rotateY(-16deg);
}
.build-icon-desktop span:nth-child(4) {
    position: absolute;
    right: 13px;
    top: 14px;
    width: 10px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #b8fff1, #f2b84b);
    animation: pulseLine 2s ease-in-out infinite;
}
.configurator { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.config-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.config-head h3 { margin: 0; font-size: 1.85rem; }
label { display: grid; gap: 8px; color: #26384d; font-weight: 700; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    background: #fff;
    color: var(--ink);
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15,109,122,.12); }
[data-fields] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.customer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.quote-panel { position: sticky; top: 92px; }
.quote-panel h3 { margin: 0 0 18px; font-size: 1.55rem; }
.quote-items { display: grid; gap: 12px; margin-bottom: 22px; }
.quote-line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.quote-line span { color: var(--muted); font-size: .92rem; }
.totals { border-top: 2px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 1.35rem; color: var(--brand); }
.form-status { margin-bottom: 0; font-weight: 700; }
.about-section { background: #102232; color: #fff; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.about-grid p:last-child { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 34px; align-items: start; }
.contact-form { display: grid; gap: 16px; box-shadow: none; }
.footer { padding: 26px 0; background: #09141f; color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.76); }

.footer a:hover { color: #fff; }
.policy-hero {
    padding: 86px 0 72px;
    background:
        linear-gradient(135deg, rgba(7,24,39,.95), rgba(15,109,122,.88)),
        url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1500&q=80") center/cover;
    color: #fff;
}
.policy-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.02;
}
.policy-hero p:last-child {
    margin: 16px 0 0;
    color: rgba(255,255,255,.78);
    font-weight: 700;
}
.policy-content {
    max-width: 920px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 42px rgba(7,24,39,.08);
}
.policy-content h2 {
    margin: 30px 0 8px;
    font-size: 1.35rem;
}
.policy-content h2:first-of-type { margin-top: 18px; }
.policy-content p {
    margin: 0 0 14px;
    color: #26384d;
}

.admin-body { min-height: 100vh; background: var(--soft); }
.admin-shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: #eef5f7; }
.admin-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.admin-form .wide,
.shop-admin-form .wide { grid-column: 1 / -1; }
.admin-settings-grid {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
    gap: 18px;
    align-items: start;
}
.admin-profile-form {
    display: grid;
    gap: 14px;
}
.admin-form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.admin-logo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfd;
    color: var(--muted);
    font-weight: 800;
}
.admin-logo-preview img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: contain;
}
.admin-map-preview { min-height: 320px; margin-top: 14px; }
.admin-map-preview iframe { min-height: 320px; }
.admin-actions {
    display: grid;
    gap: 8px;
}
.shop-admin-thumb {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    display: block;
    margin-bottom: 8px;
}
.shop-image-form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}
.shop-image-form input[type="file"] {
    max-width: 220px;
}
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; font-weight: 700; }
.alert.success { background: #e8f8f0; color: #12623b; }
.alert.error { background: #fff0f1; color: var(--danger); }

@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .hero-grid, .configurator, .about-grid, .contact-grid, .info-grid, .industry-grid, .shop-hero-grid, .resume-workspace, .resume-intro, .location-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .service-grid, .customer-grid, .admin-grid, .admin-form, .admin-settings-grid, .admin-form-two, .build-picker-grid, .process-grid, .shop-grid, .resume-controls, .smart-home-track { grid-template-columns: 1fr; }
    [data-fields] { grid-template-columns: 1fr; }
    .quote-panel { position: static; }
    .config-head { flex-direction: column; }
    .hero-3d-stage { min-height: 380px; }
    .laptop-3d { width: 250px; height: 160px; left: 8%; }
    .resume-form { position: static; }
    .resume-intro, .shop-toolbar { align-items: stretch; }
    .resume-hero-graphic { order: 3; min-height: 170px; }
    .resume-score { min-width: 0; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 22px, 1160px); }
    .section { padding: 60px 0; }
    .hero { padding: 44px 0 54px; }
    .hero-actions .btn, .config-actions .btn { width: 100%; }
    .signal-grid { grid-template-columns: 1fr; }
    .brand span:last-child { max-width: 190px; line-height: 1.15; }
    .hero-3d-stage { min-height: 320px; }
    .chip-3d { width: 90px; height: 90px; }
    .camera-3d { width: 118px; height: 74px; }
    .resume-form-grid, .resume-two-col { grid-template-columns: 1fr; }
    .resume-repeatable-head { display: grid; }
    .resume-access-card,
    .resume-payment-actions { flex-direction: column; align-items: stretch; }
    .resume-step-actions { flex-direction: column-reverse; }
    .resume-step-actions .btn { width: 100%; }
    .resume-hero-graphic { min-height: 150px; }
    .resume-graphic-sheet { inset: 18px 58px 12px 16px; }
    .resume-preview header { flex-direction: column; }
    .resume-preview address { text-align: left; }
    .resume-contact-item { justify-content: flex-start; }
    .resume-preview { min-height: auto; }
}

.section {
    position: relative;
    overflow: hidden;
}
.section::before {
    content: "";
    position: absolute;
    right: -70px;
    top: 44px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(15,109,122,.16);
    background: linear-gradient(135deg, rgba(15,109,122,.08), rgba(242,184,75,.08));
    transform: rotateX(62deg) rotateZ(35deg);
    animation: floatPanel 8s ease-in-out infinite;
    pointer-events: none;
}
.service-card,
.shop-card,
.build-choice,
.process-card,
.info-list > div,
.industry-list > span {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
.service-card,
.shop-card,
.build-choice,
.process-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.service-card:hover,
.shop-card:hover,
.build-choice:hover,
.build-choice.active,
.process-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow: var(--shadow);
}
.service-card::before,
.shop-card::before,
.info-list > div::before,
.industry-list > span::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 16px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.82), rgba(36,160,143,.18)),
        linear-gradient(45deg, transparent 42%, rgba(15,109,122,.45) 43% 57%, transparent 58%);
    border: 1px solid rgba(15,109,122,.18);
    transform: rotateX(58deg) rotateZ(38deg);
    animation: miniCube 5s ease-in-out infinite;
    pointer-events: none;
}
.service-card::after,
.process-card::after,
.build-choice::after,
.shop-card::after,
.info-list > div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,.36) 49%, transparent 56% 100%);
    translate: -120% 0;
    animation: scanCard 7.5s ease-in-out infinite;
    pointer-events: none;
}
.service-card:nth-child(2n)::before,
.shop-card:nth-child(2n)::before,
.process-card:nth-child(2n)::before {
    animation-delay: .6s;
}
.service-card:nth-child(3n)::after,
.shop-card:nth-child(3n)::after,
.process-card:nth-child(3n)::after {
    animation-delay: 1.1s;
}
.contact-form,
.config-form,
.quote-panel,
.resume-form,
.resume-preview {
    position: relative;
    overflow: hidden;
}
.contact-form::before,
.config-form::before,
.quote-panel::before,
.resume-form::before,
.resume-controls::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(36,160,143,.14), transparent 68%);
    animation: softPulse 4s ease-in-out infinite;
    pointer-events: none;
}
.resume-preview {
    animation: previewLift 5s ease-in-out infinite;
}
.resume-preview::after {
    content: "";
    position: absolute;
    inset: auto 20px 20px auto;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(15,109,122,.18);
    background: linear-gradient(135deg, rgba(15,109,122,.08), rgba(242,184,75,.12));
    transform: rotateX(60deg) rotateZ(25deg);
    animation: miniCube 6s ease-in-out infinite reverse;
    pointer-events: none;
}
.reveal-3d {
    opacity: 0;
    transform: perspective(900px) translateY(34px) rotateX(8deg) scale(.98);
    transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s ease var(--reveal-delay, 0ms), box-shadow .25s ease;
    will-change: transform, opacity;
}
.reveal-3d.is-visible {
    opacity: 1;
    transform: perspective(900px) translateY(0) rotateX(0) scale(1);
}
.reveal-3d.is-visible.service-card,
.reveal-3d.is-visible.shop-card,
.reveal-3d.is-visible.build-choice,
.reveal-3d.is-visible.process-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.reveal-3d.is-visible.service-card:hover,
.reveal-3d.is-visible.shop-card:hover,
.reveal-3d.is-visible.build-choice:hover,
.reveal-3d.is-visible.build-choice.active,
.reveal-3d.is-visible.process-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

@keyframes gridDrift {
    to { background-position: 92px 46px; }
}
@keyframes floatPanel {
    0%, 100% { transform: rotateX(62deg) rotateZ(35deg) translateY(0); }
    50% { transform: rotateX(62deg) rotateZ(35deg) translateY(-18px); }
}
@keyframes miniCube {
    0%, 100% { transform: rotateX(58deg) rotateZ(38deg) translateY(0); }
    50% { transform: rotateX(58deg) rotateZ(78deg) translateY(-8px); }
}
@keyframes buildIconFloat {
    0%, 100% { transform: rotateX(8deg) rotateY(-12deg) translateY(0); }
    50% { transform: rotateX(14deg) rotateY(-26deg) translateY(-8px); }
}
@keyframes scanCard {
    0%, 58% { translate: -120% 0; }
    82%, 100% { translate: 120% 0; }
}
@keyframes softPulse {
    0%, 100% { opacity: .25; scale: .92; }
    50% { opacity: .7; scale: 1.08; }
}
@keyframes previewLift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes smartPulse {
    0%, 100% { opacity: .35; transform: scaleX(.7); }
    50% { opacity: 1; transform: scaleX(1); }
}
@keyframes smartFloat {
    0%, 100% { transform: translateY(0) rotateX(0); }
    50% { transform: translateY(-8px) rotateX(4deg); }
}
@keyframes mapFocus {
    0%, 100% { opacity: .25; transform: scale(.98); }
    50% { opacity: .75; transform: scale(1); }
}

.build-picker-grid .build-choice {
    min-height: 196px;
    padding: 28px 146px 28px 24px;
    background:
        radial-gradient(circle at 86% 22%, rgba(36,160,143,.2), transparent 24%),
        linear-gradient(180deg, #ffffff, #eef7f8);
}
.build-picker-grid .build-choice::before {
    content: "";
    position: absolute;
    right: -36px;
    top: 0;
    width: 160px;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,109,122,.13), rgba(242,184,75,.16));
    transform: skewX(-12deg);
    border: 0;
    border-radius: 0;
    animation: none;
    pointer-events: none;
}
.build-picker-grid .build-choice strong {
    position: relative;
    z-index: 2;
    max-width: 230px;
    font-size: 1.28rem;
    line-height: 1.2;
}
.build-picker-grid .build-choice > span {
    position: relative;
    z-index: 2;
    max-width: 250px;
}
.build-picker-grid .build-icon {
    right: 22px;
    top: 50%;
    width: 118px;
    height: 100px;
    translate: 0 -50%;
    z-index: 3;
    filter: drop-shadow(0 22px 22px rgba(15,109,122,.24));
}
.build-picker-grid .build-icon-cctv-setup span:nth-child(1) {
    left: 16px;
    top: 35px;
    width: 76px;
    height: 40px;
}
.build-picker-grid .build-icon-cctv-setup span:nth-child(2) {
    right: 24px;
    top: 46px;
    width: 24px;
    height: 24px;
}
.build-picker-grid .build-icon-cctv-setup span:nth-child(3) {
    left: 31px;
    bottom: 8px;
    width: 50px;
    height: 10px;
}
.build-picker-grid .build-icon-cctv-setup span:nth-child(4) {
    left: 0;
    top: 12px;
    width: 108px;
    height: 78px;
}
.build-picker-grid .build-icon-laptop span:nth-child(1) {
    left: 8px;
    top: 20px;
    width: 90px;
    height: 58px;
}
.build-picker-grid .build-icon-laptop span:nth-child(2) {
    left: 0;
    bottom: 10px;
    width: 112px;
    height: 20px;
}
.build-picker-grid .build-icon-laptop span:nth-child(3) { left: 31px; top: 39px; width: 42px; }
.build-picker-grid .build-icon-laptop span:nth-child(4) { left: 31px; top: 52px; width: 58px; }
.build-picker-grid .build-icon-desktop span:nth-child(1) {
    top: 16px;
    width: 74px;
    height: 54px;
}
.build-picker-grid .build-icon-desktop span:nth-child(2) {
    left: 26px;
    bottom: 14px;
    width: 34px;
    height: 10px;
}
.build-picker-grid .build-icon-desktop span:nth-child(3) {
    right: 6px;
    top: 7px;
    width: 34px;
    height: 80px;
}
.build-picker-grid .build-icon-desktop span:nth-child(4) {
    right: 17px;
    top: 22px;
    width: 12px;
    height: 44px;
}

@media (max-width: 900px) {
    .build-picker-grid .build-choice {
        padding-right: 132px;
    }
}

@media (max-width: 560px) {
    .build-picker-grid .build-choice {
        padding: 24px;
        min-height: 250px;
    }
    .build-picker-grid .build-icon {
        position: relative;
        right: auto;
        top: auto;
        translate: 0 0;
        margin: 0 0 18px auto;
        display: block;
    }
    .build-picker-grid .build-choice::before {
        width: 100%;
        height: 112px;
        right: 0;
        top: 0;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    .reveal-3d {
        opacity: 1;
        transform: none;
    }
}

@media print {
      @page {
        size: A4;
        margin: 0;
    }
    html,
    body.print-resume {
        width: 210mm;
        min-height: 297mm;
        margin: 0 !important;
        background: #fff !important;
    }
    body.print-resume * { visibility: hidden !important; }
    body.print-resume [data-resume-preview],
    body.print-resume [data-resume-preview] * { visibility: visible !important; }
    body.print-resume [data-resume-preview] {
        position: absolute;
        left: 0;
        top: 0;
        width: 210mm;
        min-height: 297mm;
        margin: 0 !important;
        box-shadow: none;
        border: 0;
         overflow: visible;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    body.print-resume .cursor-tracker {
        display: none !important;
    }
}
