:root {
  --brand: #1f4266;
  --brand-dark: #16324e;
  --ink: #1b1b1b;
  --muted: #5e5e5e;
  --line: #dfe7ee;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --accent: #78aee8;
  --accent-2: #f5c85c;
  --shadow: 0 24px 60px rgba(22, 50, 78, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Josefin Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(31, 66, 102, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-family: "Righteous", serif;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.brand-name {
  display: block;
  color: var(--brand);
  font-family: "Righteous", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.84);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(94vh - 78px);
  align-items: end;
  padding: clamp(72px, 10vw, 140px) clamp(18px, 5vw, 80px) 32px;
  overflow: hidden;
  color: #fff;
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 30, 47, 0.88), rgba(31, 66, 102, 0.55), rgba(31, 66, 102, 0.16));
}

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

.hero-content,
.hero-panel {
  position: relative;
}

.hero-content {
  width: min(820px, 100%);
  padding-bottom: clamp(48px, 8vw, 104px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Righteous", serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.4vw, 7rem);
}

h2 {
  color: var(--brand-dark);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1.32rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.reassurance {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(820px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.6rem;
  line-height: 1;
}

.hero-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.section {
  padding: clamp(78px, 10vw, 136px) clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  max-width: none;
  gap: 28px;
  align-items: end;
}

.section-heading.wide .eyebrow,
.section-heading.wide h2 {
  grid-column: 1;
}

.section-heading.wide p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
}

.intro-section {
  background: var(--paper);
}

.about-section {
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.about-card {
  max-width: 780px;
}

.about-card p,
.trust-card p {
  color: var(--muted);
}

.about-card p {
  font-size: 1.12rem;
}

.trust-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
}

.trust-list p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.trust-list span {
  color: var(--brand);
}

.value-section {
  background: var(--brand-dark);
  color: #fff;
}

.value-section h2 {
  color: #fff;
}

.value-section p {
  color: rgba(255, 255, 255, 0.78);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

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

.check-list p {
  margin: 0;
  padding: 16px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.service-strip,
.package-grid,
.timeline,
.demo-grid,
.faq-grid {
  display: grid;
  gap: 24px;
}

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

.service-strip article,
.package-card,
.timeline article,
.faq-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-strip span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--brand);
  border: 1px solid rgba(31, 66, 102, 0.22);
  border-radius: 8px;
  font-weight: 700;
}

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

.icon-strip span {
  min-width: 46px;
  height: 46px;
  font-size: 1.3rem;
  background: var(--mist);
}

.service-strip p,
.timeline p,
.package-card p,
.demo-card span {
  color: var(--muted);
}

.gallery-section,
.process-section,
.faq-section {
  background: var(--mist);
}

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

.demo-card {
  display: grid;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 46px rgba(22, 50, 78, 0.11);
}

.demo-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.demo-card div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.demo-card p,
.package-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-button {
  align-self: flex-start;
  color: var(--brand);
  font-weight: 700;
}

.text-button::after {
  content: " ->";
}

.card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: auto;
  padding: 0 !important;
}

.mini-button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 40px;
  padding: 10px 13px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
}

.package-card.featured {
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.package-card.featured h3,
.package-card.featured p,
.package-card.featured li,
.package-card.featured .package-label {
  color: #fff;
}

.package-card strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--brand-dark);
  font-family: "Righteous", serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.package-card.featured strong {
  color: var(--accent-2);
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-left: 20px;
}

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

.steps-list {
  display: grid;
  gap: 14px;
  max-width: 940px;
}

.steps-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 700;
}

.steps-list p {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1.16rem;
  font-weight: 700;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.section-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.faq-grid h3 {
  margin-bottom: 10px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(44px, 7vw, 72px) clamp(18px, 5vw, 80px);
  color: #fff;
  background: var(--brand);
}

.lead-magnet h2 {
  color: #fff;
}

.lead-magnet p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.lead-magnet .button.secondary {
  background: #fff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 80px);
  color: #fff;
  background: var(--brand-dark);
}

.contact-section h2 {
  color: #fff;
}

.contact-copy p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.site-footer a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1060px) {
  .demo-grid,
  .service-strip,
  .package-grid,
  .timeline,
  .faq-grid,
  .icon-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.wide {
    display: block;
  }

  .section-heading.wide p:last-child {
    margin-top: 16px;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-panel,
  .contact-section,
  .split-feature,
  .about-layout,
  .lead-magnet,
  .demo-grid,
  .service-strip,
  .package-grid,
  .timeline,
  .faq-grid,
  .icon-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .demo-card {
    min-height: auto;
  }

  .lead-magnet {
    display: block;
  }

  .lead-magnet .button {
    margin-top: 16px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  h1 {
    font-size: 2.6rem;
  }
}
