:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #dbe3ee;
  --accent: #1d4ed8;
  --accent-dark: #163ea8;
  --soft: #eef4ff;
  --ok: #0f766e;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--accent);
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: white;
}

.logo-text {
  font-size: 1.15rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  transition: 0.2s ease;
}

.menu a:hover {
  color: var(--accent);
}

.menu-button {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: white !important;
}

.menu-button:hover {
  background: var(--accent-dark);
}

/* Hero */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 72px 0 60px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2.0rem);
  line-height: 1.08;
}

.hero-text {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 1px solid var(--line);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.hero-card li + li {
  margin-top: 10px;
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-soft {
  background: #f1f5fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 30px;
}

.section-heading h2,
.form-layout h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.0rem);
  line-height: 1.15;
}

.section-heading p,
.form-layout > div > p {
  margin: 0;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.sample-card,
.info-box,
.project-form,
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.card h3,
.sample-card h3,
.info-box h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.card p,
.sample-card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 800;
}

/* Samples */

.samples-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.samples-scroll::-webkit-scrollbar {
  height: 10px;
}

.samples-scroll::-webkit-scrollbar-track {
  background: #e8eef7;
  border-radius: 999px;
}

.samples-scroll::-webkit-scrollbar-thumb {
  background: #b9c6d8;
  border-radius: 999px;
}

.sample-card {
  flex: 0 0 300px;
  width: 300px;
  padding: 18px;
  scroll-snap-align: start;
}

.sample-thumbnail {
  width: 100%;
  height: 190px;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(29, 78, 216, 0.08) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(135deg, #ffffff, var(--soft));
  border: 1px solid #d8e3f3;
}

.sample-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Workflow */

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

/* Form */

.form-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.info-box {
  margin-top: 22px;
  padding: 22px;
}

.info-box ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.project-form {
  padding: 26px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(29, 78, 216, 0.16);
  border-color: var(--accent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.upload-box {
  border: 2px dashed #bfd0f7;
  background: #f9fbff;
  border-radius: 14px;
  padding: 18px;
}

.upload-box p,
.form-note {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.submit-btn {
  width: 100%;
  font-size: 1rem;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: #111827;
  color: white;
}

.site-footer p {
  color: #cbd5e1;
  margin: 8px 0 0;
}

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

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

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-grid,
  .cards-3,
  .split-grid,
  .workflow,
  .form-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 48px 0;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .menu {
    font-size: 0.95rem;
  }

  .menu-button {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 46px 0;
  }

  .sample-card {
    flex-basis: 270px;
    width: 270px;
  }

  .sample-thumbnail {
    height: 170px;
  }
}
