:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #f0f5fb;
  --text-main: #162033;
  --text-soft: #55627a;
  --line: #dce4ef;
  --accent: #2f6fec;
  --accent-soft: #e9f0ff;
  --shadow: 0 16px 40px rgba(20, 44, 91, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-nav a {
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.25rem 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.hero-text {
  margin: 0;
  color: var(--text-soft);
  max-width: 60ch;
}

.hero-points {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-points span {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-image-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.section {
  padding: 2.6rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card h3,
.card p {
  padding-inline: 1rem;
}

.card h3 {
  margin-top: 1rem;
}

.card p {
  margin: 0.55rem 0 1.1rem;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.step-num {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.step h3 {
  margin: 0.35rem 0 0.45rem;
}

.step p {
  margin: 0;
  color: var(--text-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.about-grid p {
  color: var(--text-soft);
}

.about-grid img {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-footer {
  background: #111a2b;
  color: #e7ecf7;
  padding: 2.2rem 0;
}

.footer-inner h2 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.footer-inner p {
  margin: 0.32rem 0;
  color: #c7d1e5;
}

.footer-inner a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 64px;
  }

  .top-nav {
    display: none;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .cards-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
