:root {
  color-scheme: light;
  --page: #fff;
  --surface: #f6f7fa;
  --surface-strong: #fff;
  --ink: #171821;
  --muted: #777b89;
  --line: rgba(28, 31, 48, .09);
  --accent: #5544ed;
  --accent-strong: #4835df;
  --accent-soft: #eeecff;
  --card-shadow: 0 12px 36px rgba(31, 34, 57, .055);
  --header: rgba(255, 255, 255, .82);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #101116;
  --surface: #17181f;
  --surface-strong: #1b1c25;
  --ink: #f4f4f8;
  --muted: #a3a5b3;
  --line: rgba(222, 222, 255, .1);
  --accent: #7665ff;
  --accent-strong: #6855fa;
  --accent-soft: #242139;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  --header: rgba(16, 17, 22, .84);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 15px; line-height: 1.65; transition: background-color .25s, color .25s; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.site-header { height: 76px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; gap: 48px; position: sticky; z-index: 20; top: 0; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 44px; display: block; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font: 800 18px "Manrope", sans-serif; letter-spacing: -.045em; }
.brand-subtitle { margin-top: 3px; color: #00a968; font: 700 9px "DM Sans", sans-serif; letter-spacing: .19em; }
.brand-copy em { margin-top: 3px; color: var(--muted); font: italic 9px "DM Sans", sans-serif; letter-spacing: 0; }
.site-nav { margin: 0 auto; display: flex; align-items: center; gap: 31px; }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 600; transition: color .2s; }
.site-nav a:hover, .footer-column a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 17px; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-strong); cursor: pointer; }
.theme-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon, [data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
.button { min-height: 44px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 7px 20px color-mix(in srgb, var(--accent) 22%, transparent); }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: var(--surface-strong); }
.button-secondary:hover { border-color: var(--accent); }
.header-cta { min-height: 39px; padding-inline: 16px; }
.menu-toggle { display: none; }

.hero { min-height: 590px; padding-top: 88px; padding-bottom: 66px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: -20px calc((1120px - 100vw) / 2) 0; background: radial-gradient(ellipse at 13% 83%, rgba(104, 219, 152, .15), transparent 28%), radial-gradient(ellipse at 89% 15%, rgba(121, 103, 255, .15), transparent 27%); pointer-events: none; }
.hero-glow { display: none; }
.eyebrow { width: fit-content; padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface-strong); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #45c989; box-shadow: 0 0 0 3px rgba(69, 201, 137, .13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero h1 { max-width: 780px; margin: 26px 0 14px; font-size: clamp(40px, 6.2vw, 67px); font-weight: 800; line-height: 1.13; letter-spacing: -.055em; }
.gradient-text { background: linear-gradient(100deg, #6652f4 5%, #5651ef 48%, #28bd87 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 590px; margin-bottom: 25px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; gap: 11px; }
.hero-stats { width: min(720px, 100%); margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: grid; gap: 1px; }
.stat strong { color: var(--accent); font: 800 24px "Manrope", sans-serif; letter-spacing: -.04em; }
.stat strong span { font-size: .68em; }
.stat small { color: var(--muted); font-size: 11px; }
.scroll-cue { margin-top: 37px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.scroll-cue span { width: 15px; height: 24px; position: relative; border: 1px solid var(--muted); border-radius: 10px; }
.scroll-cue span::after { content: ""; width: 2px; height: 5px; position: absolute; top: 4px; left: 5px; border-radius: 2px; background: var(--accent); animation: scroll 1.5s infinite; }
@keyframes scroll { to { transform: translateY(7px); opacity: 0; } }

.services { background: var(--surface); }
.section-heading { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 8px; font-size: clamp(29px, 4vw, 39px); line-height: 1.2; letter-spacing: -.05em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 204px; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); box-shadow: var(--card-shadow); transition: transform .22s, border-color .22s; }
.service-card:hover, .testimonial-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.service-icon { width: 34px; height: 34px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 9px; color: #fff; font-size: 19px; font-weight: 700; }
.icon-violet { background: linear-gradient(135deg,#7965ff,#4b70ff); }.icon-pink { background: linear-gradient(135deg,#f450cb,#bd3bec); }.icon-rose { background: linear-gradient(135deg,#ff578c,#f33060); }.icon-blue { background: linear-gradient(135deg,#42c8ff,#1784df); }.icon-green { background: linear-gradient(135deg,#34d998,#00af76); }.icon-orange { background: linear-gradient(135deg,#ffb237,#ff780e); }
.service-card h3 { margin-bottom: 7px; font-size: 15px; letter-spacing: -.025em; }
.service-card p { min-height: 47px; margin-bottom: 11px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.service-card > a, .project-link { color: var(--accent); font-size: 11px; font-weight: 700; }
.service-card > a span, .project-link span { padding-left: 3px; }

.projects { background: var(--page); }
.project-filters { margin: -18px auto 27px; display: flex; justify-content: center; gap: 5px; }
.filter-button { padding: 7px 13px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-button:hover { color: var(--accent); }
.filter-button.is-active { background: var(--accent-soft); color: var(--accent); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 19px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); box-shadow: var(--card-shadow); transition: transform .22s, opacity .18s; }
.project-card:hover { transform: translateY(-4px); }
.project-card.is-hidden { display: none; }
.project-image { height: 190px; display: block; position: relative; overflow: hidden; background: var(--surface); }
.project-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.27)); }
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-image img { transform: scale(1.045); }
.project-type { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 9px; border: 1px solid rgba(255,255,255,.26); border-radius: 20px; background: rgba(18,19,27,.62); color: #fff; font-size: 9px; font-weight: 700; backdrop-filter: blur(8px); }
.project-info { padding: 16px 17px 17px; }
.project-info h3 { margin-bottom: 5px; font-size: 14px; letter-spacing: -.025em; }
.project-info p { min-height: 40px; margin-bottom: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tags span { padding: 3px 7px; border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 9px; }
.center-action { margin-top: 32px; text-align: center; }

.testimonials { background: var(--surface); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial-card { min-height: 240px; padding: 23px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); box-shadow: var(--card-shadow); transition: transform .22s, border-color .22s; }
.quote-mark { height: 30px; position: absolute; top: 11px; right: 19px; color: var(--accent); font: 700 46px Georgia, serif; opacity: .26; }
.stars { margin: 2px 0 13px; color: #f5aa2d; font-size: 13px; letter-spacing: 2px; }
.testimonial-card blockquote { min-height: 88px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.client { display: flex; align-items: center; gap: 10px; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 10px; font-weight: 700; }
.avatar-one { background: linear-gradient(135deg,#7065f4,#39a8d5); }.avatar-two { background: linear-gradient(135deg,#eb7d77,#c14994); }.avatar-three { background: linear-gradient(135deg,#55bd9f,#4196bf); }
.client strong, .client small { display: block; }
.client strong { font-size: 11px; }
.client small { color: var(--muted); font-size: 9px; }
.review-stats { padding-top: 35px; border-top: 1px solid var(--line); }

.contact { position: relative; overflow: hidden; background: radial-gradient(ellipse at 0 100%, rgba(86, 68, 237, .07), transparent 32%), var(--page); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-details { padding: 10px 0; }
.contact-details h3 { margin-bottom: 6px; font-size: 18px; }
.contact-details > p { max-width: 360px; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.contact-item { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.contact-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 16px; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--muted); font-size: 10px; }
.contact-item strong { font-size: 11px; }
.social-links { margin-top: 28px; display: flex; align-items: center; gap: 9px; }
.social-links > span { margin-right: 5px; font-size: 11px; font-weight: 700; }
.social-links a { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 11px; font-weight: 700; transition: color .2s, border-color .2s; }
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.contact-form { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-strong); box-shadow: var(--card-shadow); }
.contact-form label { display: block; margin-bottom: 13px; color: var(--ink); font-size: 10px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 5px; padding: 10px 11px; display: block; resize: vertical; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: .75; }
.contact-form textarea { min-height: 98px; }
.submit-button { width: 100%; margin-top: 2px; }
.form-note { min-height: 0; margin: 0; color: var(--accent); font-size: 11px; text-align: center; }
.form-note:not(:empty) { margin-top: 11px; }

.site-footer { padding: 47px 0 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { padding-bottom: 37px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 35px; }
.footer-about p { max-width: 250px; margin: 13px 0 0; color: var(--muted); font-size: 11px; }
.footer-column { display: flex; flex-direction: column; gap: 7px; }
.footer-column h3 { margin-bottom: 5px; font-size: 11px; }
.footer-column a { color: var(--muted); font-size: 10px; transition: color .2s; }
.footer-bottom { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-bottom div { display: flex; gap: 19px; }
.footer-bottom a:hover { color: var(--accent); }

@media (min-width: 1450px) {
  .hero { min-height: 630px; padding-top: 105px; }
}
@media (max-width: 900px) {
  .site-header { gap: 25px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 11px; }
  .service-card { padding: 19px; }
  .project-image { height: 165px; }
  .contact-layout { gap: 28px; }
}
@media (max-width: 680px) {
  .section-wrap { width: min(100% - 36px, 520px); }
  .section-pad { padding: 74px 0; }
  .site-header { height: 65px; padding: 0 18px; justify-content: space-between; gap: 12px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 15px; }
  .brand-subtitle { font-size: 8px; }
  .brand-copy em { font-size: 8px; }
  .header-actions { gap: 9px; margin-left: auto; }
  .header-cta { min-height: 36px; padding-inline: 12px; font-size: 11px; }
  .theme-toggle { width: 34px; height: 34px; padding: 8px; }
  .menu-toggle { width: 35px; height: 35px; padding: 9px 7px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); cursor: pointer; }
  .menu-toggle span { height: 1.5px; width: 100%; display: block; background: var(--ink); }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; padding: 10px 18px 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--page); box-shadow: var(--card-shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-nav a:last-child { border: 0; }
  .hero { min-height: auto; padding-top: 74px; padding-bottom: 52px; }
  .hero::before { inset: 0 -18px; background: radial-gradient(ellipse at 8% 58%, rgba(104, 219, 152, .16), transparent 32%), radial-gradient(ellipse at 98% 10%, rgba(121, 103, 255, .15), transparent 29%); }
  .hero h1 { max-width: 480px; margin-top: 22px; font-size: clamp(37px, 10vw, 54px); }
  .hero-copy { max-width: 420px; font-size: 12px; }
  .hero-stats { margin-top: 38px; row-gap: 19px; grid-template-columns: repeat(2, 1fr); }
  .stat strong { font-size: 22px; }
  .scroll-cue { margin-top: 27px; }
  .section-heading { margin-bottom: 31px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { max-width: 390px; margin-inline: auto; font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .service-card { min-height: 206px; padding: 15px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 10px; }
  .project-filters { margin: -9px -5px 20px; gap: 1px; }
  .filter-button { padding: 7px 9px; font-size: 10px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
  .project-image { height: 125px; }
  .project-info { padding: 12px; }
  .project-info h3 { font-size: 12px; }
  .project-info p { min-height: 53px; font-size: 10px; }
  .tags { gap: 4px; }
  .tags span { font-size: 8px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 11px; }
  .testimonial-card { min-height: auto; padding: 19px; }
  .testimonial-card blockquote { min-height: 0; margin-bottom: 17px; }
  .review-stats { margin-top: 30px; }
  .contact-layout { grid-template-columns: 1fr; gap: 25px; }
  .contact-details > p { margin-bottom: 18px; }
  .contact-form { padding: 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .section-wrap { width: calc(100% - 28px); }
  .header-cta { padding-inline: 10px; }
  .header-actions { gap: 6px; }
  .hero-actions .button { padding-inline: 13px; font-size: 11px; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card p { min-height: 0; }
  .project-image { height: 180px; }
  .project-info p { min-height: 0; }
  .footer-bottom { align-items: flex-start; padding: 14px 0; flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
