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

:root {
    --bg: #f2f3f5;
    --bg-alt: #e8eaed;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6c757d;
    --text-light: #8e9aaf;
    --border: #e8ecf1;
    --accent: #0066cc;
    --accent-hover: #0056b3;
    --accent-light: rgba(0, 102, 204, 0.08);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 6px 24px rgba(0, 0, 102, 0.10);
    --radius: 10px;
    --radius-lg: 16px;
    --navbar-height: 60px;
    --transition: 0.25s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="medium"] {
    --bg: #e2e5eb;
    --bg-alt: #d4d8e0;
    --bg-card: #f0f2f5;
    --text: #1a1a2e;
    --text-muted: #4a5a6a;
    --text-light: #7a8a9a;
    --border: #c0c5ce;
    --accent: #0066cc;
    --accent-hover: #0056b3;
    --accent-light: rgba(0, 102, 204, 0.08);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 6px 24px rgba(0, 0, 102, 0.10);
}

[data-theme="dark"] {
    --bg: #0f0f14;
    --bg-alt: #16161d;
    --bg-card: #1c1c26;
    --text: #e8e8f0;
    --text-muted: #8e8ea0;
    --text-light: #6b6b7a;
    --border: #2a2a35;
    --accent: #4d9fff;
    --accent-hover: #6db3ff;
    --accent-light: rgba(77, 159, 255, 0.10);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

[data-theme="medium"] .navbar {
    background: rgba(240, 242, 245, 0.85);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 20, 0.85);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text);
    background: var(--accent-light);
}

.nav-menu a.active {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid var(--border);
}

.nav-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

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

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
}

[data-theme="medium"] .hero-bg { opacity: 0.55; }
[data-theme="dark"] .hero-bg { opacity: 0.4; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

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

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

/* ====== SECTIONS ====== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 10px;
}

.section-title span {
    color: var(--accent);
}

.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ====== ABOUT ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 14.5px;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
}

.stat:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ====== SERVICES ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    cursor: default;
    position: relative;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.service-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
}

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ====== LED ====== */
.led-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.led-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.led-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: default;
}

.led-feature:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.led-feature i {
    font-size: 20px;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.led-feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.led-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.gallery-item--large {
    grid-column: 1 / -1;
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item--large .gallery-placeholder {
    aspect-ratio: 16/8;
}

.gallery-placeholder:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-placeholder:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 12px;
    font-weight: 600;
    color: white;
}

/* ====== CONTACT ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 14px;
}

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

.form-control {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

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

.form-control::placeholder {
    color: var(--text-light);
}

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

/* ====== FOOTER ====== */
.footer {
    background: #1a1a2e;
    color: #c8c8d4;
    padding: 60px 0 0;
}

[data-theme="medium"] .footer {
    background: #2a2a3e;
    color: #b8b8cc;
}

[data-theme="medium"] .footer .footer-brand .logo-text,
[data-theme="medium"] .footer-links h4 {
    color: #e8e8f0;
}

[data-theme="medium"] .footer .footer-brand p,
[data-theme="medium"] .footer-links a,
[data-theme="medium"] .footer-social a,
[data-theme="medium"] .footer-hours li {
    color: #a0a0b8;
}

[data-theme="medium"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="medium"] .footer-bottom p {
    color: #7a7a8e;
}

[data-theme="dark"] .footer {
    background: #0a0a10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 32px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    font-size: 13px;
    color: #9a9ab0;
    margin-top: 10px;
    max-width: 280px;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #9a9ab0;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 102, 204, 0.1);
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9a9ab0;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9a9ab0;
    padding-bottom: 8px;
    gap: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #6b6b7a;
}

/* ====== SERVICE MODAL ====== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

.modal-hero {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}

.modal-body {
    padding: 32px;
}

.modal-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.modal-feature {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.modal-feature i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.modal-feature span {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.modal-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.modal-gallery img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery img:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.modal-cta {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-cta p {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-gif {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.modal-gif-anim {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: gifPulse 4s ease-in-out infinite;
}

@keyframes gifPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.modal-gif-label {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .modal-features { grid-template-columns: 1fr; }
    .modal-gallery { grid-template-columns: 1fr; }
    .modal-body { padding: 20px; }
}

/* ====== ANIMATIONS ====== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ====== LIGHTBOX ====== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .led-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px;
        gap: 4px;
        transform: translateY(-120%);
        transition: var(--transition);
        opacity: 0;
        box-shadow: var(--shadow);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-toggle { display: flex; }
    .nav-social { margin-left: 0; padding-left: 0; border-left: none; padding: 8px 12px; gap: 6px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .hero-title { font-size: 32px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .stat-number { font-size: 24px; }
    .about-stats { gap: 8px; }
    .stat { padding: 14px 8px; }
}
