:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e8eef7;
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --violet: #7c5cff;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f59e0b;
  --sky: #38bdf8;
  --navy: #0b1220;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 24px rgba(59, 130, 246, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 76px;
  --font: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 92, 255, 0.14), transparent 60%),
    radial-gradient(700px 380px at 10% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 252, 0.82);
  border-bottom: 1px solid rgba(232, 238, 247, 0.8);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
}

.nav {
  margin-left: auto;
  margin-right: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a,
.nav-menu a {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav-menu a:hover {
  color: var(--blue);
}

.logo__image {
  max-height: 40px;
  width: auto;
}

.work-card__link {
  color: inherit;
  display: block;
}

.work-card__media[style] {
  background-size: cover;
  background-position: center;
}

.footer-menu {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: #fff;
}

.content-page {
  padding: 48px 0 80px;
}

.content-wrap {
  max-width: 960px;
}

.content-wrap--narrow {
  max-width: 760px;
}

.content-page__header {
  margin-bottom: 32px;
}

.content-page__header h1 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.entry__thumb {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.entry__thumb img,
.post-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.entry__content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}

.entry__content > *:first-child {
  margin-top: 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-card__body {
  padding: 20px 22px 24px;
}

.post-card__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.post-card__title a:hover {
  color: var(--blue);
}

.post-card__meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-card__excerpt {
  color: var(--muted);
  margin-bottom: 14px;
}

.pagination {
  margin-top: 40px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
}

.pagination .current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 10px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #4f6ef7 55%, var(--violet) 100%);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.34);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #dbe4f2;
}

.btn--ghost:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--white {
  color: #5b3df5;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.btn--white:hover {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: auto -10% 10% auto;
  width: min(560px, 55vw);
  height: min(560px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 68%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e4ebf7;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  animation: fadeUp 0.7s ease both;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 14ch;
  animation: fadeUp 0.8s ease 0.08s both;
}

.text-accent {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: fadeUp 0.8s ease 0.16s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.24s both;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.8s ease 0.32s both;
}

.social-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 24ch;
}

.social-proof strong {
  color: var(--text);
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.avatars img:first-child {
  margin-left: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 420px;
  animation: fadeUp 0.9s ease 0.2s both;
}

.device-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.laptop {
  position: absolute;
  left: 4%;
  top: 12%;
  width: 78%;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(37, 99, 235, 0.18));
  animation: float 6s ease-in-out infinite;
}

.laptop__screen {
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border-radius: 14px 14px 8px 8px;
  padding: 14px 14px 18px;
  border: 1px solid #334155;
}

.mock-ui {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  min-height: 210px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-radius: 8px;
  padding: 12px;
}

.mock-ui__sidebar {
  border-radius: 8px;
  background: linear-gradient(180deg, #dbeafe, #c7d2fe);
}

.mock-ui__main {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mock-ui__bar {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #93c5fd, #a78bfa 60%, transparent);
}

.mock-ui__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-ui__cards span {
  height: 54px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.mock-ui__cards span:nth-child(1) {
  background: linear-gradient(160deg, #fff, #dbeafe);
}

.mock-ui__cards span:nth-child(2) {
  background: linear-gradient(160deg, #fff, #ede9fe);
}

.mock-ui__cards span:nth-child(3) {
  background: linear-gradient(160deg, #fff, #dcfce7);
}

.mock-ui__chart {
  height: 72px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent 30%, rgba(59, 130, 246, 0.18)),
    repeating-linear-gradient(
      90deg,
      transparent 0 10px,
      rgba(148, 163, 184, 0.25) 10px 11px
    ),
    #fff;
  box-shadow: inset 0 -2px 0 #60a5fa;
}

.laptop__base {
  height: 14px;
  margin: 0 auto;
  width: 88%;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 0 0 10px 10px;
  position: relative;
}

.laptop__base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 110%;
  height: 8px;
  border-radius: 0 0 16px 16px;
  background: #64748b;
}

.phone {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 132px;
  height: 260px;
  border-radius: 28px;
  background: linear-gradient(160deg, #111827, #1f2937);
  border: 3px solid #334155;
  padding: 12px 10px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  animation: float 5.5s ease-in-out 0.6s infinite;
}

.phone__notch {
  width: 48px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #0f172a;
}

.phone__content {
  height: calc(100% - 18px);
  border-radius: 18px;
  background: linear-gradient(180deg, #eef2ff, #dbeafe 40%, #fff);
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.phone__header {
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, #818cf8, #60a5fa);
}

.phone__card {
  height: 70px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.15);
}

.phone__list {
  display: grid;
  gap: 8px;
}

.phone__list span {
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.float-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  animation: float 4.8s ease-in-out infinite;
}

.float-icon--ai {
  top: 6%;
  right: 18%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.float-icon--code {
  top: 42%;
  left: 0;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  animation-delay: 0.8s;
}

.float-icon--chart {
  bottom: 18%;
  left: 22%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  animation-delay: 1.2s;
}

/* Sections */
.section {
  padding: 40px 0 72px;
}

.section__head {
  margin-bottom: 32px;
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.link-more {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.link-more:hover {
  gap: 10px;
}

.link-more--lg {
  white-space: nowrap;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(232, 238, 247, 0.9);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
}

.service-card__icon--blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.service-card__icon--violet {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.service-card__icon--orange {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.service-card__icon--green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 4.5em;
}

/* Portfolio */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.work-card h3 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.work-card__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.work-card:hover .work-card__media {
  transform: translateY(-3px) scale(1.01);
}

.work-card__media--1 {
  background-image:
    linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(124, 92, 255, 0.25)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=640&h=480&fit=crop");
}

.work-card__media--2 {
  background-image:
    linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(59, 130, 246, 0.2)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=640&h=480&fit=crop");
}

.work-card__media--3 {
  background-image:
    linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(59, 130, 246, 0.2)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=640&h=480&fit=crop");
}

.work-card__media--4 {
  background-image:
    linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(14, 165, 233, 0.2)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=640&h=480&fit=crop");
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Stats */
.stats {
  padding: 8px 0 64px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat__icon--blue {
  color: #2563eb;
  background: #dbeafe;
}

.stat__icon--green {
  color: #16a34a;
  background: #dcfce7;
}

.stat__icon--sky {
  color: #0284c7;
  background: #e0f2fe;
}

.stat__icon--violet {
  color: #7c3aed;
  background: #ede9fe;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta {
  padding: 0 0 80px;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 48px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(500px 200px at 90% 10%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(120deg, #2563eb 0%, #4f46e5 48%, #7c3aed 100%);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.28);
}

.cta__text h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.cta__text p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.footer__brand p {
  margin: 16px 0 20px;
  max-width: 32ch;
  color: #94a3b8;
  font-size: 0.95rem;
}

.logo--light .logo__text {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer__col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer__col h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
}

.footer__col a,
.footer__col p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: #64748b;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a:hover {
  color: #cbd5e1;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .services__grid,
  .portfolio__grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__grid {
    gap: 28px;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  }

  .admin-bar .nav {
    top: calc(var(--header-h) + 46px);
  }

  .nav.is-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a,
  .nav-menu a {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
  }

  .nav a:hover,
  .nav-menu a:hover {
    background: #f1f5f9;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    max-width: none;
  }

  .hero__visual,
  .device-scene {
    min-height: 340px;
  }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .social-proof {
    align-items: flex-start;
  }

  .services__grid,
  .portfolio__grid,
  .stats__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    padding: 20px;
  }

  .service-card p {
    min-height: 0;
  }

  .laptop {
    width: 86%;
    left: 2%;
  }

  .phone {
    width: 112px;
    height: 220px;
    right: 2%;
  }

  .float-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .cta {
    padding-bottom: 48px;
  }

  .section {
    padding: 24px 0 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
