:root {
  --primary: #0369a1;
  --secondary: #16a34a;
  --ink: #182432;
  --muted: #64748b;
  --soft: #edf6fb;
  --line: #d6e4ec;
  --light: #ffffff;
  --dark: #0f1f2d;
  --shadow: 0 18px 45px rgba(20, 28, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--primary);
  border-radius: 6px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

.site-menu a {
  color: var(--muted);
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 18, 0.82), rgba(5, 12, 18, 0.48) 48%, rgba(5, 12, 18, 0.18));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: 1.03;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--primary);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p,
.split > div > p,
.article-content p,
.side-panel p {
  color: var(--muted);
}

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

.service-card,
.quality-grid article,
.side-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.06);
}

.service-card {
  min-height: 258px;
  padding: 24px;
}

.service-card.priority {
  border-top: 4px solid var(--primary);
}

.service-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.related-links a,
.home-keyword {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.alt {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.priority-list {
  display: grid;
  gap: 12px;
}

.priority-list a {
  display: grid;
  gap: 5px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.priority-list span {
  color: var(--muted);
}

.visual-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
}

.visual-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.visual-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.pricing-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pricing-table div:last-child {
  border-bottom: 0;
}

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

.quality-grid article {
  padding: 22px;
}

.faq,
.expertise-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

.contact-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: 24px;
}

.site-footer {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.article-content {
  max-width: 760px;
}

.article-content h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.check-list,
.steps {
  padding-left: 22px;
}

.check-list li,
.steps li {
  margin-bottom: 10px;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.side-panel h2 {
  font-size: 1.45rem;
}

.side-panel h3 {
  margin-top: 24px;
}

.related-links {
  display: grid;
  gap: 10px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    display: none;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: grid;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media::after {
    background: rgba(5, 12, 18, 0.66);
  }

  .hero-content {
    margin: 0 auto;
  }

  .service-grid,
  .split,
  .visual-band,
  .contact-section,
  .page-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 14px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand span:last-child {
    max-width: 190px;
  }

  .hero-actions,
  .contact-card {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .pricing-table div {
    grid-template-columns: 1fr;
  }
}
