*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #04070f;
    --bg2: #070d1a;
    --surface: #0d1525;
    --surface2: #152035;
    --border: rgba(100,160,255,0.08);
    --border2: rgba(100,160,255,0.18);
    --text: #e8f0ff;
    --text-muted: rgba(232,240,255,0.5);
    --accent: #4f8ef7;
    --accent2: #7eb3ff;
    --accent3: #a78bfa;
    --green: #34d399;
    --teal: #2dd4bf;
    --orange: #fb923c;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* NAVBAR */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 2rem; background: rgba(4,7,15,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1150px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; }
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 0.45rem 1.2rem; border-radius: 8px; font-weight: 600 !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* MOBILE MENU */
.mobile-menu { display: none; position: fixed; top: 66px; left: 0; right: 0; z-index: 99; background: var(--bg2); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem 2rem 1.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); text-decoration: none; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; font-weight: 500; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 110px 2rem 4rem; position: relative; overflow: hidden; }
.hero-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(79,142,247,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79,142,247,0.06) 1px, transparent 1px); background-size: 55px 55px; mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent); }
.hero-glow { position: absolute; top: -10%; left: 10%; width: 700px; height: 600px; background: radial-gradient(ellipse, rgba(79,142,247,0.12) 0%, transparent 60%); border-radius: 50%; }
.hero-glow2 { position: absolute; bottom: 0%; right: 5%; width: 500px; height: 400px; background: radial-gradient(ellipse, rgba(167,139,250,0.1) 0%, transparent 60%); border-radius: 50%; }
.hero-glow3 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 800px; background: radial-gradient(ellipse, rgba(45,212,191,0.04) 0%, transparent 60%); border-radius: 50%; }
.hero-inner { max-width: 1150px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 4rem; }
.hero-content { flex: 1; }
.hero-title { font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5.8rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-avatar-wrap { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.hero-avatar { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, var(--surface2), var(--surface)); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--accent2); position: relative; z-index: 1; }
.hero-ring {
    position: absolute; width: 215px; height: 215px; border-radius: 50%;
    border: 2px dashed rgba(79,142,247,0.55);
    box-shadow: 0 0 18px rgba(79,142,247,0.18), inset 0 0 18px rgba(79,142,247,0.06);
    animation: spin 20s linear infinite;
}
.hero-ring2 {
    position: absolute; width: 258px; height: 258px; border-radius: 50%;
    border: 2px dashed rgba(167,139,250,0.4);
    box-shadow: 0 0 22px rgba(167,139,250,0.14), inset 0 0 22px rgba(167,139,250,0.05);
    animation: spin 35s linear infinite reverse;
}
.hero-ring3 {
    position: absolute; width: 300px; height: 300px; border-radius: 50%;
    border: 1.5px dotted rgba(79,142,247,0.18);
    animation: spin 55s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 0.8rem 1.8rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; font-family: var(--font-body); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); color: var(--text); padding: 0.8rem 1.8rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; text-decoration: none; border: 1px solid var(--border2); cursor: pointer; transition: background 0.2s, transform 0.2s; font-family: var(--font-body); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* SECTIONS */
.section { padding: 6rem 2rem; }
.section-dark { background: var(--bg2); }
.container { max-width: 1150px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.75rem; background: rgba(79,142,247,0.08); padding: 0.3rem 1rem; border-radius: 20px; border: 1px solid rgba(79,142,247,0.2); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.section-desc { color: var(--text-muted); margin-top: 0.75rem; font-size: 1rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: border-color 0.25s, transform 0.25s; position: relative; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent3)); opacity: 0; transition: opacity 0.3s; }
.svc-card:hover { border-color: var(--border2); transform: translateY(-5px); }
.svc-card:hover::after { opacity: 1; }
.svc-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.svc-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.svc-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proj-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s; }
.proj-card:hover { border-color: var(--border2); transform: translateY(-5px); }
.proj-card.featured { border-color: rgba(79,142,247,0.25); background: linear-gradient(160deg, #0d1a35 0%, #0d1525 100%); }
.proj-emoji { font-size: 2.8rem; padding: 2rem; background: var(--surface2); text-align: center; position: relative; }
.proj-card.featured .proj-emoji { background: linear-gradient(135deg, #0d1a35, #111d40); }
.proj-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.proj-cat { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent2); background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.2); padding: 0.22rem 0.7rem; border-radius: 20px; margin-bottom: 0.85rem; }
.proj-body h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; line-height: 1.4; }
.proj-body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; flex: 1; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.tag { font-size: 0.7rem; padding: 0.25rem 0.65rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border2); border-radius: 6px; color: var(--text-muted); font-weight: 500; }
.proj-link { font-size: 0.875rem; color: var(--accent2); text-decoration: none; font-weight: 600; }
.proj-link:hover { text-decoration: underline; }
a.proj-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.proj-card-link:hover { color: inherit; }
a.proj-card-link .proj-body h3 { color: var(--text); }
a.proj-card-link .proj-body p { color: var(--text-muted); }
a.proj-card-link .tag { color: var(--text-muted); }

/* ABOUT */
.about-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 5rem; align-items: start; }
.about-left h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.about-left p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.1rem; line-height: 1.8; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.skill { font-size: 0.85rem; padding: 0.4rem 1rem; background: var(--surface); border: 1px solid var(--border2); border-radius: 20px; color: var(--text-muted); font-weight: 500; transition: all 0.2s; cursor: default; }
.skill:hover { border-color: var(--accent); color: var(--text); background: rgba(79,142,247,0.08); }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1rem; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent2); line-height: 1; margin-bottom: 0.4rem; }
.stat-lbl { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* CONTACT INFO CARDS */
.contact-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; transition: border-color 0.25s, transform 0.25s; }
.contact-info-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-info-icon { font-size: 2rem; flex-shrink: 0; }
.contact-info-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; font-weight: 600; }
.contact-info-value { display: block; font-size: 0.95rem; color: var(--text); font-weight: 600; }

/* CONTACT FORM */
.contact-form { max-width: 660px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: var(--surface2); }
.form-group textarea { resize: vertical; }
.contact-success { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.25); color: var(--green); padding: 1rem 1.25rem; border-radius: var(--radius-sm); max-width: 660px; margin: 0 auto 1.5rem; font-size: 0.9rem; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 3rem 2rem; }
.footer-inner { max-width: 1150px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--text); }
.footer-copy { align-self: flex-end; }
.footer-copy p { font-size: 0.8rem; color: rgba(232,240,255,0.2); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .about-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-right { grid-template-columns: repeat(2, 1fr); max-width: 280px; }
    .hero-inner { flex-direction: column; text-align: center; gap: 2.5rem; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-avatar-wrap { order: -1; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .hero-title { font-size: 2.8rem; }
    .section { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
    .hero { padding: 90px 1.25rem 3rem; }
    .hero-title { font-size: 2.4rem; }
    .hero-avatar { width: 130px; height: 130px; font-size: 2rem; }
    .hero-ring { width: 158px; height: 158px; }
    .hero-ring2 { width: 190px; height: 190px; }
    .hero-ring3 { width: 222px; height: 222px; }
    .section { padding: 3.5rem 1.25rem; }
    .about-right { max-width: 100%; }
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(37,211,102,0.45); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 32px rgba(37,211,102,0.65); }
.whatsapp-float-tooltip { position: absolute; right: 72px; background: #fff; color: #111; font-size: 0.8rem; font-weight: 600; white-space: nowrap; padding: 0.4rem 0.85rem; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.2); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* WHATSAPP CTA BUTTON */
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 1rem 2.2rem; border-radius: var(--radius-sm); font-size: 1.05rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; font-family: var(--font-body); box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { opacity: 0.9; transform: translateY(-3px); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* SERVICE CARD LINKS */
.svc-card-link { text-decoration: none; color: inherit; display: block; }
.svc-more { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--accent2); transition: gap 0.2s; }
.svc-card:hover .svc-more { text-decoration: underline; }

/* FOOTER EXPANDED */
.footer-inner { flex-wrap: wrap; gap: 2rem; }
.footer-services, .footer-legal { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-services a, .footer-legal a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-services a:hover, .footer-legal a:hover { color: var(--text); }
.footer-col-title { font-size: 0.7rem; font-weight: 700; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }

/* INNER PAGE HERO */
.page-hero { padding: 130px 2rem 4rem; background: var(--bg2); border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: 1150px; margin: 0 auto; }
.page-breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.page-breadcrumb a { color: var(--accent2); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; line-height: 1.8; margin-bottom: 2rem; }
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: border-color 0.25s, transform 0.25s; }
.feature-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* PROCESS STEPS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--accent); border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.process-step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, rgba(37,211,102,0.08) 0%, rgba(79,142,247,0.08) 100%); border: 1px solid rgba(37,211,102,0.2); border-radius: var(--radius); padding: 3.5rem 2rem; text-align: center; margin-top: 2rem; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 0.75rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s; }
.pricing-card.popular { border-color: var(--accent); background: linear-gradient(160deg, #0d1a35, #0d1525); position: relative; }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 1rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.pricing-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent2); margin-bottom: 0.75rem; }
.pricing-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; flex: 1; }
.pricing-features li { font-size: 0.875rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-cta { text-align: center; }

/* POLICY PAGE */
.policy-content { max-width: 820px; margin: 0 auto; }
.policy-content h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--accent2); }
.policy-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.75rem; }
.policy-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.policy-date { font-size: 0.85rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1.25rem; margin-bottom: 2rem; display: inline-block; }

/* GALLERY GRID */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { cursor: pointer; }
.gallery-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface2); }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.05); }
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: rgba(0,0,0,0); transition: background 0.3s; opacity: 0; }
.gallery-item:hover .gallery-zoom { background: rgba(0,0,0,0.4); opacity: 1; }
.gallery-caption { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-top: 0.6rem; line-height: 1.5; padding: 0 0.25rem; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.4rem; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-inner { display: flex; align-items: center; gap: 1.5rem; max-width: 90vw; }
#lb-img { max-width: 80vw; max-height: 78vh; object-fit: contain; border-radius: 8px; transition: opacity 0.2s; }
.lightbox-nav { background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 2.5rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background 0.2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-caption { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 1rem; text-align: center; max-width: 600px; }

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } .lightbox-nav { display: none; } #lb-img { max-width: 92vw; } }

/* OLD GALLERY PAGE */
.gallery-project { padding: 3rem 0; }
.gallery-project-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.gallery-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin: 0.5rem 0 0.6rem; letter-spacing: -0.02em; }
.gallery-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 680px; }
.gallery-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Gallery image */
.gallery-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; margin-bottom: 2rem; max-height: 480px; }
.gallery-img { width: 100%; max-height: 480px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-img-wrap:hover .gallery-img { transform: scale(1.02); }
.gallery-img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; font-weight: 700; transition: background 0.3s; opacity: 0; }
.gallery-img-wrap:hover .gallery-img-overlay { background: rgba(0,0,0,0.35); opacity: 1; }

/* Rating summary */
.gallery-rating-summary { text-align: center; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 2rem; }
.rating-avg { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent2); line-height: 1; margin-bottom: 0.4rem; }
.rating-stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 0.4rem; }
.star { font-size: 1.3rem; color: rgba(255,255,255,0.15); }
.star.filled { color: #fbbf24; }
.rating-count { font-size: 0.8rem; color: var(--text-muted); }

/* Comments */
.comments-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.comments-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; }
.comments-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.comment-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; }
.comment-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.comment-author { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.comment-stars { display: flex; gap: 2px; }
.comment-stars .star { font-size: 1rem; }
.comment-date { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
.comment-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.no-comments { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }

/* Comment form */
.comment-form-wrap { margin-top: 1rem; }
.comment-form-wrap summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--accent2); padding: 0.5rem 1.1rem; border: 1px solid var(--accent); border-radius: var(--radius-sm); transition: background 0.2s; }
.comment-form-wrap summary:hover { background: rgba(79,142,247,0.1); }
.comment-form-wrap summary::-webkit-details-marker { display: none; }
.comment-form-inner { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0; }
.comment-form-inner .form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
.comment-form-inner input[type=text], .comment-form-inner textarea { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.comment-form-inner input[type=text]:focus, .comment-form-inner textarea:focus { border-color: var(--accent); }

/* Star rating input */
.star-rating { display: flex; flex-direction: row-reverse; gap: 4px; }
.star-rating input[type=radio] { display: none; }
.star-rating label { font-size: 1.6rem; color: rgba(255,255,255,0.15); cursor: pointer; transition: color 0.15s; }
.star-rating label:hover, .star-rating label:hover ~ label,
.star-rating input[type=radio]:checked ~ label { color: #fbbf24; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 2rem; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }
#lightbox-img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 20px 80px rgba(0,0,0,0.7); transform: scale(0.95); transition: transform 0.3s; }
.lightbox.open #lightbox-img { transform: scale(1); }
.lightbox-title { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; text-align: center; }

/* RESPONSIVE - inner pages */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
    .footer-inner { flex-direction: column; }
}

/* PROJECT LANDING PAGE EXTRAS */
.section-alt { background: var(--surface); }
.section-sub { color: var(--text-muted); font-size: 1rem; margin-top: 0.6rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* TWO COLUMN LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col-text { }
.two-col-card { }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* INFO CARD */
.info-card { background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius); padding: 2rem; }
.info-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--accent2); }
.tech-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.tech-list li { font-size: 0.875rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.65rem; }
.tech-tag { background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.25); color: var(--accent2); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 6px; flex-shrink: 0; white-space: nowrap; }

/* FLOW STEPS */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }
.flow-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; position: relative; transition: border-color 0.25s, transform 0.25s; }
.flow-step:hover { border-color: var(--border2); transform: translateY(-4px); }
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: linear-gradient(135deg, var(--accent), var(--accent3)); border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
.flow-step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 1024px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .flow-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .flow-steps { grid-template-columns: 1fr; }
}