:root {
  --ink: #102231;
  --ink-2: #15364e;
  --accent: #ff6b35;
  --accent-dark: #e55a25;
  --soft: #f4f7fa;
  --line: #dbe3ea;
  --muted: #5c6a77;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 32px, 820px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand__name {
  color: var(--accent);
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand__tag {
  color: #dbe6ef;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.current-menu-item > a {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  color: var(--white);
  min-height: 86vh;
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.hero__overlay {
  background: linear-gradient(90deg, #07131d 0%, rgba(16, 34, 49, 0.97) 50%, rgba(16, 34, 49, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 900;
}

.hero__lead {
  max-width: 780px;
  margin: 0;
  color: #d7e2eb;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

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

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

.button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.button--full {
  width: 100%;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin-top: 38px;
}

.trust-grid span {
  color: #d7e2eb;
  font-size: 14px;
  font-weight: 700;
}

.stats-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
  padding: 30px 0;
}

.stats-grid strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

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

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--dark p {
  color: #c9d5df;
}

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

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.page-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
}

.section-heading p,
.split-layout > div > p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.section--dark .section-heading p,
.section--dark .split-layout > div > p {
  color: #c9d5df;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.service-detail,
.case-card,
.team-card,
.pricing-card,
.news-card,
.panel,
.quote-card,
.section--dark article {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  box-shadow: 0 10px 34px rgba(16, 34, 49, 0.06);
}

.section--dark article {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.icon-badge,
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.12);
  font-weight: 900;
  font-size: 22px;
}

.service-card h3,
.service-detail h2,
.team-card h2,
.news-card h2 {
  font-size: 22px;
}

.service-card p,
.service-detail p,
.case-card p,
.team-card p,
.news-card p,
.pricing-card p {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-layout--top {
  align-items: start;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: flex;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.process-item > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.page-hero {
  padding: 86px 0;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.22), transparent 28%), linear-gradient(135deg, #07131d, #15364e);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  color: #d7e2eb;
}

.service-detail__top {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.service-detail__top .icon-badge {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #334353;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--accent);
}

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

.case-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.case-card__header span,
.popular-badge,
.news-card__date {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--ink);
  background: #ffd23f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card h2 {
  font-size: 24px;
}

.case-card__section h3 {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
}

blockquote {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-weight: 800;
}

.cta-band {
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 24px;
}

.pricing-grid,
.team-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pricing-card {
  position: relative;
}

.pricing-card--popular {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
}

.price {
  margin: 18px 0;
  color: var(--ink);
  font-size: 46px;
  font-weight: 950;
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
}

.avatar {
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
}

.team-role {
  color: var(--accent) !important;
  font-weight: 850;
}

.quote-form {
  display: grid;
  gap: 18px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #334353;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9e2;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 107, 53, 0.18);
  border-color: var(--accent);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 900;
}

.form-section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.form-note,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  font-weight: 800;
}

.notice--success {
  color: #14532d;
  background: #dcfce7;
}

.notice--error {
  color: #7f1d1d;
  background: #fee2e2;
}

.contact-large {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 22px;
}

.contact-large li {
  display: grid;
  gap: 4px;
}

.contact-large strong {
  color: var(--accent);
}

.contact-large a {
  font-size: 20px;
  font-weight: 900;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 44px;
  padding: 56px 0 38px;
}

.site-footer h2 {
  font-size: 18px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #c9d5df;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

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

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  color: #9fb0be;
  font-size: 14px;
}

.prose {
  max-width: 780px;
}

.prose h1 {
  font-size: 46px;
}

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

  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav__list {
    display: grid;
    gap: 14px;
  }

  .brand__tag {
    display: none;
  }

  .trust-grid,
  .stats-grid,
  .card-grid--3,
  .card-grid--2,
  .case-grid,
  .pricing-grid,
  .team-grid,
  .news-grid,
  .split-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--popular {
    transform: none;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .narrow {
    width: min(100% - 24px, 1180px);
  }

  .section,
  .page-hero {
    padding: 60px 0;
  }

  .hero__content {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

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

  .service-card,
  .service-detail,
  .case-card,
  .team-card,
  .pricing-card,
  .news-card,
  .panel,
  .quote-card {
    padding: 22px;
  }
}

