:root {
  --bg: #eaf1ff;
  --surface: rgba(255,255,255,0.78);
  --surface-2: rgba(255,255,255,0.9);
  --line: rgba(123, 162, 239, 0.36);
  --text: #ffffff;
  --muted: #3b4f74;
  --blue: #2563eb;
  --blue-glow: rgba(37,99,235,0.45);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 1.04rem; background: radial-gradient(circle at 18% 10%, rgba(96,165,250,0.28), transparent 38%), radial-gradient(circle at 82% 88%, rgba(147,197,253,0.22), transparent 42%), linear-gradient(180deg, #f4f7ff 0%, #eaf1ff 100%); color: #17233b; line-height: 1.75; }
h1,h2,h3,h4,.brand { font-family: Poppins, Inter, sans-serif; letter-spacing: -0.02em; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; scroll-margin-top: 88px; }
.bg-glow::before,.bg-glow::after { content: ""; position: fixed; width: 36vmax; height: 36vmax; border-radius: 50%; filter: blur(70px); z-index: -1; }
.bg-glow::before { top: -15vmax; right: -10vmax; background: rgba(37,99,235,0.24); animation: drift 10s ease-in-out infinite alternate; }
.bg-glow::after { bottom: -18vmax; left: -8vmax; background: rgba(59,130,246,0.18); animation: drift 12s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateY(0) scale(1);} to { transform: translateY(30px) scale(1.08);} }
.site-loader { position: fixed; inset: 0; background: #040713; display: grid; place-content: center; gap: 18px; z-index: 1000; transition: opacity .6s ease, visibility .6s ease; }
.site-loader.done { opacity: 0; visibility: hidden; }
.loader-core { width: 60px; height: 60px; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--blue); border-radius: 50%; box-shadow: 0 0 24px var(--blue-glow); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.topbar { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(255,255,255,.74); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; position: relative; flex-wrap: wrap; row-gap: 10px; }
.nav-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.nav-quick a { color: #35527d; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-quick a:hover { color: #1d4ed8; }
body.theme-light .nav-quick a { color: #324a72; font-weight: 500; }
body.theme-light .nav-quick a:hover { color: #1d4ed8; }
.brand { color: #17233b; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand span { color: #93c5fd; }
.brand strong { color: #2563eb; font-weight: 700; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 24px rgba(37,99,235,.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: #35527d; text-decoration: none; font-weight: 500; transition: .25s; }
.main-nav a:hover { color: #1d4ed8; text-shadow: 0 0 14px rgba(37,99,235,.25); }
.main-nav a.current { color: #1d4ed8; border-bottom: 1px solid rgba(37,99,235,.45); padding-bottom: 2px; }
.menu-toggle { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { color: #93c5fd; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.2rem,5vw,4rem); line-height: 1.1; margin: 0 0 14px; }
h1 { font-size: clamp(2rem,4.8vw,3.2rem); margin: 0 0 14px; line-height: 1.15; }
.subhead { color: #30486f; max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn { padding: 12px 18px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: .25s; }
.btn-primary { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; box-shadow: 0 0 24px rgba(37,99,235,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(59,130,246,.6); }
.btn-glass { color: #1d4ed8; border-color: rgba(37,99,235,.38); background: rgba(255,255,255,.82); }
.hero-art { position: relative; min-height: 420px; }
.mockup { position: absolute; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(37,99,235,.25), rgba(15,23,42,.8)); box-shadow: 0 24px 60px rgba(2,6,23,.7), 0 0 34px rgba(37,99,235,.35) inset; }
.mockup-main { inset: 25px 40px 15px 0; }
.mockup-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: inherit; background: rgba(2, 6, 23, 0.35); }
.mockup-float { width: 180px; height: 300px; right: 0; top: 0; animation: float 5s ease-in-out infinite; }
.mockup-float img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: inherit; }
.mockup-text { position: absolute; left: 16px; bottom: 0; background: rgba(255,255,255,.82); border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; color: #1d4ed8; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-16px);} }
.narrow { max-width: 760px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0 0 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card,.testimonial,.stat,.contact-form,.phone-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(12px); }
.card { padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.6); box-shadow: 0 0 30px rgba(37,99,235,.25); }
.card p { color: #3a5278; margin: 0; }
.inline-link { display: inline-block; margin-top: 14px; color: #93c5fd; text-decoration: none; font-weight: 600; }
.inline-link:hover { color: #dbeafe; text-shadow: 0 0 14px rgba(37,99,235,.45); }
.portfolio-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 30px; align-items: center; }
.portfolio-mock { width: 100%; display: grid; place-items: center; }
.phone-card { width: min(320px,100%); padding: 18px; }
.phone-head { height: 48px; border-radius: 14px; background: linear-gradient(90deg, rgba(37,99,235,.4), rgba(148,197,253,.25)); margin-bottom: 10px; }
.phone-body { height: 440px; border-radius: 16px; background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(37,99,235,.18)); overflow: hidden; }
.phone-body img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; background: rgba(2, 6, 23, 0.35); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat { padding: 26px 16px; text-align: center; }
.stat strong { display:block; font-size: clamp(1.8rem,4vw,2.8rem); color:#93c5fd; }
.stat span { color: #3c557d; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.testimonial { margin: 0; padding: 22px; color: #233556; }
.testimonial cite { display:block; margin-top: 12px; color: #45628d; font-style: normal; }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-form { padding: 22px; display: grid; gap: 12px; }
.contact-form input,.contact-form textarea { width:100%; border:1px solid var(--line); background: rgba(255,255,255,.92); color:#17233b; border-radius: 12px; padding: 12px; font: inherit; }
.contact-form input:focus,.contact-form textarea:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.form-note { margin: 0; color: var(--muted); font-size: .95rem; min-height: 1.2em; }
.form-note-success { color: #15803d; font-weight: 600; }
.form-note-error { color: #be123c; font-weight: 600; }
.socials { display:flex; gap:10px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display:grid; place-items:center; color:#bfdbfe; border:1px solid rgba(147,197,253,.5); text-decoration:none; }
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { color: #fff; box-shadow: 0 0 14px rgba(37,99,235,.4); border-color: rgba(147,197,253,.8); }
.footer { padding: 22px 0 12px; border-top:1px solid rgba(148,163,184,.22); background: #111a30; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 12px; }
.footer h4 { margin:0 0 6px; color: #dbeafe; font-size: .82rem; }
.footer a { display:block; color: var(--muted); text-decoration:none; margin-bottom: 6px; }
.footer a:hover { color:#1d4ed8; }
.footer .social-row { display: flex; align-items: center; gap: 8px; }
.footer .social-row svg { width: 14px; height: 14px; flex-shrink: 0; }
.brand-text { font-family: Poppins, Inter, sans-serif; color: #93c5fd; font-weight: 700; margin: 0 0 4px; }
.footer p { margin: 0; color: #c8d8f4; font-size: .92rem; }
.copyright { margin-top: 10px; color: #9bb3da; font-size: .82rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.tech-section { padding-top: 24px; }
.tech-head { text-align: center; margin: 0 auto 36px; max-width: 640px; }
.tech-head .subhead { margin: 8px auto 0; color: #3a5278; }
.tech-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.tech-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; backdrop-filter: blur(12px); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tech-chip:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.6); box-shadow: 0 0 30px rgba(37,99,235,.25); }
.tech-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(37,99,235,.12), rgba(147,197,253,.18)); border: 1px solid rgba(37,99,235,.18); }
.tech-icon svg { width: 32px; height: 32px; }
.tech-name { font-family: Poppins, Inter, sans-serif; font-weight: 600; color: #17233b; font-size: .98rem; letter-spacing: -0.01em; }
@media (max-width: 980px) {
  .hero-grid,.portfolio-grid,.contact-grid { grid-template-columns: 1fr; }
  .cards,.testimonials { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tech-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .main-nav { position: absolute; top: 76px; left: 12px; right: 12px; background: rgba(5,8,22,.97); border: 1px solid var(--line); border-radius: 16px; padding: 14px; flex-direction: column; display:none; z-index: 120; box-shadow: 0 18px 40px rgba(15,26,51,.25); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: transparent; color: #dbeafe; margin-left: auto; }
  body.theme-light .main-nav { background: #ffffff; border: 1px solid rgba(214,225,247,.95); box-shadow: 0 16px 36px rgba(15,26,51,.1); }
  body.theme-light .main-nav a { color: #324a72; border-bottom: none; padding-bottom: 0; }
  body.theme-light .main-nav a.current { border-bottom: none; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; line-height: 1.72; }
  .section { padding: 72px 0; }
  .cards,.testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ===== Home page (theme-light) ===== */
body.theme-light { background: radial-gradient(circle at 12% 8%, rgba(96,165,250,0.18), transparent 40%), radial-gradient(circle at 88% 92%, rgba(147,197,253,0.14), transparent 45%), linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%); color: #0f1a33; }
body.theme-light .topbar { background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(214,225,247,.7); }
body.theme-light .main-nav a { color: #324a72; font-weight: 500; }
body.theme-light .main-nav a:hover { color: #1d4ed8; text-shadow: none; }
body.theme-light .main-nav a.current { color: #1d4ed8; border-bottom: 2px solid #1d4ed8; padding-bottom: 4px; }
body.theme-light .brand span { color: #0f1a33; }
body.theme-light .brand strong { color: #2563eb; }
body.theme-light .brand img { box-shadow: 0 6px 18px rgba(37,99,235,.18); border-radius: 8px; background: transparent; }
.section-tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-sub { color: #4a608a; margin: 6px 0 0; font-size: 1rem; }
.text-center { text-align: center; }
.accent { color: #2563eb; }

/* Hero overrides for home */
.theme-light .hero { padding-top: 56px; padding-bottom: 40px; }
.theme-light .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.theme-light .hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 800; margin: 0 0 18px; color: #0f1a33; }
.theme-light .subhead { color: #3a5278; max-width: 56ch; font-size: 1.02rem; }
.theme-light .hero-actions { margin-top: 28px; }
.theme-light .btn { padding: 13px 22px; border-radius: 12px; font-size: .98rem; gap: 8px; }
.theme-light .btn-primary { background: linear-gradient(120deg,#2563eb,#3b82f6); box-shadow: 0 10px 24px rgba(37,99,235,.32); }
.theme-light .btn-glass { background: #ffffff; color: #1d4ed8; border-color: #d6e2f7; box-shadow: 0 6px 16px rgba(15,26,51,.05); }
.theme-light .btn-glass:hover { border-color: #2563eb; color: #1d4ed8; }
.hero-logo { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1 / 1; display: grid; place-items: center; isolation: isolate; background: radial-gradient(circle at 50% 45%, #e8f0fc 0%, #eef4ff 45%, transparent 78%); }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 24px 40px rgba(37,99,235,.22)); animation: floatY 6s ease-in-out infinite; }
.hero-platform { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: 60%; height: 14px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(37,99,235,.35), transparent 70%); filter: blur(6px); }
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

/* Services grid (4 cards on home) */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.service-card { display: block; background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; padding: 26px 22px; text-align: center; text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(15,26,51,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(37,99,235,.14); border-color: #c8d8f6; }
.service-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 14px; align-items: center; justify-content: center; background: #eaf1ff; color: #2563eb; margin-bottom: 16px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.05rem; margin: 0 0 10px; color: #0f1a33; line-height: 1.3; font-weight: 700; }
.service-card p { color: #506a92; margin: 0; font-size: .94rem; line-height: 1.55; }

/* About */
.about-text { color: #3a5278; font-size: 1.02rem; max-width: 760px; margin: 14px auto 0; }

/* Featured projects */
.projects-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.projects-head h2 { margin: 0; }
.projects-all { color: #2563eb; text-decoration: none; font-weight: 600; font-size: .96rem; }
.projects-all:hover { text-decoration: underline; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.project-card { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(15,26,51,.06); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(37,99,235,.15); }
.project-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #0b1424; display: flex; align-items: center; justify-content: center; }
.project-thumb img,.project-thumb svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-thumb-mindecho { background: linear-gradient(135deg,#7c3aed,#3b82f6); padding: 22px; }
.project-thumb-mindecho img { object-fit: contain; max-height: 100%; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.project-body { padding: 20px 22px 22px; }
.project-body h3 { margin: 0 0 8px; font-size: 1.1rem; color: #0f1a33; font-weight: 700; }
.project-body p { margin: 0 0 12px; color: #506a92; font-size: .94rem; line-height: 1.55; }
.project-body .inline-link { color: #2563eb; margin-top: 4px; font-size: .94rem; }
.project-body .inline-link:hover { color: #1d4ed8; text-shadow: none; }

/* Tech stack on home */
.theme-light .tech-section { padding-top: 32px; }
.theme-light .tech-grid { grid-template-columns: repeat(8, minmax(0,1fr)); gap: 14px; }
.theme-light .tech-chip { background: #ffffff; border: 1px solid #e3ecfb; box-shadow: 0 6px 16px rgba(15,26,51,.05); padding: 18px 10px; }
.theme-light .tech-chip:hover { box-shadow: 0 14px 28px rgba(37,99,235,.14); border-color: #c8d8f6; }
.theme-light .tech-icon { background: #eaf1ff; border-color: #d6e2f7; width: 46px; height: 46px; border-radius: 12px; }
.theme-light .tech-icon svg { width: 26px; height: 26px; }
.theme-light .tech-name { font-size: .82rem; color: #314a72; }

/* CTA */
.cta-section { padding: 56px 0 80px; }
.cta-section h2 { margin: 0 0 6px; }
.btn-cta { padding: 14px 26px; gap: 10px; box-shadow: 0 12px 28px rgba(37,99,235,.32); margin-top: 22px; }
.btn-icon { font-size: 1.05rem; }

/* Light footer */
.footer-light { background: #ffffff; color: #324a72; border-top: 1px solid #e3ecfb; padding: 40px 0 16px; }
.footer-light .brand-light { color: #0f1a33; }
.footer-light .brand-light span { color: #0f1a33; }
.footer-light .brand-light strong { color: #2563eb; }
.footer-light .brand-light img { width: 38px; height: 38px; box-shadow: 0 6px 14px rgba(37,99,235,.2); }
.footer-light h4 { color: #0f1a33; font-size: .95rem; margin: 0 0 12px; font-weight: 700; }
.footer-light a { color: #506a92; margin-bottom: 8px; font-size: .92rem; }
.footer-light a:hover { color: #1d4ed8; }
.footer-light p { color: #506a92; }
.footer-tagline { margin: 8px 0 14px !important; font-size: .92rem; color: #506a92; }
.footer-grid-4 { grid-template-columns: 1.4fr .9fr .9fr 1.1fr; gap: 28px; align-items: start; }
.footer-brand { display: block; }
.footer-socials { display: flex; gap: 8px; margin-top: 10px; }
.footer-socials a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f1f5fd; color: #2563eb; margin: 0; padding: 0; }
.footer-socials a svg { width: 14px; height: 14px; }
.footer-socials a:hover { background: #2563eb; color: #ffffff; }
.footer-socials a.social-whatsapp { background: #e7f8ee; color: #16a34a; }
.footer-socials a.social-whatsapp:hover { background: #22c55e; color: #ffffff; box-shadow: 0 6px 16px rgba(34,197,94,.35); }
.footer-link { display: flex !important; align-items: center; gap: 8px; }
.link-icon { display: inline-grid; place-items: center; min-width: 18px; color: #2563eb; font-weight: 700; font-size: .92rem; }
.link-icon-wa { color: #16a34a; }
.copyright-light { color: #6a7e9f; border-top: 1px solid #eef2fa; padding-top: 14px; margin-top: 24px; text-align: center; font-size: .85rem; }
.page-404-lede { max-width: 42ch; margin: 0 auto 28px; }
.hero-actions.is-centered { justify-content: center; margin-top: 0; }

body.theme-light .menu-toggle { color: #1d4ed8; border-color: #d6e2f7; background: #ffffff; }

/* Topbar Start-a-Project button */
.nav-cta { padding: 9px 18px; font-size: .9rem; border-radius: 10px; box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,.36); }

/* Services hero */
.services-hero { padding: 56px 0 64px; }
.services-hero .container { background: linear-gradient(160deg,#eef4ff 0%, #e0ecff 100%); border-radius: 22px; padding: 44px 44px; box-shadow: 0 10px 30px rgba(37,99,235,.06); }
.services-hero .hero-grid { gap: 36px; }
.services-hero .hero-logo { max-width: 380px; }
.services-hero .hero-logo img { mix-blend-mode: multiply; }
.eyebrow-pill { display: inline-block; background: rgba(37,99,235,.1); color: #1d4ed8; font-weight: 600; font-size: .72rem; letter-spacing: .14em; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }

/* Service cards with arrow */
.services-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.service-card-arrow { position: relative; padding-bottom: 44px; text-align: left; }
.service-card-arrow .service-icon { margin-bottom: 18px; }
.service-card-arrow h3 { text-align: left; font-size: 1rem; }
.service-card-arrow p { text-align: left; }
.service-arrow { position: absolute; right: 18px; bottom: 16px; color: #2563eb; font-size: 1.1rem; line-height: 1; opacity: .7; transition: transform .25s, opacity .25s; }
.service-card-arrow:hover .service-arrow { transform: translateX(4px); opacity: 1; }

/* Process section */
.process-section { padding-bottom: 24px; }
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; position: relative; }
.process-step { position: relative; text-align: center; padding: 0 6px; }
.process-step::after { content: ""; position: absolute; top: 30px; right: -50%; width: 100%; height: 1px; border-top: 1.5px dashed #cdd9ee; z-index: 0; }
.process-step:last-child::after { display: none; }
.process-icon { position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: #eaf1ff; color: #2563eb; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(37,99,235,.08); }
.process-icon svg { width: 26px; height: 26px; }
.process-num { display: block; color: #2563eb; font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.process-step h4 { font-family: Poppins, Inter, sans-serif; margin: 0 0 8px; font-size: 1rem; color: #0f1a33; font-weight: 700; }
.process-step p { margin: 0; color: #506a92; font-size: .88rem; line-height: 1.55; }

/* CTA banner */
.cta-banner-section { padding-top: 0; }
.cta-banner { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; padding: 22px 28px; display: flex; align-items: center; gap: 22px; box-shadow: 0 10px 28px rgba(15,26,51,.06); }
.cta-banner-icon { width: 52px; height: 52px; border-radius: 50%; background: #2563eb; color: #ffffff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 8px 20px rgba(37,99,235,.32); }
.cta-banner-icon svg { width: 22px; height: 22px; }
.cta-banner-text { flex: 1; }
.cta-banner-text h3 { margin: 0 0 4px; color: #0f1a33; font-size: 1.1rem; font-weight: 700; }
.cta-banner-text p { margin: 0; color: #506a92; font-size: .94rem; }
.cta-banner-btn { padding: 11px 22px; font-size: .92rem; }

.footer-blurb { color: #506a92; font-size: .88rem; margin: 6px 0 12px !important; }

/* Underline accent for headings (e.g. "Projects" word with bar underneath) */
.accent-underline { position: relative; display: inline-block; padding-bottom: 6px; }
.accent-underline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: #2563eb; }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.filter-tab { font: inherit; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid #d6e2f7; background: #ffffff; color: #324a72; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.filter-tab:hover { border-color: #2563eb; color: #1d4ed8; }
.filter-tab.is-active { background: #2563eb; color: #ffffff; border-color: #2563eb; box-shadow: 0 6px 16px rgba(37,99,235,.28); }

/* 3-column projects grid (Projects page) */
.projects-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }

/* Project category tags */
.project-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag-mobile { background: #eaf1ff; color: #2563eb; }
.tag-web { background: #e6f7ed; color: #15803d; }
.tag-dashboard { background: #fef3c7; color: #b45309; }
.tag-ai { background: #f3e8ff; color: #7e22ce; }
.tag-branding { background: #ffe4e6; color: #be123c; }

.project-thumb-light { background: #f4f6fb !important; }

/* Filter empty message */
.filter-empty { text-align: center; color: #506a92; padding: 32px 16px; margin: 0; }
.filter-empty a { color: #2563eb; text-decoration: none; font-weight: 600; }

/* Hidden state used by filter JS */
.project-card.is-hidden { display: none; }

/* About page */
.hero-grid-about { grid-template-columns: 1.15fr .85fr; }
.about-lede { color: #3a5278; font-size: .98rem; line-height: 1.65; margin: 0 0 14px; max-width: 56ch; }
.hero-stats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; max-width: 520px; }
.hero-stat { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 14px; padding: 14px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; box-shadow: 0 6px 16px rgba(15,26,51,.05); }
.hero-stat-icon { width: 36px; height: 36px; border-radius: 10px; background: #eaf1ff; color: #2563eb; display: grid; place-items: center; }
.hero-stat-icon svg { width: 20px; height: 20px; }
.hero-stat-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-stat-text strong { font-family: Poppins, Inter, sans-serif; font-size: 1.25rem; color: #2563eb; font-weight: 700; }
.hero-stat-text span { color: #314a72; font-size: .78rem; font-weight: 500; margin-top: 4px; }

/* Mission cards */
.mission-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mission-card { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; padding: 28px 24px; text-align: center; box-shadow: 0 8px 22px rgba(15,26,51,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(37,99,235,.12); border-color: #c8d8f6; }
.mission-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #eaf1ff; color: #2563eb; align-items: center; justify-content: center; margin-bottom: 14px; }
.mission-icon svg { width: 28px; height: 28px; }
.mission-card h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 700; }
.mission-card p { color: #506a92; font-size: .94rem; margin: 0; line-height: 1.55; }

/* Why choose + Team grid */
.why-team-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.why-title,.team-title { margin: 0 0 24px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.why-title .accent-underline::after,.team-title .accent-underline::after { width: 48px; height: 3px; }
.why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 12px; align-items: flex-start; }
.why-check { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; }
.why-check svg { width: 22px; height: 22px; }
.why-item h4 { font-family: Poppins, Inter, sans-serif; margin: 0 0 4px; color: #0f1a33; font-size: 1rem; font-weight: 700; }
.why-item p { color: #506a92; font-size: .92rem; margin: 0; line-height: 1.55; }

.team-block { background: transparent; }
.team-grid { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.team-photo { background: #eaf1ff; border: 2px dashed #c8d8f6; border-radius: 16px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 220px; }
.team-photo-icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(37,99,235,.18); display: grid; place-items: center; }
.team-photo-icon svg { width: 56px; height: 56px; }
.team-photo-text { color: #324a72; font-weight: 600; text-align: center; font-size: .98rem; line-height: 1.3; }
.team-photo-img { padding: 0; margin: 0; border: 3px solid #ffffff; background: #0f1a33; overflow: hidden; min-height: 0; width: 140px; height: 140px; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 8px 22px rgba(37,99,235,.25); }
.team-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.team-photo-img:hover img { transform: scale(1.05); }
.team-info { display: flex; flex-direction: column; gap: 8px; }
.team-name { font-family: Poppins, Inter, sans-serif; margin: 0; color: #0f1a33; font-size: 1.2rem; font-weight: 700; }
.team-role { margin: 0; font-weight: 600; font-size: .98rem; }
.team-bio { margin: 4px 0 0; color: #506a92; font-size: .92rem; line-height: 1.6; }
.team-techs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.team-tech { width: 42px; height: 42px; border-radius: 10px; background: #ffffff; border: 1px solid #e3ecfb; box-shadow: 0 4px 10px rgba(15,26,51,.05); display: grid; place-items: center; transition: transform .2s, box-shadow .2s; }
.team-tech:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,99,235,.18); }
.team-tech svg { width: 24px; height: 24px; }

/* Contact page */
.contact-grid-2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
.contact-info h2,.message-card h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.contact-info-sub { margin-bottom: 22px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; background: #ffffff; border: 1px solid #e3ecfb; border-radius: 16px; padding: 18px 20px; box-shadow: 0 6px 16px rgba(15,26,51,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-info-card:hover { transform: translateY(-2px); border-color: #c8d8f6; box-shadow: 0 12px 24px rgba(37,99,235,.1); }
.contact-info-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: #eaf1ff; color: #2563eb; display: grid; place-items: center; }
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-info-text h4 { font-family: Poppins, Inter, sans-serif; margin: 0 0 4px; color: #0f1a33; font-size: 1rem; font-weight: 700; }
.contact-info-text a,.contact-info-text span { color: #506a92; text-decoration: none; font-size: .92rem; line-height: 1.5; word-break: break-word; }
.contact-info-text a:hover { color: #1d4ed8; }

.message-card { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; padding: 28px 28px; box-shadow: 0 8px 22px rgba(15,26,51,.05); }
.message-card .section-sub { margin: 0 0 20px; }
.message-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.message-form input,.message-form textarea { width: 100%; border: 1px solid #e3ecfb; background: #f7faff; color: #0f1a33; border-radius: 12px; padding: 14px 16px; font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.message-form input::placeholder,.message-form textarea::placeholder { color: #94a4c2; }
.message-form input:focus,.message-form textarea:focus { outline: none; border-color: #2563eb; background: #ffffff; box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.message-form textarea { resize: vertical; min-height: 140px; }
.btn-submit { width: 100%; padding: 14px 22px; font-size: 1rem; gap: 10px; }
.btn-submit .btn-icon svg { width: 18px; height: 18px; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; }
.btn-icon svg { width: 16px; height: 16px; }

/* Location banner with map */
.location-banner { background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; box-shadow: 0 10px 28px rgba(15,26,51,.06); display: grid; grid-template-columns: .85fr 1.4fr; overflow: hidden; }
.location-info { padding: 28px 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: #f4f8ff; }
.location-info-icon { width: 48px; height: 48px; border-radius: 50%; background: #eaf1ff; color: #2563eb; display: grid; place-items: center; margin-bottom: 4px; }
.location-info-icon svg { width: 22px; height: 22px; }
.location-info h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.location-info p { color: #506a92; margin: 0; font-size: .94rem; line-height: 1.55; max-width: 30ch; }
.btn-directions { padding: 9px 18px; font-size: .88rem; margin-top: 8px; gap: 6px; }
.location-map { position: relative; min-height: 280px; background: #f1f5fd; }
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-pin-popup { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); background: #ffffff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,26,51,.18); display: flex; flex-direction: column; gap: 2px; pointer-events: none; max-width: 200px; }
.map-pin-popup::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: #ffffff; border-bottom: 0; }
.map-pin-popup strong { font-family: Poppins, Inter, sans-serif; font-size: .9rem; color: #0f1a33; }
.map-pin-popup span { color: #506a92; font-size: .78rem; line-height: 1.4; }

/* Mini stats row (icon + numbers) */
.stats-mini-section { padding-top: 16px; }
.stats-mini { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; background: #ffffff; border: 1px solid #e3ecfb; border-radius: 18px; padding: 22px 18px; box-shadow: 0 8px 22px rgba(15,26,51,.05); }
.stats-mini-item { display: flex; align-items: center; gap: 14px; padding: 0 6px; }
.stats-mini-item + .stats-mini-item { border-left: 1px solid #eef2fa; padding-left: 18px; }
.stats-mini-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #eaf1ff; color: #2563eb; display: grid; place-items: center; }
.stats-mini-icon svg { width: 22px; height: 22px; }
.stats-mini-text { display: flex; flex-direction: column; line-height: 1.2; }
.stats-mini-text strong { font-family: Poppins, Inter, sans-serif; font-size: 1.4rem; color: #0f1a33; font-weight: 700; }
.stats-mini-label { color: #0f1a33; font-weight: 600; font-size: .92rem; margin-top: 2px; }
.stats-mini-sub { color: #6a7e9f; font-size: .78rem; margin-top: 2px; }

@media (max-width: 1100px) {
  .services-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 36px; }
  .process-step::after { display: none; }
  .services-hero .container { padding: 32px 24px; }
  .projects-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-mini { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-mini-item:nth-child(3) { border-left: none; padding-left: 6px; }
  .why-team-grid { grid-template-columns: 1fr; gap: 36px; }
  .mission-grid { grid-template-columns: 1fr; }
  .hero-grid-about { grid-template-columns: 1fr; }
  .hero-stats { max-width: 100%; }
  .contact-grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .location-banner { grid-template-columns: 1fr; }
  .location-map { min-height: 320px; }
}
@media (max-width: 700px) {
  .services-grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-text { text-align: center; }
  .services-hero .container { padding: 24px 18px; }
  .projects-grid-3 { grid-template-columns: 1fr; }
  .stats-mini { grid-template-columns: 1fr; }
  .stats-mini-item + .stats-mini-item { border-left: none; padding-left: 6px; border-top: 1px solid #eef2fa; padding-top: 14px; margin-top: 4px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 13px; font-size: .82rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: auto 1fr; gap: 16px; }
  .team-photo-img { width: 110px; height: 110px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .message-card { padding: 20px 18px; }
  .location-info { padding: 22px 20px; }
}

@media (max-width: 1100px) {
  .theme-light .tech-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .services-grid,.projects-grid { grid-template-columns: 1fr; }
  .theme-light .tech-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .projects-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid-4 { grid-template-columns: 1fr; }
  .theme-light .hero h1 { font-size: clamp(1.8rem,7vw,2.4rem); }
}
