:root {
    --primary: #0F2557;
    --primary-mid: #1E3A8A;
    --primary-light: #2563EB;
    --accent: #3B82F6;
    --accent-soft: #DBEAFE;
    --gold: #F59E0B;
    --bg: #FFFFFF;
    --bg-light: #F4F7FF;
    --bg-dark: #0B1F47;
    --text: #111827;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --success: #10B981;
    --error: #EF4444;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(15, 37, 87, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 37, 87, 0.15);
    --container: 1180px;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

/* Topbar */
.topbar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar-left { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar-left a { display: flex; align-items: center; gap: 0.4rem; opacity: 0.9; transition: opacity 0.2s; }
.topbar-left a:hover { opacity: 1; color: #fff; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }

.logo-mark svg { width: 42px; height: 42px; display: block; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary-mid); }
.logo-text small { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a:not(.btn) {
    padding: 0.5rem 0.85rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.2s;
}

.main-nav a:not(.btn):hover,
.main-nav a.active { color: var(--primary-light); background: var(--accent-soft); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-mid);
    border-radius: 2px;
    transition: 0.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4); }

.btn-outline {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: transparent;
}
.btn-outline:hover { background: var(--accent-soft); }

.btn-ghost {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-ghost-light {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }

.btn-white { background: #fff; color: var(--primary-mid); }
.btn-white:hover { background: var(--accent-soft); }

.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B1F47 0%, #1E3A8A 45%, #2563EB 100%);
    color: #fff;
    padding: 5rem 0 4.5rem;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59,130,246,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 40%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: auto, auto, 40px 40px, 40px 40px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    font-weight: 800;
    margin: 1rem 0;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #93C5FD, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 540px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-actions { display: flex; gap: 0.85rem; margin-top: 1.75rem; flex-wrap: wrap; }

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero-tags span {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.78rem;
    opacity: 0.85;
}

.hero-visual { position: relative; }

.hero-photo-wrap {
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.hero-photo-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255,255,255,0.95);
    color: var(--primary-mid);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.hero-photo-badge span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-photo-badge strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.hero-illustration {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    color: var(--primary-mid);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.hero-float-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.hero-float-card span { font-size: 0.78rem; color: var(--text-muted); }
.hero-float-card--1 { bottom: 10%; left: -5%; animation-delay: 0s; }
.hero-float-card--2 { top: 15%; right: -3%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Trust strip */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    margin-top: -1px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-light);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-item strong { display: block; font-size: 0.88rem; color: var(--primary-mid); }
.trust-item span { font-size: 0.75rem; color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; }
.section-light { background: var(--bg-light); }
.section-dark {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #132d5e 100%);
    color: #fff;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.6rem;
}

.section-label--light { color: #93C5FD; }

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--primary-mid);
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

/* Services grid v2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-card-v2 {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card-v2:hover .service-card-image img { transform: scale(1.06); }

.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,37,87,0.5), transparent 50%);
}

.service-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.service-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-v2:hover::before { opacity: 1; }

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-soft);
    line-height: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--primary-light);
}

.card-icon--bolt { background: #FEF3C7; color: #D97706; }
.card-icon--light { background: #FEF9C3; color: #CA8A04; }
.card-icon--camera { background: #E0E7FF; color: #4338CA; }
.card-icon--shield { background: #D1FAE5; color: #059669; }
.card-icon--fire { background: #FEE2E2; color: #DC2626; }
.card-icon--sun { background: #FFEDD5; color: #EA580C; }
.card-icon--charge { background: #DBEAFE; color: #2563EB; }

.service-icon { width: 26px; height: 26px; }

.service-card-v2 h3 {
    font-size: 1.05rem;
    color: var(--primary-mid);
    margin-bottom: 0.5rem;
}

.service-card-v2 p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s;
}

.link-arrow:hover { gap: 0.6rem; }

/* About showcase */
.about-showcase {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-photo-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.about-photo-wrap img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.about-visual-card {
    background: linear-gradient(145deg, var(--primary-mid), var(--primary-light));
    border-radius: var(--radius);
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-visual-card::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -50px; right: -50px;
}

.about-stat-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    display: grid;
    place-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-stat-ring strong {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-stat-ring span { font-size: 0.8rem; opacity: 0.8; }

.about-mini-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.about-mini-list li {
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primary-mid);
    margin-bottom: 1rem;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
}

.feature-list { list-style: none; margin-bottom: 1.75rem; }

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child { border-bottom: 0; }

.feature-icon {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-light);
    background: var(--accent-soft);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.feature-list strong { display: block; color: var(--primary-mid); margin-bottom: 0.15rem; }
.feature-list p { font-size: 0.88rem; color: var(--text-muted); }

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.process-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: background 0.3s;
}

.process-step:hover { background: rgba(255,255,255,0.1); }

.process-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
}

.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; opacity: 0.75; line-height: 1.55; }

/* Grid & Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Project cards */
.project-card { padding: 0; overflow: hidden; }

.project-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-card:hover .project-image img { transform: scale(1.06); }

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
    color: #fff;
}

.project-placeholder .service-icon { width: 40px; height: 40px; stroke: #fff; }
.project-placeholder span { font-size: 0.82rem; font-weight: 600; opacity: 0.9; max-width: 90%; }

.project-placeholder--bolt { background: linear-gradient(135deg, #D97706, #92400E); }
.project-placeholder--light { background: linear-gradient(135deg, #CA8A04, #854D0E); }
.project-placeholder--camera { background: linear-gradient(135deg, #4338CA, #312E81); }
.project-placeholder--shield { background: linear-gradient(135deg, #059669, #065F46); }
.project-placeholder--fire { background: linear-gradient(135deg, #DC2626, #991B1B); }
.project-placeholder--sun { background: linear-gradient(135deg, #EA580C, #C2410C); }
.project-placeholder--charge { background: linear-gradient(135deg, #2563EB, #1E3A8A); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 37, 87, 0.7);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 600;
    font-size: 0.92rem;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-body { padding: 1.25rem; }
.project-body h3 { margin: 0.4rem 0; font-size: 1.02rem; }
.project-body h3 a { color: var(--primary-mid); transition: color 0.2s; }
.project-body h3 a:hover { color: var(--primary-light); }
.project-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

.tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--primary-light);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label { font-size: 0.88rem; opacity: 0.85; }

/* CTA */
.cta-section { padding: 3rem 0 5rem; }

.cta-box {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-mid) 50%, var(--primary-light) 100%);
    color: #fff;
    border-radius: calc(var(--radius) + 4px);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px; right: -50px;
}

.cta-content { position: relative; max-width: 560px; }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0.5rem 0; }
.cta-content p { opacity: 0.85; line-height: 1.6; }

.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
}

.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.cta-inline h2 { font-size: 1.35rem; color: var(--primary-mid); margin-bottom: 0.25rem; }
.cta-inline p { color: var(--text-muted); }

/* Page hero */
.page-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
    color: #fff;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11,31,71,0.88) 0%, rgba(30,58,138,0.78) 100%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
}

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

.page-hero h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; }

.breadcrumb { color: rgba(255,255,255,0.7); }
.breadcrumb a { color: #93C5FD; }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* Old page-hero light styles removed */
.page-hero-light-fallback { display: none; }

.breadcrumb-old { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* Services page */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-page-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.service-page-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-page-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.service-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-page-card:hover .service-page-thumb img { transform: scale(1.05); }

.service-page-content { padding: 1.25rem 1.5rem 1.5rem; }

.service-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.service-page-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.service-page-card h3 { color: var(--primary-mid); margin-bottom: 0.4rem; }
.service-page-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.75rem; }

.service-feature-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.service-feature-image img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.service-detail-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.service-detail-head h2 {
    font-size: 1.35rem;
    color: var(--primary-mid);
    margin-top: 0.15rem;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
}

.map-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-photo img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Filter & pagination */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
}

.pagination a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}

/* Gallery detail */
.gallery-detail {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-viewer {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    cursor: zoom-in;
    border: 1px solid var(--border);
}

.gallery-viewer img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.gallery-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: none;
    cursor: pointer;
    flex: 0 0 80px;
    transition: border-color 0.2s;
}

.gallery-thumb.active { border-color: var(--primary-light); }
.gallery-thumb img { width: 80px; height: 60px; object-fit: cover; }

.project-info-box,
.sidebar-box,
.info-card,
.contact-form-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border: 1px solid var(--border);
}

.info-card--highlight {
    background: linear-gradient(145deg, var(--primary-mid), var(--primary-light));
    color: #fff;
    border: 0;
}

.info-card--highlight h3 { margin-bottom: 1rem; }
.info-card--highlight a { color: #fff; opacity: 0.9; }
.info-card--highlight a:hover { opacity: 1; }

.info-list { list-style: none; }
.info-list li { margin-bottom: 0.5rem; }

.info-list--icons li {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.info-list--icons li:last-child { border-bottom: 0; }
.info-icon { font-size: 1.25rem; flex-shrink: 0; }
.info-list--icons strong { display: block; font-size: 0.78rem; opacity: 0.75; margin-bottom: 0.1rem; }

.sidebar-check {
    list-style: none;
    margin: 1rem 0 1.25rem;
}

.sidebar-check li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sidebar-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.sidebar-phone { margin-top: 0.5rem; }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.content-body { color: var(--text); }
.content-body ul { margin: 1rem 0 1rem 1.25rem; }
.content-body li { margin-bottom: 0.35rem; color: var(--text-muted); }
.content-body p { margin-bottom: 1rem; line-height: 1.7; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

.contact-info { display: grid; gap: 1.25rem; }

.contact-form-box h3 {
    font-size: 1.25rem;
    color: var(--primary-mid);
    margin-bottom: 0.25rem;
}

.form-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.map-box iframe { width: 100%; min-height: 260px; border: 0; border-radius: var(--radius); }

.map-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.88rem; color: var(--primary-mid); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

.hp-field { display: none !important; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: grid;
    place-items: center;
    z-index: 300;
    padding: 1rem;
}

.lightbox[hidden] { display: none !important; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 8px; }

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.15);
    border: 0;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
}

.footer-cta {
    background: linear-gradient(90deg, var(--primary-light), var(--primary-mid));
    padding: 2rem 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-cta h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.25rem; }
.footer-cta p { opacity: 0.85; font-size: 0.9rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding: 3.5rem 0;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { opacity: 0.75; transition: opacity 0.2s; font-size: 0.9rem; }
.footer-col a:hover { opacity: 1; color: #fff; }

.footer-brand p { opacity: 0.7; font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.6; }
.logo--footer .logo-text strong { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    opacity: 0.65;
}

.footer-links { display: flex; gap: 1rem; }

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37,99,235,0.45);
    z-index: 90;
    transition: transform 0.2s;
}

.floating-cta:hover { transform: scale(1.08); }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay { transition-delay: 0.15s; }

.section-action { text-align: center; margin-top: 2.5rem; }
.empty-state { grid-column: 1 / -1; color: var(--text-muted); text-align: center; padding: 3rem; }

.error-page {
    text-align: center;
    min-height: 50vh;
    display: grid;
    place-items: center;
    padding: 3rem 0;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-showcase,
    .content-grid,
    .contact-grid,
    .gallery-detail,
    .cta-box { grid-template-columns: 1fr; }

    .cta-box { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .grid-3,
    .stats-grid,
    .footer-grid,
    .process-grid,
    .trust-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-float-card--1 { left: 0; }
    .hero-float-card--2 { right: 0; }
}

@media (max-width: 768px) {
    .topbar-right { display: none; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .main-nav.open { display: flex; }
    .main-nav a:not(.btn) { padding: 0.75rem 1rem; }

    .grid-2, .grid-3, .stats-grid, .footer-grid,
    .process-grid, .trust-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 3.5rem 0 3rem; }
    .section { padding: 3.5rem 0; }

    .hero-visual { order: -1; }
    .hero-float-card { display: none; }

    .services-page-grid { grid-template-columns: 1fr; }
    .cta-inline { flex-direction: column; text-align: center; }

    .floating-cta { bottom: 1rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-float-card { animation: none; }
}
