/* ============================================
   ALARCOM — Premium Corporate Website
   Design System & Styles
   Reference: areselektronik.com.tr style
   Colors: Alarcom Logo Blue (#2196F3)
   ============================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050505;
    --bg-card: #0a0a0a;
    --bg-alt: #111111;
    --bg-hover: #1a1a1a;
    --accent: #2196F3;
    --accent-dark: #1565C0;
    --accent-light: #64B5F6;
    --accent-glow: rgba(33,150,243,0.5);
    --accent-subtle: rgba(33,150,243,0.1);
    --accent-border: rgba(33,150,243,0.3);
    --white: #ffffff;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.05);
    --border-light: rgba(255,255,255,0.1);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-long: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--accent);
}

/* ---------- Layout ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container { padding: 0 2rem; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 20px -5px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px -5px var(--accent-glow);
}

.btn-outline {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.btn-cta {
    background: var(--accent);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-slow);
    border-top: 4px solid var(--accent);
    padding: 1rem 0;
    background: var(--bg-primary);
}

header.scrolled {
    padding: 0.6rem 0;
    background: rgba(5,5,5,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.5);
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    z-index: 50;
    flex-shrink: 0;
}

.logo img {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .logo img { height: 2.5rem; }
}

@media (min-width: 1024px) {
    .logo img { height: 2.75rem; }
}

/* Desktop Nav */
.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    margin-right: 1rem;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    padding: 0.5rem 0;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
    color: var(--accent);
}

.nav-links > li > button svg {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0.5;
    transition: transform 0.3s;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: var(--transition);
    z-index: 200;
}

li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

li:hover > button svg {
    transform: rotate(180deg);
}

.dropdown ul {
    min-width: 14rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
    overflow: hidden;
}

.dropdown ul li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: capitalize;
    letter-spacing: normal;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.dropdown ul li:last-child a {
    border-bottom: none;
}

.dropdown ul li a:hover {
    background: rgba(255,255,255,0.03);
    color: var(--accent);
}

/* Right side buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 50;
    flex-shrink: 0;
}

.header-actions .btn-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-actions .btn-cta { display: inline-flex; }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .hamburger { display: none; }
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 85%;
    max-width: 24rem;
    background: var(--bg-card);
    z-index: 160;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-header img {
    height: 2rem;
    width: auto;
}

.mobile-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.mobile-close:hover {
    color: var(--white);
}

.mobile-nav {
    padding: 0.5rem 1.5rem;
}

.mobile-nav > li > a,
.mobile-nav > li > button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
}

.mobile-nav > li > a:hover,
.mobile-nav > li > button:hover {
    color: var(--accent);
}

.mobile-nav > li > button svg {
    width: 1rem;
    height: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.mobile-nav > li > button.open svg {
    transform: rotate(180deg);
}

.mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-sub.open {
    max-height: 500px;
}

.mobile-sub ul {
    padding-left: 1rem;
    border-left: 3px solid var(--accent-border);
}

.mobile-sub ul li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: capitalize;
}

.mobile-sub ul li a:hover {
    color: var(--accent);
}

.mobile-menu-cta {
    padding: 1.5rem;
}

.mobile-menu-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.5rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 900;
    border-radius: var(--radius-md);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 13px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 500px;
    overflow: hidden;
    background: #030303;
}

/* Hero Slides */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 6s ease forwards;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-slide.active img {
    animation: kenBurns 6s ease forwards;
}

/* Hero Canvas */
#particleCanvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.35;
    pointer-events: none;
}

/* Hero Gradient Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, #050505 100%);
    z-index: 3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .hero-content { padding-bottom: 6rem; }
}

.hero-inner {
    max-width: 36rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: var(--accent-subtle);
    border: 1px solid rgba(33,150,243,0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

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

.hero-badge span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
}

@media (min-width: 640px) {
    .hero-badge span { font-size: 10px; }
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

/* Text slide animation */
.hero-text-slider {
    position: relative;
    overflow: hidden;
}

.hero-text-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-text-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description { font-size: 1.1875rem; }
}

@media (min-width: 1024px) {
    .hero-description { font-size: 1.3125rem; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 1.125rem 2.25rem;
    font-size: 14px;
}

@media (min-width: 1024px) {
    .hero-buttons .btn {
        padding: 1.25rem 3rem;
        font-size: 15px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 10;
    color: rgba(255,255,255,0.4);
    animation: bounceDown 2s infinite;
    font-size: 1.25rem;
    display: none;
}

@media (min-width: 768px) {
    .scroll-indicator { display: block; }
}

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

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 3rem 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .stats-section { padding: 4rem 0; }
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

.stat-item {
    padding: 0 1rem;
    transition: transform 0.3s;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-4px);
}

@media (min-width: 768px) {
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: var(--border);
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .stat-label { font-size: 11px; }
}

/* ============================================
   SERVICES BENTO GRID
   ============================================ */
.services-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.services-section .glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--accent-subtle);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}

.services-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .services-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 4rem;
    }
}

.services-header-text {
    max-width: 48rem;
}

.services-header h2 {
    font-size: clamp(1.875rem, 4vw, 3.5rem);
    color: var(--white);
    letter-spacing: -0.02em;
}

.services-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.services-link:hover { color: var(--accent-dark); }

@media (min-width: 768px) {
    .services-link { display: inline-flex; }
}

.services-link svg {
    width: 1rem;
    height: 1rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Service Card */
.service-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    display: block;
    transition: var(--transition-long);
    height: 280px;
}

@media (min-width: 1024px) {
    .service-card { height: 288px; }
    .service-card.tall { height: 600px; }
    .service-card.large { height: 600px; }
}

.service-card.large {
    grid-column: span 1;
    grid-row: span 1;
    height: 350px;
}

@media (min-width: 768px) {
    .service-card.large {
        grid-column: span 2;
        grid-row: span 2;
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .service-card.large { height: 600px; }
}

.service-card.tall {
    height: 350px;
}

@media (min-width: 768px) {
    .service-card.tall {
        grid-row: span 2;
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .service-card.tall {
        grid-row: span 2;
        height: 600px;
    }
}

.service-card.wide {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .service-card.wide { grid-column: span 2; }
}

/* Full width card — spans entire row */
.service-card.full {
    grid-column: 1 / -1;
    height: 260px;
}

@media (min-width: 768px) {
    .service-card.full { height: 300px; }
}

@media (min-width: 1024px) {
    .service-card.full { height: 320px; }
}

.service-card.full .service-card-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

@media (max-width: 640px) {
    .service-card.full .service-card-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.service-card.full .service-card-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, transparent 70%);
}

@media (max-width: 768px) {
    .service-card.full .service-card-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4) 50%, transparent);
    }
}

.service-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition-long);
}

.service-card:hover .service-card-img {
    transform: scale(1.1);
    opacity: 0.8;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4) 50%, transparent);
    z-index: 1;
}

.service-card-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

@media (min-width: 640px) {
    .service-card-content { padding: 2rem; }
}

@media (min-width: 1024px) {
    .service-card-content { padding: 2.5rem; }
}

.service-card-text {
    transform: translateY(0);
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .service-card-text {
        transform: translateY(1rem);
    }
    .service-card:hover .service-card-text {
        transform: translateY(0);
    }
}

.service-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
    display: none;
}

@media (min-width: 640px) {
    .service-card p { display: block; }
}

.service-card:hover p {
    opacity: 1;
}

.service-card-arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
    transition: var(--transition);
}

@media (min-width: 640px) {
    .service-card-arrow {
        width: 3rem;
        height: 3rem;
    }
}

.service-card-arrow svg {
    width: 1rem;
    height: 1rem;
    color: var(--white);
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

@media (min-width: 640px) {
    .service-card-arrow svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.service-card:hover .service-card-arrow {
    background: var(--accent);
    border-color: var(--accent);
}

.service-card:hover .service-card-arrow svg {
    transform: rotate(0);
}

/* ============================================
   MOBILE SOLAR TOWER SECTION
   ============================================ */
.tower-section {
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.tower-section .glow-bg {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(33,150,243,0.06);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

.tower-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tower-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.tower-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.tower-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

@media (min-width: 768px) {
    .tower-image img { height: 500px; }
}

.tower-image:hover img {
    transform: scale(1.03);
}

.tower-image-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(33,150,243,0.9);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.tower-image-badge i {
    font-size: 0.75rem;
}

.tower-content h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: clamp(1.875rem, 4vw, 3rem);
}

.tower-content > p {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 36rem;
}

.tower-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tower-stats { grid-template-columns: repeat(4, 1fr); }
}

.tower-stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.tower-stat i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.tower-stat-value {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--white);
    display: block;
}

.tower-stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.tower-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tower-features { grid-template-columns: repeat(2, 1fr); }
}

.tower-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tower-feature:hover {
    border-color: var(--accent-border);
    background: rgba(33,150,243,0.05);
}

.tower-feature i {
    color: var(--accent);
    font-size: 0.875rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.tower-feature span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 640px) {
    .tower-feature span { font-size: 0.875rem; }
}

.tower-usecases {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tower-usecase {
    padding: 0.375rem 0.875rem;
    background: var(--accent-subtle);
    border: 1px solid rgba(33,150,243,0.15);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    white-space: nowrap;
}

.tower-rental {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(33,150,243,0.15), rgba(33,150,243,0.05));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.tower-rental i {
    color: var(--accent);
}

.tower-rental span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
}

@media (min-width: 640px) {
    .tower-rental span { font-size: 0.875rem; }
}

.tower-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ============================================
   SECTORS SECTION
   ============================================ */
.sectors-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sectors-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.sectors-header .section-tag {
    justify-content: center;
}

.sectors-header .section-tag::before { display: none; }

.sectors-header h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.sectors-header p {
    color: var(--text-muted);
    font-weight: 500;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sectors-grid { grid-template-columns: repeat(4, 1fr); }
}

.sector-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.sector-card:hover {
    border-color: var(--accent-border);
}

.sector-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.sector-card:hover .sector-icon {
    transform: scale(1.1);
}

.sector-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.sector-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 6rem 0;
}

.process-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .process-grid {
        flex-direction: row;
        gap: 4rem;
    }
}

.process-image {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .process-image { width: 50%; }
}

.process-image-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
    .process-image-wrapper { height: 500px; border-radius: 3rem; }
}

.process-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.process-image-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
}

.process-content {
    width: 100%;
}

@media (min-width: 1024px) {
    .process-content { width: 50%; }
}

.process-content h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 2.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 900;
    color: rgba(255,255,255,0.08);
    transition: var(--transition);
    flex-shrink: 0;
    line-height: 1;
    padding-top: 0.25rem;
}

.process-step:hover .process-step-num {
    color: var(--accent);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   GALLERY MARQUEE
   ============================================ */
.gallery-section {
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header .section-tag {
    justify-content: center;
}

.gallery-header .section-tag::before { display: none; }

.gallery-header h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gallery-header p {
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto;
}

.gallery-marquee {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    padding-bottom: 1rem;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gallery-card {
    width: 280px;
    height: 200px;
    margin: 0 0.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 0.5rem;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: border-color 0.3s;
    overflow: hidden;
}

@media (min-width: 640px) {
    .gallery-card {
        width: 340px;
        height: 220px;
        margin: 0 1rem;
    }
}

@media (min-width: 1024px) {
    .gallery-card {
        width: 380px;
        height: 240px;
        margin: 0 1.25rem;
    }
}

.gallery-card:hover {
    border-color: var(--accent-border);
}

.gallery-card-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-2xl) - 0.5rem);
    overflow: hidden;
    position: relative;
}

.gallery-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card-inner img {
    transform: scale(1.05);
}

.gallery-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-card:hover .gallery-card-caption {
    opacity: 1;
}

.gallery-card-caption h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
}

/* ============================================
   PROPOSAL / CONTACT FORM SECTION
   ============================================ */
.proposal-section {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.proposal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .proposal-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.proposal-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.proposal-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.proposal-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proposal-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.proposal-contact-item i {
    font-size: 1.25rem;
    color: var(--accent);
    width: 2rem;
    text-align: center;
}

.proposal-contact-item .contact-detail {
    display: flex;
    flex-direction: column;
}

.proposal-contact-item .contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.proposal-contact-item .contact-value {
    font-weight: 600;
    color: var(--white);
}

.proposal-contact-item .contact-value a {
    color: var(--white);
}

.proposal-contact-item .contact-value a:hover {
    color: var(--accent);
}

/* Form */
.proposal-form-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

@media (min-width: 640px) {
    .proposal-form-card { padding: 2.5rem; }
}

.proposal-form-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.proposal-form-card > p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: var(--transition);
    outline: none;
}

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

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control option {
    background: var(--bg-alt);
    color: var(--white);
}

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

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #030303;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--accent-border), transparent) 1;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-about .logo {
    margin-bottom: 0.5rem;
}

.footer-about .logo img {
    height: 2rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--accent);
    width: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: var(--text-muted);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ============================================
   WHATSAPP WIDGET
   ============================================ */
.whatsapp-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-widget::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.3);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    z-index: 89;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ============================================
   MAIN CONTENT (Sub-pages)
   ============================================ */
main {
    padding-top: 4.5rem;
}

@media (min-width: 768px) {
    main { padding-top: 5rem; }
}

/* ============================================
   PAGE BANNER (Sub-pages)
   ============================================ */
.page-banner {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    padding: 6rem 0 3rem;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.6), var(--bg-primary));
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 36rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent-border);
}

.value-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */
.service-detail-section {
    padding: 4rem 0 5rem;
}

.service-detail {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .service-detail-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.service-detail-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-detail-text h2 i {
    color: var(--accent);
}

.service-detail-text > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .detail-features { grid-template-columns: repeat(2, 1fr); }
}

.detail-feature {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.detail-feature h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.detail-feature p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.tech-tag {
    padding: 0.375rem 0.75rem;
    background: var(--accent-subtle);
    border: 1px solid rgba(33,150,243,0.15);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
}

.service-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 300px;
}

@media (min-width: 1024px) {
    .service-detail-image { height: 400px; }
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   REFERENCES PAGE - GALLERY
   ============================================ */
.ref-section {
    padding: 4rem 0 5rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--border-light);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.ref-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.ref-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

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

.ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ref-item:hover img {
    transform: scale(1.08);
}

.ref-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.ref-item:hover .ref-item-overlay {
    opacity: 1;
}

.ref-item-overlay h4 {
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
}

.ref-item-overlay p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 4rem 0 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.contact-card p, .contact-card a {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9375rem;
}

.contact-card a:hover {
    color: var(--accent);
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) brightness(0.6);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header, footer, .whatsapp-widget, .back-to-top, #particleCanvas { display: none !important; }
    body { background: white; color: black; }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ============================================ */

/* --- Touch Device: hover fallbacks --- */
@media (hover: none) {
    .service-card p {
        display: block;
        opacity: 0.8;
    }
    .service-card-arrow {
        background: var(--accent);
        border-color: var(--accent);
    }
    .service-card-arrow svg {
        transform: rotate(0);
    }
    .ref-item-overlay {
        opacity: 1;
    }
    .gallery-card-caption {
        opacity: 1;
    }
}

/* --- Max 480px: Very small phones --- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Header */
    header {
        padding: 0.75rem 0;
        border-top-width: 3px;
    }
    header.scrolled {
        padding: 0.5rem 0;
    }
    .logo img {
        height: 1.875rem;
    }

    /* Hero */
    .hero {
        min-height: 85svh;
    }
    .hero-content {
        padding-bottom: 3.5rem;
    }
    .hero-title {
        font-size: 1.625rem;
        line-height: 1.15;
    }
    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    .hero-badge {
        margin-bottom: 0.75rem;
    }
    .hero-badge span {
        font-size: 8px;
        letter-spacing: 0.15em;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 12px;
    }
    .hero-dots {
        bottom: 1rem;
    }
    .hero-dot {
        width: 6px;
        height: 6px;
    }

    /* Stats */
    .stats-section {
        padding: 2rem 0;
    }
    .stats-grid {
        gap: 1.25rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    /* Services */
    .services-section {
        padding: 3rem 0 4rem;
    }
    .services-header {
        margin-bottom: 2rem;
    }
    .services-header h2 {
        font-size: 1.5rem;
    }
    .service-card {
        height: 220px;
        border-radius: var(--radius-xl);
    }
    .service-card.large,
    .service-card.tall {
        height: 260px;
    }
    .service-card h3 {
        font-size: 1.125rem;
    }
    .service-card-content {
        padding: 1.25rem;
    }

    /* Sectors */
    .sectors-section {
        padding: 3rem 0;
    }
    .sectors-header {
        margin-bottom: 2.5rem;
    }
    .sectors-header h2 {
        font-size: 1.5rem;
    }
    .sector-card {
        padding: 1.5rem;
        border-radius: var(--radius-xl);
    }
    .sector-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .sector-card h3 {
        font-size: 1.1rem;
    }

    /* Process */
    .process-section {
        padding: 3.5rem 0;
    }
    .process-image-wrapper {
        height: 260px;
        border-radius: var(--radius-xl);
    }
    .process-image-text {
        font-size: 1.125rem;
        bottom: 1.25rem;
        left: 1.25rem;
        right: 1.25rem;
    }
    .process-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
    }
    .process-steps {
        gap: 1.25rem;
    }
    .process-step {
        gap: 1rem;
    }
    .process-step-num {
        font-size: 1.25rem;
    }
    .process-step h4 {
        font-size: 1rem;
    }
    .process-step p {
        font-size: 0.8125rem;
    }

    /* Gallery Marquee */
    .gallery-section {
        padding: 3rem 0 2.5rem;
    }
    .gallery-header {
        margin-bottom: 2rem;
    }
    .gallery-header h2 {
        font-size: 1.5rem;
    }
    .gallery-header p {
        font-size: 0.8125rem;
    }
    .gallery-card {
        width: 230px;
        height: 160px;
        margin: 0 0.5rem;
        border-radius: var(--radius-xl);
    }

    /* Proposal / Form */
    .proposal-section {
        padding: 3rem 0;
    }
    .proposal-info h2 {
        font-size: 1.5rem;
    }
    .proposal-form-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    .proposal-form-card h3 {
        font-size: 1.25rem;
    }
    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1rem;
    }
    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .footer-col h3 {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    .footer-bottom {
        gap: 0.75rem;
    }
    .footer-bottom p {
        font-size: 0.6875rem;
    }

    /* Page Banner */
    .page-banner {
        min-height: 35vh;
        padding: 5rem 0 2rem;
    }
    .page-banner h1 {
        font-size: 1.75rem;
    }
    .page-banner p {
        font-size: 0.8125rem;
    }

    /* About */
    .about-section {
        padding: 3rem 0;
    }
    .about-text h2 {
        font-size: 1.5rem;
    }
    .about-text p {
        font-size: 0.8125rem;
    }
    .about-image img {
        height: 280px;
    }
    .values-grid {
        padding: 2.5rem 0;
        gap: 1rem;
    }
    .value-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    .value-card i {
        font-size: 1.5rem;
    }
    .value-card h3 {
        font-size: 1.1rem;
    }

    /* Services Detail */
    .service-detail-section {
        padding: 2rem 0 3rem;
    }
    .service-detail {
        padding: 2rem 0;
    }
    .service-detail-text h2 {
        font-size: 1.375rem;
    }
    .service-detail-text > p {
        font-size: 0.8125rem;
    }
    .detail-feature {
        padding: 1rem;
    }
    .detail-feature h4 {
        font-size: 0.875rem;
    }
    .detail-feature p {
        font-size: 0.75rem;
    }
    .tech-tag {
        font-size: 10px;
        padding: 0.25rem 0.5rem;
    }
    .service-detail-image {
        height: 220px;
        border-radius: var(--radius-lg);
    }

    /* References */
    .ref-section {
        padding: 2.5rem 0 3rem;
    }
    .filter-bar {
        gap: 0.375rem;
        margin-bottom: 1.5rem;
    }
    .filter-btn {
        padding: 0.375rem 0.875rem;
        font-size: 11px;
    }
    .ref-gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.75rem;
    }

    /* Contact */
    .contact-section {
        padding: 2.5rem 0 3rem;
    }
    .contact-info h2 {
        font-size: 1.5rem;
    }
    .contact-card {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .contact-card-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    .map-container {
        height: 220px;
        border-radius: var(--radius-lg);
    }

    /* Widgets */
    .whatsapp-widget {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        bottom: 1rem;
        right: 1rem;
    }
    .back-to-top {
        width: 2.25rem;
        height: 2.25rem;
        bottom: 4.5rem;
        right: 1rem;
        font-size: 0.75rem;
    }

    /* Mobile Menu */
    .mobile-menu {
        width: 90%;
        max-width: 22rem;
    }
    .mobile-menu-header {
        padding: 1.25rem;
    }
    .mobile-nav {
        padding: 0.5rem 1.25rem;
    }
    .mobile-nav > li > a,
    .mobile-nav > li > button {
        padding: 0.875rem 0;
        font-size: 13px;
    }

    /* Section tags */
    .section-tag {
        font-size: 10px;
        letter-spacing: 0.2em;
    }
    .section-tag::before {
        width: 1.5rem;
    }
}

/* --- Max 375px: iPhone SE / very narrow --- */
@media (max-width: 375px) {
    .container {
        padding: 0 0.875rem;
    }
    .hero-title {
        font-size: 1.375rem;
    }
    .hero-description {
        font-size: 0.6875rem;
    }
    .service-card {
        height: 200px;
    }
    .service-card.large,
    .service-card.tall {
        height: 240px;
    }
    .gallery-card {
        width: 200px;
        height: 140px;
    }
    .stat-number {
        font-size: 1.375rem;
    }
    .stat-label {
        font-size: 8px;
    }
    .process-image-wrapper {
        height: 220px;
    }
    .ref-gallery {
        grid-template-columns: 1fr;
    }
    .footer-bottom p {
        font-size: 0.625rem;
        line-height: 1.5;
    }
}

/* --- 481px to 767px: Large phones / small tablets --- */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .service-card {
        height: 240px;
    }
    .service-card.large,
    .service-card.tall {
        height: 300px;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ref-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .detail-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 768px to 1023px: Tablets --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .services-section {
        padding: 4rem 0 5rem;
    }
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        gap: 2.5rem;
    }
    .process-image-wrapper {
        height: 380px;
    }
    .proposal-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-image {
        height: 350px;
    }
}

/* --- Landscape phones --- */
@media (max-width: 812px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
    }
    .hero-content {
        padding-bottom: 2rem;
        justify-content: center;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    .hero-buttons {
        flex-direction: row;
    }
    .hero-dots {
        bottom: 0.75rem;
    }
    .page-banner {
        min-height: 50vh;
    }
}

/* --- Safe area (notch phones) --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .whatsapp-widget {
        bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
    .back-to-top {
        bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
    footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
    .mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* --- Ensure no horizontal overflow --- */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

section, .container, .bento-grid, .stats-grid,
.sectors-grid, .process-grid, .footer-grid,
.proposal-grid, .contact-grid, .ref-gallery,
.values-grid, .detail-features, .filter-bar {
    max-width: 100%;
}

img, video, iframe, canvas {
    max-width: 100%;
}
