:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --cyan: #06b6d4;
  --lime: #84cc16;
  --gold: #f59e0b;
  --rose: #f43f5e;
  --blue: #2563eb;
  --violet: #7c3aed;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #fbfcff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 32%),
    linear-gradient(300deg, rgba(245, 158, 11, 0.09), transparent 34%),
    #fbfcff;
}

a {
  color: inherit;
}

.container {
  max-width: 1180px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  backdrop-filter: blur(18px);
}

.navbar {
  padding: 14px 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
  font-size: 14px;
}

.nav-link {
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-left: 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: #101828;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 74px 0 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(251, 252, 255, 0.95)),
    url("/img/generated/hero-digital-studio.png") center / cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 255, 0.98) 0%, rgba(251, 252, 255, 0.88) 47%, rgba(251, 252, 255, 0.45) 100%),
    radial-gradient(circle at 78% 20%, rgba(6, 182, 212, 0.22), transparent 24%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 22px 0 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: #344054;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  border-radius: 8px;
  font-weight: 900;
}

.btn-main,
.btn-main:hover,
.btn-main:focus {
  min-height: 54px;
  padding: 14px 22px;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.btn-ghost,
.btn-ghost:hover,
.btn-ghost:focus {
  min-height: 54px;
  padding: 13px 22px;
  color: var(--ink);
  border: 1px solid rgba(16, 24, 40, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 34px;
}

.proof-row div {
  padding: 18px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.proof-row strong {
  display: block;
  font-size: 31px;
  font-weight: 900;
}

.proof-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.hero-visual img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-widget {
  position: absolute;
  width: min(270px, 70%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(16px);
}

.hero-widget span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-widget strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
}

.widget-top {
  top: 36px;
  left: -28px;
}

.widget-bottom {
  right: -18px;
  bottom: 44px;
}

.logo-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.strip-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  overflow-x: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.strip-inner span {
  flex: 0 0 auto;
  color: #475467;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-pad {
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.wide {
  max-width: 920px;
}

.section-head h2,
.impact-grid h2,
.brief-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.section-head p,
.brief-copy p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.offer-card,
.timeline-item,
.lead-form,
.contact-box,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(16, 24, 40, 0.06);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 28px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.accent-cyan { --accent: var(--cyan); }
.accent-lime { --accent: var(--lime); }
.accent-gold { --accent: var(--gold); }
.accent-rose { --accent: var(--rose); }

.service-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 12px;
  font-size: 26px;
  font-weight: 900;
}

.service-card p,
.service-card li {
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 24px 0 0;
}

.dark-band {
  padding: 84px 0;
  color: #fff;
  background:
    linear-gradient(135deg, #101828 0%, #182230 58%, #1e3a8a 100%);
}

.dark-band .eyebrow {
  color: #a5f3fc;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.impact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.impact-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.impact-list span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(16, 24, 40, 0.14);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef2f6;
}

.project-body {
  padding: 22px;
}

.project-body span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 10px 0;
  font-size: 24px;
  font-weight: 900;
}

.project-body p {
  min-height: 86px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-section {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #101828;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offers-section {
  background: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  padding: 30px;
}

.offer-card.featured {
  color: #fff;
  border-color: #101828;
  background: #101828;
  transform: translateY(-10px);
}

.offer-card h3 {
  font-size: 28px;
  font-weight: 900;
}

.offer-card p {
  min-height: 82px;
  color: var(--muted);
  line-height: 1.65;
}

.offer-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-card strong {
  display: block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 15px;
  text-transform: uppercase;
}

.offer-card.featured strong {
  color: #a5f3fc;
}

.reviews-section .card {
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 24, 40, 0.06) !important;
}

.brief-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(37, 99, 235, 0.9)),
    url("/img/generated/automation-mockup.png") center / cover no-repeat;
}

.brief-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.brief-section .eyebrow {
  color: #a5f3fc;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.brief-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 22px;
  color: var(--ink);
}

.contact-box span {
  color: var(--muted);
}

.contact-box a {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.lead-form label {
  grid-column: span 1;
}

.lead-form .full {
  grid-column: span 2;
}

.lead-form span {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-note {
  grid-column: span 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid details {
  padding: 22px;
}

.faq-grid summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  padding: 36px 0;
  color: #fff;
  background: #101828;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer .navbar-brand {
  color: #fff;
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .header-cta {
    margin: 12px 0 0;
  }

  .hero-grid,
  .impact-grid,
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    height: auto;
  }

  .widget-top {
    left: 14px;
  }

  .widget-bottom {
    right: 14px;
  }
}

@media (max-width: 767px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-lead,
  .section-head p,
  .brief-copy p {
    font-size: 16px;
  }

  .proof-row,
  .service-grid,
  .project-grid,
  .timeline,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 68px 0;
  }

  .hero-widget {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .lead-form,
  .lead-form label:nth-of-type(2),
  .lead-form label:nth-of-type(3),
  .lead-form label:nth-of-type(4),
  .lead-form label,
  .lead-form .full,
  .form-note {
    grid-column: 1;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .offer-card.featured {
    transform: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-card,
  .offer-card,
  .timeline-item,
  .lead-form {
    padding: 22px;
  }
}
