/* =========================================================
   Nokta Center – Frontend
   Primary #002a95 | Accent #d10d0f | Green #069754
   ========================================================= */

:root {
    --primary: #002a95;
    --primary-dark: #001f70;
    --accent: #d10d0f;
    --accent-dark: #a80a0c;
    --green: #069754;
    --dark: #0b1220;
    --dark-soft: #152038;
    --light: #f3f6fb;
    --gray: #5a6578;
    --gray-light: #e4e9f2;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 42, 149, 0.08);
    --shadow-lg: 0 22px 55px rgba(11, 18, 32, 0.14);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--dark);
    font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
    background: var(--dark);
    color: #c5cddb;
    font-size: 0.82rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 18px; }
.topbar a { color: #c5cddb; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--green); }

/* Header */
.site-header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 42, 149, 0.06);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; gap: 16px;
}
.logo img { height: 58px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
    color: var(--dark); font-weight: 600; padding: 10px 12px; border-radius: 6px;
    display: inline-flex; align-items: center; gap: 4px; font-size: 0.92rem;
    position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(0, 42, 149, 0.05); }
.main-nav a.active::after,
.main-nav a:hover::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
    background: var(--green); border-radius: 2px;
}
.main-nav a.active::after { background: var(--green); }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 260px; background: white;
    box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition);
    border-top: 3px solid var(--green); flex-direction: column !important; gap: 0 !important;
    z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { width: 100%; }
.dropdown a { width: 100%; display: block; padding: 10px 14px; font-size: 0.88rem; }
.dropdown a:hover { background: rgba(6, 151, 84, 0.08); color: var(--primary); }
.dropdown a::after { display: none !important; }

.header-cta {
    background: var(--accent); color: white !important; padding: 10px 18px; border-radius: 8px;
    display: flex; flex-direction: column; line-height: 1.1; font-weight: 700;
    box-shadow: 0 6px 20px rgba(209, 13, 15, 0.28);
}
.header-cta:hover { background: var(--accent-dark); transform: translateY(-2px); color: white !important; }
.cta-label { font-size: 0.7rem; opacity: 0.9; }
.cta-phone { font-size: 1.02rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero-slider { position: relative; height: clamp(520px, 78vh, 720px); overflow: hidden; background: var(--dark); }
.slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity 1s ease;
    display: flex; align-items: center;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide-content { position: relative; z-index: 3; color: white; padding: 0 20px; max-width: 1240px; margin: 0 auto; width: 100%; }
.slide-brand {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.slide-brand .dot { color: var(--accent); }
.slide-tag {
    display: inline-block; background: var(--accent); color: white;
    padding: 6px 14px; border-radius: 4px; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 18px; letter-spacing: 0.08em; text-transform: uppercase;
}
.slide-title { color: white; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 16px; font-weight: 600; max-width: 640px; }
.slide-title .accent { color: #7eb6ff; }
.slide-text { font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 560px; margin-bottom: 28px; opacity: 0.92; }
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 8px;
    font-weight: 700; font-size: 0.92rem; transition: var(--transition); cursor: pointer; border: none;
    letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: white !important; box-shadow: 0 10px 28px rgba(209, 13, 15, 0.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-3px); color: white !important; }
.btn-outline { background: transparent; color: white !important; border: 2px solid rgba(255,255,255,0.85); }
.btn-outline:hover { background: white; color: var(--dark) !important; }
.btn-blue { background: var(--primary); color: white !important; }
.btn-blue:hover { background: var(--primary-dark); color: white !important; }

/* Slide 1 tech scene */
.slide-1 {
    background:
        radial-gradient(ellipse at 75% 40%, rgba(0, 42, 149, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(209, 13, 15, 0.25) 0%, transparent 40%),
        linear-gradient(135deg, #060b16 0%, #0b1a3d 45%, #0a1228 100%);
}
.tech-scene {
    position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
    z-index: 1; pointer-events: none; overflow: hidden;
}
.tech-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(6, 151, 84, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 151, 84, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%);
    animation: grid-drift 32s linear infinite;
}
@keyframes grid-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(48px, 48px); }
}
.tech-orb {
    position: absolute; border-radius: 50%; filter: blur(2px);
    animation: orb-float 14s ease-in-out infinite;
}
.tech-orb.o1 {
    width: 280px; height: 280px; right: 12%; top: 18%;
    background: radial-gradient(circle, rgba(0, 42, 149, 0.55), transparent 70%);
}
.tech-orb.o2 {
    width: 180px; height: 180px; right: 35%; bottom: 18%;
    background: radial-gradient(circle, rgba(209, 13, 15, 0.35), transparent 70%);
    animation-delay: -3s;
}
.tech-orb.o3 {
    width: 120px; height: 120px; right: 22%; top: 55%;
    background: radial-gradient(circle, rgba(6, 151, 84, 0.35), transparent 70%);
    animation-delay: -5s;
}
@keyframes orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.tech-nodes { position: absolute; inset: 0; }
.tech-nodes span {
    position: absolute; width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 12px rgba(6, 151, 84, 0.8);
    animation: node-pulse 4.8s ease-in-out infinite;
}
.tech-nodes span:nth-child(1) { top: 28%; right: 28%; animation-delay: 0s; }
.tech-nodes span:nth-child(2) { top: 42%; right: 18%; animation-delay: 0.8s; background: #7eb6ff; box-shadow: 0 0 12px rgba(126,182,255,0.8); }
.tech-nodes span:nth-child(3) { top: 58%; right: 32%; animation-delay: 1.6s; }
.tech-nodes span:nth-child(4) { top: 35%; right: 42%; animation-delay: 2.4s; background: var(--accent); box-shadow: 0 0 12px rgba(209,13,15,0.7); }
.tech-nodes span:nth-child(5) { top: 68%; right: 20%; animation-delay: 3.2s; }
@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.6); opacity: 1; }
}
.tech-ring {
    position: absolute; right: 14%; top: 50%; transform: translateY(-50%);
    width: min(340px, 70%); aspect-ratio: 1;
    border: 1px solid rgba(6, 151, 84, 0.35);
    border-radius: 50%;
    animation: ring-spin 38s linear infinite;
}
.tech-ring::before, .tech-ring::after {
    content: ''; position: absolute; border-radius: 50%; border: 1px dashed rgba(126, 182, 255, 0.35);
}
.tech-ring::before { inset: 18%; animation: ring-spin 28s linear infinite reverse; }
.tech-ring::after { inset: 36%; border-style: solid; border-color: rgba(209, 13, 15, 0.3); }
@keyframes ring-spin { to { transform: translateY(-50%) rotate(360deg); } }

.slide-2, .slide-3 {
    background: #0b1220;
    overflow: hidden;
}
.slide-bg-pattern {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(120deg, rgba(11,18,32,0.92) 0%, rgba(0,42,149,0.55) 55%, rgba(209,13,15,0.35) 100%),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px);
}
.slide-2 .slide-bg-pattern {
    background:
        linear-gradient(115deg, rgba(11,18,32,0.94) 0%, rgba(0,42,149,0.7) 50%, rgba(6,151,84,0.25) 100%),
        radial-gradient(circle at 80% 30%, rgba(126,182,255,0.25), transparent 40%);
}
.slide-3 .slide-bg-pattern {
    background:
        linear-gradient(135deg, rgba(11,18,32,0.95) 0%, rgba(209,13,15,0.45) 45%, rgba(0,42,149,0.55) 100%);
}
.slide-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(11,18,32,0.75) 0%, rgba(11,18,32,0.25) 70%, transparent 100%);
    pointer-events: none;
}
.slide-2 .slide-content, .slide-3 .slide-content { position: relative; z-index: 3; }

.hero-chips {
    position: absolute; right: 5%; bottom: 70px; z-index: 3;
    display: flex; flex-direction: column; gap: 10px;
}
.hero-chip {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(6, 151, 84, 0.45);
    color: #fff; padding: 10px 16px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600;
    border-left: 3px solid var(--green);
    animation: chip-in 0.8s ease both;
}
.hero-chip:nth-child(2) { animation-delay: 0.15s; border-left-color: var(--accent); border-color: rgba(209,13,15,0.4); }
.hero-chip:nth-child(3) { animation-delay: 0.3s; border-left-color: #7eb6ff; border-color: rgba(126,182,255,0.4); }
@keyframes chip-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.slider-controls {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
}
.slider-dot {
    width: 36px; height: 4px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; border-radius: 2px;
    transition: var(--transition);
}
.slider-dot.active { background: var(--green); width: 56px; }
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: white;
    border-radius: 50%; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px); transition: var(--transition); font-size: 1.4rem;
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block; color: var(--primary); font-weight: 700; letter-spacing: 0.12em;
    font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { margin-bottom: 12px; }
.section-title::after {
    content: ''; display: block; width: 56px; height: 3px; background: var(--green);
    margin: 16px auto 0; border-radius: 2px;
}
.section-text { color: var(--gray); max-width: 700px; margin: 0 auto; }

.about-brief { background: var(--light); }
.about-brief .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-visual-card {
    background: linear-gradient(145deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: var(--radius); padding: 42px; color: white; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg); min-height: 380px;
}
.about-visual-card::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(209,13,15,0.35), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(6,151,84,0.25), transparent 40%);
}
.about-visual-card > * { position: relative; }
.about-visual-card h3 { color: #fff; margin-bottom: 10px; }
.about-visual-card p { opacity: 0.88; margin-bottom: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
    background: rgba(255,255,255,0.07); padding: 18px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}
.stat-num { font-family: 'Outfit', sans-serif; font-size: 2.2rem; color: var(--green); line-height: 1; font-weight: 800; }
.stat-lbl { font-size: 0.82rem; opacity: 0.85; margin-top: 4px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: white; border-radius: var(--radius); box-shadow: var(--shadow);
    transition: var(--transition); padding: 32px 26px; text-align: left;
    border-top: 3px solid var(--primary); border: 1px solid var(--gray-light); border-top: 3px solid var(--primary);
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--green); }
.service-icon {
    width: 72px; height: 72px; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white;
    box-shadow: 0 10px 24px rgba(0, 42, 149, 0.25);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { color: var(--gray); margin-bottom: 20px; flex: 1; font-size: 0.95rem; }
.service-card .btn { padding: 10px 18px; font-size: 0.84rem; align-self: flex-start; }

.why-us { background: var(--dark); color: white; position: relative; overflow: hidden; }
.why-us::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(0,42,149,0.45), transparent 45%),
        radial-gradient(circle at 85% 60%, rgba(6,151,84,0.15), transparent 40%);
}
.why-us h2 { color: white; }
.why-us .section-title::after { background: var(--green); }
.why-us .section-text { color: rgba(255,255,255,0.7); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.feature {
    background: rgba(255,255,255,0.04); padding: 28px 22px; border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08); transition: var(--transition);
}
.feature:hover { background: rgba(0, 42, 149, 0.35); border-color: var(--green); transform: translateY(-4px); }
.feature-ico {
    width: 54px; height: 54px; background: var(--accent); border-radius: 12px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 14px; color: white;
}
.feature h4 { color: white; margin-bottom: 8px; font-size: 1.1rem; }
.feature p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card {
    border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow);
    transition: var(--transition); display: flex; flex-direction: column; border: 1px solid var(--gray-light);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-light); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .work-cat {
    position: absolute; top: 12px; left: 12px; background: var(--primary); color: white;
    padding: 4px 12px; border-radius: 4px; font-size: 0.72rem; font-weight: 700;
}
.work-info { padding: 22px; }
.work-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.work-info p { color: var(--gray); font-size: 0.92rem; margin-bottom: 14px; }
.work-info .read-more { color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.work-info .read-more:hover { color: var(--accent); }

.references-strip { background: var(--light); }
.refs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; align-items: center;
}
.ref-item {
    background: white; padding: 22px; border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; min-height: 100px; box-shadow: 0 4px 12px rgba(0,42,149,0.04);
    transition: var(--transition); text-align: center; border: 1px solid var(--gray-light);
}
.ref-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.ref-item img { max-height: 64px; width: auto; filter: grayscale(0.25); transition: var(--transition); }
.ref-item:hover img { filter: grayscale(0); }
.ref-item .ref-name { font-weight: 700; color: var(--dark); font-size: 0.9rem; }

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #1a0a0a 100%);
    color: white; padding: 64px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(6,151,84,0.2), transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(209,13,15,0.3), transparent 35%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-text h2 { color: white; margin-bottom: 8px; }
.cta-text h2::after { display: none; }
.cta-text p { opacity: 0.92; }
.cta-banner .btn-outline { border-color: white; }
.cta-banner .btn-outline:hover { background: white; color: var(--primary) !important; }

.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 55%, var(--dark) 100%);
    color: white; padding: 78px 0 58px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(0,42,149,0.5), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(6,151,84,0.18), transparent 40%),
      linear-gradient(90deg, transparent, rgba(255,255,255,0.03) 50%, transparent);
}
.page-hero h1 { color: white; position: relative; margin-bottom: 12px; }
.page-hero p { position: relative; opacity: 0.85; max-width: 720px; margin: 0 auto; }
.breadcrumb { position: relative; margin-top: 18px; font-size: 0.9rem; }
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,0.55); margin: 0 6px; }

.content-section { padding: 70px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.prose p { margin-bottom: 14px; color: var(--dark); }
.prose ul { margin: 14px 0 14px 22px; }
.prose li { margin-bottom: 6px; color: var(--gray); }
.prose h3 { margin: 28px 0 12px; color: var(--primary); font-size: 1.35rem; }
.prose h3::after {
    content: ''; display: block; width: 36px; height: 2px; background: var(--green); margin-top: 8px;
}

.service-side {
    background: var(--light); border-radius: var(--radius); padding: 28px;
    border: 1px solid var(--gray-light); border-left: 3px solid var(--green);
    position: sticky; top: 100px;
}
.service-side h4 { margin-bottom: 14px; }
.service-side ul { list-style: none; }
.service-side li { margin-bottom: 8px; }
.service-side a { color: var(--dark); font-weight: 600; font-size: 0.92rem; display: block; padding: 8px 0; border-bottom: 1px solid var(--gray-light); }
.service-side a:hover { color: var(--primary); padding-left: 6px; }
.service-side a.active { color: var(--primary); border-bottom-color: var(--green); }

.contact-section { padding: 70px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info { background: var(--dark); color: white; padding: 40px; border-radius: var(--radius); }
.contact-info h3 { color: #fff; margin-bottom: 24px; }
.contact-info h3::after { content:''; display:block; width:40px; height:2px; background:var(--green); margin-top:10px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-info .info-icon {
    width: 44px; height: 44px; flex-shrink: 0; background: var(--primary); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.contact-info .info-content strong { display: block; margin-bottom: 4px; color: var(--green); font-size: 0.88rem; }
.contact-info a { color: white; }

.contact-form { background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--gray-light); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-control {
    width: 100%; padding: 12px 14px; border: 2px solid var(--gray-light); border-radius: 8px;
    font-family: inherit; font-size: 0.95rem; transition: var(--transition); background: white; color: var(--dark);
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #e8f8ef; color: #0d6b3d; border-left: 4px solid var(--green); }
.alert-error { background: #ffebee; color: #c62828; border-left: 4px solid var(--accent); }

.faq-section h3 { margin-bottom: 20px; }
.faq-item {
    background: white; border: 1px solid var(--gray-light); border-radius: 8px;
    padding: 0; margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item summary {
    list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--dark);
    position: relative; padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--green);
}
.faq-item[open] summary { background: var(--light); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; color: var(--gray); line-height: 1.7; }

.filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px;
}
.filter-bar a {
    padding: 8px 16px; border-radius: 999px; background: white; border: 1px solid var(--gray-light);
    color: var(--dark); font-weight: 600; font-size: 0.86rem;
}
.filter-bar a:hover, .filter-bar a.active {
    background: var(--primary); color: white; border-color: var(--primary);
}

.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 56px; background: white; padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; width: auto; }
.footer-col h4 { color: white; margin-bottom: 18px; font-size: 1.15rem; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--green); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--green); }
.contact-list strong { color: white; }
.footer-bottom { background: rgba(0,0,0,0.28); padding: 18px 0; font-size: 0.85rem; }
.footer-bottom-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; margin-left: auto; text-align: right; }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.footer-credit:hover { color: #fff; opacity: 0.92; }
.footer-credit-logo {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 14px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06);
}
.footer-credit-logo img { width: auto; height: 24px; }
.footer-credit-copy { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.footer-credit-copy strong { display: none; }
.footer-credit-copy span { font-size: 0.76rem; font-weight: 600; color: var(--accent); }

.whatsapp-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 56px; padding: 8px 18px 8px 10px;
    background: #25D366; color: #fff !important;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    animation: pulse 2.4s ease-in-out infinite;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}
.whatsapp-fab-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.whatsapp-fab-text {
    display: flex; flex-direction: column; line-height: 1.15; padding-right: 4px;
}
.whatsapp-fab-text small {
    font-size: 0.68rem; font-weight: 600; opacity: 0.9; letter-spacing: 0.04em; text-transform: uppercase;
}
.whatsapp-fab-text strong {
    font-size: 0.95rem; font-weight: 800; letter-spacing: 0.01em;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.work-detail-cover {
    border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow);
}
.work-detail-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gray-light); }

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-chips { display: none; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: white;
        padding: 80px 20px 20px; transition: right 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        overflow-y: auto; z-index: 120;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
    .main-nav a { width: 100%; padding: 14px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; border-top: none; max-height: none; }

    .topbar-left { display: none; }
    .topbar-right { font-size: 0.78rem; gap: 12px; margin: 0 auto; }

    .about-brief .grid, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom p { margin-left: 0; text-align: center; }
    .footer-credit-copy { align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }

    .tech-scene { width: 70%; opacity: 0.45; }
    .slide-content { z-index: 4; }
    section { padding: 56px 0; }
    .hero-slider { height: 560px; }
    .slider-arrow { width: 40px; height: 40px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .service-side { position: static; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .topbar-right a:nth-child(2) { display: none; }
    .logo img { height: 48px; }
    .whatsapp-fab { bottom: 16px; right: 16px; padding: 7px 14px 7px 8px; gap: 8px; min-height: 50px; }
    .whatsapp-fab-icon { width: 38px; height: 38px; }
    .whatsapp-fab-text strong { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
