:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --text: #0b1220;
  --muted: #5b6475;
  --border: #e5e7ef;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent: #9333ea;
  --dark: #0b1020;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 50px rgba(30, 27, 75, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .h2, .h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .45); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.pt-0 { padding-top: 0 !important; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 720px; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); background: rgba(79, 70, 229, .08); padding: 6px 12px; border-radius: 999px; margin-bottom: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; line-height: 1.2; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary, .btn-accent { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .3); }
.btn-primary:hover, .btn-accent:hover { box-shadow: 0 10px 26px rgba(79, 70, 229, .4); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #c7cbe0; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); }
.btn-danger { background: #fff; color: #b91c1c; border-color: #fecaca; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 1rem; }
.center-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(229, 231, 239, .7); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { display: inline-flex; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 72px 0 64px; background:
  radial-gradient(900px 400px at 85% -10%, rgba(147, 51, 234, .14), transparent 60%),
  radial-gradient(700px 400px at -10% 20%, rgba(79, 70, 229, .12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { background: linear-gradient(120deg, var(--text) 30%, var(--primary) 70%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 18px; height: 18px; color: #10b981; }
.hero-visual { position: relative; min-height: 420px; }
.hero-card { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--border); }
.hero-card .mockup, .hero-card img { display: block; width: 100%; height: auto; }
.hc-1 { width: 78%; top: 0; right: 0; transform: rotate(2deg); }
.hc-2 { width: 70%; bottom: 0; left: 0; transform: rotate(-3deg); }
.hero-badge { position: absolute; left: 52%; top: 46%; display: flex; gap: 10px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); animation: float 4s ease-in-out infinite; color: var(--text); }
.hero-badge:hover { text-decoration: none; }
.hero-badge .icon { color: var(--primary); width: 28px; height: 28px; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* stats */
.stats-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }

/* sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.row-head p { margin: 8px 0 0; }
.page-hero { padding: 72px 0 56px; background: radial-gradient(800px 300px at 90% 0%, rgba(147, 51, 234, .1), transparent 60%), radial-gradient(700px 300px at 0% 30%, rgba(79, 70, 229, .08), transparent 60%); }
.page-hero h1 { max-width: 880px; }
.page-hero:not(.page-hero-dark) + .section.pt-0 { padding-top: 24px !important; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }

/* cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3:last-child, .card p:last-child { margin-bottom: 0; }
.card-accent { background: linear-gradient(135deg, rgba(79, 70, 229, .06), rgba(147, 51, 234, .06)); border-color: rgba(79, 70, 229, .2); }
.card-ink { color: #fff; border: 0; background: radial-gradient(400px 200px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, #4338ca, #7e22ce); }
.card-ink h2 { color: #fff; }
.card-ink p { color: rgba(255, 255, 255, .85); }
.card-ink .btn-accent { background: #fff; color: var(--primary-dark); }

.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.services-grid .service-card { flex: 1 1 300px; max-width: 370px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79, 70, 229, .3); }
.service-card p { color: var(--muted); flex: 1; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(147, 51, 234, .12)); color: var(--primary); margin-bottom: 18px; }
.service-icon .icon { width: 26px; height: 26px; }
.service-icon.lg { width: 64px; height: 64px; border-radius: 18px; }
.service-icon.lg .icon { width: 32px; height: 32px; }
.service-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.service-foot strong { color: var(--text); }
.service-foot .icon { width: 20px; height: 20px; color: var(--primary); transition: transform .2s; }
.service-card:hover .service-foot .icon, .project-card:hover .link-arrow .icon, .feature-project:hover .link-arrow .icon { transform: translateX(4px); }

.service-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.detail-cards { display: grid; gap: 20px; }
.price-line { color: var(--muted); }
.price-line strong { color: var(--text); font-size: 1.15rem; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; width: 20px; height: 20px; color: #10b981; margin-top: 3px; }
.pill-list, .tech-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: var(--bg-soft); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.tech-cloud { justify-content: center; gap: 12px; }
.tech-cloud li { background: #fff; border: 1px solid var(--border); padding: 12px 22px; border-radius: 12px; font-weight: 600; color: #334155; box-shadow: var(--shadow); }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.chip { background: #fff; border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .92rem; cursor: pointer; font-family: inherit; }
.chip:hover { text-decoration: none; border-color: var(--primary); }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }

/* projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
.project-card[hidden] { display: none; }
.project-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-media { aspect-ratio: 400 / 260; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.mockup, .mockup-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-body p { color: var(--muted); flex: 1; }
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.tag { --tag: var(--primary); display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--tag); background: color-mix(in srgb, var(--tag) 12%, white); }
.tag-muted, .tag-dark { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border); }
.tag-solid, .tag-glow { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #10b981; display: inline-block; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }

/* featured real project (light) */
.feature-project { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; color: var(--text); margin-bottom: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feature-project:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-media { background: var(--bg-soft); border-right: 1px solid var(--border); min-height: 100%; }
.feature-media { display: flex; align-items: center; justify-content: center; background: #0b0f15; padding: 24px 0; }
.feature-media img { width: 100%; height: auto; object-fit: contain; }
.feature-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h3 { font-size: 1.9rem; }
.feature-body > p { color: var(--muted); font-size: 1.05rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #334155; }
.feature-list .icon { flex: none; width: 20px; height: 20px; color: #10b981; margin-top: 2px; }
.feature-body .btn-row { margin: 4px 0 0; }

/* case study */
.case-media { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); max-width: 1000px; margin: 0 auto 48px; background: #fff; }
.case-media .mockup-img { height: auto; }
.case-media .mockup { aspect-ratio: 400 / 260; height: auto; }
.case-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.case-body .eyebrow { margin-bottom: .8rem; }
.case-body p { font-size: 1.08rem; color: #334155; margin-bottom: 2rem; }
.case-side { display: grid; gap: 20px; position: sticky; top: 90px; }
.feature-grid { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-grid li { display: flex; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #fff; font-size: .95rem; color: #334155; box-shadow: var(--shadow); }
.feature-grid strong { color: var(--text); }
.feature-grid .icon { flex: none; width: 20px; height: 20px; color: #10b981; margin-top: 2px; }
.case-shot { margin: 0 0 2rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* process */
.process-strip { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-strip li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.process-strip li span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; margin-bottom: 10px; flex: none; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); opacity: .25; }
.timeline li { display: grid; grid-template-columns: 36px 1fr; gap: 20px; position: relative; }
.timeline-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.timeline-head h2 { margin: 0; }
.timeline .card p { color: var(--muted); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card .check-list { margin: 0 0 28px; flex: 1; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price { margin: 8px 0 24px; }
.price span { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values .card { padding: 22px; }
.values p { color: var(--muted); font-size: .95rem; }
.location-line { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.team-card img, .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; }
.avatar { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; font-size: 1.6rem; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { display: block; color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.testimonial blockquote { margin: 0 0 20px; font-size: 1.05rem; color: #1e293b; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: .88rem; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: 28px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, #4338ca, #7e22ce); box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.contact-home { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-home .contact-list { margin-top: 28px; }
.quote-form { display: grid; gap: 18px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #d5d9e6; border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px 18px; border-radius: 10px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.contact-side { display: grid; gap: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.next-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #334155; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; }
.success-icon .icon { width: 36px; height: 36px; }

/* footer */
.site-footer { background: var(--dark); color: #cbd5e1; padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.logo-light { color: #fff !important; margin-bottom: 10px; }
.muted-light { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 20px; font-size: .88rem; color: #94a3b8; }

/* floating buttons */
.whatsapp-fab { position: fixed; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); z-index: 60; transition: transform .15s; }
.whatsapp-fab:hover { transform: scale(1.07); }

.chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.chat-launcher { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 30px rgba(79, 70, 229, .45); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.chat-launcher:hover { transform: scale(1.06); }
.chat .i-close, .chat.open .i-open { display: none; }
.chat.open .i-close { display: block; }
.chat-panel { position: absolute; right: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 120px); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .25); border: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.chat-head strong { display: block; }
.chat-head span { font-size: .8rem; opacity: .85; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.chat-avatar .icon { color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; word-wrap: break-word; }
.msg.assistant { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.user a { color: #fff; text-decoration: underline; }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: var(--bg-soft); }
.chat-suggest[hidden] { display: none; }
.chat-suggest button { background: #fff; border: 1px solid rgba(79, 70, 229, .3); color: var(--primary); border-radius: 999px; padding: 6px 12px; font-size: .82rem; cursor: pointer; font-family: inherit; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; border-radius: 999px; padding: 10px 16px; }
.chat-form button { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--primary); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .service-detail, .case-grid, .about-grid, .contact-grid, .contact-home, .feature-project { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; max-width: 560px; width: 100%; margin: 0 auto; }
  .process-strip { grid-template-columns: repeat(3, 1fr); }
  .three-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-side { position: static; }
  .feature-media { border-right: 0; border-bottom: 1px solid var(--border); aspect-ratio: 400 / 230; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px 20px; gap: 4px; display: none; box-shadow: 0 20px 30px rgba(15, 23, 42, .08); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; }
  .site-nav .btn { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0; }
  .page-hero { padding: 48px 0 40px; }
  .hero-visual { min-height: 270px; }
  .hero-badge { left: auto; right: 0; top: 40%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .process-strip, .three-col, .values, .form-row, .feature-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .card, .quote-form, .price-card { padding: 22px; }
  .feature-body { padding: 24px; }
  .feature-body h3 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { width: 52px; height: 52px; left: 16px; bottom: 16px; }
  .chat { right: 16px; bottom: 16px; }
  .chat-panel { position: fixed; right: 8px; left: 8px; bottom: 84px; width: auto; max-width: none; height: min(540px, calc(100vh - 100px)); }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
