/*
Theme Name: CamService Service Theme
Theme URI: https://camservice.ge
Author: CamService
Description: Clean WordPress theme with individual Live Cam detail pages for each location, responsive layouts, and Georgian, English and Russian support.
Version: 7.3.1
*/

:root {
    --primary: #1e293b;
    --secondary: #0f172a;
    --accent: #e11d48;
    --accent-hover: #be123c;
    --green: #22c55e;
    --green-hover: #16a34a;
    --text: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.6;
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

header .logo {
    flex: 0 1 300px;
    min-width: 0;
}

header .logo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 68px;
    object-fit: cover;
    object-position: center;
}

header .header-content {
    gap: 16px;
}

header .header-right {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    header .logo {
        flex-basis: 210px;
    }
    header .logo img {
        width: 210px;
        height: 48px;
    }
}

@media (max-width: 360px) {
    header .header-content {
        gap: 8px;
    }
    header .logo img {
        height: 40px;
    }
}

header .logo span {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header-nav a:hover, .header-nav a.active {
    color: var(--white);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.header-phone-btn:hover {
    background-color: var(--green-hover);
}

.header-phone-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
}

.lang-btn {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--white);
    background-color: var(--accent);
}

.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--green);
    color: var(--white);
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
}

.mobile-call-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-call-bar {
        display: block;
    }
    .header-phone-btn {
        display: none;
    }
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #172f4e 0%, #10223b 48%, #0b1528 100%);
    color: var(--white);
    padding: 110px 0;
    text-align: center;
    border-bottom: 1px solid rgba(114, 166, 203, 0.18);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('assets/security-pattern.svg?ver=7.1.26') 0 0 / 440px 300px repeat;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.35) 65%, #000);
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.35) 65%, #000);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(11, 21, 40, 0.5), transparent 75%);
}

@media (max-width: 768px) {
    .hero::before {
        background-size: 330px 225px;
        opacity: 0.22;
    }
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-call {
    background-color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-call:hover {
    background-color: var(--green-hover);
}

.btn-call svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.services {
    padding: 60px 0 40px;
}

.section-title {
    text-align: center;
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 35px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    fill: var(--accent);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 18px;
}

.cctv-details, .network-page, .diag-page, .access-page, .livecams-page, .single-livecam-page {
    background: var(--white);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cctv-intro, .network-intro, .diag-intro, .access-intro, .livecams-intro {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 30px;
    background: var(--light-bg);
    padding: 20px;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

.livecams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.livecam-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.livecam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.livecam-thumb {
    width: 100%;
    height: 200px;
    background-color: var(--secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ef4444;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.play-button {
    width: 56px;
    height: 56px;
    background: rgba(225, 29, 72, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.2s, background 0.2s;
}

.livecam-card:hover .play-button {
    transform: scale(1.1);
    background: var(--accent);
}

.play-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 3px;
}

.livecam-info {
    padding: 20px;
    text-align: center;
}

.livecam-info h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.livecam-info p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}

.livecam-btn {
    display: inline-block;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s;
}

.livecam-btn:hover {
    background-color: var(--accent);
}

.live-stream-player {
    width: 100%;
    height: 480px;
    background-color: #000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.live-stream-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.live-stream-player .live-badge {
    top: 20px;
    left: 20px;
    font-size: 14px;
    padding: 6px 14px;
    z-index: 10;
}

.stream-overlay-msg {
    background: rgba(15, 23, 42, 0.75);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 12px;
}

.stream-overlay-msg svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.service-illustration {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 8px;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.service-illustration svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    fill: var(--accent);
}

.service-illustration h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-illustration p {
    font-size: 14px;
    color: #cbd5e1;
    max-width: 500px;
}

.price-box {
    margin: 35px 0;
}

.price-box h3, .detail-block h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.custom-table-wrapper {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.custom-table th, .custom-table td {
    padding: 14px 18px;
    text-align: left;
    border: 1px solid var(--border);
}

.custom-table th {
    background-color: var(--secondary);
    color: var(--white);
}

.custom-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

.price-notice {
    font-size: 15px;
    font-style: italic;
    color: #64748b;
    margin-top: 10px;
}

.detail-block {
    margin: 40px 0;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 25px;
}

.detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    padding: 18px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.faq-answer {
    padding: 18px 20px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.brand-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    font-weight: 700;
    color: var(--secondary);
    transition: transform 0.2s, border-color 0.2s;
}

.brand-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.step-card h4 {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 8px;
}

footer {
    background-color: var(--secondary);
    color: #94a3b8;
    text-align: center;
    padding: 25px 0;
}

footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* One line-icon family across cards and detail pages. */
.service-card .service-line-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    color: var(--primary);
    fill: none;
    stroke-width: 2;
}
.service-illustration .service-line-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    color: #e2e8f0;
    fill: none;
    stroke-width: 2;
}
.service-line-icon .icon-accent {
    stroke: var(--accent);
}

/* Fit the approved integrated-C wordmark into the header without its canvas margins. */
header .logo {
    position: relative;
    height: 68px;
    overflow: hidden;
}
header .logo img {
    transform: scale(1.35);
    transform-origin: center;
}
@media (max-width: 768px) {
    header .logo { height: 48px; }
}
@media (max-width: 360px) {
    header .logo { height: 40px; }
}

/* Approved five-category navigation */

header .container {max-width:1400px;}
header .logo {flex:0 0 230px;height:60px;}
header .logo img {width:230px;height:60px;}
header .header-content {gap:16px;}
.header-services {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:1;min-width:0;gap:8px;}
.header-services a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:82px;padding:8px 6px;border-radius:10px;color:#d8dee9;text-decoration:none;text-align:center;font-size:12px;line-height:1.45;font-weight:600;transition:background .2s,color .2s;}
.header-services svg {width:30px;height:30px;flex-shrink:0;}
.header-services .icon-accent {stroke:#f43f5e;}
.header-services a:hover,.header-services a:focus-visible {background:#1e293b;color:white;outline:1px solid #f43f5e;}
header .header-right {gap:10px;}
header .header-phone-btn {padding:8px 12px;font-size:13px;white-space:nowrap;}
@media(max-width:1100px){header .header-content{flex-wrap:wrap;justify-content:space-between;} .header-services{order:3;flex-basis:100%;} header .logo{flex-basis:230px;} }
@media(max-width:600px){header{position:relative;} .header-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;} .header-services a:last-child{grid-column:1/-1;} .header-services a{flex-direction:row;text-align:left;justify-content:flex-start;background:rgba(255,255,255,.035);min-height:64px;padding:10px;} header .header-content{gap:12px;} header .logo{flex-basis:190px;height:48px;}header .logo img{width:190px;height:48px;} }

.header-services .service-line-icon{width:30px;height:30px;margin:0;color:inherit;}
.header-services [aria-current="page"]{background:#1e293b;color:white;}

/* Completed projects, newest publication first. */
.portfolio-intro{padding:38px 0 30px;background:#101e35;color:#fff}
.portfolio-intro h1{font-size:36px;line-height:1.35;margin-bottom:14px}
.portfolio-intro p:not(.portfolio-eyebrow){color:#cbd5e1;max-width:740px}
.portfolio-eyebrow{color:#f43f5e;font-size:13px;font-weight:700;margin-bottom:12px}
.portfolio-list{padding-top:28px;padding-bottom:48px;display:grid;gap:32px}
.portfolio-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px #10203809;scroll-margin-top:130px}
.portfolio-top{display:grid;grid-template-columns:1.04fr 1fr}
.portfolio-no-cover{grid-template-columns:1fr}
.portfolio-cover-link{display:block;min-height:320px;background:#e2e8f0}
.portfolio-cover{display:block;width:100%;height:100%;max-height:440px;object-fit:cover}
.portfolio-copy{padding:30px}
.portfolio-copy h2{font-size:25px;line-height:1.5;margin:16px 0}
.portfolio-date{font-size:13px;color:#64748b}
.portfolio-description{font-size:15px;line-height:1.9;color:#475569;overflow-wrap:anywhere}
.portfolio-description img{max-width:100%;height:auto}
.portfolio-gallery{border-top:1px solid #e2e8f0;padding:22px 26px}
.portfolio-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.portfolio-gallery-heading h3{font-size:14px;margin:0}
.portfolio-gallery-heading span{color:#64748b;font-size:12px}
.portfolio-photo-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.portfolio-photo-grid img{display:block;width:100%;height:100px;object-fit:cover;border-radius:10px}
.portfolio-photo-grid a:focus-visible,.portfolio-cover-link:focus-visible{outline:3px solid #f43f5e;outline-offset:-3px}
.portfolio-source-note{color:#64748b;font-size:11px;margin-top:16px}
@media(max-width:900px){.portfolio-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portfolio-copy{padding:24px}.portfolio-copy h2{font-size:22px}}
@media(max-width:650px){.portfolio-top{grid-template-columns:1fr}.portfolio-cover-link{min-height:0}.portfolio-cover{height:auto;max-height:400px;object-fit:contain}.portfolio-intro h1{font-size:29px}.portfolio-copy{padding:22px}.portfolio-gallery{padding:20px}.portfolio-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.portfolio-photo-grid img{height:90px}.portfolio-gallery-heading{align-items:flex-start;flex-direction:column;gap:4px}}

/* Full-screen project gallery, matching the source gallery layout. */
.project-lightbox{position:fixed;inset:0;z-index:100000;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0a0e14;color:#fff;overflow:hidden;font:14px/1.5 Arial,Helvetica,sans-serif}
.project-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.project-lightbox::backdrop{background:#0a0e14}
.project-lightbox-bar{display:flex;align-items:center;gap:8px;padding:12px 16px}
.project-lightbox-counter{margin-right:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.project-lightbox-button{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;transition:background-color .15s}
.project-lightbox-button:hover,.project-lightbox-button[aria-pressed=true]{background:rgba(255,255,255,.24)}
.project-lightbox-button:focus-visible,.project-lightbox-thumb:focus-visible{outline:2px solid #fff;outline-offset:2px}
.project-lightbox-button[hidden]{display:none}
.project-lightbox-hints{display:flex;align-items:center;gap:16px;margin-right:8px;color:rgba(255,255,255,.7);font-size:14px;white-space:nowrap}
.project-lightbox-hints span{display:flex;align-items:center;gap:4px}
.project-lightbox-hints kbd{padding:2px 6px;border:1px solid rgba(255,255,255,.3);border-bottom-width:2px;border-radius:6px;background:rgba(255,255,255,.08);color:#fff;font:12px/1.5 Arial,Helvetica,sans-serif}
.project-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;padding:0 16px}
.project-lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;user-select:none;touch-action:none;transition:transform .2s;flex-shrink:1}
.project-lightbox-image.is-zoomed{cursor:grab}
.project-lightbox-image.is-dragging{cursor:grabbing;transition:none}
.project-lightbox-prev,.project-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;z-index:1}
.project-lightbox-prev{left:16px}.project-lightbox-next{right:16px}
.project-lightbox-thumbs{display:flex;justify-content:safe center;gap:8px;overflow-x:auto;padding:12px 16px 16px;scrollbar-width:none}
.project-lightbox-thumbs::-webkit-scrollbar{display:none}
.project-lightbox-thumb{flex:0 0 auto;width:64px;height:48px;overflow:hidden;padding:0;border:2px solid transparent;border-radius:8px;background:rgba(255,255,255,.08);opacity:.55;cursor:pointer;transition:opacity .15s,border-color .15s}
.project-lightbox-thumb:hover{opacity:.85}.project-lightbox-thumb[aria-current=true]{border-color:#fff;opacity:1}
.project-lightbox-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.project-lightbox-error{position:absolute;text-align:center;padding:24px}
@media(hover:none),(pointer:coarse){.project-lightbox-hints{display:none}}
@media(max-width:559px){.project-lightbox-hints span:first-child{display:none}.project-lightbox-bar{padding:10px 12px}.project-lightbox-stage{padding:0 8px}.project-lightbox-prev{left:8px}.project-lightbox-next{right:8px}}
@media(prefers-reduced-motion:reduce){.project-lightbox-image,.project-lightbox-button,.project-lightbox-thumb{transition:none}}


/* Project archive and individual post pages */
.posts-heading{background:#101e35;color:white;padding:24px 0 26px}.posts-heading h1{font-size:32px;line-height:1.4;margin:0 0 6px}.posts-heading p{font-size:14px;color:#cbd5e1}.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-top:24px;padding-bottom:32px}.project-post-card{display:flex;flex-direction:column;border:1px solid #e2e8f0;background:white;overflow:hidden;border-radius:16px;color:#162239;text-decoration:none;box-shadow:0 4px 20px #0f172a06;transition:transform .2s,box-shadow .2s}.project-post-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0f172a15}.project-post-card:focus-visible{outline:3px solid #f43f5e;outline-offset:3px}.post-image{position:relative;height:154px;overflow:hidden}.post-image img{width:100%;height:100%;object-fit:cover;display:block}.photo-count{position:absolute;right:12px;bottom:12px;background:#0f172ad9;color:white;border-radius:7px;font-size:11px;padding:4px 8px}.post-copy{padding:15px 18px 16px;display:flex;flex-direction:column;flex:1}.post-copy time{color:#64748b;font-size:11px;margin-bottom:8px}.post-copy h2{font-size:18px;line-height:1.5;margin:0 0 14px;min-height:54px}.post-more{display:flex;align-items:center;justify-content:space-between;color:#e11d48;font-size:12px;font-weight:700;margin-top:auto}.post-more span{font-size:20px;line-height:20px}.post-detail{padding-top:28px;padding-bottom:40px}.post-back{display:inline-block;color:#64748b;text-decoration:none;font-size:13px;margin-bottom:20px}.post-back:hover{color:#e11d48}.post-heading{max-width:900px;margin:0 0 24px}.post-heading h1{font-size:32px;line-height:1.5;margin-bottom:10px}.post-heading time{color:#64748b;font-size:13px}.post-article{background:white;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden}.post-detail-cover{width:100%;height:400px;object-fit:cover;display:block}.post-full-copy{padding:26px 30px;font-size:17px;line-height:1.9;color:#475569}.post-full-gallery{padding:0 30px 28px}.post-full-gallery h2{font-size:18px;margin-bottom:16px}@media(max-width:850px){.posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.posts-grid{grid-template-columns:1fr}.post-image{height:200px}.post-copy h2{min-height:0}.post-heading h1{font-size:26px}.post-detail-cover{height:auto;max-height:420px;object-fit:contain}.post-full-copy{padding:22px}.post-full-gallery{padding:0 22px 22px}}
.portfolio-copy h1{font-size:25px;line-height:1.5;margin:16px 0}.post-detail .portfolio-gallery-heading h3{font-size:14px;margin:0}.post-image-placeholder{background:#101e35;display:grid;place-items:center;color:#fff}.post-image-placeholder svg{width:64px;height:64px}.post-detail .post-back{margin-bottom:18px}@media(max-width:650px){.portfolio-copy h1{font-size:22px}}

/* Approved option 01: shared rounded outline symbols on every service surface. */
.service-line-icon,
.service-card .service-line-icon,
.service-illustration .service-line-icon {stroke-width:2.4;}
.service-card .service-line-icon {color:#13243e;}
.service-line-icon .cs-icon-body {fill:#f0f3f9;}
.service-line-icon .cs-icon-accent,
.service-line-icon .cs-icon-key,
.service-line-icon .cs-icon-lock {stroke:#ec1749;}
.service-line-icon .cs-icon-key,
.service-line-icon .cs-icon-lock {fill:#fff0f4;}
.service-line-icon .cs-icon-accent-fill,
.service-line-icon .cs-icon-badge {fill:#ec1749;stroke:#ec1749;}
.service-line-icon .cs-icon-check {stroke:#fff;}
.header-services .service-line-icon .cs-icon-body,
.service-illustration .service-line-icon .cs-icon-body {fill:#13243e;}
.header-services .service-line-icon .cs-icon-key,
.header-services .service-line-icon .cs-icon-lock,
.service-illustration .service-line-icon .cs-icon-key,
.service-illustration .service-line-icon .cs-icon-lock {fill:#13243e;}

/* Approved network service photograph layout. */

.network-photo-feature{height:auto!important;min-height:416px;display:grid!important;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:center;text-align:left!important;padding:38px!important;overflow:hidden;background:linear-gradient(130deg,#142c49,#0f1b30)!important;border:1px solid #29405e;border-radius:22px!important;box-shadow:0 14px 35px #0f172a16}
.network-photo-copy{min-width:0}.network-photo-copy .service-detail-icon{width:70px!important;height:70px!important;margin:0 0 20px!important}.network-photo-copy h4{font-size:26px!important;line-height:1.5!important;margin:0 0 17px!important;color:#fff}.network-photo-copy p{font-size:16px!important;line-height:1.9!important;margin:0!important;color:#c4d1e1!important}
.network-photo-labels{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.network-photo-labels span{border:1px solid #38526f;background:#ffffff07;color:#d9e4f2;border-radius:30px;padding:6px 12px;font-size:12px}
.network-photo-pictures{display:grid;grid-template-columns:1.7fr 1fr;gap:13px;height:340px}.network-photo-pictures figure{position:relative;margin:0;border-radius:15px;overflow:hidden;min-width:0;border:1px solid #ffffff12}.network-photo-pictures img{display:block;width:100%;height:100%;object-fit:cover}.network-photo-pictures figcaption{position:absolute;bottom:0;left:0;right:0;padding:35px 14px 14px;background:linear-gradient(transparent,#081421dc);color:#fff;font-size:12px;line-height:1.5}.network-rack-photo img{object-position:50% 50%}.network-cable-photo img{object-position:50% 50%}
@media(max-width:760px){.network-photo-feature{grid-template-columns:1fr;padding:24px!important;gap:24px}.network-photo-pictures{height:280px}.network-photo-copy h4{font-size:24px!important}}


.cctv-photo-feature .network-rack-photo img{object-position:50% 60%;}
.cctv-photo-feature .network-cable-photo img{object-position:50% 80%;}

/* Approved dome-installation photograph and Dahua product image. */
.cctv-photo-feature .network-rack-photo img{object-fit:cover;object-position:65% center;padding:0;}
.cctv-photo-feature .network-cable-photo{background:#f7f9fc;}
.cctv-photo-feature .network-cable-photo img{object-fit:contain;object-position:center;padding:14px;background:#f7f9fc;}
.cctv-photo-feature .network-photo-pictures figcaption{font-size:15px;font-weight:600;padding-top:35px;}

/* Approved diagnostics illustration: retain the complete NVR and rack scene. */
.diag-photo-feature .network-photo-pictures{grid-template-columns:1fr;height:auto;min-height:280px}
.diag-photo-feature .network-rack-photo{aspect-ratio:3/2}
.diag-photo-feature .network-rack-photo img{object-fit:cover;object-position:center}
.diag-photo-feature .network-photo-pictures figcaption{font-size:15px;font-weight:600}

/* Keep both approved door views fully visible. */
.access-photo-feature .network-photo-pictures{grid-template-columns:1fr;height:auto}
.access-photo-feature .network-rack-photo{aspect-ratio:2/1}
.access-photo-feature .network-rack-photo img{object-fit:contain;background:#e7e7e7}
.access-photo-feature .network-photo-pictures figcaption{font-size:13px;font-weight:600}
@media(max-width:760px){.access-photo-feature .network-photo-pictures figcaption{font-size:11px;padding:24px 10px 8px}}

/* Slightly larger header wordmark. */
header .logo{flex-basis:292.16px;height:76.07px}
header .logo img{width:292.16px;height:76.07px}
@media(max-width:600px){header .logo{flex-basis:231.53px;height:58.43px}header .logo img{width:231.53px;height:58.43px}}

/* About page and approved six-category navigation. */
.header-services{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:600px){.header-services{grid-template-columns:repeat(2,minmax(0,1fr))}.header-services a:last-child{grid-column:auto}}
@media(min-width:601px){.header-services a{display:grid;grid-template-rows:30px 52px;align-content:center;align-items:center;justify-items:center;gap:8px;min-height:106px;box-sizing:border-box}.header-services a>svg{width:30px;height:30px;display:block}.header-services a>span{display:flex;align-items:center;justify-content:center;height:52px;line-height:1.45}}
.about-experience{margin:36px 0 45px;color:#334155;line-height:1.8}.about-experience h2{font-size:25px;color:#13243e;margin-bottom:12px}.about-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.about-services article{padding:22px;border:1px solid #e2e8f0;border-top:3px solid #e11d48;border-radius:14px;background:#fff}.about-services h3{font-size:18px;color:#13243e;margin:0 0 10px}.about-services p{font-size:15px;margin:0}@media(max-width:760px){.about-services{grid-template-columns:1fr}}

.about-page{padding:48px 0 0}.about-page .network-photo-feature{grid-template-columns:1fr 1fr!important}.about-page .about-icon-placeholder{display:none}@media(max-width:760px){.about-page .network-photo-feature{grid-template-columns:1fr!important}}

/* Approved five real photographs on About Us. */
.about-photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:22px 0}
.about-photo-grid figure{position:relative;margin:0;overflow:hidden;border-radius:12px;background:#14263e}
.about-photo-grid img{display:block;width:100%;height:145px;object-fit:cover}
.about-photo-grid figcaption{padding:10px 12px;color:#fff;font-size:11px;line-height:1.5;min-height:42px;display:flex;align-items:center;box-sizing:content-box}
.about-photo-grid figure:first-child img{object-position:22% center}
.about-photo-grid figure:nth-child(2) img{object-position:center 30%}
.about-photo-grid figure:nth-child(3) img{object-fit:contain;background:#d5d6d7;object-position:center}
.about-photo-grid figure:nth-child(4) img{object-position:center}
.about-photo-grid figure:last-child img{object-position:55% 55%}
@media(max-width:760px){.about-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
